Skip to content

Nits - review comments #28957

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

Conversation

pjohari-ms
Copy link
Member

ARM (Control Plane) API Specification Update Pull Request

Tip

Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram

Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

spec_pr_review_workflow_diagram

Purpose of this PR

What's the purpose of this PR? Check the specific option that applies. This is mandatory!

  • New resource provider.
  • New API version for an existing resource provider. (If API spec is not defined in TypeSpec, the PR should have been created in adherence to OpenAPI specs PR creation guidance).
  • Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
  • Update existing version to fix OpenAPI spec quality issues in S360.
  • Other, please clarify:
    • edit this with your clarification

Due diligence checklist

To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

  • I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
  • I have reviewed following Resource Provider guidelines, including
    ARM resource provider contract and
    REST guidelines (estimated time: 4 hours).
    I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.

Additional information

Viewing API changes

For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures

If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.

Getting help

  • First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
  • To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
  • For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
    and https://aka.ms/ci-fix.
  • For help with ARM review (PR workflow diagram Step 2), see https://aka.ms/azsdk/pr-arm-review.
  • If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
    This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
  • If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

Copy link

openapi-pipeline-app bot commented May 2, 2024

PR validation pipeline restarted successfully. This comment will be populated with next steps to merge this PR once validation is completed. Please wait ⌛.

Copy link

openapi-pipeline-app bot commented May 2, 2024

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️Breaking Change(Cross-Version): 38 Warnings warning [Detail]
Compared specs (v0.10.8) new version base version
managedCassandra.json 2024-05-15(d89e28b) 2023-11-15(main)
managedCassandra.json 2024-05-15(d89e28b) 2024-02-15-preview(main)

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

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

Rule Message
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/invokeCommandAsync' removed or restructured?
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L344:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/commands' removed or restructured?
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L406:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/commands/{commandId}' removed or restructured?
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L448:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/backups' removed or restructured?
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L490:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/backups/{backupId}' removed or restructured?
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L532:5
⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'commandId' removed or renamed?
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L695:3
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L928:3
⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'forceDeallocate' removed or renamed?
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L695:3
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L928:3
⚠️ 1023 - TypeFormatChanged The new version has a different format '' than the previous one 'uuid'.
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L49:9
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L49:9
⚠️ 1023 - TypeFormatChanged The new version has a different format 'arm-id' than the previous one ''.
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L962:13
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L1273:13
⚠️ 1023 - TypeFormatChanged The new version has a different format '' than the previous one 'uuid'.
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L85:9
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L85:9
⚠️ 1023 - TypeFormatChanged The new version has a different format '' than the previous one 'uuid'.
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L121:9
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L121:9
⚠️ 1023 - TypeFormatChanged The new version has a different format '' than the previous one 'uuid'.
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L159:9
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L159:9
⚠️ 1023 - TypeFormatChanged The new version has a different format '' than the previous one 'uuid'.
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L197:9
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L197:9
⚠️ 1023 - TypeFormatChanged The new version has a different format '' than the previous one 'uuid'.
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L250:9
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L250:9
⚠️ 1023 - TypeFormatChanged The new version has a different format '' than the previous one 'uuid'.
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L305:9
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L305:9
⚠️ 1023 - TypeFormatChanged The new version has a different format '' than the previous one 'uuid'.
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L356:9
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L586:9
⚠️ 1023 - TypeFormatChanged The new version has a different format '' than the previous one 'uuid'.
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L395:9
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L625:9
⚠️ 1023 - TypeFormatChanged The new version has a different format '' than the previous one 'uuid'.
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L436:9
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L666:9
⚠️ 1023 - TypeFormatChanged The new version has a different format '' than the previous one 'uuid'.
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L477:9
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L707:9
⚠️ 1023 - TypeFormatChanged The new version has a different format '' than the previous one 'uuid'.
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L533:9
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L763:9
⚠️ 1023 - TypeFormatChanged The new version has a different format '' than the previous one 'uuid'.
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L591:9
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L821:9
⚠️ 1023 - TypeFormatChanged The new version has a different format '' than the previous one 'uuid'.
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L628:9
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L861:9
⚠️ 1023 - TypeFormatChanged The new version has a different format '' than the previous one 'uuid'.
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L664:9
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L897:9
⚠️ 1023 - TypeFormatChanged The new version has a different format '' than the previous one 'uuid'.
New: common-types/resource-management/v2/types.json#L649:5
Old: common-types/resource-management/v5/types.json#L632:5
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'autoReplicate' renamed or removed?
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L833:11
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L1085:11
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'externalDataCenters' renamed or removed?
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L833:11
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L1085:11
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'clusterType' renamed or removed?
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L833:11
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L1085:11
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'extensions' renamed or removed?
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L833:11
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L1085:11
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'backupSchedules' renamed or removed?
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L833:11
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L1085:11
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'scheduledEventStrategy' renamed or removed?
New: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L833:11
Old: Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json#L1085:11
️⚠️LintDiff: 0 Warnings warning [Detail]
Compared specs (v2.2.2) new version base version
package-2024-05 package-2024-05(d89e28b) package-2024-05(release-cosmos-db-Microsoft.DocumentDB-2024-05-15)

