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

RecoveryServices Swagger PR for api-Version: 2024-04-01 #28597

Merged

Conversation

ankur741999
Copy link
Contributor

@ankur741999 ankur741999 commented Apr 5, 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.

Copy link

openapi-pipeline-app bot commented Apr 5, 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 5, 2024

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️Breaking Change(Cross-Version): 8 Warnings warning [Detail]
Compared specs (v0.10.7) new version base version
registeredidentities.json 2024-04-01(35ebfaa) 2024-02-01(main)
registeredidentities.json 2024-04-01(35ebfaa) 2022-09-30-preview(main)
replicationusages.json 2024-04-01(35ebfaa) 2024-02-01(main)
replicationusages.json 2024-04-01(35ebfaa) 2022-09-30-preview(main)
vaults.json 2024-04-01(35ebfaa) 2024-02-01(main)
vaults.json 2024-04-01(35ebfaa) 2022-09-30-preview(main)
vaultusages.json 2024-04-01(35ebfaa) 2024-02-01(main)
vaultusages.json 2024-04-01(35ebfaa) 2022-09-30-preview(main)

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

Rule Message
⚠️ 1011 - AddingResponseCode The new version adds a response code '202'.
New: Microsoft.RecoveryServices/stable/2024-04-01/vaults.json#L529:11
⚠️ 1011 - AddingResponseCode The new version adds a response code '204'.
New: Microsoft.RecoveryServices/stable/2024-04-01/vaults.json#L537:11
⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Microsoft.RecoveryServices/stable/2024-04-01/vaults.json#L542:13
Old: Microsoft.RecoveryServices/preview/2022-09-30-preview/vaults.json#L523:13
⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: common-types/resource-management/v3/types.json#L305:9
Old: Microsoft.RecoveryServices/preview/2022-09-30-preview/vaults.json#L2019:9
⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: common-types/resource-management/v3/types.json#L280:11
Old: Microsoft.RecoveryServices/preview/2022-09-30-preview/vaults.json#L2044:11
⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'true' to 'false'.
New: Microsoft.RecoveryServices/stable/2024-04-01/vaults.json#L1830:13
Old: Microsoft.RecoveryServices/preview/2022-09-30-preview/vaults.json#L1678:13
⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'true' to 'false'.
New: Microsoft.RecoveryServices/stable/2024-04-01/vaults.json#L1844:13
Old: Microsoft.RecoveryServices/preview/2022-09-30-preview/vaults.json#L1692:13
⚠️ 1044 - XmsLongRunningOperationChanged The new version has a different 'x-ms-longrunning-operation' value than the previous one.
New: Microsoft.RecoveryServices/stable/2024-04-01/vaults.json#L505:7
Old: Microsoft.RecoveryServices/preview/2022-09-30-preview/vaults.json#L494:7
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️LintDiff: 2 Warnings warning [Detail]
Compared specs (v2.2.0) new version base version
package-2024-04 package-2024-04(35ebfaa) default(main)

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

Rule Message Related RPC [For API reviewers]
⚠️ ParameterDescription Parameter should have a description.
Location: Microsoft.RecoveryServices/stable/2024-04-01/vaults.json#L456
⚠️ ParameterDescription Parameter should have a description.
Location: Microsoft.RecoveryServices/stable/2024-04-01/vaults.json#L589


The following errors/warnings exist before current PR submission:

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

