Skip to content

Conversation

@HarveyLink
Copy link
Member

TSP PR: Azure/azure-rest-api-specs#37548

Contributing to the Azure SDK

Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.

For specific information about pull request etiquette and best practices, see this section.

@github-actions github-actions bot added the Mgmt This issue is related to a management package. label Dec 10, 2025
@github-actions
Copy link

github-actions bot commented Dec 10, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Azure.ResourceManager.Attestation

@HarveyLink HarveyLink marked this pull request as ready for review December 10, 2025 08:02
Copilot AI review requested due to automatic review settings December 10, 2025 08:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates the Azure.ResourceManager.Attestation SDK to validate against TypeSpec definitions, transitioning from API version 2021-06-01-preview to the stable 2021-06-01 version. The changes include model renames for better clarity, new authentication type support for TPM attestation, improved API structure with proper property exposure, and pagination support enhancements.

Key Changes:

  • Upgraded API version from preview (2021-06-01-preview) to stable (2021-06-01)
  • Renamed models for clarity: JsonWebKeyAttestationPolicyJsonWebKey, PublicNetworkAccessTypeAttestationProviderPublicNetworkAccessType
  • Added new TpmAttestationAuthenticationType enum and support in creation/patch operations
  • Made AttestationServicePatchSpecificParams public and properly exposed as Properties on AttestationProviderPatch
  • Renamed operations: GetAttestationProvidersByDefaultProviderGetDefaultAttestationProviders, GetDefaultByLocationAttestationProviderGetDefaultAttestationProviderByLocation
  • Added pagination support for private endpoint connection listing

Reviewed changes

Copilot reviewed 7 out of 42 changed files in this pull request and generated no comments.

Show a summary per file
File Description
autorest.md Updated spec reference and added model rename mappings and operation name overrides
TpmAttestationAuthenticationType.cs New enum type for TPM attestation authentication settings
PublicNetworkAccessType.cs Removed (replaced by AttestationProviderPublicNetworkAccessType)
AttestationProviderPublicNetworkAccessType.cs New enum type replacing PublicNetworkAccessType
AttestationPolicyJsonWebKey.cs Renamed from JsonWebKey for better clarity
AttestationServicePatchSpecificParams.cs Changed from internal to public, added TpmAttestationAuthentication property
AttestationServiceCreationSpecificParams.cs Added TpmAttestationAuthentication property, updated to use renamed types
AttestationProviderPatch.cs Exposed Properties directly instead of flattened property
AttestationProviderData.cs Added TpmAttestationAuthentication property, updated type references
AttestationPrivateLinkResourceListResult.cs Updated constructor, added NextLink property for pagination
AttestationPrivateEndpointConnectionListResult.cs Updated constructor, added NextLink property for pagination
PrivateEndpointConnectionsRestOperations.cs Added NextPage methods for pagination support
AttestationProvidersRestOperations.cs Reordered methods (no functional changes to existing operations)
Extension files Updated method names per operation overrides
Test files Updated to use new type names and proper property structure
API files Updated public API surface to reflect all changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mgmt This issue is related to a management package.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants