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

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

Conversation

guanzhousongmicrosoft
Copy link
Contributor

@guanzhousongmicrosoft guanzhousongmicrosoft commented Apr 1, 2024

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.

Note

As of January 2024 there is no PR assignee. This is expected. See https://aka.ms/azsdk/pr-arm-review.

PR review workflow diagram

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

diagram

Click here to see the details of Step 1, Breaking Changes review

If you are in purview of Step 1 of the diagram, follow the Breaking Changes review process.
IMPORTANT! This applies even if you believe your PR was mislabeled, for any reason, including tool failure.

Click here to see the details of Step 2, ARM review

See https://aka.ms/azsdk/pr-arm-review.

Click here to see the diagram footnotes

Diagram footnotes

[1] See ARM review queue (for PR merge queues, see [2]).
[2] public repo merge queue, private repo merge queue (for ARM review queue, [1])
The ARM reviewer on-call engineer visits the merge queue twice a day, so the approximate ETA for merges is 12 - 24 hours.

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 generated using OpenAPI Hub).
  • 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 PR workflow diagram Step 2 (ARM review), 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.

@guanzhousongmicrosoft guanzhousongmicrosoft marked this pull request as ready for review April 1, 2024 13:33
@pjohari-ms
Copy link
Member

/azp run

Copy link

openapi-pipeline-app bot commented Apr 16, 2024

Next Steps to Merge

✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge.

Copy link

openapi-pipeline-app bot commented Apr 16, 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.7) new version base version
managedCassandra.json 2024-05-15(32c52d5) 2023-11-15(main)
managedCassandra.json 2024-05-15(32c52d5) 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 'AutoRest.Swagger.Model.SwaggerParameter'.
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 'AutoRest.Swagger.Model.Schema'.
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 'AutoRest.Swagger.Model.SwaggerParameter'.
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 'AutoRest.Swagger.Model.SwaggerParameter'.
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 'AutoRest.Swagger.Model.SwaggerParameter'.
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 'AutoRest.Swagger.Model.SwaggerParameter'.
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 'AutoRest.Swagger.Model.SwaggerParameter'.
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 'AutoRest.Swagger.Model.SwaggerParameter'.
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 'AutoRest.Swagger.Model.SwaggerParameter'.
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 'AutoRest.Swagger.Model.SwaggerParameter'.
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 'AutoRest.Swagger.Model.SwaggerParameter'.
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 'AutoRest.Swagger.Model.SwaggerParameter'.
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 'AutoRest.Swagger.Model.SwaggerParameter'.
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 'AutoRest.Swagger.Model.SwaggerParameter'.
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 'AutoRest.Swagger.Model.SwaggerParameter'.
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 'AutoRest.Swagger.Model.SwaggerParameter'.
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 'AutoRest.Swagger.Model.SwaggerParameter'.
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.0) new version base version
package-2024-05 package-2024-05(32c52d5) 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 Apr 16, 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 5b368ea485fe0573ad57c6e6663f22dc8e67bd9a. SDK Automation 14.0.0
    command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
    cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
    command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
    cmderr	[automation_generate.sh]
    cmderr	[automation_generate.sh]  New patch version of npm available! 10.5.0 -> 10.5.2
    cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.2>
    cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[automation_generate.sh] npm notice
  • ️✔️azure-mgmt-cosmosdb [Preview SDK Changes]
    • azure-mgmt-cosmosdb-0.7.0.zip
    • azure_mgmt_cosmosdb-0.7.0-py3-none-any.whl
    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
