azure-rest-api-specs
azure-rest-api-specs copied to clipboard
Fix Frontdoor canMigrate api definition
ARM API Information (Control Plane)
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow. Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo. If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:
- What's the purpose of the update?
- [ ] new service onboarding
- [ ] new API version
- [ ] update existing version for new feature
- [ ] update existing version to fix swagger quality issue in s360
- [ ] Other, please clarify
- When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
- When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
- By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.
Contribution checklist (MS Employees Only):
- [ ] I commit to follow the Breaking Change Policy of "no breaking changes"
- [ ] I have reviewed the documentation for the workflow.
- [ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?
If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist
Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.
- Change to data plane APIs
- Adding new properties
- All removals
Otherwise your PR may be subject to ARM review requirements. Complete the following:
-
[ ] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.
- Adding a new service
- Adding new API(s)
- Adding a new API version -[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.
-
[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.
-
[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.
Hi, @gubalasu Thanks for your PR. I am workflow bot for review process. Here are some small tips.
Swagger Validation Report
️❌BreakingChange: 4 Errors, 0 Warnings failed [Detail]
| compared swaggers (via Oad v0.10.4)] | new version | base version |
|---|---|---|
| cdn.json | 2022-05-01-preview(5ca5ab6) | 2022-05-01-preview(main) |
| cdn.json | 2022-11-01-preview(5ca5ab6) | 2022-11-01-preview(main) |
| Rule | Message |
|---|---|
1011 - AddingResponseCode |
The new version adds a response code '202'. New: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L377:11 |
1011 - AddingResponseCode |
The new version adds a response code '202'. New: Microsoft.Cdn/preview/2022-11-01-preview/cdn.json#L392:11 |
1044 - XmsLongRunningOperationChanged |
The new version has a different 'x-ms-longrunning-operation' value than the previous one. New: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L339:7 Old: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L339:7 |
1044 - XmsLongRunningOperationChanged |
The new version has a different 'x-ms-longrunning-operation' value than the previous one. New: Microsoft.Cdn/preview/2022-11-01-preview/cdn.json#L354:7 Old: Microsoft.Cdn/preview/2022-11-01-preview/cdn.json#L354:7 |
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️LintDiff: 0 Warnings warning [Detail]
| compared tags (via openapi-validator v2.0.0) | new version | base version |
|---|---|---|
| package-preview-2022-11 | package-preview-2022-11(5ca5ab6) | package-preview-2022-11(main) |
| package-preview-2022-05 | package-preview-2022-05(5ca5ab6) | package-preview-2022-05(main) |
The following errors/warnings exist before current PR submission:
Only 30 items are listed, please refer to log for more details.
| Rule | Message |
|---|---|
GetCollectionResponseSchema |
The response in the GET collection operation 'AFDCustomDomains_ListByProfile' does not match the response definition in the individual GET operation 'AFDCustomDomains_Get' . Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L36 |
GetCollectionResponseSchema |
The response in the GET collection operation 'AFDEndpoints_ListByProfile' does not match the response definition in the individual GET operation 'AFDEndpoints_Get' . Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L36 |
GetCollectionResponseSchema |
The response in the GET collection operation 'AFDOriginGroups_ListByProfile' does not match the response definition in the individual GET operation 'AFDOriginGroups_Get' . Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L36 |
GetCollectionResponseSchema |
The response in the GET collection operation 'AFDOrigins_ListByOriginGroup' does not match the response definition in the individual GET operation 'AFDOrigins_Get' . Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L36 |
GetCollectionResponseSchema |
The response in the GET collection operation 'Routes_ListByEndpoint' does not match the response definition in the individual GET operation 'Routes_Get' . Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L36 |
GetCollectionResponseSchema |
The response in the GET collection operation 'RuleSets_ListByProfile' does not match the response definition in the individual GET operation 'RuleSets_Get' . Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L36 |
GetCollectionResponseSchema |
The response in the GET collection operation 'Rules_ListByRuleSet' does not match the response definition in the individual GET operation 'Rules_Get' . Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L36 |
GetCollectionResponseSchema |
The response in the GET collection operation 'SecurityPolicies_ListByProfile' does not match the response definition in the individual GET operation 'SecurityPolicies_Get' . Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L36 |
GetCollectionResponseSchema |
The response in the GET collection operation 'Secrets_ListByProfile' does not match the response definition in the individual GET operation 'Secrets_Get' . Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L36 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L118 |
CreateOperationAsyncResponseValidation |
An async PUT operation must set long running operation options 'x-ms-long-running-operation-options' Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L163 |
CreateOperationAsyncResponseValidation |
Only 201 is the supported response code for PUT async response. Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L214 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L214 |
PatchSkuProperty |
The patch operation body parameter schema should contains property 'sku'. Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L251 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L274 |
DeleteOperationAsyncResponseValidation |
An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options' Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L289 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L322 |
PostOperationAsyncResponseValidation |
An async POST operation is tracked via Azure-AsyncOperation header. Set 'final-state-via' property to 'location' on 'x-ms-long-running-operation-options' Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L402 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L464 |
PostOperationAsyncResponseValidation |
An async POST operation is tracked via Azure-AsyncOperation header. Set 'final-state-via' property to 'location' on 'x-ms-long-running-operation-options' Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L465 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L519 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L565 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L611 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L660 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L709 |
ResourceNameRestriction |
The resource name parameter 'endpointName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L709 |
CreateOperationAsyncResponseValidation |
An async PUT operation must set long running operation options 'x-ms-long-running-operation-options' Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L761 |
CreateOperationAsyncResponseValidation |
Only 201 is the supported response code for PUT async response. Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L819 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L819 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Cdn/preview/2022-05-01-preview/cdn.json#L886 |
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
️⚠️~[Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]
API Test is not triggered due to precheck failure. Check pipeline log for details.
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️CadlAPIView succeeded [Detail] [Expand]
️❌ModelValidation: 120 Errors, 0 Warnings failed [Detail]
Only 30 items are listed, please refer to log for more details.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️CadlValidation succeeded [Detail] [Expand]
Validation passes for CadlValidation.
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
Swagger Generation Artifacts
️️✔️ApiDocPreview succeeded [Detail] [Expand]
Please click here to preview with your @microsoft account.
️❌SDK Breaking Change Tracking failed [Detail]
Breaking Changes Tracking
❌azure-sdk-for-go - sdk/resourcemanager/cdn/armcdn - 2.0.0-beta.1+ Function `*ValidateClient.Secret` has been removed + Function `NewValidateClient` has been removed + Operation `*CustomDomainsClient.DisableCustomHTTPS` has been changed to LRO, use `*CustomDomainsClient.BeginDisableCustomHTTPS` instead. + Operation `*CustomDomainsClient.EnableCustomHTTPS` has been changed to LRO, use `*CustomDomainsClient.BeginEnableCustomHTTPS` instead. + Struct `ValidateClient` has been removed + Type alias `MetricsResponseGranularity` has been removed + Type alias `MetricsResponseSeriesItemUnit` has been removed + Type alias `WafMetricsResponseGranularity` has been removed + Type alias `WafMetricsResponseSeriesItemUnit` has been removed + Type of `EndpointProperties.CustomDomains` has been changed from `[]*CustomDomain` to `[]*DeepCreatedCustomDomain` + Type of `MetricsResponse.Granularity` has been changed from `*MetricsResponseGranularity` to `*MetricsGranularity` + Type of `MetricsResponseSeriesItem.Unit` has been changed from `*MetricsResponseSeriesItemUnit` to `*MetricsSeriesUnit` + Type of `WafMetricsResponse.Granularity` has been changed from `*WafMetricsResponseGranularity` to `*WafMetricsGranularity` + Type of `WafMetricsResponseSeriesItem.Unit` has been changed from `*WafMetricsResponseSeriesItemUnit` to `*WafMetricsSeriesUnit`
❌azure-sdk-for-python-track2 - track2_azure-mgmt-cdn - 12.1.0b1+ Removed operation group ValidateOperations
❌azure-sdk-for-js - @azure/arm-cdn - 9.0.0-beta.1+ Class CdnManagementClient no longer has parameter validate + Removed Enum KnownMetricsResponseGranularity + Removed Enum KnownMetricsResponseSeriesItemUnit + Removed Enum KnownWafMetricsResponseGranularity + Removed operation group Validate + Type of parameter granularity of interface MetricsResponse is changed from MetricsResponseGranularity to MetricsGranularity + Type of parameter granularity of interface WafMetricsResponse is changed from WafMetricsResponseGranularity to WafMetricsGranularity + Type of parameter unit of interface MetricsResponseSeriesItem is changed from MetricsResponseSeriesItemUnit to MetricsSeriesUnit + Type of parameter unit of interface WafMetricsResponseSeriesItem is changed from "count" to WafMetricsSeriesUnit
️⚠️ azure-sdk-for-python-track2 warning [Detail]
⚠️Warning [Logs] Generate from 661f844cd978aecb556702a638298018a924701f. SDK Automation 14.0.0command sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json cmderr [automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed. command sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json cmderr [automation_generate.sh] cmderr [automation_generate.sh] npm notice New minor version of npm available! 9.3.1 -> 9.5.1 cmderr [automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.5.1> cmderr [automation_generate.sh] npm notice Run `npm install -g [email protected]` to update! cmderr [automation_generate.sh] npm notice
️✔️track2_azure-mgmt-cdn [View full logs] [Preview SDK Changes] Breaking Change Detectedinfo [Changelog] ### Features Added info [Changelog] info [Changelog] - Added operation AFDProfilesOperations.begin_upgrade info [Changelog] - Added operation AFDProfilesOperations.check_endpoint_name_availability info [Changelog] - Added operation AFDProfilesOperations.validate_secret info [Changelog] - Added operation ProfilesOperations.begin_can_migrate info [Changelog] - Added operation ProfilesOperations.begin_migrate info [Changelog] - Added operation ProfilesOperations.begin_migration_commit info [Changelog] - Model AFDDomain has a new parameter extended_properties info [Changelog] - Model AFDDomainProperties has a new parameter extended_properties info [Changelog] - Model CdnWebApplicationFirewallPolicy has a new parameter extended_properties info [Changelog] - Model Profile has a new parameter extended_properties info [Changelog] - Model Profile has a new parameter identity info [Changelog] - Model ProfileUpdateParameters has a new parameter identity info [Changelog] info [Changelog] ### Breaking Changes info [Changelog] info [Changelog] - Removed operation group ValidateOperations
️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
️✔️Succeeded [Logs] Generate from 661f844cd978aecb556702a638298018a924701f. SDK Automation 14.0.0command ./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json command ./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
️✔️azure-resourcemanager-cdn-generated [View full logs] [Preview SDK Changes]
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
️✔️Succeeded [Logs] Generate from 661f844cd978aecb556702a638298018a924701f. SDK Automation 14.0.0command sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json command generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
️✔️sdk/resourcemanager/cdn/armcdn [View full logs] [Preview SDK Changes] Breaking Change Detectedinfo [Changelog] ### Breaking Changes info [Changelog] info [Changelog] - Type of `EndpointProperties.CustomDomains` has been changed from `[]*CustomDomain` to `[]*DeepCreatedCustomDomain` info [Changelog] - Type of `MetricsResponse.Granularity` has been changed from `*MetricsResponseGranularity` to `*MetricsGranularity` info [Changelog] - Type of `MetricsResponseSeriesItem.Unit` has been changed from `*MetricsResponseSeriesItemUnit` to `*MetricsSeriesUnit` info [Changelog] - Type of `WafMetricsResponse.Granularity` has been changed from `*WafMetricsResponseGranularity` to `*WafMetricsGranularity` info [Changelog] - Type of `WafMetricsResponseSeriesItem.Unit` has been changed from `*WafMetricsResponseSeriesItemUnit` to `*WafMetricsSeriesUnit` info [Changelog] - Type alias `MetricsResponseGranularity` has been removed info [Changelog] - Type alias `MetricsResponseSeriesItemUnit` has been removed info [Changelog] - Type alias `WafMetricsResponseGranularity` has been removed info [Changelog] - Type alias `WafMetricsResponseSeriesItemUnit` has been removed info [Changelog] - Function `NewValidateClient` has been removed info [Changelog] - Function `*ValidateClient.Secret` has been removed info [Changelog] - Operation `*CustomDomainsClient.DisableCustomHTTPS` has been changed to LRO, use `*CustomDomainsClient.BeginDisableCustomHTTPS` instead. info [Changelog] - Operation `*CustomDomainsClient.EnableCustomHTTPS` has been changed to LRO, use `*CustomDomainsClient.BeginEnableCustomHTTPS` instead. info [Changelog] - Struct `ValidateClient` has been removed info [Changelog] info [Changelog] ### Features Added info [Changelog] info [Changelog] - New value `ProfileResourceStateAbortingMigration`, `ProfileResourceStateCommittingMigration`, `ProfileResourceStateMigrated`, `ProfileResourceStateMigrating`, `ProfileResourceStatePendingMigrationCommit` added to type alias `ProfileResourceState` info [Changelog] - New type alias `CanMigrateDefaultSKU` with values `CanMigrateDefaultSKUPremiumAzureFrontDoor`, `CanMigrateDefaultSKUStandardAzureFrontDoor` info [Changelog] - New type alias `ManagedServiceIdentityType` with values `ManagedServiceIdentityTypeNone`, `ManagedServiceIdentityTypeSystemAssigned`, `ManagedServiceIdentityTypeSystemAssignedUserAssigned`, `ManagedServiceIdentityTypeUserAssigned` info [Changelog] - New type alias `MetricsGranularity` with values `MetricsGranularityP1D`, `MetricsGranularityPT1H`, `MetricsGranularityPT5M` info [Changelog] - New type alias `MetricsSeriesUnit` with values `MetricsSeriesUnitBitsPerSecond`, `MetricsSeriesUnitBytes`, `MetricsSeriesUnitCount`, `MetricsSeriesUnitMilliSeconds` info [Changelog] - New type alias `WafMetricsGranularity` with values `WafMetricsGranularityP1D`, `WafMetricsGranularityPT1H`, `WafMetricsGranularityPT5M` info [Changelog] - New type alias `WafMetricsSeriesUnit` with values `WafMetricsSeriesUnitCount` info [Changelog] - New function `*AFDProfilesClient.CheckEndpointNameAvailability(context.Context, string, string, CheckEndpointNameAvailabilityInput, *AFDProfilesClientCheckEndpointNameAvailabilityOptions) (AFDProfilesClientCheckEndpointNameAvailabilityResponse, error)` info [Changelog] - New function `*AFDProfilesClient.BeginUpgrade(context.Context, string, string, ProfileUpgradeParameters, *AFDProfilesClientBeginUpgradeOptions) (*runtime.Poller[AFDProfilesClientUpgradeResponse], error)` info [Changelog] - New function `*AFDProfilesClient.ValidateSecret(context.Context, string, string, ValidateSecretInput, *AFDProfilesClientValidateSecretOptions) (AFDProfilesClientValidateSecretResponse, error)` info [Changelog] - New function `*ProfilesClient.BeginCanMigrate(context.Context, string, CanMigrateParameters, *ProfilesClientBeginCanMigrateOptions) (*runtime.Poller[ProfilesClientCanMigrateResponse], error)` info [Changelog] - New function `*ProfilesClient.BeginMigrate(context.Context, string, MigrationParameters, *ProfilesClientBeginMigrateOptions) (*runtime.Poller[ProfilesClientMigrateResponse], error)` info [Changelog] - New function `*ProfilesClient.BeginMigrationCommit(context.Context, string, string, *ProfilesClientBeginMigrationCommitOptions) (*runtime.Poller[ProfilesClientMigrationCommitResponse], error)` info [Changelog] - New struct `CanMigrateParameters` info [Changelog] - New struct `CanMigrateResult` info [Changelog] - New struct `DeepCreatedCustomDomain` info [Changelog] - New struct `DeepCreatedCustomDomainProperties` info [Changelog] - New struct `ManagedServiceIdentity` info [Changelog] - New struct `MigrateResult` info [Changelog] - New struct `MigrationErrorType` info [Changelog] - New struct `MigrationParameters` info [Changelog] - New struct `MigrationWebApplicationFirewallMapping` info [Changelog] - New struct `ProfileChangeSKUWafMapping` info [Changelog] - New struct `ProfileUpgradeParameters` info [Changelog] - New struct `UserAssignedIdentity` info [Changelog] - New field `ExtendedProperties` in struct `AFDDomainProperties` info [Changelog] - New field `Identity` in struct `Profile` info [Changelog] - New field `ExtendedProperties` in struct `ProfileProperties` info [Changelog] - New field `Identity` in struct `ProfileUpdateParameters` info [Changelog] - New field `ExtendedProperties` in struct `WebApplicationFirewallPolicyProperties` info [Changelog] info [Changelog] Total 15 breaking change(s), 63 additive change(s).
️❌ azure-sdk-for-net-track2 failed [Detail]
❌Failed [Logs] Generate from 661f844cd978aecb556702a638298018a924701f. SDK Automation 14.0.0command pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json command pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json cmderr [Invoke-GenerateAndBuildV2.ps1] [31;1mGeneratePackage: [0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:672 cmderr [Invoke-GenerateAndBuildV2.ps1] [36;1mLine | cmderr [Invoke-GenerateAndBuildV2.ps1] [36;1m 672 | [0m [36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s[0m … cmderr [Invoke-GenerateAndBuildV2.ps1] [36;1m | [31;1m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmderr [Invoke-GenerateAndBuildV2.ps1] [31;1m[36;1m | [31;1mFailed to build sdk. exit code: False cmderr [Invoke-GenerateAndBuildV2.ps1] [0m
❌Azure.ResourceManager.Cdn [View full logs] [Preview SDK Changes] Breaking Change Detectedinfo [Changelog] Breaking Changes: /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.Cdn.Models.MetricsResponseGranularity' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/cdn/Azure.ResourceManager.Cdn/src/Azure.ResourceManager.Cdn.csproj::TargetFramework=netstandard2.0], info [Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : MembersMustExist : Member 'public System.Nullable<Azure.ResourceManager.Cdn.Models.MetricsResponseSeriesItemUnit> Azure.ResourceManager.Cdn.Models.MetricsResponseSeriesItem.Unit.get()' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/cdn/Azure.ResourceManager.Cdn/src/Azure.ResourceManager.Cdn.csproj::TargetFramework=netstandard2.0], info [Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.Cdn.Models.MetricsResponseSeriesItemUnit' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/cdn/Azure.ResourceManager.Cdn/src/Azure.ResourceManager.Cdn.csproj::TargetFramework=netstandard2.0], info [Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : MembersMustExist : Member 'public System.Nullable<Azure.ResourceManager.Cdn.Models.WafMetricsResponseGranularity> Azure.ResourceManager.Cdn.Models.WafMetricsResponse.Granularity.get()' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/cdn/Azure.ResourceManager.Cdn/src/Azure.ResourceManager.Cdn.csproj::TargetFramework=netstandard2.0], info [Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.Cdn.Models.WafMetricsResponseGranularity' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/cdn/Azure.ResourceManager.Cdn/src/Azure.ResourceManager.Cdn.csproj::TargetFramework=netstandard2.0], info [Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : MembersMustExist : Member 'public System.Nullable<Azure.ResourceManager.Cdn.Models.WafMetricsResponseSeriesItemUnit> Azure.ResourceManager.Cdn.Models.WafMetricsResponseSeriesItem.Unit.get()' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/cdn/Azure.ResourceManager.Cdn/src/Azure.ResourceManager.Cdn.csproj::TargetFramework=netstandard2.0], info [Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : TypesMustExist : Type 'Azure.ResourceManager.Cdn.Models.WafMetricsResponseSeriesItemUnit' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/cdn/Azure.ResourceManager.Cdn/src/Azure.ResourceManager.Cdn.csproj::TargetFramework=netstandard2.0], info [Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(96,5): error : ApiCompat failed for '/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/bin/Azure.ResourceManager.Cdn/Debug/netstandard2.0/Azure.ResourceManager.Cdn.dll' [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/cdn/Azure.ResourceManager.Cdn/src/Azure.ResourceManager.Cdn.csproj::TargetFramework=netstandard2.0]
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
️✔️Succeeded [Logs] Generate from 661f844cd978aecb556702a638298018a924701f. SDK Automation 14.0.0command sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json warn File azure-sdk-for-js_tmp/initOutput.json not found to read command sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
️✔️@azure/arm-cdn [View full logs] [Preview SDK Changes] Breaking Change Detectedinfo [Changelog] **Features** info [Changelog] info [Changelog] - Added operation AfdProfiles.beginUpgrade info [Changelog] - Added operation AfdProfiles.beginUpgradeAndWait info [Changelog] - Added operation AfdProfiles.checkEndpointNameAvailability info [Changelog] - Added operation AfdProfiles.validateSecret info [Changelog] - Added operation Profiles.beginCanMigrate info [Changelog] - Added operation Profiles.beginCanMigrateAndWait info [Changelog] - Added operation Profiles.beginMigrate info [Changelog] - Added operation Profiles.beginMigrateAndWait info [Changelog] - Added operation Profiles.beginMigrationCommit info [Changelog] - Added operation Profiles.beginMigrationCommitAndWait info [Changelog] - Added Interface AfdCustomDomainsCreateHeaders info [Changelog] - Added Interface AfdCustomDomainsDeleteHeaders info [Changelog] - Added Interface AfdCustomDomainsRefreshValidationTokenHeaders info [Changelog] - Added Interface AfdCustomDomainsUpdateHeaders info [Changelog] - Added Interface AfdEndpointsCreateHeaders info [Changelog] - Added Interface AfdEndpointsDeleteHeaders info [Changelog] - Added Interface AfdEndpointsPurgeContentHeaders info [Changelog] - Added Interface AfdEndpointsUpdateHeaders info [Changelog] - Added Interface AfdOriginGroupsCreateHeaders info [Changelog] - Added Interface AfdOriginGroupsDeleteHeaders info [Changelog] - Added Interface AfdOriginGroupsUpdateHeaders info [Changelog] - Added Interface AfdOriginsCreateHeaders info [Changelog] - Added Interface AfdOriginsDeleteHeaders info [Changelog] - Added Interface AfdOriginsUpdateHeaders info [Changelog] - Added Interface AfdProfilesCheckEndpointNameAvailabilityOptionalParams info [Changelog] - Added Interface AfdProfilesUpgradeHeaders info [Changelog] - Added Interface AfdProfilesUpgradeOptionalParams info [Changelog] - Added Interface AfdProfilesValidateSecretOptionalParams info [Changelog] - Added Interface CanMigrateParameters info [Changelog] - Added Interface CanMigrateResult info [Changelog] - Added Interface CustomDomainsCreateHeaders info [Changelog] - Added Interface CustomDomainsDeleteHeaders info [Changelog] - Added Interface CustomDomainsDisableCustomHttpsHeaders info [Changelog] - Added Interface CustomDomainsEnableCustomHttpsHeaders info [Changelog] - Added Interface EndpointsCreateHeaders info [Changelog] - Added Interface EndpointsDeleteHeaders info [Changelog] - Added Interface EndpointsLoadContentHeaders info [Changelog] - Added Interface EndpointsPurgeContentHeaders info [Changelog] - Added Interface EndpointsStartHeaders info [Changelog] - Added Interface EndpointsStopHeaders info [Changelog] - Added Interface EndpointsUpdateHeaders info [Changelog] - Added Interface ManagedServiceIdentity info [Changelog] - Added Interface MigrateResult info [Changelog] - Added Interface MigrationErrorType info [Changelog] - Added Interface MigrationParameters info [Changelog] - Added Interface MigrationWebApplicationFirewallMapping info [Changelog] - Added Interface OriginGroupsCreateHeaders info [Changelog] - Added Interface OriginGroupsDeleteHeaders info [Changelog] - Added Interface OriginGroupsUpdateHeaders info [Changelog] - Added Interface OriginsCreateHeaders info [Changelog] - Added Interface OriginsDeleteHeaders info [Changelog] - Added Interface OriginsUpdateHeaders info [Changelog] - Added Interface PoliciesCreateOrUpdateHeaders info [Changelog] - Added Interface PoliciesUpdateHeaders info [Changelog] - Added Interface ProfileChangeSkuWafMapping info [Changelog] - Added Interface ProfilesCanMigrateHeaders info [Changelog] - Added Interface ProfilesCanMigrateOptionalParams info [Changelog] - Added Interface ProfilesCreateHeaders info [Changelog] - Added Interface ProfilesDeleteHeaders info [Changelog] - Added Interface ProfilesMigrateHeaders info [Changelog] - Added Interface ProfilesMigrateOptionalParams info [Changelog] - Added Interface ProfilesMigrationCommitHeaders info [Changelog] - Added Interface ProfilesMigrationCommitOptionalParams info [Changelog] - Added Interface ProfilesUpdateHeaders info [Changelog] - Added Interface ProfileUpgradeParameters info [Changelog] - Added Interface RoutesCreateHeaders info [Changelog] - Added Interface RoutesDeleteHeaders info [Changelog] - Added Interface RoutesUpdateHeaders info [Changelog] - Added Interface RulesCreateHeaders info [Changelog] - Added Interface RulesDeleteHeaders info [Changelog] - Added Interface RuleSetsDeleteHeaders info [Changelog] - Added Interface RulesUpdateHeaders info [Changelog] - Added Interface SecretsCreateHeaders info [Changelog] - Added Interface SecretsDeleteHeaders info [Changelog] - Added Interface SecurityPoliciesCreateHeaders info [Changelog] - Added Interface SecurityPoliciesDeleteHeaders info [Changelog] - Added Interface SecurityPoliciesPatchHeaders info [Changelog] - Added Interface UserAssignedIdentity info [Changelog] - Added Type Alias AfdProfilesCheckEndpointNameAvailabilityResponse info [Changelog] - Added Type Alias AfdProfilesUpgradeResponse info [Changelog] - Added Type Alias AfdProfilesValidateSecretResponse info [Changelog] - Added Type Alias CanMigrateDefaultSku info [Changelog] - Added Type Alias ManagedServiceIdentityType info [Changelog] - Added Type Alias MetricsGranularity info [Changelog] - Added Type Alias MetricsSeriesUnit info [Changelog] - Added Type Alias ProfilesCanMigrateResponse info [Changelog] - Added Type Alias ProfilesMigrateResponse info [Changelog] - Added Type Alias WafMetricsGranularity info [Changelog] - Added Type Alias WafMetricsSeriesUnit info [Changelog] - Interface AFDDomain has a new optional parameter extendedProperties info [Changelog] - Interface AFDDomainProperties has a new optional parameter extendedProperties info [Changelog] - Interface CdnWebApplicationFirewallPolicy has a new optional parameter extendedProperties info [Changelog] - Interface Profile has a new optional parameter extendedProperties info [Changelog] - Interface Profile has a new optional parameter identity info [Changelog] - Interface ProfileUpdateParameters has a new optional parameter identity info [Changelog] - Added Enum KnownCanMigrateDefaultSku info [Changelog] - Added Enum KnownManagedServiceIdentityType info [Changelog] - Added Enum KnownMetricsGranularity info [Changelog] - Added Enum KnownMetricsSeriesUnit info [Changelog] - Added Enum KnownWafMetricsGranularity info [Changelog] - Added Enum KnownWafMetricsSeriesUnit info [Changelog] - Enum KnownProfileResourceState has a new value AbortingMigration info [Changelog] - Enum KnownProfileResourceState has a new value CommittingMigration info [Changelog] - Enum KnownProfileResourceState has a new value Migrated info [Changelog] - Enum KnownProfileResourceState has a new value Migrating info [Changelog] - Enum KnownProfileResourceState has a new value PendingMigrationCommit info [Changelog] info [Changelog] **Breaking Changes** info [Changelog] info [Changelog] - Removed operation group Validate info [Changelog] - Type of parameter granularity of interface MetricsResponse is changed from MetricsResponseGranularity to MetricsGranularity info [Changelog] - Type of parameter unit of interface MetricsResponseSeriesItem is changed from MetricsResponseSeriesItemUnit to MetricsSeriesUnit info [Changelog] - Type of parameter granularity of interface WafMetricsResponse is changed from WafMetricsResponseGranularity to WafMetricsGranularity info [Changelog] - Type of parameter unit of interface WafMetricsResponseSeriesItem is changed from "count" to WafMetricsSeriesUnit info [Changelog] - Class CdnManagementClient no longer has parameter validate info [Changelog] - Removed Enum KnownMetricsResponseGranularity info [Changelog] - Removed Enum KnownMetricsResponseSeriesItemUnit info [Changelog] - Removed Enum KnownWafMetricsResponseGranularity
️⚠️ azure-resource-manager-schemas warning [Detail]
⚠️Warning [Logs] Generate from 661f844cd978aecb556702a638298018a924701f. Schema Automation 14.0.0command .sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json cmderr [initScript.sh] WARN old lockfile cmderr [initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm, cmderr [initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry. cmderr [initScript.sh] npm WARN old lockfile cmderr [initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient... cmderr [initScript.sh] npm WARN old lockfile warn File azure-resource-manager-schemas_tmp/initOutput.json not found to read command .sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json warn No file changes detected after generation
️✔️cdn [View full logs]
️❌ azure-powershell failed [Detail]
❌Failed [Logs] Generate from 661f844cd978aecb556702a638298018a924701f. SDK Automation 14.0.0command sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json command pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
❌Az.cdn [View full logs] [Preview SDK Changes]
Generated ApiView
| Language | Package Name | ApiView Link |
|---|---|---|
| swagger | Microsoft.Cdn | https://apiview.dev/Assemblies/Review/b27d8a60da274cec93b1755101bb5839 |
| Go | sdk/resourcemanager/cdn/armcdn | https://apiview.dev/Assemblies/Review/5782b5b9ec43412fbed13adc3448fa39 |
| Java | azure-resourcemanager-cdn-generated | https://apiview.dev/Assemblies/Review/713e2be569d94b6fa9f92919d0ae3787 |
| .Net | Azure.ResourceManager.Cdn | https://apiview.dev/Assemblies/Review/d09ac41ba1df465c8e56fc1f8869bbd9 |
| JavaScript | @azure/arm-cdn | https://apiview.dev/Assemblies/Review/a7575f9391ab44aa8b16c96188cf1377 |
Hi @gubalasu, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff. If you have any questions, please post your questions in this channel https://aka.ms/swaggersupport.
| Task | How to fix | Priority |
|---|---|---|
| Avocado | Fix-Avocado | High |
| Semantic validation | Fix-SemanticValidation-Error | High |
| Model validation | Fix-ModelValidation-Error | High |
| LintDiff | Fix-LintDiff | high |
Hi @gubalasu, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow breaking change policy to request breaking change review and approval before proceeding swagger PR review. Action: To initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki. If you want to know the production traffic statistic, please see ARM Traffic statistic. If you think it is false positive breaking change, please provide the reasons in the PR comment, report to Swagger Tooling Team via https://aka.ms/swaggerfeedback. Note: To avoid breaking change, you can refer to Shift Left Solution for detecting breaking change in early phase at your service code repository.
Hi, @gubalasu. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove no-recent-activity label.
Hi @gubalasu there are LintDiff and ModelValidation errors can you fix it? And the BreakingChangeReviewRequired label need you have a breaking change review meeting for this PR
Hi, @gubalasu. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove no-recent-activity label.
Hi, @gubalasu. The PR will be closed since the PR has no update for 28 days. If you still need the PR review to proceed, please reopen it and @ mention PR assignee.
@zzvswxy Fixed validation errors. Can you point me to someone from whom I can get BreakingChange validation from?
Hi @gubalasu you can create a new intake using the template for breaking changes
Breaking Change Review Checklist If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.
Created work item as per the mentioned documentation for breaking change: https://msazure.visualstudio.com/One/_workitems/edit/17412836 Will try to get in touch with people to get it reviewed. @zzvswxy FYI
Hi, @gubalasu. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove no-recent-activity label.
Hi, @gubalasu. The PR will be closed since the PR has no update for 28 days. If you still need the PR review to proceed, please reopen it and @ mention PR assignee.