The following errors/warnings exist before current PR submission:

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

Rule Message
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L138
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DocumentDB/stable/2024-05-15/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/stable/2024-05-15/managedCassandra.json#L183
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L223
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L229
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L236
UnSupportedPatchProperties Mark the top-level property 'location', specified in the patch operation body, as readOnly or immutable. You could also choose to remove it from the request payload of the Patch operation. This property is not patchable.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L263
UnSupportedPatchProperties Mark the property 'properties.provisioningState', specified in the patch operation body, as readOnly or immutable. You could also choose to remove it from the request payload of the Patch operation. This property is not patchable.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L263
PatchBodyParametersSchema Properties of a PATCH request body must not be x-ms-mutability: ['create'], property:restoreFromBackupId.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L267
PatchBodyParametersSchema Properties of a PATCH request body must not be x-ms-mutability: ['create'], property:initialCassandraAdminPassword.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L267
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L274
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L276
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L282
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L289
PostResponseCodes 202 response for a LRO POST operation must not have a response schema specified.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L296
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DocumentDB/stable/2024-05-15/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/stable/2024-05-15/managedCassandra.json#L338
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L415
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L454
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L463
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L506
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L512
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L519
UnSupportedPatchProperties Mark the property 'properties.provisioningState', specified in the patch operation body, as readOnly or immutable. You could also choose to remove it from the request payload of the Patch operation. This property is not patchable.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L549
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L560
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L562
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L568
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L575
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L606
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json#L612
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented May 2, 2024

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]
 Please click here to preview with your @microsoft account. 
️⚠️ azure-sdk-for-python warning [Detail]
  • ⚠️Warning in generating from 401d29f449b07b4173301a0536f6d89a8a25f9be. 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.
    cmderr	[automation_init.sh]  notice
    cmderr	[automation_init.sh] npm notice New minor version of npm available! 10.5.0 -> 10.7.0
    cmderr	[automation_init.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.7.0>
    cmderr	[automation_init.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[automation_init.sh] npm notice
    command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
  • ️✔️azure-mgmt-cosmosdb [Preview SDK Changes]
    • azure_mgmt_cosmosdb-0.7.0-py3-none-any.whl
    • azure-mgmt-cosmosdb-0.7.0.zip
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog]   - Model ClusterResourceProperties has a new parameter azure_connection_method
    info	[Changelog]   - Model ClusterResourceProperties has a new parameter private_link_resource_id
    info	[Changelog]   - Model DataCenterResourceProperties has a new parameter private_endpoint_ip_address
    info	[Changelog]   - Model SqlDedicatedGatewayServiceResourceProperties has a new parameter dedicated_gateway_type
️❌ azure-sdk-for-net-track2 failed [Detail]
  • Failed in generating from 401d29f449b07b4173301a0536f6d89a8a25f9be. 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] GeneratePackage: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:714
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  714 |          GeneratePackage -projectFolder $projectFolder -sdkRootPath $s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Failed to generate sdk. exit code: False
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Get-ChildItem: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:807
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  807 |  … rtifacts += Get-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Cannot find path
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | '/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | it does not exist.
    cmderr	[Invoke-GenerateAndBuildV2.ps1] GeneratePackage: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:714
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  714 |          GeneratePackage -projectFolder $projectFolder -sdkRootPath $s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Failed to generate sdk artifact
  • Azure.ResourceManager.CosmosDB [Preview SDK Changes]
    info	[Changelog]
