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-2025-03modelerfour:
flatten-models: falseThese settings apply only when --tag=package-2025-03 is specified on the command line.
input-file:
- Microsoft.ScVmm/stable/2025-03-13/scvmm.jsonThese settings apply only when --tag=package-2024-06 is specified on the command line.
input-file:
- Microsoft.ScVmm/stable/2024-06-01/scvmm.jsonThese settings apply only when --tag=package-2023-10 is specified on the command line.
input-file:
- Microsoft.ScVmm/stable/2023-10-07/scvmm.jsonThese 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.VirtualMachineInstanceThese 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.jsonThese 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.jsonThis 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
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-resource-manager-schemas
after_scripts:
- node sdkauto_afterscript.js scvmm/resource-managerSee configuration in readme.go.md
See configuration in readme.python.md
See configuration in readme.csharp.md