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.DocumentDB to add version preview/2023-03-15-preview #23327

Conversation

SrinikhilReddy
Copy link
Contributor

@SrinikhilReddy SrinikhilReddy commented Mar 28, 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-pipeline-app
Copy link

openapi-pipeline-app bot commented Mar 28, 2023

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️Breaking Change(Cross-Version): 16 Warnings warning [Detail]
compared swaggers (via Oad v0.10.4)] new version base version
cosmos-db.json 2023-03-15-preview(bc21c3f) 2023-03-15(main)
cosmos-db.json 2023-03-15-preview(bc21c3f) 2023-03-01-preview(main)
dataTransferService.json 2023-03-15-preview(bc21c3f) 2023-03-01-preview(main)
managedCassandra.json 2023-03-15-preview(bc21c3f) 2023-03-15(main)
managedCassandra.json 2023-03-15-preview(bc21c3f) 2023-03-01-preview(main)
mongoCluster.json 2023-03-15-preview(bc21c3f) 2023-03-01-preview(main)
mongorbac.json 2023-03-15-preview(bc21c3f) 2023-03-15(main)
mongorbac.json 2023-03-15-preview(bc21c3f) 2023-03-01-preview(main)
notebook.json 2023-03-15-preview(bc21c3f) 2023-03-15(main)
notebook.json 2023-03-15-preview(bc21c3f) 2023-03-01-preview(main)
privateEndpointConnection.json 2023-03-15-preview(bc21c3f) 2023-03-15(main)
privateEndpointConnection.json 2023-03-15-preview(bc21c3f) 2023-03-01-preview(main)
privateLinkResources.json 2023-03-15-preview(bc21c3f) 2023-03-15(main)
privateLinkResources.json 2023-03-15-preview(bc21c3f) 2023-03-01-preview(main)
rbac.json 2023-03-15-preview(bc21c3f) 2023-03-15(main)
rbac.json 2023-03-15-preview(bc21c3f) 2023-03-01-preview(main)
restorable.json 2023-03-15-preview(bc21c3f) 2023-03-15(main)
restorable.json 2023-03-15-preview(bc21c3f) 2023-03-01-preview(main)
services.json 2023-03-15-preview(bc21c3f) 2023-03-15(main)
services.json 2023-03-15-preview(bc21c3f) 2023-03-01-preview(main)

The following breaking changes are detected by comparison with the latest stable version:

Rule Message
⚠️ 1014 - RemovingHeader The new version removs a required header 'azure-AsyncOperation'.
Old: Microsoft.DocumentDB/stable/2023-03-15/services.json#L140:15
⚠️ 1014 - RemovingHeader The new version removs a required header 'location'.
Old: Microsoft.DocumentDB/stable/2023-03-15/services.json#L144:15
⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
New: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L8520:9
Old: Microsoft.DocumentDB/stable/2023-03-15/cosmos-db.json#L6981:9
⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
New: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L8716:9
Old: Microsoft.DocumentDB/stable/2023-03-15/cosmos-db.json#L7159:9
⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
New: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L11530:5
Old: Microsoft.DocumentDB/stable/2023-03-15/cosmos-db.json#L9555:5


The following breaking changes are detected by comparison with the latest preview version:

Rule Message
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) '0, 1' from the old version.
New: Microsoft.DocumentDB/preview/2023-03-15-preview/mongorbac.json#L408:9
Old: Microsoft.DocumentDB/preview/2023-03-01-preview/mongorbac.json#L408:9
⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
New: Microsoft.DocumentDB/preview/2023-03-15-preview/mongorbac.json#L408:9
Old: Microsoft.DocumentDB/preview/2023-03-01-preview/mongorbac.json#L408:9
⚠️ 1026 - TypeChanged The new version has a different type 'string' than the previous one 'integer'.
New: Microsoft.DocumentDB/preview/2023-03-15-preview/mongorbac.json#L408:9
Old: Microsoft.DocumentDB/preview/2023-03-01-preview/mongorbac.json#L408:9
⚠️ 1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
New: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L11906:9
Old: Microsoft.DocumentDB/preview/2023-03-01-preview/cosmos-db.json#L11677:9
⚠️ 1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
New: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L11906:9
Old: Microsoft.DocumentDB/preview/2023-03-01-preview/cosmos-db.json#L11677:9
⚠️ 1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
New: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L11906:9
Old: Microsoft.DocumentDB/preview/2023-03-01-preview/cosmos-db.json#L11677:9
⚠️ 1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
New: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L11906:9
Old: Microsoft.DocumentDB/preview/2023-03-01-preview/cosmos-db.json#L11677:9
⚠️ 1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
New: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L11906:9
Old: Microsoft.DocumentDB/preview/2023-03-01-preview/cosmos-db.json#L11677:9
⚠️ 1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
New: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L11906:9
Old: Microsoft.DocumentDB/preview/2023-03-01-preview/cosmos-db.json#L11677:9
⚠️ 1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
New: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L11906:9
Old: Microsoft.DocumentDB/preview/2023-03-01-preview/cosmos-db.json#L11677:9
⚠️ 1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
New: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L11906:9
Old: Microsoft.DocumentDB/preview/2023-03-01-preview/cosmos-db.json#L11677:9
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️LintDiff: 70 Warnings warning [Detail]
compared tags (via openapi-validator v2.1.2) new version base version
package-preview-2023-03-15 package-preview-2023-03-15(bc21c3f) default(main)

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

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

