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

mgmt, resources subscriptions, revert SubscriptionIdParameter x-ms-parameter-location #24088

Conversation

weidongxu-microsoft
Copy link
Member

@weidongxu-microsoft weidongxu-microsoft commented May 22, 2023

ARM API Information (Control Plane)

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

Revert "x-ms-parameter-location" change (from "method" to "client") on subscriptions.json
https://github.com/Azure/azure-rest-api-specs/pull/23292/files#r1185657690

The "x-ms-parameter-location" change broke SDK and make it not usable.

The revert in PR does not affect REST API.
One minor effect would be that SubscriptionIdParameter in common-types has format: uuid, while 2021-01-01 (and here) does not.
I can add format: uuid to local SubscriptionIdParameter, if all SDK is good with it (Java is fine as it always treat it as String, hence no change in SDK).

No SDK ever released for api-version 2022-12-01

  1. 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.
  2. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  3. 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. Note that this doesn't apply if you are trying to merge a PR that was previously in the private repository.
  • 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.

@openapi-workflow-bot
Copy link

Hi, @weidongxu-microsoft 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 May 22, 2023

    Swagger Validation Report

    ️❌BreakingChange: 4 Errors, 0 Warnings failed [Detail]
    compared swaggers (via Oad v0.10.4)] new version base version
    subscriptions.json 2022-12-01(f0ff264) 2022-12-01(main)
    Rule Message
    1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L77:9
    Old: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L77:9
    1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L127:9
    Old: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L127:9
    1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L235:9
    Old: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L235:9
    1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L937:5
    Old: common-types/resource-management/v5/types.json#L630:5
    ️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 7 Warnings warning [Detail]
    compared tags (via openapi-validator v2.1.2) new version base version
    package-subscriptions-2022-12 package-subscriptions-2022-12(f0ff264) package-subscriptions-2022-12(main)

    [must fix]The following errors/warnings are introduced by current PR:

    Rule Message Related RPC [For API reviewers]
    ⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'subscriptionId'.
    Location: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L44
    ⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'subscriptionId'.
    Location: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L77
    ⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'subscriptionId'.
    Location: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L127
    ⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'subscriptionId'.
    Location: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L163
    ⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'subscriptionId'.
    Location: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L199
    ⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'subscriptionId'.
    Location: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L235
    ⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'subscriptionId'.
    Location: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L284


    The following errors/warnings exist before current PR submission:

    Rule Message
    PathContainsResourceType The path for the CURD methods do not contain a resource type.
    Location: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L69
    GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
    Location: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L96
    PathContainsResourceType The path for the CURD methods do not contain a resource type.
    Location: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L120
    PathContainsResourceType The path for the CURD methods do not contain a resource type.
    Location: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L156
    PathContainsResourceType The path for the CURD methods do not contain a resource type.
    Location: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L192
    PathForResourceAction Path for 'post' method on a resource type MUST follow valid resource naming.
    Location: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L228
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L84
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L772
    ⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L777
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️❌~[Staging] ServiceAPIReadinessTest: 0 Errors, 0 Warnings failed [Detail]

    API Test is not triggered due to precheck failure. Check pipeline log for details.

    ️️✔️SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️CadlAPIView succeeded [Detail] [Expand]
    ️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️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.
    ️️✔️TypeSpec Validation succeeded [Detail] [Expand]
    Validation passes for TypeSpec Validation.
    ️️✔️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 May 22, 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-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
    +	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 c183bb0. 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 c183bb0. 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 minor version of npm available! 9.5.1 -> 9.6.7
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.6.7>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@9.6.7` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-resource [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Added operation group DeploymentStacksOperations
      info	[Changelog]   - Model Location has a new parameter availability_zone_mappings
      info	[Changelog]   - Model LocationMetadata has a new parameter geography
      info	[Changelog]   - Model Operation has a new parameter action_type
      info	[Changelog]   - Model Operation has a new parameter is_data_action
      info	[Changelog]   - Model Operation has a new parameter origin
      info	[Changelog]   - Model OperationAutoGenerated has a new parameter action_type
      info	[Changelog]   - Model OperationAutoGenerated has a new parameter is_data_action
      info	[Changelog]   - Model OperationAutoGenerated has a new parameter origin
      info	[Changelog]   - Model OperationDisplayAutoGenerated has a new parameter description
    ️⚠️ azure-sdk-for-java warning [Detail]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from c183bb0. 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] - 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]
      info	[Changelog] Total 3 breaking change(s), 0 additive change(s).
    • ️✔️sdk/resourcemanager/resources/armdeploymentscripts [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/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]
      Only show 12 items here, please refer to log for details.
      info	[Changelog] - New struct `VariableColumn`
      info	[Changelog] - New struct `VariableListResult`
      info	[Changelog] - New struct `VariableProperties`
      info	[Changelog] - New struct `VariableValue`
      info	[Changelog] - New struct `VariableValueColumnValue`
      info	[Changelog] - New struct `VariableValueListResult`
      info	[Changelog] - New struct `VariableValueProperties`
      info	[Changelog] - New field `Overrides`, `ResourceSelectors` in struct `AssignmentProperties`
      info	[Changelog] - New field `Properties` in struct `AssignmentUpdate`
      info	[Changelog] - New field `AssignmentScopeValidation`, `ResourceSelectors` in struct `ExemptionProperties`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 62 additive change(s).
    • ️✔️sdk/resourcemanager/resources/armsubscriptions [View full logs]  [Release SDK Changes]
      Only show 12 items here, please refer to log for details.
      info	[Changelog] - New function `*ClientFactory.NewOperationsClient() *OperationsClient`
      info	[Changelog] - New function `NewOperationsClient(azcore.TokenCredential, *arm.ClientOptions) (*OperationsClient, error)`
      info	[Changelog] - New function `*OperationsClient.NewListPager(*OperationsClientListOptions) *runtime.Pager[OperationsClientListResponse]`
      info	[Changelog] - New struct `AvailabilityZoneMappings`
      info	[Changelog] - New struct `OperationAutoGenerated`
      info	[Changelog] - New struct `OperationDisplayAutoGenerated`
      info	[Changelog] - New struct `OperationListResultAutoGenerated`
      info	[Changelog] - New field `AvailabilityZoneMappings` in struct `Location`
      info	[Changelog] - New field `Geography` in struct `LocationMetadata`
      info	[Changelog] - New field `ActionType`, `IsDataAction`, `Origin` in struct `Operation`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 20 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 succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from c183bb0. SDK Automation 14.0.0
      command	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
      cmderr	[automation_generate.sh] [ERROR] Cannot generate changelog because the codes of local and npm may be the same.
      cmderr	[automation_generate.sh] [ERROR] Cannot generate changelog because the codes of local and npm may be the same.
    • ️✔️@azure/arm-changes [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Interface ChangesListNextOptionalParams no longer has parameter skipToken
      info	[Changelog]   - Interface ChangesListNextOptionalParams no longer has parameter top
    • ️✔️@azure/arm-features [View full logs]  [Release SDK Changes]
      info	[Changelog]
      error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
    • ️✔️@azure/arm-links [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Interface ResourceLinksListAtSubscriptionNextOptionalParams no longer has parameter filter
    • ️✔️@azure/arm-locks [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Interface ManagementLocksListAtResourceGroupLevelNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface ManagementLocksListAtResourceLevelNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface ManagementLocksListAtSubscriptionLevelNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface ManagementLocksListByScopeNextOptionalParams no longer has parameter filter
    • ️✔️@azure/arm-managedapplications [View full logs]  [Release SDK Changes]
      info	[Changelog]
      error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
    • ️✔️@azure/arm-policy [View full logs]  [Release SDK Changes] Breaking Change Detected
      Only show 14 items here, please refer to log for details.
      info	[Changelog]   - Interface PolicyDefinitionsListByManagementGroupNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface PolicyDefinitionsListByManagementGroupNextOptionalParams no longer has parameter top
      info	[Changelog]   - Interface PolicyDefinitionsListNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface PolicyDefinitionsListNextOptionalParams no longer has parameter top
      info	[Changelog]   - Interface PolicyExemptionsListForManagementGroupNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface PolicyExemptionsListForResourceGroupNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface PolicyExemptionsListForResourceNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface PolicyExemptionsListNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface PolicySetDefinitionsListBuiltInNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface PolicySetDefinitionsListBuiltInNextOptionalParams no longer has parameter top
      info	[Changelog]   - Interface PolicySetDefinitionsListByManagementGroupNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface PolicySetDefinitionsListByManagementGroupNextOptionalParams no longer has parameter top
      info	[Changelog]   - Interface PolicySetDefinitionsListNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface PolicySetDefinitionsListNextOptionalParams no longer has parameter top
    • ️✔️@azure/arm-resources-subscriptions [View full logs]  [Release SDK Changes]
      Only show 14 items here, please refer to log for details.
      info	[Changelog]   - Added Interface Peers
      info	[Changelog]   - Added Interface SubscriptionsCheckZonePeersOptionalParams
      info	[Changelog]   - Added Type Alias ActionType
      info	[Changelog]   - Added Type Alias OperationsListNextResponse
      info	[Changelog]   - Added Type Alias OperationsListResponse
      info	[Changelog]   - Added Type Alias Origin
      info	[Changelog]   - Added Type Alias SubscriptionsCheckZonePeersResponse
      info	[Changelog]   - Interface Location_2 has a new optional parameter availabilityZoneMappings
      info	[Changelog]   - Interface LocationMetadata has a new optional parameter geography
      info	[Changelog]   - Interface Operation has a new optional parameter actionType
      info	[Changelog]   - Interface Operation has a new optional parameter isDataAction
      info	[Changelog]   - Interface Operation has a new optional parameter origin
      info	[Changelog]   - Added Enum KnownActionType
      info	[Changelog]   - Added Enum KnownOrigin
    • ️✔️@azure/arm-resources [View full logs]  [Release SDK Changes] Breaking Change Detected
      Only show 14 items here, please refer to log for details.
      info	[Changelog]   - Added Interface TagsDeleteAtScopeHeaders
      info	[Changelog]   - Added Interface TagsUpdateAtScopeHeaders
      info	[Changelog]   - Interface TagsCreateOrUpdateAtScopeOptionalParams has a new optional parameter resumeFrom
      info	[Changelog]   - Interface TagsCreateOrUpdateAtScopeOptionalParams has a new optional parameter updateIntervalInMs
      info	[Changelog]   - Interface TagsDeleteAtScopeOptionalParams has a new optional parameter resumeFrom
      info	[Changelog]   - Interface TagsDeleteAtScopeOptionalParams has a new optional parameter updateIntervalInMs
      info	[Changelog]   - Interface TagsUpdateAtScopeOptionalParams has a new optional parameter resumeFrom
      info	[Changelog]   - Interface TagsUpdateAtScopeOptionalParams has a new optional parameter updateIntervalInMs
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Removed operation TagsOperations.createOrUpdateAtScope
      info	[Changelog]   - Removed operation TagsOperations.deleteAtScope
      info	[Changelog]   - Removed operation TagsOperations.updateAtScope
    • ️✔️@azure/arm-templatespecs [View full logs]  [Release SDK Changes] Breaking Change Detected
      Only show 14 items here, please refer to log for details.
      info	[Changelog]   - Added Interface TemplateSpecVersionsGetBuiltInOptionalParams
      info	[Changelog]   - Added Interface TemplateSpecVersionsListBuiltInsNextOptionalParams
      info	[Changelog]   - Added Interface TemplateSpecVersionsListBuiltInsOptionalParams
      info	[Changelog]   - Added Type Alias TemplateSpecsGetBuiltInResponse
      info	[Changelog]   - Added Type Alias TemplateSpecsListBuiltInsNextResponse
      info	[Changelog]   - Added Type Alias TemplateSpecsListBuiltInsResponse
      info	[Changelog]   - Added Type Alias TemplateSpecVersionsGetBuiltInResponse
      info	[Changelog]   - Added Type Alias TemplateSpecVersionsListBuiltInsNextResponse
      info	[Changelog]   - Added Type Alias TemplateSpecVersionsListBuiltInsResponse
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Interface TemplateSpecsListByResourceGroupNextOptionalParams no longer has parameter expand
      info	[Changelog]   - Interface TemplateSpecsListBySubscriptionNextOptionalParams no longer has parameter expand
    ️❌ azure-resource-manager-schemas failed [Detail]
    • Pipeline Framework Failed [Logs]Release - Generate from c183bb0. 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] 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
      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 failed [Detail]
    • Pipeline Framework Failed [Logs]Release - Generate from c183bb0. 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
      SSL error: syscall failure: Broken pipe
      Error: SSL error: syscall failure: Broken pipe
    • Az.resources.DefaultTag [View full logs
      error	Fatal error: SSL error: syscall failure: Broken pipe
      error	The following packages are still pending:
      error		Az.resources.DefaultTag
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented May 22, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/resources/armchanges There is no API change compared with the previous version
    Go sdk/resourcemanager/resources/armdeploymentscripts https://apiview.dev/Assemblies/Review/ad0e96d8dbec4212bbf3f458f196ae46
    Go sdk/resourcemanager/resources/armfeatures There is no API change compared with the previous version
    Go sdk/resourcemanager/resources/armlinks There is no API change compared with the previous version
    Go sdk/resourcemanager/resources/armlocks There is no API change compared with the previous version
    Go sdk/resourcemanager/resources/armpolicy https://apiview.dev/Assemblies/Review/814b0cc41d584855b6f569483d0a06ca
    Go sdk/resourcemanager/resources/armresources https://apiview.dev/Assemblies/Review/76912a0e11074f38bc21ce3984537bf4
    Go sdk/resourcemanager/resources/armsubscriptions https://apiview.dev/Assemblies/Review/244c02293a6a4b4593acc450e10269ae
    Go sdk/resourcemanager/resources/armtemplatespecs There is no API change compared with the previous version
    Java azure-resourcemanager-resources-generated https://apiview.dev/Assemblies/Review/efae397725dc4a8fb3a41f59494d51b2
    .Net Azure.ResourceManager.Resources There is no API change compared with the previous version
    JavaScript @azure/arm-changes https://apiview.dev/Assemblies/Review/037d69b3eb3f44bebc20ded6f556f88c
    JavaScript @azure/arm-features https://apiview.dev/Assemblies/Review/2efadeae32634feeb8c973ef389e0f16
    JavaScript @azure/arm-links https://apiview.dev/Assemblies/Review/9c884474a38e4924bce50ca237aec2e8
    JavaScript @azure/arm-locks https://apiview.dev/Assemblies/Review/787fbb77c048457ca9eabd431f18aa58
    JavaScript @azure/arm-managedapplications https://apiview.dev/Assemblies/Review/3d95c7c1f0504bf6b1d19f86080d33c1
    JavaScript @azure/arm-policy https://apiview.dev/Assemblies/Review/e6dbb1378e804fd69cd459bc7c3d4214
    JavaScript @azure/arm-resources-subscriptions https://apiview.dev/Assemblies/Review/cceeb3d28f5f4180959f08d813f5ada6
    JavaScript @azure/arm-resources https://apiview.dev/Assemblies/Review/8429f78a4dd947188065192c205c199d
    JavaScript @azure/arm-templatespecs https://apiview.dev/Assemblies/Review/6c192e002c4b43398acdae7cb19f4b37

    Comment on lines +937 to +944
    "SubscriptionIdParameter": {
    "name": "subscriptionId",
    "in": "path",
    "required": true,
    "type": "string",
    "description": "The ID of the target subscription.",
    "x-ms-parameter-location": "method"
    },
    Copy link
    Member Author

    Choose a reason for hiding this comment

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

    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    @weidongxu-microsoft This looks good. Please go ahead if you can get approval from Mike on Breaking Changes

    @AzureRestAPISpecReview AzureRestAPISpecReview added BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required resource-manager labels May 22, 2023
    @openapi-workflow-bot
    Copy link

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

    This was referenced May 22, 2023
    @mikekistler mikekistler added the Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 label May 23, 2023
    @mikekistler
    Copy link
    Member

    Approved breaking change for reason described in this comment.

    @Wzb123456789 Wzb123456789 added the Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates label May 23, 2023
    @chunyu3 chunyu3 merged commit c183bb0 into Azure:main May 23, 2023
    This was referenced May 23, 2023
    @weidongxu-microsoft weidongxu-microsoft deleted the mgmt_resources-subscriptions-revert-subscriptionId branch May 23, 2023 06:22
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required CI-BreakingChange-Go CI-BreakingChange-JavaScript resource-manager
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    6 participants