Rule Message
ImplementPrivateEndpointAPIs The private endpoint API: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName} is missing.
Location: Microsoft.RecoveryServices/stable/2024-04-01/registeredidentities.json#L20
ImplementPrivateEndpointAPIs The private endpoint API: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateEndpointConnections is missing.
Location: Microsoft.RecoveryServices/stable/2024-04-01/registeredidentities.json#L20
PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/certificates/{certificateName}'
Location: Microsoft.RecoveryServices/stable/2024-04-01/registeredidentities.json#L21
ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
Location: Microsoft.RecoveryServices/stable/2024-04-01/registeredidentities.json#L21
ResourceNameRestriction The resource name parameter 'certificateName' should be defined with a 'pattern' restriction.
Location: Microsoft.RecoveryServices/stable/2024-04-01/registeredidentities.json#L21
SubscriptionsAndResourceGroupCasing The path segment Subscriptions should be subscriptions.
Location: Microsoft.RecoveryServices/stable/2024-04-01/registeredidentities.json#L21
PutRequestResponseSchemeArm A PUT operation request body schema should be the same as its 200 response schema, to allow reusing the same entity between GET and PUT. If the schema of the PUT request body is a superset of the GET response body, make sure you have a PATCH operation to make the resource updatable. Operation: 'VaultCertificates_Create' Request Model: 'parameters[5].schema' Response Model: 'responses[200].schema'
Location: Microsoft.RecoveryServices/stable/2024-04-01/registeredidentities.json#L22
PutResponseCodes Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes.
Location: Microsoft.RecoveryServices/stable/2024-04-01/registeredidentities.json#L22
RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
Location: Microsoft.RecoveryServices/stable/2024-04-01/registeredidentities.json#L64
PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/registeredIdentities/{identityName}'
Location: Microsoft.RecoveryServices/stable/2024-04-01/registeredidentities.json#L80
ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
Location: Microsoft.RecoveryServices/stable/2024-04-01/registeredidentities.json#L80
ResourceNameRestriction The resource name parameter 'identityName' should be defined with a 'pattern' restriction.
Location: Microsoft.RecoveryServices/stable/2024-04-01/registeredidentities.json#L80
SubscriptionsAndResourceGroupCasing The path segment Subscriptions should be subscriptions.
Location: Microsoft.RecoveryServices/stable/2024-04-01/registeredidentities.json#L80
DeleteResponseCodes Synchronous delete operations must have responses with 200, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.RecoveryServices/stable/2024-04-01/registeredidentities.json#L81
DeleteOperationResponses The delete operation is defined without a 200 or 204 error response implementation,please add it.'
Location: Microsoft.RecoveryServices/stable/2024-04-01/registeredidentities.json#L108
RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
Location: Microsoft.RecoveryServices/stable/2024-04-01/registeredidentities.json#L108
NestedResourcesMustHaveListOperation The nested resource 'VaultCertificateResponse' does not have list operation, please add it.
Location: Microsoft.RecoveryServices/stable/2024-04-01/registeredidentities.json#L300
XmsParameterLocation The parameter 'SubscriptionId' is defined in global parameters section without 'x-ms-parameter-location' extension. This would add the parameter as the client property. Please ensure that this is exactly you want. If so, apply the extension 'x-ms-parameter-location': 'client'. Else, apply the extension 'x-ms-parameter-location': 'method'.
Location: Microsoft.RecoveryServices/stable/2024-04-01/registeredidentities.json#L327
XmsParameterLocation The parameter 'ApiVersion' is defined in global parameters section without 'x-ms-parameter-location' extension. This would add the parameter as the client property. Please ensure that this is exactly you want. If so, apply the extension 'x-ms-parameter-location': 'client'. Else, apply the extension 'x-ms-parameter-location': 'method'.
Location: Microsoft.RecoveryServices/stable/2024-04-01/registeredidentities.json#L350
PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/replicationUsages'
Location: Microsoft.RecoveryServices/stable/2024-04-01/replicationusages.json#L21
ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
Location: Microsoft.RecoveryServices/stable/2024-04-01/replicationusages.json#L21
SubscriptionsAndResourceGroupCasing The path segment Subscriptions should be subscriptions.
Location: Microsoft.RecoveryServices/stable/2024-04-01/replicationusages.json#L21
RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
Location: Microsoft.RecoveryServices/stable/2024-04-01/replicationusages.json#L45
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.RecoveryServices/stable/2024-04-01/replicationusages.json#L48
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: Microsoft.RecoveryServices/stable/2024-04-01/replicationusages.json#L70
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: Microsoft.RecoveryServices/stable/2024-04-01/replicationusages.json#L74
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: Microsoft.RecoveryServices/stable/2024-04-01/replicationusages.json#L78
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: Microsoft.RecoveryServices/stable/2024-04-01/replicationusages.json#L88
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: Microsoft.RecoveryServices/stable/2024-04-01/replicationusages.json#L92
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: Microsoft.RecoveryServices/stable/2024-04-01/replicationusages.json#L96
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️❌SwaggerAPIView: 0 Errors, 0 Warnings failed [Detail]
️️✔️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.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️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 5, 2024

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]
 Please click here to preview with your @microsoft account. 
️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from 544da951117f1a66e6d743ececd096de17949dec. 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
  • ️✔️Azure.ResourceManager.RecoveryServices [Preview SDK Changes] Breaking Change Detected
    • Azure.ResourceManager.RecoveryServices.1.2.0-alpha.20240416.1.nupkg
    info	[Changelog] Breaking Changes: /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : MembersMustExist : Member 'public Azure.ResourceManager.ArmOperation<Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource> Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource.Update(Azure.WaitUntil, Azure.ResourceManager.RecoveryServices.Models.RecoveryServicesVaultPatch, System.Threading.CancellationToken)' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Azure.ResourceManager.RecoveryServices.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : MembersMustExist : Member 'public System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource>> Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource.UpdateAsync(Azure.WaitUntil, Azure.ResourceManager.RecoveryServices.Models.RecoveryServicesVaultPatch, System.Threading.CancellationToken)' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Azure.ResourceManager.RecoveryServices.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : MembersMustExist : Member 'public Azure.ResourceManager.RecoveryServices.Models.VaultPropertiesRedundancySettings Azure.ResourceManager.RecoveryServices.Models.ArmRecoveryServicesModelFactory.VaultPropertiesRedundancySettings(System.Nullable<Azure.ResourceManager.RecoveryServices.Models.StandardTierStorageRedundancy>, System.Nullable<Azure.ResourceManager.RecoveryServices.Models.CrossRegionRestore>)' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Azure.ResourceManager.RecoveryServices.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : MembersMustExist : Member 'public System.Nullable<Azure.ResourceManager.RecoveryServices.Models.RecoveryServicesAlertsState> Azure.ResourceManager.RecoveryServices.Models.VaultMonitoringSettings.AzureMonitorAlertAlertsForAllJobFailures.get()' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Azure.ResourceManager.RecoveryServices.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : MembersMustExist : Member 'public void Azure.ResourceManager.RecoveryServices.Models.VaultMonitoringSettings.AzureMonitorAlertAlertsForAllJobFailures.set(System.Nullable<Azure.ResourceManager.RecoveryServices.Models.RecoveryServicesAlertsState>)' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Azure.ResourceManager.RecoveryServices.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : MembersMustExist : Member 'public System.Nullable<Azure.ResourceManager.RecoveryServices.Models.RecoveryServicesAlertsState> Azure.ResourceManager.RecoveryServices.Models.VaultMonitoringSettings.ClassicAlertAlertsForCriticalOperations.get()' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Azure.ResourceManager.RecoveryServices.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(82,5): error : MembersMustExist : Member 'public void Azure.ResourceManager.RecoveryServices.Models.VaultMonitoringSettings.ClassicAlertAlertsForCriticalOperations.set(System.Nullable<Azure.ResourceManager.RecoveryServices.Models.RecoveryServicesAlertsState>)' does not exist in the implementation but it does exist in the contract. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Azure.ResourceManager.RecoveryServices.csproj::TargetFramework=netstandard2.0],
    info	[Changelog] /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.RecoveryServices/Debug/netstandard2.0/Azure.ResourceManager.RecoveryServices.dll' [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Azure.ResourceManager.RecoveryServices.csproj::TargetFramework=netstandard2.0]
    Please refer to https://aka.ms/azsdk/sdk-suppression for more information.
️⚠️ azure-sdk-for-python warning [Detail]
  • ⚠️Warning in generating from 544da951117f1a66e6d743ececd096de17949dec. 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 npm@10.5.2` to update!
    cmderr	[automation_generate.sh] npm notice
  • ️✔️azure-mgmt-recoveryservices [Preview SDK Changes] Breaking Change Detected
    • azure-mgmt-recoveryservices-1.0.0b1.zip
    • azure_mgmt_recoveryservices-1.0.0b1-py3-none-any.whl
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog]   - Model AzureMonitorAlertSettings has a new parameter alerts_for_all_failover_issues
    info	[Changelog]   - Model AzureMonitorAlertSettings has a new parameter alerts_for_all_replication_issues
    info	[Changelog]   - Model ClassicAlertSettings has a new parameter email_notifications_for_site_recovery
    info	[Changelog]   - Model SoftDeleteSettings has a new parameter enhanced_security_state
    info	[Changelog]   - Model VaultProperties has a new parameter bcdr_security_level
    info	[Changelog]   - Model VaultProperties has a new parameter resource_guard_operation_requests
    info	[Changelog]   - Operation VaultsOperations.begin_create_or_update has a new optional parameter x_ms_authorization_auxiliary
    info	[Changelog]   - Operation VaultsOperations.begin_update has a new optional parameter x_ms_authorization_auxiliary
    info	[Changelog]
    info	[Changelog] ### Breaking Changes
    info	[Changelog]
    info	[Changelog]   - Renamed operation VaultsOperations.delete to VaultsOperations.begin_delete
    Present SDK breaking changes suppressions
    Renamed operation VaultsOperations.delete to VaultsOperations.begin_delete
    Please refer to https://aka.ms/azsdk/sdk-suppression for more information.
️⚠️ azure-sdk-for-java warning [Detail]
  • ⚠️Warning in generating from 544da951117f1a66e6d743ececd096de17949dec. 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-recoveryservices [Preview SDK Changes]
    • pom.xml
    • azure-resourcemanager-recoveryservices-1.3.0-beta.1-sources.jar
    • azure-resourcemanager-recoveryservices-1.3.0-beta.1.jar
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from 544da951117f1a66e6d743ececd096de17949dec. 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/recoveryservices/armrecoveryservices [Preview SDK Changes] Breaking Change Detected
    info	[Changelog] ### Breaking Changes
    info	[Changelog]
    info	[Changelog] - Operation `*VaultsClient.Delete` has been changed to LRO, use `*VaultsClient.BeginDelete` instead.
    info	[Changelog]
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog] - New value `StandardTierStorageRedundancyInvalid` added to enum type `StandardTierStorageRedundancy`
    info	[Changelog] - New enum type `BCDRSecurityLevel` with values `BCDRSecurityLevelExcellent`, `BCDRSecurityLevelFair`, `BCDRSecurityLevelGood`, `BCDRSecurityLevelPoor`
    info	[Changelog] - New enum type `EnhancedSecurityState` with values `EnhancedSecurityStateAlwaysON`, `EnhancedSecurityStateDisabled`, `EnhancedSecurityStateEnabled`, `EnhancedSecurityStateInvalid`
    info	[Changelog] - New struct `ErrorDetail`
    info	[Changelog] - New struct `ErrorResponse`
    info	[Changelog] - New field `AlertsForAllFailoverIssues`, `AlertsForAllReplicationIssues` in struct `AzureMonitorAlertSettings`
    info	[Changelog] - New field `EmailNotificationsForSiteRecovery` in struct `ClassicAlertSettings`
    info	[Changelog] - New field `EnhancedSecurityState` in struct `SoftDeleteSettings`
    info	[Changelog] - New field `BcdrSecurityLevel`, `ResourceGuardOperationRequests` in struct `VaultProperties`
    info	[Changelog] - New field `XMSAuthorizationAuxiliary` in struct `VaultsClientBeginCreateOrUpdateOptions`
    info	[Changelog] - New field `XMSAuthorizationAuxiliary` in struct `VaultsClientBeginUpdateOptions`
    info	[Changelog]
    info	[Changelog] Total 1 breaking change(s), 21 additive change(s).
    Present SDK breaking changes suppressions
    Operation `*VaultsClient.Delete` has been changed to LRO, use `*VaultsClient.BeginDelete` instead.
    Please refer to https://aka.ms/azsdk/sdk-suppression for more information.
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from 544da951117f1a66e6d743ececd096de17949dec. 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-recoveryservices [Preview SDK Changes] Breaking Change Detected
    • azure-arm-recoveryservices-6.0.0.tgz
    info	[Changelog] **Features**
    info	[Changelog]
    info	[Changelog]   - Added operation Vaults.beginDelete
    info	[Changelog]   - Added operation Vaults.beginDeleteAndWait
    info	[Changelog]   - Added Interface ErrorDetail
    info	[Changelog]   - Added Interface ErrorResponse
    info	[Changelog]   - Added Interface VaultsDeleteHeaders
    info	[Changelog]   - Added Type Alias BcdrSecurityLevel
    info	[Changelog]   - Added Type Alias EnhancedSecurityState
    info	[Changelog]   - Added Type Alias VaultsDeleteResponse
    info	[Changelog]   - Interface AzureMonitorAlertSettings has a new optional parameter alertsForAllFailoverIssues
    info	[Changelog]   - Interface AzureMonitorAlertSettings has a new optional parameter alertsForAllReplicationIssues
    info	[Changelog]   - Interface ClassicAlertSettings has a new optional parameter emailNotificationsForSiteRecovery
    info	[Changelog]   - Interface SoftDeleteSettings has a new optional parameter enhancedSecurityState
    info	[Changelog]   - Interface VaultProperties has a new optional parameter bcdrSecurityLevel
    info	[Changelog]   - Interface VaultProperties has a new optional parameter resourceGuardOperationRequests
    info	[Changelog]   - Interface VaultsCreateOrUpdateOptionalParams has a new optional parameter xMsAuthorizationAuxiliary
    info	[Changelog]   - Interface VaultsDeleteOptionalParams has a new optional parameter resumeFrom
    info	[Changelog]   - Interface VaultsDeleteOptionalParams has a new optional parameter updateIntervalInMs
    info	[Changelog]   - Interface VaultsUpdateOptionalParams has a new optional parameter xMsAuthorizationAuxiliary
    info	[Changelog]   - Added Enum KnownBcdrSecurityLevel
    info	[Changelog]   - Added Enum KnownEnhancedSecurityState
    info	[Changelog]   - Enum KnownStandardTierStorageRedundancy has a new value Invalid
    info	[Changelog]
    info	[Changelog] **Breaking Changes**
    info	[Changelog]
    info	[Changelog]   - Removed operation Vaults.delete
    Present SDK breaking changes suppressions
    Removed operation Vaults.delete
    Please refer to https://aka.ms/azsdk/sdk-suppression for more information.
️⚠️ azure-resource-manager-schemas warning [Detail]
  • ⚠️Warning in generating from 544da951117f1a66e6d743ececd096de17949dec. 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]  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 npm@10.5.2` 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
  • ️✔️recoveryservices [Preview Schema Changes]
️️✔️ azure-powershell succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from 544da951117f1a66e6d743ececd096de17949dec. 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.recoveryservices.DefaultTag [Preview SDK Changes]
    • Az.RecoveryServices.0.1.0.nupkg
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Apr 5, 2024

Generated ApiView

Language Package Name ApiView Link
Go sdk/resourcemanager/recoveryservices/armrecoveryservices https://apiview.dev/Assemblies/Review/002d4025b23b4299a8d5ac660d16826d?revisionId=42ef5deba19c4f19bfe0a1f609fbc175
Java azure-resourcemanager-recoveryservices https://apiview.dev/Assemblies/Review/a1abc0f600d74935b7603cd6bc16db28?revisionId=5b426a354001476e920a1de98fbd5f2c
.Net Azure.ResourceManager.RecoveryServices https://apiview.dev/Assemblies/Review/f173f6364fc040c69cc0fc9dc95599fd?revisionId=b4653baa399b4093b0a7213ecb1c6d88
JavaScript @azure/arm-recoveryservices https://apiview.dev/Assemblies/Review/3e738940c1d74615b2651ff7b41932b2?revisionId=4583e8d8760a4afc937b8cedf43f7857
Swagger Microsoft.RecoveryServices Create ApiView failed. To get help, please see [aka.ms/azsdk/pr-getting-help](https://aka.ms/azsdk/pr-getting-help).

@AzureRestAPISpecReview AzureRestAPISpecReview added ARMReview new-api-version resource-manager WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Apr 5, 2024
@AzureRestAPISpecReview AzureRestAPISpecReview added ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Apr 5, 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.

"modelAsString": true
}
},
"resourceGuardOperationRequests": {
Copy link
Member

@rkmanda rkmanda Apr 5, 2024

Choose a reason for hiding this comment

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

"resourceGuardOperationRequests": {

pl add a description #Closed

"resourceGuardOperationRequests": {
"type": "array",
"items": {
"type": "string"
Copy link
Member

@rkmanda rkmanda Apr 5, 2024

Choose a reason for hiding this comment

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

"type": "string"

apply format: arm-id #WontFix

Copy link
Member

Choose a reason for hiding this comment

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

This is of the format armid followed by a suffix

Copy link
Member

@rkmanda rkmanda left a comment

Choose a reason for hiding this comment

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

:shipit:

@rkmanda rkmanda added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Apr 5, 2024
@openapi-workflow-bot openapi-workflow-bot bot removed the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Apr 5, 2024
@JackTn
Copy link
Member

JackTn commented Apr 11, 2024

/azp run

Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@JackTn
Copy link
Member

JackTn commented Apr 15, 2024

/azp run

Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@hiaga hiaga force-pushed the ankur741999-recoveryservices-Microsoft.RecoveryServices-2024-04-01 branch from 2683bda to 35ebfaa Compare April 16, 2024 14:18
@hiaga
Copy link
Member

hiaga commented Apr 16, 2024

/pr RequestMerge

@AzureRestAPISpecReview AzureRestAPISpecReview added the ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test label Apr 16, 2024
@raosuhas raosuhas merged commit b38632b into main Apr 16, 2024
31 of 32 checks passed
@raosuhas raosuhas deleted the ankur741999-recoveryservices-Microsoft.RecoveryServices-2024-04-01 branch April 16, 2024 16:18
tjprescott pushed a commit that referenced this pull request Apr 17, 2024
* Adds base for updating Microsoft.RecoveryServices from version stable/2024-02-01 to version 2024-04-01

* Updates readme

* Updates API version in new specs and examples

* Added MUA changes

* Added optional headers for critical operations

* Create sdk-suppressions.yaml

* Added Description and fixed the params ordering

* Fixed typo

* azure-sdk-for-go suppression

* Update sdk-suppressions.yaml

* edit suppression file

* added example reference

---------

Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
Co-authored-by: Alancere <804873052@qq.com>
Co-authored-by: kazrael2119 <98569699+kazrael2119@users.noreply.github.com>
Co-authored-by: v-tianxi <v-tianxi@microsoft.com>
Co-authored-by: Himanshu Agarwal <hiaga@microsoft.com>
wiboris pushed a commit to wiboris/azure-rest-api-specs that referenced this pull request May 7, 2024
* Adds base for updating Microsoft.RecoveryServices from version stable/2024-02-01 to version 2024-04-01

* Updates readme

* Updates API version in new specs and examples

* Added MUA changes

* Added optional headers for critical operations

* Create sdk-suppressions.yaml

* Added Description and fixed the params ordering

* Fixed typo

* azure-sdk-for-go suppression

* Update sdk-suppressions.yaml

* edit suppression file

* added example reference

---------

Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
Co-authored-by: Alancere <804873052@qq.com>
Co-authored-by: kazrael2119 <98569699+kazrael2119@users.noreply.github.com>
Co-authored-by: v-tianxi <v-tianxi@microsoft.com>
Co-authored-by: Himanshu Agarwal <hiaga@microsoft.com>
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.