️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from 401d29f449b07b4173301a0536f6d89a8a25f9be. SDK Automation 14.0.0
    command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
  • ️✔️azure-resourcemanager-cosmos-generated [Preview SDK Changes]
    • pom.xml
    • azure-resourcemanager-cosmos-generated-1.0.0-beta.1.jar
    • azure-resourcemanager-cosmos-generated-1.0.0-beta.1-sources.jar
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from 401d29f449b07b4173301a0536f6d89a8a25f9be. 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 [Preview SDK Changes] Breaking Change Detected
    info	[Changelog] ### Breaking Changes
    info	[Changelog]
    info	[Changelog] - Type of `ServiceResourceCreateUpdateParameters.Properties` has been changed from `*ServiceResourceCreateUpdateProperties` to `ServiceResourceCreateUpdatePropertiesClassification`
    info	[Changelog]
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog] - New value `ServerVersionFive0`, `ServerVersionSix0` added to enum type `ServerVersion`
    info	[Changelog] - New enum type `AzureConnectionType` with values `AzureConnectionTypeNone`, `AzureConnectionTypeVPN`
    info	[Changelog] - New enum type `DedicatedGatewayType` with values `DedicatedGatewayTypeDistributedQuery`, `DedicatedGatewayTypeIntegratedCache`
    info	[Changelog] - New function `*DataTransferServiceResourceCreateUpdateParameters.GetServiceResourceCreateUpdateProperties() *ServiceResourceCreateUpdateProperties`
    info	[Changelog] - New function `*GraphAPIComputeServiceResourceCreateUpdateParameters.GetServiceResourceCreateUpdateProperties() *ServiceResourceCreateUpdateProperties`
    info	[Changelog] - New function `*MaterializedViewsBuilderServiceResourceCreateUpdateParameters.GetServiceResourceCreateUpdateProperties() *ServiceResourceCreateUpdateProperties`
    info	[Changelog] - New function `*SQLDedicatedGatewayServiceResourceCreateUpdateParameters.GetServiceResourceCreateUpdateProperties() *ServiceResourceCreateUpdateProperties`
    info	[Changelog] - New function `*ServiceResourceCreateUpdateProperties.GetServiceResourceCreateUpdateProperties() *ServiceResourceCreateUpdateProperties`
    info	[Changelog] - New struct `DataTransferServiceResourceCreateUpdateParameters`
    info	[Changelog] - New struct `GraphAPIComputeServiceResourceCreateUpdateParameters`
    info	[Changelog] - New struct `MaterializedViewsBuilderServiceResourceCreateUpdateParameters`
    info	[Changelog] - New struct `SQLDedicatedGatewayServiceResourceCreateUpdateParameters`
    info	[Changelog] - New field `AzureConnectionMethod`, `PrivateLinkResourceID` in struct `ClusterResourceProperties`
    info	[Changelog] - New field `PrivateEndpointIPAddress` in struct `DataCenterResourceProperties`
    info	[Changelog] - New field `DedicatedGatewayType` in struct `SQLDedicatedGatewayServiceResourceProperties`
    info	[Changelog]
    info	[Changelog] Total 1 breaking change(s), 25 additive change(s).
    Present SDK breaking changes suppressions
    No suppression file added.
    Absent SDK breaking changes suppressions
    - Type of `ServiceResourceCreateUpdateParameters.Properties` has been changed from `*ServiceResourceCreateUpdateProperties` to `ServiceResourceCreateUpdatePropertiesClassification`
    Parse Suppression File Errors
    No suppression file added.
    Please refer to https://aka.ms/azsdk/sdk-suppression for more information.
️🔄 azure-sdk-for-js inProgress [Detail]
️❌ azure-resource-manager-schemas failed [Detail]
  • Failed in generating from 401d29f449b07b4173301a0536f6d89a8a25f9be. 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] npm notice
    cmderr	[initScript.sh] npm notice New minor version of npm available! 10.5.0 -> 10.7.0
    cmderr	[initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.7.0>
    cmderr	[initScript.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[initScript.sh] npm notice
    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/resource-manager [Preview Schema Changes]
️⚠️ azure-powershell warning [Detail]
  • ⚠️Warning in generating from 401d29f449b07b4173301a0536f6d89a8a25f9be. SDK Automation 14.0.0
    command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
    command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
  • ⚠️Az.cosmos-db.DefaultTag [Preview SDK Changes]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented May 2, 2024

@pjohari-ms pjohari-ms enabled auto-merge (squash) May 3, 2024 04:03
@pjohari-ms
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@pjohari-ms pjohari-ms merged commit cc536cb into Azure:release-cosmos-db-Microsoft.DocumentDB-2024-05-15 May 3, 2024
25 of 29 checks passed
mentat9 pushed a commit that referenced this pull request May 16, 2024
* Adds base for updating Microsoft.DocumentDB from version stable/2023-11-15 to version 2024-05-15

* Updates readme

* Updates API version in new specs and examples

* Add mongo v5 and v6 to the swagger (#28473)

Co-authored-by: Andrew Khoma <[email protected]>

* [CosmosDB-MICassandra] Added VPN feature properties to stable (#28540)

* Added VPN feature properties

* Fixed SpellCheck violation and added arm-id format to privateLinkResourceId

* Added arm-id-details to privateLinkResourceId

---------

Co-authored-by: drewkaufmann <[email protected]>

* SqlDedicatedGateway DistributedQuery stable changes (#28747)

* Distributed Query changes

* Nits

* Fixed model validation

* More fixes

* Nits - review comments (#28957)

* Nits - Services.json (#29020)

* add sdk-suppressions.yaml (#29077)

---------

Co-authored-by: Andrew Khoma <[email protected]>
Co-authored-by: Andrew Khoma <[email protected]>
Co-authored-by: Guanzhou Song <[email protected]>
Co-authored-by: drewkaufmann <[email protected]>
Co-authored-by: Peng Jiahui <[email protected]>
Francisco-Gamino pushed a commit to Francisco-Gamino/azure-rest-api-specs that referenced this pull request Jun 5, 2024
)

* Adds base for updating Microsoft.DocumentDB from version stable/2023-11-15 to version 2024-05-15

* Updates readme

* Updates API version in new specs and examples

* Add mongo v5 and v6 to the swagger (Azure#28473)

Co-authored-by: Andrew Khoma <[email protected]>

* [CosmosDB-MICassandra] Added VPN feature properties to stable (Azure#28540)

* Added VPN feature properties

* Fixed SpellCheck violation and added arm-id format to privateLinkResourceId

* Added arm-id-details to privateLinkResourceId

---------

Co-authored-by: drewkaufmann <[email protected]>

* SqlDedicatedGateway DistributedQuery stable changes (Azure#28747)

* Distributed Query changes

* Nits

* Fixed model validation

* More fixes

* Nits - review comments (Azure#28957)

* Nits - Services.json (Azure#29020)

* add sdk-suppressions.yaml (Azure#29077)

---------

Co-authored-by: Andrew Khoma <[email protected]>
Co-authored-by: Andrew Khoma <[email protected]>
Co-authored-by: Guanzhou Song <[email protected]>
Co-authored-by: drewkaufmann <[email protected]>
Co-authored-by: Peng Jiahui <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARMReview BreakingChange-Go-Sdk resource-manager SuppressionReviewRequired WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants