azure-rest-api-specs icon indicating copy to clipboard operation
azure-rest-api-specs copied to clipboard

Swagger for repair apis.

Open vivek-microsoft opened this issue 2 years ago • 14 comments

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: :warning:

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

  • [ ] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version -[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.
  • [ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • [ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.

NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)

Please follow the link to find more details on PR review process.

vivek-microsoft avatar Jan 10 '23 01:01 vivek-microsoft

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

    Swagger pipeline can not start as the pull request has merge conflicts.

    Swagger Generation Artifacts

    ️❌SDK Breaking Change Tracking failed [Detail]

    Breaking Changes Tracking

    azure-sdk-for-go - sdk/resourcemanager/cosmos/armcosmos - 2.2.0-beta.2
    +	Const `AuthenticationMethodLdap` from type alias `AuthenticationMethod` has been removed
    +	Field `AuthenticationMethodLdapProperties` of struct `DataCenterResourceProperties` has been removed
    +	Function `*CassandraClustersClient.GetBackup` has been removed
    +	Function `*CassandraClustersClient.NewListBackupsPager` has been removed
    +	Struct `AuthenticationMethodLdapProperties` has been removed
    +	Struct `BackupResourceProperties` has been removed
    +	Struct `BackupResource` has been removed
    +	Struct `CassandraClustersClientListBackupsResponse` has been removed
    +	Struct `ListBackups` has been removed
    +	Type of `DataTransferServiceResourceProperties.AdditionalProperties` has been changed from `map[string]interface{}` to `map[string]any`
    +	Type of `GraphAPIComputeServiceResourceProperties.AdditionalProperties` has been changed from `map[string]interface{}` to `map[string]any`
    +	Type of `MaterializedViewsBuilderServiceResourceProperties.AdditionalProperties` has been changed from `map[string]interface{}` to `map[string]any`
    +	Type of `SQLDedicatedGatewayServiceResourceProperties.AdditionalProperties` has been changed from `map[string]interface{}` to `map[string]any`
    +	Type of `ServiceResourceProperties.AdditionalProperties` has been changed from `map[string]interface{}` to `map[string]any`
    azure-sdk-for-python-track2 - track2_azure-mgmt-cosmosdb - 9.0.0b2
    +	Model DataCenterResourceProperties no longer has parameter authentication_method_ldap_properties
    +	Removed operation CassandraClustersOperations.get_backup
    +	Removed operation CassandraClustersOperations.list_backups

    Posted by Swagger Pipeline | How to fix these errors?

    Swagger pipeline restarted successfully. If there is ApiView generated, it will be updated in this comment.

    NewApiVersionRequired reason: A service’s API is a contract with customers and is represented by using the api-version query parameter. Changes such as adding an optional property to a request/response or introducing a new operation is a change to the service’s contract and therefore requires a new api-version value. This is critically important for documentation, client libraries, and customer support. EXAMPLE: if a customer calls a service in the public cloud using api-version=2020-07-27, the new property or operation may exist but if they call the service in a government cloud, air-gapped cloud, or Azure Stack Hub cloud using the same api-version, the property or operation may not exist. Because there is no clear relationship between the service api-version and the new property/operation, customers can’t trust the documentation and Azure customer have difficulty helping customers diagnose issues. In addition, each client library version documents the service version it supports. When an optional property or new operation is added to a service and its Swagger, new client libraries must be produced to expose this functionality to customers. Without updating the api-version, it is unclear to customers which version of a client library supports these new features.

    Hi, @vivek-microsoft, For review efficiency consideration, when creating a new api version, it is required to place API specs of the base version in the first commit, and push new version updates into successive commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki. Or you could onboard API spec pipeline

    Hi @vivek-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.

    @msyyc @changlong-liu

    cosmos want to know why LRO change in commit https://github.com/Azure/azure-rest-api-specs/pull/22117/commits/c087a93f87f9f60873b37919796e9d351e07fb20 seems not reflected in Python SDK automation. (readme default tag is this preview)

    weidongxu-microsoft avatar Jan 20 '23 03:01 weidongxu-microsoft

    @msyyc @changlong-liu

    cosmos want to know why LRO change in commit c087a93 seems not reflected in Python SDK automation. (readme default tag is this preview)

    Hi @vivek-microsoft , the LRO changes in this commit is included in file stable/2022-11-15/managedCassandra.json which is not included in current default tag package-preview-2022-11: https://github.com/vivek-microsoft/azure-rest-api-specs/blob/5a93ad4e747404540f447e1a33875c0ee93be9b3/specification/cosmos-db/resource-manager/readme.md#tag-package-preview-2022-11 So it's not generated in python sdk.

    changlong-liu avatar Jan 20 '23 03:01 changlong-liu

    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/cosmos/armcosmos - 2.2.0-beta.2
    +	Const `AuthenticationMethodLdap` from type alias `AuthenticationMethod` has been removed
    +	Field `AuthenticationMethodLdapProperties` of struct `DataCenterResourceProperties` has been removed
    +	Function `*CassandraClustersClient.GetBackup` has been removed
    +	Function `*CassandraClustersClient.NewListBackupsPager` has been removed
    +	Struct `AuthenticationMethodLdapProperties` has been removed
    +	Struct `BackupResourceProperties` has been removed
    +	Struct `BackupResource` has been removed
    +	Struct `CassandraClustersClientListBackupsResponse` has been removed
    +	Struct `ListBackups` has been removed
    +	Type of `DataTransferServiceResourceProperties.AdditionalProperties` has been changed from `map[string]interface{}` to `map[string]any`
    +	Type of `GraphAPIComputeServiceResourceProperties.AdditionalProperties` has been changed from `map[string]interface{}` to `map[string]any`
    +	Type of `MaterializedViewsBuilderServiceResourceProperties.AdditionalProperties` has been changed from `map[string]interface{}` to `map[string]any`
    +	Type of `SQLDedicatedGatewayServiceResourceProperties.AdditionalProperties` has been changed from `map[string]interface{}` to `map[string]any`
    +	Type of `ServiceResourceProperties.AdditionalProperties` has been changed from `map[string]interface{}` to `map[string]any`
    azure-sdk-for-python-track2 - track2_azure-mgmt-cosmosdb - 9.0.0b2
    +	Model DataCenterResourceProperties no longer has parameter authentication_method_ldap_properties
    +	Removed operation CassandraClustersOperations.get_backup
    +	Removed operation CassandraClustersOperations.list_backups

    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs] Generate from 293081481318484aa0612acb8f080af4b2d1949d. 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]
      cmderr	[automation_generate.sh] npm notice New major version of npm available! 8.19.3 -> 9.3.1
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.3.1>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-cosmosdb [View full logs]  [Preview SDK Changes] Breaking Change Detected
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Added operation group CassandraRepairOperations
      info	[Changelog]
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog]   - Model DataCenterResourceProperties no longer has parameter authentication_method_ldap_properties
      info	[Changelog]   - Removed operation CassandraClustersOperations.get_backup
      info	[Changelog]   - Removed operation CassandraClustersOperations.list_backups
    ️❌ azure-sdk-for-net-track2 failed [Detail]
    • Failed [Logs] Generate from 293081481318484aa0612acb8f080af4b2d1949d. 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
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1mGeneratePackage: [0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:672
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [36;1m 672 | [0m         [36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [36;1m     | [31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1m[36;1m     | [31;1mFailed to generate sdk. exit code: False
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1mGet-ChildItem: [0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:760
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [36;1m 760 | [0m … rtifacts += [36;1mGet-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [36;1m     | [31;1m               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1m[36;1m     | [31;1mCannot find path
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [36;1m     | [31;1m'/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [36;1m     | [31;1mit does not exist.
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1mGeneratePackage: [0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:672
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [36;1m 672 | [0m         [36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [36;1m     | [31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1m[36;1m     | [31;1mFailed to generate sdk artifact
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [0m
    • Azure.ResourceManager.CosmosDB [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    ️🔄 azure-sdk-for-java inProgress [Detail]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 293081481318484aa0612acb8f080af4b2d1949d. 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/cosmos/armcosmos [View full logs]  [Preview SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Type of `DataTransferServiceResourceProperties.AdditionalProperties` has been changed from `map[string]interface{}` to `map[string]any`
      info	[Changelog] - Type of `GraphAPIComputeServiceResourceProperties.AdditionalProperties` has been changed from `map[string]interface{}` to `map[string]any`
      info	[Changelog] - Type of `MaterializedViewsBuilderServiceResourceProperties.AdditionalProperties` has been changed from `map[string]interface{}` to `map[string]any`
      info	[Changelog] - Type of `SQLDedicatedGatewayServiceResourceProperties.AdditionalProperties` has been changed from `map[string]interface{}` to `map[string]any`
      info	[Changelog] - Type of `ServiceResourceProperties.AdditionalProperties` has been changed from `map[string]interface{}` to `map[string]any`
      info	[Changelog] - Const `AuthenticationMethodLdap` from type alias `AuthenticationMethod` has been removed
      info	[Changelog] - Function `*CassandraClustersClient.GetBackup` has been removed
      info	[Changelog] - Function `*CassandraClustersClient.NewListBackupsPager` has been removed
      info	[Changelog] - Struct `AuthenticationMethodLdapProperties` has been removed
      info	[Changelog] - Struct `BackupResource` has been removed
      info	[Changelog] - Struct `BackupResourceProperties` has been removed
      info	[Changelog] - Struct `CassandraClustersClientListBackupsResponse` has been removed
      info	[Changelog] - Struct `ListBackups` has been removed
      info	[Changelog] - Field `AuthenticationMethodLdapProperties` of struct `DataCenterResourceProperties` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New value `DataTransferComponentCosmosDBMongo` added to type alias `DataTransferComponent`
      info	[Changelog] - New function `NewCassandraRepairClient(string, azcore.TokenCredential, *arm.ClientOptions) (*CassandraRepairClient, error)`
      info	[Changelog] - New function `*CassandraRepairClient.BeginAbortSegment(context.Context, string, string, string, string, *CassandraRepairClientBeginAbortSegmentOptions) (*runtime.Poller[CassandraRepairClientAbortSegmentResponse], error)`
      info	[Changelog] - New function `*CassandraRepairClient.BeginCreate(context.Context, string, string, CassandraClusterRepairPublicResource, *CassandraRepairClientBeginCreateOptions) (*runtime.Poller[CassandraRepairClientCreateResponse], error)`
      info	[Changelog] - New function `*CassandraRepairClient.BeginDelete(context.Context, string, string, string, string, *CassandraRepairClientBeginDeleteOptions) (*runtime.Poller[CassandraRepairClientDeleteResponse], error)`
      info	[Changelog] - New function `*CassandraRepairClient.BeginGetClusterStatus(context.Context, string, string, *CassandraRepairClientBeginGetClusterStatusOptions) (*runtime.Poller[CassandraRepairClientGetClusterStatusResponse], error)`
      info	[Changelog] - New function `*CassandraRepairClient.BeginGetTableStatus(context.Context, string, string, *CassandraRepairClientBeginGetTableStatusOptions) (*runtime.Poller[CassandraRepairClientGetTableStatusResponse], error)`
      info	[Changelog] - New function `*CassandraRepairClient.BeginList(context.Context, string, string, *CassandraRepairClientBeginListOptions) (*runtime.Poller[CassandraRepairClientListResponse], error)`
      info	[Changelog] - New function `*CassandraRepairClient.BeginListSegments(context.Context, string, string, string, *CassandraRepairClientBeginListSegmentsOptions) (*runtime.Poller[CassandraRepairClientListSegmentsResponse], error)`
      info	[Changelog] - New function `*CassandraRepairClient.BeginPause(context.Context, string, string, string, *CassandraRepairClientBeginPauseOptions) (*runtime.Poller[CassandraRepairClientPauseResponse], error)`
      info	[Changelog] - New function `*CassandraRepairClient.BeginResume(context.Context, string, string, string, *CassandraRepairClientBeginResumeOptions) (*runtime.Poller[CassandraRepairClientResumeResponse], error)`
      info	[Changelog] - New function `*CassandraRepairClient.BeginShow(context.Context, string, string, string, *CassandraRepairClientBeginShowOptions) (*runtime.Poller[CassandraRepairClientShowResponse], error)`
      info	[Changelog] - New function `*CassandraRepairClient.BeginUpdate(context.Context, string, string, string, string, *CassandraRepairClientBeginUpdateOptions) (*runtime.Poller[CassandraRepairClientUpdateResponse], error)`
      info	[Changelog] - New function `*MongoDataTransferDataSourceSink.GetDataTransferDataSourceSink() *DataTransferDataSourceSink`
      info	[Changelog] - New struct `CassandraClusterRepairPublicProperties`
      info	[Changelog] - New struct `CassandraClusterRepairPublicResource`
      info	[Changelog] - New struct `CassandraReaperClusterStatus`
      info	[Changelog] - New struct `CassandraReaperEndpointState`
      info	[Changelog] - New struct `CassandraReaperGossipInfo`
      info	[Changelog] - New struct `CassandraReaperNodeStatus`
      info	[Changelog] - New struct `CassandraReaperRunStatus`
      info	[Changelog] - New struct `CassandraReaperRunStatusFeedResponse`
      info	[Changelog] - New struct `CassandraReaperScheduleStatus`
      info	[Changelog] - New struct `CassandraRepairClient`
      info	[Changelog] - New struct `CassandraRepairClientAbortSegmentResponse`
      info	[Changelog] - New struct `CassandraRepairClientCreateResponse`
      info	[Changelog] - New struct `CassandraRepairClientDeleteResponse`
      info	[Changelog] - New struct `CassandraRepairClientGetClusterStatusResponse`
      info	[Changelog] - New struct `CassandraRepairClientGetTableStatusResponse`
      info	[Changelog] - New struct `CassandraRepairClientListResponse`
      info	[Changelog] - New struct `CassandraRepairClientListSegmentsResponse`
      info	[Changelog] - New struct `CassandraRepairClientPauseResponse`
      info	[Changelog] - New struct `CassandraRepairClientResumeResponse`
      info	[Changelog] - New struct `CassandraRepairClientShowResponse`
      info	[Changelog] - New struct `CassandraRepairClientUpdateResponse`
      info	[Changelog] - New struct `CassandraRepairRingRange`
      info	[Changelog] - New struct `CassandraRepairSegment`
      info	[Changelog] - New struct `CassandraRepairSegmentResourceFeedResponse`
      info	[Changelog] - New struct `CassandraRepairTokenRange`
      info	[Changelog] - New struct `MongoDataTransferDataSourceSink`
      info	[Changelog]
      info	[Changelog] Total 19 breaking change(s), 66 additive change(s).
    ️❌ azure-sdk-for-js failed [Detail]
    • Code Generator Failed [Logs] Generate from 293081481318484aa0612acb8f080af4b2d1949d. 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] An error occurred while generating codes for readme file: "specification/cosmos-db/resource-manager/readme.md":
      cmderr	[automation_generate.sh] [ERROR] Err: Error: Command failed: autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/cosmos-db/resource-manager/readme.md --use=@autorest/[email protected]
      cmderr	[automation_generate.sh] [ERROR] Stderr: "null"
      cmderr	[automation_generate.sh] [ERROR] Stdout: "null"
      cmderr	[automation_generate.sh] [ERROR] ErrorStack: "Error: Command failed: autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/cosmos-db/resource-manager/readme.md --use=@autorest/[email protected]
      cmderr	[automation_generate.sh] [ERROR]     at checkExecSyncError (node:child_process:861:11)
      cmderr	[automation_generate.sh] [ERROR]     at Object.execSync (node:child_process:932:15)
      cmderr	[automation_generate.sh] [ERROR]     at Object.<anonymous> (/opt/hostedtoolcache/node/16.19.0/x64/lib/node_modules/@azure-tools/js-sdk-release-tools/dist/hlc/generateMgmt.js:39:33)
      cmderr	[automation_generate.sh] [ERROR]     at Generator.next (<anonymous>)
      cmderr	[automation_generate.sh] [ERROR]     at /opt/hostedtoolcache/node/16.19.0/x64/lib/node_modules/@azure-tools/js-sdk-release-tools/node_modules/tslib/tslib.js:115:75
      cmderr	[automation_generate.sh] [ERROR]     at new Promise (<anonymous>)
      cmderr	[automation_generate.sh] [ERROR]     at Object.__awaiter (/opt/hostedtoolcache/node/16.19.0/x64/lib/node_modules/@azure-tools/js-sdk-release-tools/node_modules/tslib/tslib.js:111:16)
      cmderr	[automation_generate.sh] [ERROR]     at Object.generateMgmt (/opt/hostedtoolcache/node/16.19.0/x64/lib/node_modules/@azure-tools/js-sdk-release-tools/dist/hlc/generateMgmt.js:20:20)
      cmderr	[automation_generate.sh] [ERROR]     at /opt/hostedtoolcache/node/16.19.0/x64/lib/node_modules/@azure-tools/js-sdk-release-tools/dist/autoGenerateInPipeline.js:43:34"
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-js]: sh .scripts/automation_generate.sh
      warn	Skip package processing as generation is failed
    ️🔄 azure-resource-manager-schemas inProgress [Detail]
    ️🔄 azure-powershell inProgress [Detail]
    Posted by Swagger Pipeline | How to fix these errors?

    Hi, @vivek-microsoft. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove no-recent-activity label.

    Hi, @vivek-microsoft. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove no-recent-activity label.

    Next Steps to Merge

    Next steps that must be taken to merge this PR:
    • ❌ Your PR has at least one breaking change (label: BreakingChangeReviewRequired). See the PR description for help.

    @vivek-microsoft please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

    @microsoft-github-policy-service agree [company="{your company}"]
    

    Options:

    • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
    @microsoft-github-policy-service agree
    
    • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
    @microsoft-github-policy-service agree company="Microsoft"
    
    Contributor License Agreement

    Contribution License Agreement

    This Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”), and conveys certain license rights to Microsoft Corporation and its affiliates (“Microsoft”) for Your contributions to Microsoft open source projects. This Agreement is effective as of the latest signature date below.

    1. Definitions. “Code” means the computer software code, whether in human-readable or machine-executable form, that is delivered by You to Microsoft under this Agreement. “Project” means any of the projects owned or managed by Microsoft and offered under a license approved by the Open Source Initiative (www.opensource.org). “Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any Project, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of discussing and improving that Project, but excluding communication that is conspicuously marked or otherwise designated in writing by You as “Not a Submission.” “Submission” means the Code and any other copyrightable material Submitted by You, including any associated comments and documentation.
    2. Your Submission. You must agree to the terms of this Agreement before making a Submission to any Project. This Agreement covers any and all Submissions that You, now or in the future (except as described in Section 4 below), Submit to any Project.
    3. Originality of Work. You represent that each of Your Submissions is entirely Your original work. Should You wish to Submit materials that are not Your original work, You may Submit them separately to the Project if You (a) retain all copyright and license information that was in the materials as You received them, (b) in the description accompanying Your Submission, include the phrase “Submission containing materials of a third party:” followed by the names of the third party and any licenses or other restrictions of which You are aware, and (c) follow any other instructions in the Project’s written guidelines concerning Submissions.
    4. Your Employer. References to “employer” in this Agreement include Your employer or anyone else for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your Submission is made in the course of Your work for an employer or Your employer has intellectual property rights in Your Submission by contract or applicable law, You must secure permission from Your employer to make the Submission before signing this Agreement. In that case, the term “You” in this Agreement will refer to You and the employer collectively. If You change employers in the future and desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement and secure permission from the new employer before Submitting those Submissions.
    5. Licenses.
    • Copyright License. You grant Microsoft, and those who receive the Submission directly or indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license in the Submission to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute the Submission and such derivative works, and to sublicense any or all of the foregoing rights to third parties.
    • Patent License. You grant Microsoft, and those who receive the Submission directly or indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license under Your patent claims that are necessarily infringed by the Submission or the combination of the Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and import or otherwise dispose of the Submission alone or with the Project.
    • Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement. No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are granted by implication, exhaustion, estoppel or otherwise.
    1. Representations and Warranties. You represent that You are legally entitled to grant the above licenses. You represent that each of Your Submissions is entirely Your original work (except as You may have disclosed under Section 3). You represent that You have secured permission from Your employer to make the Submission in cases where Your Submission is made in the course of Your work for Your employer or Your employer has intellectual property rights in Your Submission by contract or applicable law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You have the necessary authority to bind the listed employer to the obligations contained in this Agreement. You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
    2. Notice to Microsoft. You agree to notify Microsoft in writing of any facts or circumstances of which You later become aware that would make Your representations in this Agreement inaccurate in any respect.
    3. Information about Submissions. You agree that contributions to Projects and information about contributions may be maintained indefinitely and disclosed publicly, including Your name and other information that You submit with Your Submission.
    4. Governing Law/Jurisdiction. This Agreement is governed by the laws of the State of Washington, and the parties consent to exclusive jurisdiction and venue in the federal courts sitting in King County, Washington, unless no federal subject matter jurisdiction exists, in which case the parties consent to exclusive jurisdiction and venue in the Superior Court of King County, Washington. The parties waive all defenses of lack of personal jurisdiction and forum non-conveniens.
    5. Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and supersedes any and all prior agreements, understandings or communications, written or oral, between the parties relating to the subject matter hereof. This Agreement may be assigned by Microsoft.