️❌ azure-sdk-for-net-track2 failed [Detail]
  • Failed in generating from 5b368ea485fe0573ad57c6e6663f22dc8e67bd9a. 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 warning [Detail]
  • ⚠️Warning in generating from 5b368ea485fe0573ad57c6e6663f22dc8e67bd9a. 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
    cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 24.0
    cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
    cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 24.0
    cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
    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 5b368ea485fe0573ad57c6e6663f22dc8e67bd9a. 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]
    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 field `AzureConnectionMethod`, `PrivateLinkResourceID` in struct `ClusterResourceProperties`
    info	[Changelog] - New field `PrivateEndpointIPAddress` in struct `DataCenterResourceProperties`
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 7 additive change(s).
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from 5b368ea485fe0573ad57c6e6663f22dc8e67bd9a. 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 [Preview SDK Changes]
    • azure-arm-cosmosdb-15.7.0.tgz
    info	[Changelog] **Features**
    info	[Changelog]
    info	[Changelog]   - Added Type Alias AzureConnectionType
    info	[Changelog]   - Interface ClusterResourceProperties has a new optional parameter azureConnectionMethod
    info	[Changelog]   - Interface ClusterResourceProperties has a new optional parameter privateLinkResourceId
    info	[Changelog]   - Interface DataCenterResourceProperties has a new optional parameter privateEndpointIpAddress
    info	[Changelog]   - Added Enum KnownAzureConnectionType
    info	[Changelog]   - Enum KnownServerVersion has a new value Five0
    info	[Changelog]   - Enum KnownServerVersion has a new value Six0
️⚠️ azure-resource-manager-schemas warning [Detail]
  • ⚠️Warning in generating from 5b368ea485fe0573ad57c6e6663f22dc8e67bd9a. 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 patch version of npm available! 10.5.0 -> 10.5.2
    cmderr	[initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.2>
    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 [Preview Schema Changes]
️⚠️ azure-powershell warning [Detail]
  • ⚠️Warning in generating from 5b368ea485fe0573ad57c6e6663f22dc8e67bd9a. 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

Azure Pipelines successfully started running 4 pipeline(s).

"privateLinkResourceId": {
"type": "string",
"readOnly": true,
"description": "If the Connection Method is Vpn, this is the Id of the private link resource that the datacenters need to connect to."
}

Choose a reason for hiding this comment

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

Choose a reason for hiding this comment

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

dont you need to include the allowed resources to restrict it to privae links ?

Copy link
Member

Choose a reason for hiding this comment

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

@guanzhousongmicrosoft @DrewKaufmann can you take a look at this suggestion as well?

Copy link
Member

Choose a reason for hiding this comment

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

Added by @DrewKaufmann. Resolving conversation.

@raosuhas raosuhas added the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Apr 16, 2024
Copy link

Please address or respond to feedback from the ARM API reviewer.
When you are ready to continue the ARM API review, please remove the ARMChangesRequested label.
This will notify the reviewer to have another look.
If the feedback provided needs further discussion, please use this Teams channel to post your questions - aka.ms/azsdk/support/specreview-channel.
Please include [ARM Query] in the title of your question to indicate that it is ARM-related.

@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 Apr 16, 2024
@pjohari-ms pjohari-ms removed the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Apr 17, 2024
@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 Apr 17, 2024
@raosuhas raosuhas added the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Apr 17, 2024
@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 Apr 17, 2024
@pjohari-ms
Copy link
Member

@raosuhas Your comment is resolved. Not sure if we need to do anything else? The gates are passing as well.

@pjohari-ms pjohari-ms removed the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Apr 18, 2024
@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 Apr 18, 2024
@raosuhas
Copy link

@raosuhas Your comment is resolved. Not sure if we need to do anything else? The gates are passing as well.

Its not fully resolved yet :

image

@raosuhas raosuhas added the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Apr 18, 2024
@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 Apr 18, 2024
@pjohari-ms pjohari-ms removed the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Apr 19, 2024
@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 Apr 19, 2024
@raosuhas raosuhas added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Apr 19, 2024
@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 Apr 19, 2024
@pjohari-ms pjohari-ms merged commit d11a274 into Azure:release-cosmos-db-Microsoft.DocumentDB-2024-05-15 Apr 23, 2024
28 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 ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review resource-manager
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants