This is the AutoRest configuration file for RecoveryServicesSiteRecovery.
To build the SDK for RecoveryServicesSiteRecovery, simply Install AutoRest and in this folder, run:
autorest
To see additional help and options, run:
autorest --help
directive:
- from: service.json
suppress: OAV131
reason: Testing purpose.
- from: service.json
suppress: R4010
reason: Testing purpose
- from: service.json
suppress:
- R4009
reason: suppressing system data for 2021-02-10
- from: service.json
suppress:
- R4010
reason: suppressing default error response as ASR is an old service and implements error response in a different format.
- from: service.json
suppress:
- R4011
reason: service implements 204 for delete and DeleteOperationResponses error was falsely raised.
These are the global settings for the RecoveryServicesSiteRecovery API.
openapi-type: arm
tag: package-2021-06
directive:
- where:
- $.paths
suppress:
- UniqueResourcePaths
These settings apply only when --tag=package-2021-06
is specified on the command line.
input-file:
- Microsoft.RecoveryServices/stable/2021-06-01/service.json
These settings apply only when --tag=package-2021-04
is specified on the command line.
input-file:
- Microsoft.RecoveryServices/stable/2021-04-01/service.json
These settings apply only when --tag=package-2021-03
is specified on the command line.
input-file:
- Microsoft.RecoveryServices/stable/2021-03-01/service.json
These settings apply only when --tag=package-2021-02
is specified on the command line.
input-file:
- Microsoft.RecoveryServices/stable/2021-02-10/service.json
These settings apply only when --tag=package-2018-07
is specified on the command line.
input-file:
- Microsoft.RecoveryServices/stable/2018-07-10/service.json
These settings apply only when --tag=package-2018-01
is specified on the command line.
input-file:
- Microsoft.RecoveryServices/stable/2018-01-10/service.json
These settings apply only when --tag=package-2016-08
is specified on the command line.
input-file:
- Microsoft.RecoveryServices/stable/2016-08-10/service.json
This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_recovery_services_site_recovery']
- repo: azure-resource-manager-schemas
These settings apply only when --csharp
is specified on the command line.
Please also specify --csharp-sdks-folder=<path to "SDKs" directory of your azure-sdk-for-net clone>
.
csharp:
azure-arm: true
payload-flattening-threshold: 0
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Management.RecoveryServices.SiteRecovery
output-folder: $(csharp-sdks-folder)/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated
clear-output-folder: true
See configuration in readme.go.md
See configuration in readme.java.md