This is the AutoRest configuration file for scvmm.
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.
These are the global settings for the scvmm.
openapi-type: arm
openapi-subtype: rpaas
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
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
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
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
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
See configuration in readme.go.md
See configuration in readme.python.md
See configuration in readme.typescript.md
See configuration in readme.csharp.md