Skip to content

Latest commit

 

History

History
130 lines (88 loc) · 2.9 KB

File metadata and controls

130 lines (88 loc) · 2.9 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

Configuration

Basic Information

These are the global settings for the RecoveryServicesSiteRecovery API.

openapi-type: arm
tag: package-2018-07

directive:
  - where:
      - $.paths
    suppress:
      - UniqueResourcePaths
	  

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
  - 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
    after_scripts:
      - node sdkauto_afterscript.js recoveryservicessiterecovery/resource-manager

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

Java

See configuration in readme.java.md

AzureResourceSchema

See configuration in readme.azureresourceschema.md