Skip to content

Latest commit

 

History

History
116 lines (77 loc) · 2.97 KB

File metadata and controls

116 lines (77 loc) · 2.97 KB

scvmm

see https://aka.ms/autorest

This is the AutoRest configuration file for scvmm.

Getting Started

To build the SDKs for My API, simply install AutoRest via npm (npm install -g autorest) and then run:

autorest readme.md

To see additional help and options, run:

autorest --help

For other options on installation see Installing AutoRest on the AutoRest github page.


Configuration

Basic Information

These are the global settings for the scvmm.

openapi-type: arm
openapi-subtype: rpaas
tag: package-2023-10

Tag: package-2023-10

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

input-file:
  - Microsoft.ScVmm/stable/2023-10-07/scvmm.json

Tag: package-preview-2023-04

These settings apply only when --tag=package-preview-2023-04 is specified on the command line.

input-file:
  - Microsoft.ScVmm/preview/2023-04-01-preview/scvmm.json
suppressions:
  - code: ArmResourcePropertiesBag
    reason: MachineExtensionProperties is not patched our RP, it is patched by the Hybrid Compute RP. This is on a depreciation path anyways. VirtualMachines/* RTs will be removed from the next API version, we would be using VirtualMachineInstances/* instead.
    where:
        - $.definition.MachineExtensionProperties

  - code:  TopLevelResourcesListBySubscription
    reason: VirtualMachineInstance resource is an ARM extension resource and does not support List by subscription API.  
    where:
      - $.definitions.VirtualMachineInstance

Tag: package-2020-06-05-preview

These settings apply only when --tag=package-2020-06-05-preview is specified on the command line.

input-file:
  - Microsoft.ScVmm/preview/2020-06-05-preview/scvmm.json

Tag: package-2022-05-21-preview

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

input-file:
  - Microsoft.ScVmm/preview/2022-05-21-preview/scvmm.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-python-track2
  - repo: azure-sdk-for-java
  - repo: azure-sdk-for-go
  - repo: azure-sdk-for-js
  - repo: azure-sdk-for-net
    after_scripts:
      - bundle install && rake arm:regen_all_profiles['azure_mgmt_scvmm']
  - repo: azure-resource-manager-schemas
    after_scripts:
      - node sdkauto_afterscript.js scvmm/resource-manager

Go

See configuration in readme.go.md

Python

See configuration in readme.python.md

TypeScript

See configuration in readme.typescript.md

CSharp

See configuration in readme.csharp.md