Rule Message Related RPC [For API reviewers]
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L1508
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'location'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L1508
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L1544
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'location'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L1544
⚠️ XmsLongRunningOperationOptions The x-ms-long-running-operation-options should be specified explicitly to indicate the type of response header to track the async operation.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L1570
RPC-Async-V1-06
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L1579
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'location'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L1579
⚠️ XmsLongRunningOperationOptions The x-ms-long-running-operation-options should be specified explicitly to indicate the type of response header to track the async operation.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L1627
RPC-Async-V1-06
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L1636
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'location'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L1636
⚠️ ProvisioningStateSpecifiedForLRODelete 200 response schema in long running DELETE operation is missing ProvisioningState property. A LRO DELETE operations 200 response schema must have ProvisioningState specified.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L1654
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L2401
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'location'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L2401
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L2469
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'location'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L2469
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L2757
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'location'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L2757
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L2825
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'location'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L2825
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L2893
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'location'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L2893
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L2964
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'location'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L2964
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L4023
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'location'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L4023
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L4091
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'location'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L4091
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L4159
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'location'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L4159
⚠️ ParameterNotUsingCommonTypes Not using the common-types defined parameter 'resourceGroupName'.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L4230


The following errors/warnings exist before current PR submission:

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

Rule Message
PatchResponseCode LRO PATCH must have 200 and 202 return codes.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L69
LroPostReturn A LRO POST operation must have both 200 & 202 return codes.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L201
LroPostReturn 200 response for a LRO POST operation must have a response schema specified.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L386
LroPostReturn 200 response for a LRO POST operation must have a response schema specified.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L445
LroPostReturn 200 response for a LRO POST operation must have a response schema specified.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L568
NoErrorCodeResponses Invalid status code specified. Please refer to the documentation for the allowed set.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L641
OperationsApiResponseSchema The response schema of operations API '/providers/Microsoft.DocumentDB/operations' does not match the ARM specification. Please standardize the schema.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L667
OperationsApiSchemaUsesCommonTypes Operations API path must follow the schema provided in the common types.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L668
PathForNestedResource The path for nested resource doest not meet the valid resource pattern.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L938
PathForNestedResource The path for nested resource doest not meet the valid resource pattern.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L980
AvoidAnonymousTypes Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json#L10860
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L174
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L183
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L236
UnSupportedPatchProperties The patch operation body parameter schema should not contains property name.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L263
UnSupportedPatchProperties The patch operation body parameter schema should not contains property type.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L263
UnSupportedPatchProperties The patch operation body parameter schema should not contains property location.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L263
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L274
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L289
LroPostReturn A LRO POST operation must have both 200 & 202 return codes.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L296
LroPostReturn 202 response for a LRO POST operation must not have a response schema specified.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L296
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L329
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L338
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L538
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L547
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L603
UnSupportedPatchProperties The patch operation body parameter schema should not contains property name.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L633
UnSupportedPatchProperties The patch operation body parameter schema should not contains property type.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L633
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L644
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json#L659
️❌Avocado: 2 Errors, 1 Warnings failed [Detail]
Rule Message
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/cassandraClusters/{}/repair is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/preview/2021-07-01-preview/managedCassandra.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/cassandraClusters/{}/fetchNodeStatus is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/preview/2021-07-01-preview/managedCassandra.json
⚠️ CIRCULAR_REFERENCE The JSON file has a circular reference.
readme: specification/cosmos-db/resource-manager/readme.md
json: Microsoft.DocumentDB/preview/2023-03-15-preview/privateEndpointConnection.json
️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
️⚠️~[Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]

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

️❌SwaggerAPIView: 0 Errors, 0 Warnings failed [Detail]
️️✔️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-workflow-bot
Copy link

