This is the AutoRest configuration file for azurefleet.
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 computefleet.
openapi-type: arm
tag: package-2024-11-01
suppressions:
- code: PatchBodyParametersSchema
from: azurefleet.json
reason: Suppress Patch rule as properties are defined by Compute RP and cannot be changed in AzureFleet.
- code: AvoidAdditionalProperties
from: azurefleet.json
where:
- $.definitions.VirtualMachineExtensionProperties.properties.protectedSettings
- $.definitions.VirtualMachineExtensionProperties.properties.settings
- $.definitions.VirtualMachineScaleSetExtensionProperties.properties.protectedSettings
- $.definitions.VirtualMachineScaleSetExtensionProperties.properties.settings
reason: Property "settings" and "protectedSettings" for VirtualMachineExtension
and VirtualMachineScaleSetExtensionProperties were previously defined like an empty object.
- code: DefinitionsPropertiesNamesCamelCase
from: azurefleet.json
where:
- $.definitions.VirtualMachineScaleSetDataDisk.properties.diskIOPSReadWrite
- $.definitions.AdditionalCapabilities.properties.ultraSSDEnabled
reason: Property "diskIOPSReadWrite" does not follow Camel Case and can't be changed as it is being
defined previously in Microsoft.Compute like this. ultraSSDEnabled - SSD doesn't follow camel case.
These settings apply only when --tag=package-preview-2023-11
is specified on the command line.
input-file:
- Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json
These settings apply only when --tag=package-preview-2024-05
is specified on the command line.
input-file:
- Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json
These settings apply only when --tag=package-2024-11-01
is specified on the command line.
input-file:
- Microsoft.AzureFleet/stable/2024-11-01/azurefleet.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-net-track2
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-resource-manager-schemas
- repo: azure-cli-extensions
- repo: azure-powershell
See configuration in readme.az.md
See configuration in readme.go.md
See configuration in readme.python.md
See configuration in readme.typescript.md
See configuration in readme.csharp.md
See configuration in readme.java.md