This is the AutoRest configuration file for vmware.
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 vmware.
openapi-type: arm
openapi-subtype: rpaas
tag: package-2023-12
These settings apply only when --tag=package-2023-12
is specified on the command line.
input-file:
- Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/connectedvmware.json
These settings apply only when --tag=package-2023-10
is specified on the command line.
input-file:
- Microsoft.ConnectedVMwarevSphere/stable/2023-10-01/connectedvmware.json
suppressions:
- 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-preview-2023-03
is specified on the command line.
input-file:
- Microsoft.ConnectedVMwarevSphere/preview/2023-03-01-preview/connectedvmware.json
suppressions:
- code: LroPostReturn
reason: All POST actions are long running operations and never return 200 in the response.
where:
- $.paths["/{resourceUri}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineInstances/default/stop"].post
- $.paths["/{resourceUri}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineInstances/default/start"].post
- $.paths["/{resourceUri}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineInstances/default/restart"].post
- code: GetCollectionOnlyHasValueAndNextLink
reason: GET instance API for ARM extension resources are being flagged as Get Collection APIs.
where:
- $.paths["/{resourceUri}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineInstances/default"].get.responses["200"].schema.properties
- $.paths["/{resourceUri}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineInstances/default/hybridIdentityMetadata/default"].get.responses["200"].schema.properties
- $.paths["/{resourceUri}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineInstances/default/guestAgents/default"].get.responses["200"].schema.properties
- 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-10-01-preview
is specified on the command line.
input-file:
- Microsoft.ConnectedVMwarevSphere/preview/2020-10-01-preview/connectedvmware.json
These settings apply only when --tag=package-2022-01-10-preview
is specified on the command line.
input-file:
- Microsoft.ConnectedVMwarevSphere/preview/2022-01-10-preview/connectedvmware.json
These settings apply only when --tag=package-2022-07-15-preview
is specified on the command line.
input-file:
- Microsoft.ConnectedVMwarevSphere/preview/2022-07-15-preview/connectedvmware.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
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_connectedvmware']
- repo: azure-powershell
See configuration in readme.go.md
See configuration in readme.python.md
See configuration in readme.ruby.md
See configuration in readme.typescript.md
See configuration in readme.csharp.md