Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add necessary prerequisite to register the API #22623

Merged
merged 3 commits into from
Feb 17, 2023
Merged

Conversation

pinyuko
Copy link
Contributor

@pinyuko pinyuko commented Feb 15, 2023

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:

  1. 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
  2. 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.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  4. 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):

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

Applicability: ⚠️

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.

I'm Penny Ko from MSFT.
Proposing to add below to the doc page. Without the register action, customer will only get 404 error.
Please register the feature with AZ CLI “az feature register -n AvailabilityZonePeering --namespace Microsoft.Resources”, and check the status with “az feature show -n AvailabilityZonePeering --namespace Microsoft.Resources” before calling the checkZonePeers API."
@openapi-workflow-bot
Copy link

Hi, @pinyuko Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. vscswagger@microsoft.com

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Feb 15, 2023

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    compared swaggers (via Oad v0.10.4)] new version base version
    subscriptions.json 2020-01-01(f622043) 2020-01-01(main)
    ️️✔️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-subscriptions-2020-01 package-subscriptions-2020-01(f622043) package-subscriptions-2020-01(main)

    The following errors/warnings exist before current PR submission:

    Only 30 items are listed, please refer to log for more details.

    Rule Message
    RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L49
    OperationsApiResponseSchema The response schema of operations API '/providers/Microsoft.Resources/operations' does not match the ARM specification. Please standardize the schema.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L52
    PathContainsResourceType The path for the CURD methods do not contain a resource type.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L62
    RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L78
    PathContainsResourceType The path for the CURD methods do not contain a resource type.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L96
    RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L111
    PathContainsResourceType The path for the CURD methods do not contain a resource type.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L126
    RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L138
    PathContainsResourceType The path for the CURD methods do not contain a resource type.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L156
    RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L168
    PathForResourceAction Path for 'post' method on a resource type MUST follow valid resource naming.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L186
    MissingTypeObject The schema 'PairedRegion' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L273
    MissingTypeObject The schema 'LocationMetadata' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L293
    MissingTypeObject The schema 'Location' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L351
    MissingTypeObject The schema 'LocationListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L385
    MissingTypeObject The schema 'Subscription' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L397
    XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L443
    MissingTypeObject The schema 'SubscriptionPolicies' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L461
    MissingTypeObject The schema 'ManagedByTenant' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L490
    MissingTypeObject The schema 'SubscriptionListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L500
    MissingTypeObject The schema 'TenantIdDescription' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L519
    MissingTypeObject The schema 'TenantListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L587
    MissingTypeObject The schema 'ResourceName' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L606
    MissingTypeObject The schema 'CheckResourceNameResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L623
    MissingTypeObject The schema 'ErrorResponse' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L648
    MissingTypeObject The schema 'ErrorDefinition' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L657
    MissingTypeObject The schema 'display' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L678
    MissingTypeObject The schema 'OperationListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L701
    XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L704
    XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L747
    ️️✔️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: 2 Errors, 0 Warnings failed [Detail]
    Rule Message
    XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in Operations_List.
    Url: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L38:14
    INVALID_REQUEST_PARAMETER api-version 2021-01-01 is not equal to swagger version
    Url: Microsoft.Resources/stable/2020-01-01/subscriptions.json#L187:15
    ExampleUrl: stable/2020-01-01/examples/PostCheckZonePeers.json#L2:17
    ️️✔️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.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Feb 15, 2023

    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/resources/armresources - 2.0.0
    +	Function `*DeploymentsClient.CalculateTemplateHash` parameter(s) have been changed from `(context.Context, interface{}, *DeploymentsClientCalculateTemplateHashOptions)` to `(context.Context, any, *DeploymentsClientCalculateTemplateHashOptions)`
    +	Operation `*TagsClient.CreateOrUpdateAtScope` has been changed to LRO, use `*TagsClient.BeginCreateOrUpdateAtScope` instead.
    +	Operation `*TagsClient.DeleteAtScope` has been changed to LRO, use `*TagsClient.BeginDeleteAtScope` instead.
    +	Operation `*TagsClient.UpdateAtScope` has been changed to LRO, use `*TagsClient.BeginUpdateAtScope` instead.
    +	Struct `CloudError` has been removed
    azure-sdk-for-go - sdk/resourcemanager/resources/armdeploymentscripts - 2.0.0
    +	Struct `DeploymentScriptPropertiesBase` has been removed
    +	Struct `ScriptConfigurationBase` has been removed




    azure-sdk-for-go - sdk/resourcemanager/resources/armpolicy - 0.7.0
    +	Struct `CloudError` has been removed
    azure-sdk-for-go - sdk/resourcemanager/resources/armsubscriptions - 2.0.0
    +	Struct `CloudError` has been removed


    azure-sdk-for-js - @azure/arm-changes - 2.0.0
    +	Interface ChangesListNextOptionalParams no longer has parameter skipToken
    +	Interface ChangesListNextOptionalParams no longer has parameter top
    azure-sdk-for-js - @azure/arm-links - 3.0.0
    +	Interface ResourceLinksListAtSubscriptionNextOptionalParams no longer has parameter filter
    azure-sdk-for-js - @azure/arm-locks - 3.0.0
    +	Interface ManagementLocksListAtResourceGroupLevelNextOptionalParams no longer has parameter filter
    +	Interface ManagementLocksListAtResourceLevelNextOptionalParams no longer has parameter filter
    +	Interface ManagementLocksListAtSubscriptionLevelNextOptionalParams no longer has parameter filter
    +	Interface ManagementLocksListByScopeNextOptionalParams no longer has parameter filter
    azure-sdk-for-js - @azure/arm-policy - 6.0.0-beta.1
    +	Interface DataPolicyManifestsListNextOptionalParams no longer has parameter filter
    +	Interface PolicyAssignmentsListForManagementGroupNextOptionalParams no longer has parameter filter
    +	Interface PolicyAssignmentsListForManagementGroupNextOptionalParams no longer has parameter top
    +	Interface PolicyAssignmentsListForResourceGroupNextOptionalParams no longer has parameter filter
    +	Interface PolicyAssignmentsListForResourceGroupNextOptionalParams no longer has parameter top
    +	Interface PolicyAssignmentsListForResourceNextOptionalParams no longer has parameter filter
    +	Interface PolicyAssignmentsListForResourceNextOptionalParams no longer has parameter top
    +	Interface PolicyAssignmentsListNextOptionalParams no longer has parameter filter
    +	Interface PolicyAssignmentsListNextOptionalParams no longer has parameter top
    +	Interface PolicyDefinitionsListBuiltInNextOptionalParams no longer has parameter filter
    +	Interface PolicyDefinitionsListBuiltInNextOptionalParams no longer has parameter top
    +	Interface PolicyDefinitionsListByManagementGroupNextOptionalParams no longer has parameter filter
    +	Interface PolicyDefinitionsListByManagementGroupNextOptionalParams no longer has parameter top
    +	Interface PolicyDefinitionsListNextOptionalParams no longer has parameter filter
    +	Interface PolicyDefinitionsListNextOptionalParams no longer has parameter top
    +	Interface PolicyExemptionsListForManagementGroupNextOptionalParams no longer has parameter filter
    +	Interface PolicyExemptionsListForResourceGroupNextOptionalParams no longer has parameter filter
    +	Interface PolicyExemptionsListForResourceNextOptionalParams no longer has parameter filter
    +	Interface PolicyExemptionsListNextOptionalParams no longer has parameter filter
    +	Interface PolicySetDefinitionsListBuiltInNextOptionalParams no longer has parameter filter
    +	Interface PolicySetDefinitionsListBuiltInNextOptionalParams no longer has parameter top
    +	Interface PolicySetDefinitionsListByManagementGroupNextOptionalParams no longer has parameter filter
    +	Interface PolicySetDefinitionsListByManagementGroupNextOptionalParams no longer has parameter top
    +	Interface PolicySetDefinitionsListNextOptionalParams no longer has parameter filter
    +	Interface PolicySetDefinitionsListNextOptionalParams no longer has parameter top

    azure-sdk-for-js - @azure/arm-resources - 6.0.0
    +	Interface DeploymentOperationsListAtManagementGroupScopeNextOptionalParams no longer has parameter top
    +	Interface DeploymentOperationsListAtScopeNextOptionalParams no longer has parameter top
    +	Interface DeploymentOperationsListAtSubscriptionScopeNextOptionalParams no longer has parameter top
    +	Interface DeploymentOperationsListAtTenantScopeNextOptionalParams no longer has parameter top
    +	Interface DeploymentOperationsListNextOptionalParams no longer has parameter top
    +	Interface DeploymentsListAtManagementGroupScopeNextOptionalParams no longer has parameter filter
    +	Interface DeploymentsListAtManagementGroupScopeNextOptionalParams no longer has parameter top
    +	Interface DeploymentsListAtScopeNextOptionalParams no longer has parameter filter
    +	Interface DeploymentsListAtScopeNextOptionalParams no longer has parameter top
    +	Interface DeploymentsListAtSubscriptionScopeNextOptionalParams no longer has parameter filter
    +	Interface DeploymentsListAtSubscriptionScopeNextOptionalParams no longer has parameter top
    +	Interface DeploymentsListAtTenantScopeNextOptionalParams no longer has parameter filter
    +	Interface DeploymentsListAtTenantScopeNextOptionalParams no longer has parameter top
    +	Interface DeploymentsListByResourceGroupNextOptionalParams no longer has parameter filter
    +	Interface DeploymentsListByResourceGroupNextOptionalParams no longer has parameter top
    +	Interface ProvidersListAtTenantScopeNextOptionalParams no longer has parameter expand
    +	Interface ProvidersListNextOptionalParams no longer has parameter expand
    +	Interface ResourceGroupsListNextOptionalParams no longer has parameter filter
    +	Interface ResourceGroupsListNextOptionalParams no longer has parameter top
    +	Interface ResourcesListByResourceGroupNextOptionalParams no longer has parameter expand
    +	Interface ResourcesListByResourceGroupNextOptionalParams no longer has parameter filter
    +	Interface ResourcesListByResourceGroupNextOptionalParams no longer has parameter top
    +	Interface ResourcesListNextOptionalParams no longer has parameter expand
    +	Interface ResourcesListNextOptionalParams no longer has parameter filter
    +	Interface ResourcesListNextOptionalParams no longer has parameter top
    +	Removed operation TagsOperations.createOrUpdateAtScope
    +	Removed operation TagsOperations.deleteAtScope
    +	Removed operation TagsOperations.updateAtScope
    azure-sdk-for-js - @azure/arm-templatespecs - 3.0.0
    +	Interface TemplateSpecsListByResourceGroupNextOptionalParams no longer has parameter expand
    +	Interface TemplateSpecsListBySubscriptionNextOptionalParams no longer has parameter expand

    ️⚠️ azure-sdk-for-net-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from b86926c. SDK Automation 14.0.0
      command	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
      warn	No file changes detected after generation
    • ️✔️Azure.ResourceManager.Resources [View full logs
      info	[Changelog]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from b86926c. SDK Automation 14.0.0
      command	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] npm notice
      cmderr	[automation_generate.sh] npm notice New major version of npm available! 8.19.3 -> 9.5.0
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.5.0>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@9.5.0` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-resource [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️⚠️ azure-sdk-for-java warning [Detail]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from b86926c. SDK Automation 14.0.0
      command	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/resources/armresources [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Function `*DeploymentsClient.CalculateTemplateHash` parameter(s) have been changed from `(context.Context, interface{}, *DeploymentsClientCalculateTemplateHashOptions)` to `(context.Context, any, *DeploymentsClientCalculateTemplateHashOptions)`
      info	[Changelog] - Operation `*TagsClient.CreateOrUpdateAtScope` has been changed to LRO, use `*TagsClient.BeginCreateOrUpdateAtScope` instead.
      info	[Changelog] - Operation `*TagsClient.DeleteAtScope` has been changed to LRO, use `*TagsClient.BeginDeleteAtScope` instead.
      info	[Changelog] - Operation `*TagsClient.UpdateAtScope` has been changed to LRO, use `*TagsClient.BeginUpdateAtScope` instead.
      info	[Changelog] - Struct `CloudError` has been removed
      info	[Changelog]
      info	[Changelog] Total 6 breaking change(s), 0 additive change(s).
    • ️✔️sdk/resourcemanager/resources/armdeploymentscripts [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Struct `DeploymentScriptPropertiesBase` has been removed
      info	[Changelog] - Struct `ScriptConfigurationBase` has been removed
      info	[Changelog]
      info	[Changelog] Total 4 breaking change(s), 0 additive change(s).
    • ️✔️sdk/resourcemanager/resources/armfeatures [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️sdk/resourcemanager/resources/armlinks [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️sdk/resourcemanager/resources/armlocks [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️sdk/resourcemanager/resources/armmanagedapplications [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️sdk/resourcemanager/resources/armpolicy [View full logs]  [Release SDK Changes] Breaking Change Detected
      Only show 12 items here, please refer to log for details.
      info	[Changelog] - New struct `VariableValueColumnValue`
      info	[Changelog] - New struct `VariableValueListResult`
      info	[Changelog] - New struct `VariableValueProperties`
      info	[Changelog] - New struct `VariableValuesClient`
      info	[Changelog] - New struct `VariablesClient`
      info	[Changelog] - New field `Overrides` in struct `AssignmentProperties`
      info	[Changelog] - New field `ResourceSelectors` in struct `AssignmentProperties`
      info	[Changelog] - New field `Properties` in struct `AssignmentUpdate`
      info	[Changelog] - New field `AssignmentScopeValidation` in struct `ExemptionProperties`
      info	[Changelog] - New field `ResourceSelectors` in struct `ExemptionProperties`
      info	[Changelog]
      info	[Changelog] Total 2 breaking change(s), 64 additive change(s).
    • ️✔️sdk/resourcemanager/resources/armsubscriptions [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Struct `CloudError` has been removed
      info	[Changelog]
      info	[Changelog] Total 2 breaking change(s), 0 additive change(s).
    • ️✔️sdk/resourcemanager/resources/armtemplatespecs [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️sdk/resourcemanager/resources/armchanges [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    ️🔄 azure-sdk-for-js inProgress [Detail]
    ️❌ azure-resource-manager-schemas failed [Detail]
    • Pipeline Framework Failed [Logs]Release - Generate from b86926c. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      cmderr	[initScript.sh]
      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
      cannot force update branch 'sdkAuto/resources' as it is the current HEAD of the repository.
      Error: cannot force update branch 'sdkAuto/resources' as it is the current HEAD of the repository.
    • ️✔️resources [View full logs
    • ️✔️resources [View full logs
      error	Fatal error: cannot force update branch 'sdkAuto/resources' as it is the current HEAD of the repository.
      error	The following packages are still pending:
      error		resources
      error		resources
      error		resources
      error		resources
    • ️✔️resources
    • ️✔️resources
    ️️✔️ azure-powershell succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from b86926c. SDK Automation 14.0.0
      command	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.Changes [View full logs]  [Release SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Feb 15, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Java azure-resourcemanager-resources-generated https://apiview.dev/Assemblies/Review/67316842e35841bb8521304481f3a552
    .Net Azure.ResourceManager.Resources There is no API change compared with the previous version
    Go sdk/resourcemanager/resources/armchanges https://apiview.dev/Assemblies/Review/00ba7905a7244ef8a849301c45b13315
    Go sdk/resourcemanager/resources/armdeploymentscripts https://apiview.dev/Assemblies/Review/ea7d2c7b0d1c4bcc927d16d2cffade27
    Go sdk/resourcemanager/resources/armfeatures https://apiview.dev/Assemblies/Review/3bbe3f36f1d2448aac34aa9d9e7c5925
    Go sdk/resourcemanager/resources/armlinks https://apiview.dev/Assemblies/Review/5e49e2f02e774b09afce6a466b2520f7
    Go sdk/resourcemanager/resources/armlocks https://apiview.dev/Assemblies/Review/bd137beaf03e49c4af6fce6cc7358799
    Go sdk/resourcemanager/resources/armmanagedapplications https://apiview.dev/Assemblies/Review/6ca05698bcbf46e1885df952663dd3a3
    Go sdk/resourcemanager/resources/armpolicy https://apiview.dev/Assemblies/Review/f7bdad2e84334d71b259dcc89f2e0d76
    Go sdk/resourcemanager/resources/armresources https://apiview.dev/Assemblies/Review/0b24a2b3862f4f299c826815fbdc870c
    Go sdk/resourcemanager/resources/armsubscriptions https://apiview.dev/Assemblies/Review/7efdf0506705497fafda52e04fe1ede7
    Go sdk/resourcemanager/resources/armtemplatespecs https://apiview.dev/Assemblies/Review/76e5f4f8a8704e75b56a3bd69a3af905

    @openapi-workflow-bot
    Copy link

    Hi @pinyuko, 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.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic validationFix-SemanticValidation-ErrorHigh
    Model validationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffhigh
    If you need further help, please feedback via swagger feedback.

    This was referenced Feb 15, 2023
    I'm Penny Ko from MSFT.
    Proposing to add below to the doc page. Without the register action, customer will only get 404 error.
    Please register the feature with AZ CLI “az feature register -n AvailabilityZonePeering --namespace Microsoft.Resources”, and check the status with “az feature show -n AvailabilityZonePeering --namespace Microsoft.Resources” before calling the checkZonePeers API."
    @leni-msft leni-msft added WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Feb 16, 2023
    @leni-msft leni-msft merged commit b86926c into Azure:main Feb 17, 2023
    This was referenced Feb 17, 2023
    @openapi-workflow-bot openapi-workflow-bot bot added ARMReview WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Feb 21, 2023
    @openapi-workflow-bot
    Copy link

    Hi, @pinyuko your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board(armapireview@microsoft.com).

    aviyerMSFT pushed a commit to aviyerMSFT/azure-rest-api-specs that referenced this pull request Mar 22, 2023
    * Add necessary prerequisite to register the API
    
    I'm Penny Ko from MSFT.
    Proposing to add below to the doc page. Without the register action, customer will only get 404 error.
    Please register the feature with AZ CLI “az feature register -n AvailabilityZonePeering --namespace Microsoft.Resources”, and check the status with “az feature show -n AvailabilityZonePeering --namespace Microsoft.Resources” before calling the checkZonePeers API."
    
    * Add required registration prerequisite.
    
    I'm Penny Ko from MSFT.
    Proposing to add below to the doc page. Without the register action, customer will only get 404 error.
    Please register the feature with AZ CLI “az feature register -n AvailabilityZonePeering --namespace Microsoft.Resources”, and check the status with “az feature show -n AvailabilityZonePeering --namespace Microsoft.Resources” before calling the checkZonePeers API."
    
    * Minor update
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    3 participants