Hi, @SrinikhilReddy 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 Mar 28, 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-python-track2 - track2_azure-mgmt-cosmosdb - 9.2.0
    +	Model ThroughputSettingsGetPropertiesResource no longer has parameter instant_maximum_throughput
    +	Model ThroughputSettingsGetPropertiesResource no longer has parameter soft_allowed_maximum_throughput
    +	Model ThroughputSettingsResource no longer has parameter instant_maximum_throughput
    +	Model ThroughputSettingsResource no longer has parameter soft_allowed_maximum_throughput
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 44e8334. 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-cosmosdb [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Added operation CassandraClustersOperations.get_backup
      info	[Changelog]   - Added operation CassandraClustersOperations.list_backups
      info	[Changelog]   - Added operation CassandraResourcesOperations.begin_create_update_cassandra_view
      info	[Changelog]   - Added operation CassandraResourcesOperations.begin_delete_cassandra_view
      info	[Changelog]   - Added operation CassandraResourcesOperations.begin_migrate_cassandra_view_to_autoscale
      info	[Changelog]   - Added operation CassandraResourcesOperations.begin_migrate_cassandra_view_to_manual_throughput
      info	[Changelog]   - Added operation CassandraResourcesOperations.begin_update_cassandra_view_throughput
      info	[Changelog]   - Added operation CassandraResourcesOperations.get_cassandra_view
      info	[Changelog]   - Added operation CassandraResourcesOperations.get_cassandra_view_throughput
      info	[Changelog]   - Added operation CassandraResourcesOperations.list_cassandra_views
      info	[Changelog]   - Added operation MongoDBResourcesOperations.begin_list_mongo_db_collection_partition_merge
      info	[Changelog]   - Added operation MongoDBResourcesOperations.begin_mongo_db_container_redistribute_throughput
      info	[Changelog]   - Added operation MongoDBResourcesOperations.begin_mongo_db_container_retrieve_throughput_distribution
      info	[Changelog]   - Added operation MongoDBResourcesOperations.begin_mongo_db_database_partition_merge
      info	[Changelog]   - Added operation MongoDBResourcesOperations.begin_mongo_db_database_redistribute_throughput
      info	[Changelog]   - Added operation MongoDBResourcesOperations.begin_mongo_db_database_retrieve_throughput_distribution
      info	[Changelog]   - Added operation SqlResourcesOperations.begin_list_sql_container_partition_merge
      info	[Changelog]   - Added operation SqlResourcesOperations.begin_sql_container_redistribute_throughput
      info	[Changelog]   - Added operation SqlResourcesOperations.begin_sql_container_retrieve_throughput_distribution
      info	[Changelog]   - Added operation SqlResourcesOperations.begin_sql_database_partition_merge
      info	[Changelog]   - Added operation SqlResourcesOperations.begin_sql_database_redistribute_throughput
      info	[Changelog]   - Added operation SqlResourcesOperations.begin_sql_database_retrieve_throughput_distribution
      info	[Changelog]   - Added operation group DataTransferJobsOperations
      info	[Changelog]   - Added operation group GraphResourcesOperations
      info	[Changelog]   - Added operation group MongoClustersOperations
      info	[Changelog]   - Model ARMResourceProperties has a new parameter identity
      info	[Changelog]   - Model CassandraKeyspaceCreateUpdateParameters has a new parameter identity
      info	[Changelog]   - Model CassandraKeyspaceGetResults has a new parameter identity
      info	[Changelog]   - Model CassandraTableCreateUpdateParameters has a new parameter identity
      info	[Changelog]   - Model CassandraTableGetResults has a new parameter identity
      info	[Changelog]   - Model DatabaseAccountCreateUpdateParameters has a new parameter diagnostic_log_settings
      info	[Changelog]   - Model DatabaseAccountCreateUpdateParameters has a new parameter enable_burst_capacity
      info	[Changelog]   - Model DatabaseAccountCreateUpdateParameters has a new parameter enable_materialized_views
      info	[Changelog]   - Model DatabaseAccountGetResults has a new parameter diagnostic_log_settings
      info	[Changelog]   - Model DatabaseAccountGetResults has a new parameter enable_burst_capacity
      info	[Changelog]   - Model DatabaseAccountGetResults has a new parameter enable_materialized_views
      info	[Changelog]   - Model DatabaseAccountUpdateParameters has a new parameter diagnostic_log_settings
      info	[Changelog]   - Model DatabaseAccountUpdateParameters has a new parameter enable_burst_capacity
      info	[Changelog]   - Model DatabaseAccountUpdateParameters has a new parameter enable_materialized_views
      info	[Changelog]   - Model GremlinDatabaseCreateUpdateParameters has a new parameter identity
      info	[Changelog]   - Model GremlinDatabaseGetPropertiesResource has a new parameter create_mode
      info	[Changelog]   - Model GremlinDatabaseGetPropertiesResource has a new parameter restore_parameters
      info	[Changelog]   - Model GremlinDatabaseGetResults has a new parameter identity
      info	[Changelog]   - Model GremlinDatabaseResource has a new parameter create_mode
      info	[Changelog]   - Model GremlinDatabaseResource has a new parameter restore_parameters
      info	[Changelog]   - Model GremlinGraphCreateUpdateParameters has a new parameter identity
      info	[Changelog]   - Model GremlinGraphGetPropertiesResource has a new parameter create_mode
      info	[Changelog]   - Model GremlinGraphGetPropertiesResource has a new parameter restore_parameters
      info	[Changelog]   - Model GremlinGraphGetResults has a new parameter identity
      info	[Changelog]   - Model GremlinGraphResource has a new parameter create_mode
      info	[Changelog]   - Model GremlinGraphResource has a new parameter restore_parameters
      info	[Changelog]   - Model MongoDBCollectionCreateUpdateParameters has a new parameter identity
      info	[Changelog]   - Model MongoDBCollectionGetPropertiesResource has a new parameter create_mode
      info	[Changelog]   - Model MongoDBCollectionGetPropertiesResource has a new parameter restore_parameters
      info	[Changelog]   - Model MongoDBCollectionGetResults has a new parameter identity
      info	[Changelog]   - Model MongoDBCollectionResource has a new parameter create_mode
      info	[Changelog]   - Model MongoDBCollectionResource has a new parameter restore_parameters
      info	[Changelog]   - Model MongoDBDatabaseCreateUpdateParameters has a new parameter identity
      info	[Changelog]   - Model MongoDBDatabaseGetPropertiesResource has a new parameter create_mode
      info	[Changelog]   - Model MongoDBDatabaseGetPropertiesResource has a new parameter restore_parameters
      info	[Changelog]   - Model MongoDBDatabaseGetResults has a new parameter identity
      info	[Changelog]   - Model MongoDBDatabaseResource has a new parameter create_mode
      info	[Changelog]   - Model MongoDBDatabaseResource has a new parameter restore_parameters
      info	[Changelog]   - Model RestorableSqlContainerPropertiesResourceContainer has a new parameter create_mode
      info	[Changelog]   - Model RestorableSqlContainerPropertiesResourceContainer has a new parameter materialized_view_definition
      info	[Changelog]   - Model RestorableSqlContainerPropertiesResourceContainer has a new parameter restore_parameters
      info	[Changelog]   - Model RestorableSqlDatabasePropertiesResourceDatabase has a new parameter create_mode
      info	[Changelog]   - Model RestorableSqlDatabasePropertiesResourceDatabase has a new parameter restore_parameters
      info	[Changelog]   - Model RestoreParameters has a new parameter source_backup_location
      info	[Changelog]   - Model SqlContainerCreateUpdateParameters has a new parameter identity
      info	[Changelog]   - Model SqlContainerGetPropertiesResource has a new parameter create_mode
      info	[Changelog]   - Model SqlContainerGetPropertiesResource has a new parameter materialized_view_definition
      info	[Changelog]   - Model SqlContainerGetPropertiesResource has a new parameter restore_parameters
      info	[Changelog]   - Model SqlContainerGetResults has a new parameter identity
      info	[Changelog]   - Model SqlContainerResource has a new parameter create_mode
      info	[Changelog]   - Model SqlContainerResource has a new parameter materialized_view_definition
      info	[Changelog]   - Model SqlContainerResource has a new parameter restore_parameters
      info	[Changelog]   - Model SqlDatabaseCreateUpdateParameters has a new parameter identity
      info	[Changelog]   - Model SqlDatabaseGetPropertiesResource has a new parameter create_mode
      info	[Changelog]   - Model SqlDatabaseGetPropertiesResource has a new parameter restore_parameters
      info	[Changelog]   - Model SqlDatabaseGetResults has a new parameter identity
      info	[Changelog]   - Model SqlDatabaseResource has a new parameter create_mode
      info	[Changelog]   - Model SqlDatabaseResource has a new parameter restore_parameters
      info	[Changelog]   - Model SqlStoredProcedureCreateUpdateParameters has a new parameter identity
      info	[Changelog]   - Model SqlStoredProcedureGetResults has a new parameter identity
      info	[Changelog]   - Model SqlTriggerCreateUpdateParameters has a new parameter identity
      info	[Changelog]   - Model SqlTriggerGetResults has a new parameter identity
      info	[Changelog]   - Model SqlUserDefinedFunctionCreateUpdateParameters has a new parameter identity
      info	[Changelog]   - Model SqlUserDefinedFunctionGetResults has a new parameter identity
      info	[Changelog]   - Model TableCreateUpdateParameters has a new parameter identity
      info	[Changelog]   - Model TableGetPropertiesResource has a new parameter create_mode
      info	[Changelog]   - Model TableGetPropertiesResource has a new parameter restore_parameters
      info	[Changelog]   - Model TableGetResults has a new parameter identity
      info	[Changelog]   - Model TableResource has a new parameter create_mode
      info	[Changelog]   - Model TableResource has a new parameter restore_parameters
      info	[Changelog]   - Model ThroughputSettingsGetResults has a new parameter identity
      info	[Changelog]   - Model ThroughputSettingsUpdateParameters has a new parameter identity
      info	[Changelog]
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog]   - Model ThroughputSettingsGetPropertiesResource no longer has parameter instant_maximum_throughput
      info	[Changelog]   - Model ThroughputSettingsGetPropertiesResource no longer has parameter soft_allowed_maximum_throughput
      info	[Changelog]   - Model ThroughputSettingsResource no longer has parameter instant_maximum_throughput
      info	[Changelog]   - Model ThroughputSettingsResource no longer has parameter soft_allowed_maximum_throughput
    ️❌ azure-sdk-for-net-track2 failed [Detail]
    • Failed [Logs]Release - Generate from 44e8334. 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:712
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 712 | �[0m         �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mFailed to build sdk. exit code: False
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
    • Azure.ResourceManager.CosmosDB [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] Breaking Changes: /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(96,5): error : ApiCompat failed for '/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/bin/Azure.ResourceManager.CosmosDB/Debug/netstandard2.0/Azure.ResourceManager.CosmosDB.dll' [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Azure.ResourceManager.CosmosDB.csproj::TargetFramework=netstandard2.0]
    ️⚠️ azure-sdk-for-java warning [Detail]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 44e8334. 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]  [Release SDK Changes]
      Only show 120 items here, please refer to log for details.
      info	[Changelog] - New function `*SQLResourcesClient.BeginSQLDatabaseRedistributeThroughput(context.Context, string, string, string, RedistributeThroughputParameters, *SQLResourcesClientBeginSQLDatabaseRedistributeThroughputOptions) (*runtime.Poller[SQLResourcesClientSQLDatabaseRedistributeThroughputResponse], error)`
      info	[Changelog] - New function `*SQLResourcesClient.BeginSQLDatabaseRetrieveThroughputDistribution(context.Context, string, string, string, RetrieveThroughputParameters, *SQLResourcesClientBeginSQLDatabaseRetrieveThroughputDistributionOptions) (*runtime.Poller[SQLResourcesClientSQLDatabaseRetrieveThroughputDistributionResponse], error)`
      info	[Changelog] - New struct `AzureBlobDataTransferDataSourceSink`
      info	[Changelog] - New struct `BackupResource`
      info	[Changelog] - New struct `BackupResourceProperties`
      info	[Changelog] - New struct `CassandraDataTransferDataSourceSink`
      info	[Changelog] - New struct `CassandraViewCreateUpdateParameters`
      info	[Changelog] - New struct `CassandraViewCreateUpdateProperties`
      info	[Changelog] - New struct `CassandraViewGetProperties`
      info	[Changelog] - New struct `CassandraViewGetPropertiesOptions`
      info	[Changelog] - New struct `CassandraViewGetPropertiesResource`
      info	[Changelog] - New struct `CassandraViewGetResults`
      info	[Changelog] - New struct `CassandraViewListResult`
      info	[Changelog] - New struct `CassandraViewResource`
      info	[Changelog] - New struct `CheckNameAvailabilityRequest`
      info	[Changelog] - New struct `CheckNameAvailabilityResponse`
      info	[Changelog] - New struct `ConnectionString`
      info	[Changelog] - New struct `ContinuousModeProperties`
      info	[Changelog] - New struct `CreateJobRequest`
      info	[Changelog] - New struct `DataTransferJobFeedResults`
      info	[Changelog] - New struct `DataTransferJobGetResults`
      info	[Changelog] - New struct `DataTransferJobProperties`
      info	[Changelog] - New struct `DiagnosticLogSettings`
      info	[Changelog] - New struct `ErrorAdditionalInfo`
      info	[Changelog] - New struct `ErrorDetail`
      info	[Changelog] - New struct `ErrorResponseAutoGenerated`
      info	[Changelog] - New struct `FirewallRule`
      info	[Changelog] - New struct `FirewallRuleListResult`
      info	[Changelog] - New struct `FirewallRuleProperties`
      info	[Changelog] - New struct `GraphResource`
      info	[Changelog] - New struct `GraphResourceCreateUpdateParameters`
      info	[Changelog] - New struct `GraphResourceCreateUpdateProperties`
      info	[Changelog] - New struct `GraphResourceGetProperties`
      info	[Changelog] - New struct `GraphResourceGetPropertiesOptions`
      info	[Changelog] - New struct `GraphResourceGetPropertiesResource`
      info	[Changelog] - New struct `GraphResourceGetResults`
      info	[Changelog] - New struct `GraphResourcesListResult`
      info	[Changelog] - New struct `ListBackups`
      info	[Changelog] - New struct `ListConnectionStringsResult`
      info	[Changelog] - New struct `MaterializedViewDefinition`
      info	[Changelog] - New struct `MergeParameters`
      info	[Changelog] - New struct `MongoCluster`
      info	[Changelog] - New struct `MongoClusterListResult`
      info	[Changelog] - New struct `MongoClusterProperties`
      info	[Changelog] - New struct `MongoClusterRestoreParameters`
      info	[Changelog] - New struct `MongoClusterUpdate`
      info	[Changelog] - New struct `MongoDataTransferDataSourceSink`
      info	[Changelog] - New struct `NodeGroupProperties`
      info	[Changelog] - New struct `NodeGroupSpec`
      info	[Changelog] - New struct `PhysicalPartitionID`
      info	[Changelog] - New struct `PhysicalPartitionStorageInfo`
      info	[Changelog] - New struct `PhysicalPartitionStorageInfoCollection`
      info	[Changelog] - New struct `PhysicalPartitionThroughputInfoProperties`
      info	[Changelog] - New struct `PhysicalPartitionThroughputInfoResource`
      info	[Changelog] - New struct `PhysicalPartitionThroughputInfoResult`
      info	[Changelog] - New struct `PhysicalPartitionThroughputInfoResultProperties`
      info	[Changelog] - New struct `PhysicalPartitionThroughputInfoResultPropertiesResource`
      info	[Changelog] - New struct `ProxyResourceAutoGenerated`
      info	[Changelog] - New struct `RedistributeThroughputParameters`
      info	[Changelog] - New struct `RedistributeThroughputProperties`
      info	[Changelog] - New struct `RedistributeThroughputPropertiesResource`
      info	[Changelog] - New struct `ResourceAutoGenerated`
      info	[Changelog] - New struct `ResourceRestoreParameters`
      info	[Changelog] - New struct `RestoreParametersBase`
      info	[Changelog] - New struct `RetrieveThroughputParameters`
      info	[Changelog] - New struct `RetrieveThroughputProperties`
      info	[Changelog] - New struct `RetrieveThroughputPropertiesResource`
      info	[Changelog] - New struct `SQLDataTransferDataSourceSink`
      info	[Changelog] - New struct `TrackedResource`
      info	[Changelog] - New field `Identity` in struct `ARMResourceProperties`
      info	[Changelog] - New field `Identity` in struct `CassandraKeyspaceCreateUpdateParameters`
      info	[Changelog] - New field `Identity` in struct `CassandraKeyspaceGetResults`
      info	[Changelog] - New field `Identity` in struct `CassandraTableCreateUpdateParameters`
      info	[Changelog] - New field `Identity` in struct `CassandraTableGetResults`
      info	[Changelog] - New field `ContinuousModeProperties` in struct `ContinuousModeBackupPolicy`
      info	[Changelog] - New field `DiagnosticLogSettings`, `EnableBurstCapacity`, `EnableMaterializedViews` in struct `DatabaseAccountCreateUpdateProperties`
      info	[Changelog] - New field `DiagnosticLogSettings`, `EnableBurstCapacity`, `EnableMaterializedViews` in struct `DatabaseAccountGetProperties`
      info	[Changelog] - New field `DiagnosticLogSettings`, `EnableBurstCapacity`, `EnableMaterializedViews` in struct `DatabaseAccountUpdateProperties`
      info	[Changelog] - New field `Identity` in struct `GremlinDatabaseCreateUpdateParameters`
      info	[Changelog] - New field `CreateMode`, `RestoreParameters` in struct `GremlinDatabaseGetPropertiesResource`
      info	[Changelog] - New field `Identity` in struct `GremlinDatabaseGetResults`
      info	[Changelog] - New field `CreateMode`, `RestoreParameters` in struct `GremlinDatabaseResource`
      info	[Changelog] - New field `Identity` in struct `GremlinGraphCreateUpdateParameters`
      info	[Changelog] - New field `CreateMode`, `RestoreParameters` in struct `GremlinGraphGetPropertiesResource`
      info	[Changelog] - New field `Identity` in struct `GremlinGraphGetResults`
      info	[Changelog] - New field `CreateMode`, `RestoreParameters` in struct `GremlinGraphResource`
      info	[Changelog] - New field `Identity` in struct `MongoDBCollectionCreateUpdateParameters`
      info	[Changelog] - New field `CreateMode`, `RestoreParameters` in struct `MongoDBCollectionGetPropertiesResource`
      info	[Changelog] - New field `Identity` in struct `MongoDBCollectionGetResults`
      info	[Changelog] - New field `CreateMode`, `RestoreParameters` in struct `MongoDBCollectionResource`
      info	[Changelog] - New field `Identity` in struct `MongoDBDatabaseCreateUpdateParameters`
      info	[Changelog] - New field `CreateMode`, `RestoreParameters` in struct `MongoDBDatabaseGetPropertiesResource`
      info	[Changelog] - New field `Identity` in struct `MongoDBDatabaseGetResults`
      info	[Changelog] - New field `CreateMode`, `RestoreParameters` in struct `MongoDBDatabaseResource`
      info	[Changelog] - New field `OldestRestorableTime` in struct `RestorableDatabaseAccountProperties`
      info	[Changelog] - New field `CreateMode`, `MaterializedViewDefinition`, `RestoreParameters` in struct `RestorableSQLContainerPropertiesResourceContainer`
      info	[Changelog] - New field `CreateMode`, `RestoreParameters` in struct `RestorableSQLDatabasePropertiesResourceDatabase`
      info	[Changelog] - New field `SourceBackupLocation` in struct `RestoreParameters`
      info	[Changelog] - New field `Identity` in struct `SQLContainerCreateUpdateParameters`
      info	[Changelog] - New field `CreateMode`, `MaterializedViewDefinition`, `RestoreParameters` in struct `SQLContainerGetPropertiesResource`
      info	[Changelog] - New field `Identity` in struct `SQLContainerGetResults`
      info	[Changelog] - New field `CreateMode`, `MaterializedViewDefinition`, `RestoreParameters` in struct `SQLContainerResource`
      info	[Changelog] - New field `Identity` in struct `SQLDatabaseCreateUpdateParameters`
      info	[Changelog] - New field `CreateMode`, `RestoreParameters` in struct `SQLDatabaseGetPropertiesResource`
      info	[Changelog] - New field `Identity` in struct `SQLDatabaseGetResults`
      info	[Changelog] - New field `CreateMode`, `RestoreParameters` in struct `SQLDatabaseResource`
      info	[Changelog] - New field `Identity` in struct `SQLStoredProcedureCreateUpdateParameters`
      info	[Changelog] - New field `Identity` in struct `SQLStoredProcedureGetResults`
      info	[Changelog] - New field `Identity` in struct `SQLTriggerCreateUpdateParameters`
      info	[Changelog] - New field `Identity` in struct `SQLTriggerGetResults`
      info	[Changelog] - New field `Identity` in struct `SQLUserDefinedFunctionCreateUpdateParameters`
      info	[Changelog] - New field `Identity` in struct `SQLUserDefinedFunctionGetResults`
      info	[Changelog] - New field `Identity` in struct `TableCreateUpdateParameters`
      info	[Changelog] - New field `CreateMode`, `RestoreParameters` in struct `TableGetPropertiesResource`
      info	[Changelog] - New field `Identity` in struct `TableGetResults`
      info	[Changelog] - New field `CreateMode`, `RestoreParameters` in struct `TableResource`
      info	[Changelog] - New field `Identity` in struct `ThroughputSettingsGetResults`
      info	[Changelog] - New field `Identity` in struct `ThroughputSettingsUpdateParameters`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 277 additive change(s).
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 44e8334. 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
    • ️✔️@azure/arm-cosmosdb [View full logs]  [Release SDK Changes]
      Only show 120 items here, please refer to log for details.
      info	[Changelog]   - Added Interface PhysicalPartitionId
      info	[Changelog]   - Added Interface PhysicalPartitionStorageInfo
      info	[Changelog]   - Added Interface PhysicalPartitionStorageInfoCollection
      info	[Changelog]   - Added Interface PhysicalPartitionThroughputInfoProperties
      info	[Changelog]   - Added Interface PhysicalPartitionThroughputInfoResource
      info	[Changelog]   - Added Interface PhysicalPartitionThroughputInfoResult
      info	[Changelog]   - Added Interface PhysicalPartitionThroughputInfoResultPropertiesResource
      info	[Changelog]   - Added Interface ProxyResourceAutoGenerated
      info	[Changelog]   - Added Interface RedistributeThroughputParameters
      info	[Changelog]   - Added Interface RedistributeThroughputPropertiesResource
      info	[Changelog]   - Added Interface ResourceAutoGenerated
      info	[Changelog]   - Added Interface ResourceRestoreParameters
      info	[Changelog]   - Added Interface RestoreParametersBase
      info	[Changelog]   - Added Interface RetrieveThroughputParameters
      info	[Changelog]   - Added Interface RetrieveThroughputPropertiesResource
      info	[Changelog]   - Added Interface SqlResourcesListSqlContainerPartitionMergeHeaders
      info	[Changelog]   - Added Interface SqlResourcesListSqlContainerPartitionMergeOptionalParams
      info	[Changelog]   - Added Interface SqlResourcesSqlContainerRedistributeThroughputHeaders
      info	[Changelog]   - Added Interface SqlResourcesSqlContainerRedistributeThroughputOptionalParams
      info	[Changelog]   - Added Interface SqlResourcesSqlContainerRetrieveThroughputDistributionHeaders
      info	[Changelog]   - Added Interface SqlResourcesSqlContainerRetrieveThroughputDistributionOptionalParams
      info	[Changelog]   - Added Interface SqlResourcesSqlDatabasePartitionMergeHeaders
      info	[Changelog]   - Added Interface SqlResourcesSqlDatabasePartitionMergeOptionalParams
      info	[Changelog]   - Added Interface SqlResourcesSqlDatabaseRedistributeThroughputHeaders
      info	[Changelog]   - Added Interface SqlResourcesSqlDatabaseRedistributeThroughputOptionalParams
      info	[Changelog]   - Added Interface SqlResourcesSqlDatabaseRetrieveThroughputDistributionHeaders
      info	[Changelog]   - Added Interface SqlResourcesSqlDatabaseRetrieveThroughputDistributionOptionalParams
      info	[Changelog]   - Added Interface TrackedResource
      info	[Changelog]   - Added Type Alias CassandraClustersGetBackupResponse
      info	[Changelog]   - Added Type Alias CassandraClustersListBackupsResponse
      info	[Changelog]   - Added Type Alias CassandraResourcesCreateUpdateCassandraViewResponse
      info	[Changelog]   - Added Type Alias CassandraResourcesGetCassandraViewResponse
      info	[Changelog]   - Added Type Alias CassandraResourcesGetCassandraViewThroughputResponse
      info	[Changelog]   - Added Type Alias CassandraResourcesListCassandraViewsResponse
      info	[Changelog]   - Added Type Alias CassandraResourcesMigrateCassandraViewToAutoscaleResponse
      info	[Changelog]   - Added Type Alias CassandraResourcesMigrateCassandraViewToManualThroughputResponse
      info	[Changelog]   - Added Type Alias CassandraResourcesUpdateCassandraViewThroughputResponse
      info	[Changelog]   - Added Type Alias CheckNameAvailabilityReason
      info	[Changelog]   - Added Type Alias ContinuousTier
      info	[Changelog]   - Added Type Alias DataTransferComponent
      info	[Changelog]   - Added Type Alias DataTransferDataSourceSinkUnion
      info	[Changelog]   - Added Type Alias DataTransferJobsCancelResponse
      info	[Changelog]   - Added Type Alias DataTransferJobsCreateResponse
      info	[Changelog]   - Added Type Alias DataTransferJobsGetResponse
      info	[Changelog]   - Added Type Alias DataTransferJobsListByDatabaseAccountNextResponse
      info	[Changelog]   - Added Type Alias DataTransferJobsListByDatabaseAccountResponse
      info	[Changelog]   - Added Type Alias DataTransferJobsPauseResponse
      info	[Changelog]   - Added Type Alias DataTransferJobsResumeResponse
      info	[Changelog]   - Added Type Alias EnableFullTextQuery
      info	[Changelog]   - Added Type Alias GraphResourcesCreateUpdateGraphResponse
      info	[Changelog]   - Added Type Alias GraphResourcesGetGraphResponse
      info	[Changelog]   - Added Type Alias GraphResourcesListGraphsResponse
      info	[Changelog]   - Added Type Alias MongoClustersCheckNameAvailabilityResponse
      info	[Changelog]   - Added Type Alias MongoClustersCreateOrUpdateFirewallRuleResponse
      info	[Changelog]   - Added Type Alias MongoClustersCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias MongoClustersDeleteFirewallRuleResponse
      info	[Changelog]   - Added Type Alias MongoClustersDeleteResponse
      info	[Changelog]   - Added Type Alias MongoClustersGetFirewallRuleResponse
      info	[Changelog]   - Added Type Alias MongoClustersGetResponse
      info	[Changelog]   - Added Type Alias MongoClustersListByResourceGroupNextResponse
      info	[Changelog]   - Added Type Alias MongoClustersListByResourceGroupResponse
      info	[Changelog]   - Added Type Alias MongoClustersListConnectionStringsResponse
      info	[Changelog]   - Added Type Alias MongoClustersListFirewallRulesNextResponse
      info	[Changelog]   - Added Type Alias MongoClustersListFirewallRulesResponse
      info	[Changelog]   - Added Type Alias MongoClustersListNextResponse
      info	[Changelog]   - Added Type Alias MongoClustersListResponse
      info	[Changelog]   - Added Type Alias MongoClusterStatus
      info	[Changelog]   - Added Type Alias MongoClustersUpdateResponse
      info	[Changelog]   - Added Type Alias MongoDBResourcesListMongoDBCollectionPartitionMergeResponse
      info	[Changelog]   - Added Type Alias MongoDBResourcesMongoDBContainerRedistributeThroughputResponse
      info	[Changelog]   - Added Type Alias MongoDBResourcesMongoDBContainerRetrieveThroughputDistributionResponse
      info	[Changelog]   - Added Type Alias MongoDBResourcesMongoDBDatabasePartitionMergeResponse
      info	[Changelog]   - Added Type Alias MongoDBResourcesMongoDBDatabaseRedistributeThroughputResponse
      info	[Changelog]   - Added Type Alias MongoDBResourcesMongoDBDatabaseRetrieveThroughputDistributionResponse
      info	[Changelog]   - Added Type Alias NodeKind
      info	[Changelog]   - Added Type Alias ProvisioningState
      info	[Changelog]   - Added Type Alias SqlResourcesListSqlContainerPartitionMergeResponse
      info	[Changelog]   - Added Type Alias SqlResourcesSqlContainerRedistributeThroughputResponse
      info	[Changelog]   - Added Type Alias SqlResourcesSqlContainerRetrieveThroughputDistributionResponse
      info	[Changelog]   - Added Type Alias SqlResourcesSqlDatabasePartitionMergeResponse
      info	[Changelog]   - Added Type Alias SqlResourcesSqlDatabaseRedistributeThroughputResponse
      info	[Changelog]   - Added Type Alias SqlResourcesSqlDatabaseRetrieveThroughputDistributionResponse
      info	[Changelog]   - Added Type Alias ThroughputPolicyType
      info	[Changelog]   - Interface ARMResourceProperties has a new optional parameter identity
      info	[Changelog]   - Interface ContinuousModeBackupPolicy has a new optional parameter continuousModeProperties
      info	[Changelog]   - Interface DatabaseAccountCreateUpdateParameters has a new optional parameter diagnosticLogSettings
      info	[Changelog]   - Interface DatabaseAccountCreateUpdateParameters has a new optional parameter enableBurstCapacity
      info	[Changelog]   - Interface DatabaseAccountCreateUpdateParameters has a new optional parameter enableMaterializedViews
      info	[Changelog]   - Interface DatabaseAccountGetResults has a new optional parameter diagnosticLogSettings
      info	[Changelog]   - Interface DatabaseAccountGetResults has a new optional parameter enableBurstCapacity
      info	[Changelog]   - Interface DatabaseAccountGetResults has a new optional parameter enableMaterializedViews
      info	[Changelog]   - Interface DatabaseAccountUpdateParameters has a new optional parameter diagnosticLogSettings
      info	[Changelog]   - Interface DatabaseAccountUpdateParameters has a new optional parameter enableBurstCapacity
      info	[Changelog]   - Interface DatabaseAccountUpdateParameters has a new optional parameter enableMaterializedViews
      info	[Changelog]   - Interface GremlinDatabaseResource has a new optional parameter createMode
      info	[Changelog]   - Interface GremlinDatabaseResource has a new optional parameter restoreParameters
      info	[Changelog]   - Interface GremlinGraphResource has a new optional parameter createMode
      info	[Changelog]   - Interface GremlinGraphResource has a new optional parameter restoreParameters
      info	[Changelog]   - Interface MongoDBCollectionResource has a new optional parameter createMode
      info	[Changelog]   - Interface MongoDBCollectionResource has a new optional parameter restoreParameters
      info	[Changelog]   - Interface MongoDBDatabaseResource has a new optional parameter createMode
      info	[Changelog]   - Interface MongoDBDatabaseResource has a new optional parameter restoreParameters
      info	[Changelog]   - Interface RestorableDatabaseAccountGetResult has a new optional parameter oldestRestorableTime
      info	[Changelog]   - Interface RestoreParameters has a new optional parameter sourceBackupLocation
      info	[Changelog]   - Interface SqlContainerResource has a new optional parameter createMode
      info	[Changelog]   - Interface SqlContainerResource has a new optional parameter materializedViewDefinition
      info	[Changelog]   - Interface SqlContainerResource has a new optional parameter restoreParameters
      info	[Changelog]   - Interface SqlDatabaseResource has a new optional parameter createMode
      info	[Changelog]   - Interface SqlDatabaseResource has a new optional parameter restoreParameters
      info	[Changelog]   - Interface TableResource has a new optional parameter createMode
      info	[Changelog]   - Interface TableResource has a new optional parameter restoreParameters
      info	[Changelog]   - Added Enum KnownCheckNameAvailabilityReason
      info	[Changelog]   - Added Enum KnownContinuousTier
      info	[Changelog]   - Added Enum KnownDataTransferComponent
      info	[Changelog]   - Added Enum KnownMongoClusterStatus
      info	[Changelog]   - Added Enum KnownNodeKind
      info	[Changelog]   - Added Enum KnownProvisioningState
      info	[Changelog]   - Added Enum KnownThroughputPolicyType
      info	[Changelog]   - Enum KnownCreateMode has a new value PointInTimeRestore
      info	[Changelog]   - Enum KnownOperationType has a new value Recreate
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 44e8334. 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
    • ️✔️cosmos-db [View full logs]  [Release Schema Changes]
    ️❌ azure-powershell failed [Detail]
    • Pipeline Framework Failed [Logs]Release - Generate from 44e8334. 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.cosmos-db.DefaultTag [View full logs
      error	Fatal error: SSL error: syscall failure: Broken pipe
      error	The following packages are still pending:
      error		Az.cosmos-db.DefaultTag
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Mar 28, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/cosmos/armcosmos https://apiview.dev/Assemblies/Review/058a2794af6e4f2284742b179381303b
    Java azure-resourcemanager-cosmos-generated https://apiview.dev/Assemblies/Review/e3012a78799b4e489483092b27cc9c98
    .Net Azure.ResourceManager.CosmosDB There is no API change compared with the previous version
    JavaScript @azure/arm-cosmosdb https://apiview.dev/Assemblies/Review/638593f427724b419821651ad04d444e

    @AzureRestAPISpecReview AzureRestAPISpecReview added the BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required label Mar 28, 2023
    @openapi-workflow-bot
    Copy link

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

    @vivek-microsoft vivek-microsoft force-pushed the SrinikhilReddy-cosmos-db-Microsoft.DocumentDB-2023-03-15-preview-new branch from 8ba993c to c752e59 Compare March 30, 2023 18:10
    @AzureRestAPISpecReview AzureRestAPISpecReview removed the BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required label Mar 30, 2023
    @SrinikhilReddy SrinikhilReddy marked this pull request as ready for review April 4, 2023 15:39
    @pilor pilor removed the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label May 16, 2023
    @openapi-workflow-bot openapi-workflow-bot bot added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label May 16, 2023
    @pilor pilor added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label May 16, 2023
    @openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label May 16, 2023
    @SrinikhilReddy
    Copy link
    Contributor Author

    The avacodo checker is failing on a very old version (2017) can we get an exception for this?

    @openapi-workflow-bot
    Copy link

    Hi @SrinikhilReddy, one or multiple validation error/warning suppression(s) is detected in your PR. Please follow the Swagger-Suppression-Process to get approval.

    @tadelesh
    Copy link
    Member

    Duplicate schema problem need to be addressed: ErrorResponse, ProvisioningState, Resource and ProxyResource. You need to check if you use different version of common model or define two different models with same name.

    @tadelesh
    Copy link
    Member

    Discussed with service team offline that all these issue will be addressed in next version.

    @@ -27,9 +27,27 @@ These are the global settings for the Cosmos-DB API.
    ``` yaml
    title: CosmosDBManagementClient
    openapi-type: arm
    tag: package-2023-04
    tag: package-preview-2023-03-15
    Copy link
    Member

    Choose a reason for hiding this comment

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

    why this is allowed ? we should never change a default tag to use an older preview version replace the newer version stable.

    Copy link
    Member

    @qiaozha qiaozha Jul 13, 2023

    Choose a reason for hiding this comment

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

    @JeffreyRichter @mikekistler I don't think for this case, we have properly reviewed the cross version breaking change yet, because they are adding an older preview version, and breaking change detection tool will only compare with version prior to this current one.
    image
    But they already has version 2023-04-15 merged in April #23532

    which is the bind zone of the breaking change detection tool. I think

    Copy link
    Member

    Choose a reason for hiding this comment

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

    oops, it seems we have released this version for all languages.

    Copy link
    Member

    Choose a reason for hiding this comment

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

    Yeah, we shouldn't have.

    Copy link
    Member

    Choose a reason for hiding this comment

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

    I'm not sure if you're asking Mike or I to do something here or not?
    If you are, then I think we need more of an explanation as to what happened and what you want us to do.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.