Skip to content

Latest commit

 

History

History
230 lines (159 loc) · 5.48 KB

File metadata and controls

230 lines (159 loc) · 5.48 KB

RecoveryServicesSiteRecovery

see https://aka.ms/autorest

This is the AutoRest configuration file for RecoveryServicesSiteRecovery.


Getting Started

To build the SDK for RecoveryServicesSiteRecovery, simply Install AutoRest and in this folder, run:

autorest

To see additional help and options, run:

autorest --help


Suppression

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.

Configuration

Basic Information

These are the global settings for the RecoveryServicesSiteRecovery API.

openapi-type: arm
tag: package-2022-01
directive:
  - where:
      - $.paths
    suppress:
      - UniqueResourcePaths

Tag: package-2022-01

These settings apply only when --tag=package-2022-01 is specified on the command line.

input-file:
  - Microsoft.RecoveryServices/stable/2022-01-01/service.json

Tag: package-2021-12

These settings apply only when --tag=package-2021-12 is specified on the command line.

input-file:
  - Microsoft.RecoveryServices/stable/2021-12-01/service.json

Tag: package-2021-11

These settings apply only when --tag=package-2021-11 is specified on the command line.

input-file:
  - Microsoft.RecoveryServices/stable/2021-11-01/service.json

Tag: package-2021-10

These settings apply only when --tag=package-2021-10 is specified on the command line.

input-file:
  - Microsoft.RecoveryServices/stable/2021-10-01/service.json

Tag: package-2021-08

These settings apply only when --tag=package-2021-08 is specified on the command line.

input-file:
  - Microsoft.RecoveryServices/stable/2021-08-01/service.json

Tag: package-2021-07

These settings apply only when --tag=package-2021-07 is specified on the command line.

input-file:
  - Microsoft.RecoveryServices/stable/2021-07-01/service.json

Tag: package-2021-06

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

Tag: package-2021-04

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

Tag: package-2021-03

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

Tag: package-2021-02

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

Tag: package-2018-07

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

Tag: package-2018-01

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

Tag: package-2016-08

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

Code Generation

Swagger to SDK

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-track2
  - repo: azure-sdk-for-java
  - repo: azure-sdk-for-go
  - repo: azure-sdk-for-go-track2
  - 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

C#

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

Go

See configuration in readme.go.md

Python

See configuration in readme.python.md

Java

See configuration in readme.java.md