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

[Hub Generated] Review request for Microsoft.Resources to add version stable/2022-12-01 #23292

Merged
merged 38 commits into from
Apr 18, 2023

Conversation

gauravkumar1491
Copy link
Contributor

@gauravkumar1491 gauravkumar1491 commented Mar 25, 2023

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.

ARM API Information (Control Plane)

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.

@openapi-workflow-bot
Copy link

Hi, @gauravkumar1491 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. [email protected]

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Mar 25, 2023

    Swagger Validation Report

    ️🔄BreakingChange inProgress [Detail]
    ️⌛Breaking Change(Cross-Version) pending [Detail]
    ️⌛CredScan pending [Detail]
    ️🔄LintDiff inProgress [Detail]
    ️🔄Avocado inProgress [Detail]
    ️🔄ApiReadinessCheck inProgress [Detail]
    ️🔄~[Staging] ServiceAPIReadinessTest inProgress [Detail]
    ️🔄SwaggerAPIView inProgress [Detail]
    ️🔄CadlAPIView inProgress [Detail]
    ️🔄TypeSpecAPIView inProgress [Detail]
    ️❌ModelValidation: 2 Errors, 0 Warnings failed [Detail]
    Rule Message
    INVALID_FORMAT Object didn't pass validation for format uuid: 00000000-0000-0000-0000-00000000000000
    Url: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L630:32
    ExampleUrl: stable/2022-12-01/examples/PostCheckZonePeers.json#L3:23
    INVALID_FORMAT Object didn't pass validation for format uuid: 00000000-0000-0000-0000-00000000000000
    Url: Microsoft.Resources/stable/2022-12-01/subscriptions.json#L630:32
    ExampleUrl: stable/2022-12-01/examples/PostCheckZonePeers.json#L3:23
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️⌛PoliCheck pending [Detail]
    ️🔄PrettierCheck inProgress [Detail]
    ️⌛SpellCheck pending [Detail]
    ️🔄Lint(RPaaS) inProgress [Detail]
    ️🔄CadlValidation inProgress [Detail]
    ️🔄TypeSpec Validation inProgress [Detail]
    ️⌛PR Summary pending [Detail]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Mar 25, 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/armsubscriptions - Approved - 2.0.0
    +	Function `*Client.CheckZonePeers` parameter(s) have been changed from `(context.Context, string, CheckZonePeersRequest, *ClientCheckZonePeersOptions)` to `(context.Context, CheckZonePeersRequest, *ClientCheckZonePeersOptions)`
    +	Function `*Client.Get` parameter(s) have been changed from `(context.Context, string, *ClientGetOptions)` to `(context.Context, *ClientGetOptions)`
    +	Function `*Client.NewListLocationsPager` parameter(s) have been changed from `(string, *ClientListLocationsOptions)` to `(*ClientListLocationsOptions)`
    +	Function `NewClientFactory` parameter(s) have been changed from `(azcore.TokenCredential, *arm.ClientOptions)` to `(string, azcore.TokenCredential, *arm.ClientOptions)`
    +	Function `NewClient` parameter(s) have been changed from `(azcore.TokenCredential, *arm.ClientOptions)` to `(string, azcore.TokenCredential, *arm.ClientOptions)`



    azure-sdk-for-js - @azure/arm-resources-subscriptions - 3.0.0
    +	Class SubscriptionClient has a new signature
    +	Operation Subscriptions.get has a new signature
    +	Operation Subscriptions.listLocations has a new signature
    ️⚠️ azure-sdk-for-net-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 2ea6fc1. 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 2ea6fc1. 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.0 -> 9.6.4
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.6.4>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` 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
    ️⚠️ azure-sdk-for-java warning [Detail]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 2ea6fc1. 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 `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` 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 0 breaking change(s), 62 additive change(s).
    • ️✔️sdk/resourcemanager/resources/armsubscriptions [View full logs]  [Release SDK Changes] Breaking Change Detected
      Only show 12 items here, please refer to log for details.
      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` in struct `Operation`
      info	[Changelog] - New field `IsDataAction` in struct `Operation`
      info	[Changelog] - New field `Origin` in struct `Operation`
      info	[Changelog]
      info	[Changelog] Total 5 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 2ea6fc1. 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] Breaking Change Detected
      Only show 14 items here, please refer to log for details.
      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
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Operation Subscriptions.get has a new signature
      info	[Changelog]   - Operation Subscriptions.listLocations has a new signature
      info	[Changelog]   - Class SubscriptionClient has a new signature
    • ️✔️@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 2ea6fc1. 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]  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
      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 2ea6fc1. 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.resources.DefaultTag [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 Mar 25, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/resources/armchanges https://apiview.dev/Assemblies/Review/cea1a64cbcaa47519427d46762ff0d9c
    Go sdk/resourcemanager/resources/armdeploymentscripts https://apiview.dev/Assemblies/Review/460ca3fc2a254f41930b670d5801c88c
    Go sdk/resourcemanager/resources/armfeatures https://apiview.dev/Assemblies/Review/30f0ff9e294d40e8ac995178339eb7c9
    Go sdk/resourcemanager/resources/armlinks https://apiview.dev/Assemblies/Review/afa981a8b46e4e4d8886a678ea28b700
    Go sdk/resourcemanager/resources/armlocks https://apiview.dev/Assemblies/Review/fc15e409e8eb40b6812117ccb9f51e43
    Go sdk/resourcemanager/resources/armmanagedapplications https://apiview.dev/Assemblies/Review/3aa4a21ad8244759a687978224858845
    Go sdk/resourcemanager/resources/armpolicy https://apiview.dev/Assemblies/Review/fb8daa24bc294f54ba7d45d6a8635a73
    Go sdk/resourcemanager/resources/armresources https://apiview.dev/Assemblies/Review/0c9030db185243d0bfd007130086065d
    Go sdk/resourcemanager/resources/armsubscriptions https://apiview.dev/Assemblies/Review/02f4d509874f4733a5d6b799e35aff24
    Go sdk/resourcemanager/resources/armtemplatespecs https://apiview.dev/Assemblies/Review/5c4f7520353d4032b987fe7475721ea8
    Java azure-resourcemanager-resources-generated https://apiview.dev/Assemblies/Review/9480042d4d4b48e5a321ecaf332fc4af
    JavaScript @azure/arm-changes https://apiview.dev/Assemblies/Review/cae1a4360830403d963b553f82917364
    JavaScript @azure/arm-features There is no API change compared with the previous version
    JavaScript @azure/arm-links https://apiview.dev/Assemblies/Review/17b926e5a796410991368bb07f7b39c6
    JavaScript @azure/arm-locks https://apiview.dev/Assemblies/Review/12dfde72e1d34efc8dbae76625bfe723
    JavaScript @azure/arm-managedapplications https://apiview.dev/Assemblies/Review/73d1111f82804114a3e8d7bfd39f7bf0
    JavaScript @azure/arm-policy https://apiview.dev/Assemblies/Review/84baabcc11e54fb097b3e772ae4c7015
    JavaScript @azure/arm-resources-subscriptions https://apiview.dev/Assemblies/Review/5407d7a8000e4d858e433f0e9ce16782
    JavaScript @azure/arm-resources https://apiview.dev/Assemblies/Review/dcf5b2952d754a7ca111101af273f5ff
    JavaScript @azure/arm-templatespecs https://apiview.dev/Assemblies/Review/f064e283527f4b8ea82c07ce19113c0b

    This was referenced Mar 25, 2023
    @gauravkumar1491
    Copy link
    Contributor Author

    /azp run unifiedPipeline

    @azure-pipelines
    Copy link

    No pipelines are associated with this pull request.

    @raych1 raych1 deleted the gauravkumar1491-resources-Microsoft.Resources-2022-12-01 branch April 18, 2023 01:35
    This was referenced Apr 18, 2023
    JoshLove-msft pushed a commit to JoshLove-msft/azure-rest-api-specs that referenced this pull request Apr 25, 2023
    … stable/2022-12-01 (Azure#23292)
    
    * Adds base for updating Microsoft.Resources from version stable/2021-01-01 to version 2022-12-01
    
    * Updates readme
    
    * Updates API version in new specs and examples
    
    * Adding new version 2022-12-01 for Locations API
    
    * Correct version
    
    * removing resources.json from readme
    
    * Review comment
    
    * Validation error fixes
    
    * Model Validation Fix
    
    * Validation Error fix test
    
    * small fix
    
    * Missing files
    
    * Deleting files
    
    * Operations
    
    * Swagger ModelValidation fix
    
    * Operations api
    
    * removing previous commit
    
    * x-ms-example
    
    * missing curly
    
    * default response
    
    * Prettier errors fixed
    
    * Operation Schema
    
    * Breaking changes
    
    * Staging errror fix
    
    * Testing temp fix
    
    * common-types fix
    
    * staging lint diff warnings fixed
    
    * Testing v4
    
    * v5 common types fix
    
    * Rollback
    
    * common-types fix
    
    * Removing redundant parameters
    
    * Model validation fix
    
    * GUID fix
    
    * uuid fix
    
    * ReadOnlyPropertChanged error fixed
    
    * uuid fix
    "description": "Gets details about a specified subscription.",
    "parameters": [
    {
    "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
    Copy link
    Member

    @weidongxu-microsoft weidongxu-microsoft May 5, 2023

    Choose a reason for hiding this comment

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

    @gauravkumar1491

    Would you let us know why previous local SubscriptionIdParameter with x-ms-parameter-location=method get replaced in 2022-12-01 by common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter?

    The change from x-ms-parameter-location=method to x-ms-parameter-location=client breaks SDK and user.


    Loop SDK owners @msyyc @qiliao123

    Copy link
    Member

    Choose a reason for hiding this comment

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

    Also impact Go SDK. @gauravkumar1491 could you please confirm?

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    @weidongxu-microsoft and @tadelesh The PR was flagged with Staging LintDiff errors where referencing the common types was required. These are common-types and should always be referenced instead of creating local parameters. Got approval in the Breaking Changes team meeting as well

    Copy link
    Member

    @weidongxu-microsoft weidongxu-microsoft May 17, 2023

    Choose a reason for hiding this comment

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

    We can ignore LintDiff (I would be glad to, if this is the only error).

    All your API is about subscriptions, hence it is actually not make sense to have "subscriptionId" in client parameter.

    Before the change, user can call client.get(subscriptionId) to get information of any subscription they has interest on.

    After the change, user can only call client.get() for the info of their subscription configured during client initialization.
    If they want to check another subscription, they had to create another client first. (every single SDK owner, across language, feel this change is not valid)
    SDK may not agree to release on this scenario, as the usability of SDK is greatly diminished.

    Copy link
    Member

    @weidongxu-microsoft weidongxu-microsoft May 17, 2023

    Choose a reason for hiding this comment

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

    If you agree to revert back to prior SubscriptionIdParameter with x-ms-parameter-location=method, I can talk to Jeffrey and Mike on whether they can approve the revert PR (on breaking change), before you do the change.

    Copy link
    Contributor Author

    @gauravkumar1491 gauravkumar1491 May 17, 2023

    Choose a reason for hiding this comment

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

    @weidongxu-microsoft I can add to x-ms-parameter-location=method to "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" and raise a new PR. Will that work?

    Copy link
    Member

    @weidongxu-microsoft weidongxu-microsoft May 18, 2023

    Choose a reason for hiding this comment

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

    No, you cannot. It is a shared model under common-types. If you change it there, every other RP that uses it will get broken (and most RP does use a single subscriptionId).

    Choose a reason for hiding this comment

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

    I've added a PR to revert #24088

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-Avocado Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 Approved-LintDiff Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go Approved-SdkBreakingChange-Python ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required CI-BreakingChange-Go CI-BreakingChange-JavaScript CI-FixRequiredOnFailure new-api-version resource-manager
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.