This is the AutoRest configuration file for VMware Solution.
To build the SDK for VMware Solution, simply Install AutoRest and in this folder, run:
autorest
To see additional help and options, run:
autorest --help
These are the global settings for the VMware Solution API.
openapi-type: arm
tag: package-2020-07-17-preview
These settings apply only when --tag=package-2020-07-17-preview
is specified on the command line.
input-file:
- Microsoft.AVS/preview/2020-07-17-preview/vmware.json
directive:
- suppress: R3020
from: Microsoft.AVS/preview/2020-07-17-preview/vmware.json
reason: Microsoft.AVS was chosen over Microsoft.AzureVMwareSolution
- suppress: R3010
from: Microsoft.AVS/preview/2020-07-17-preview/vmware.json
reason: list by immediate parent operations are defined
- suppress: R3027
from: Microsoft.AVS/preview/2020-07-17-preview/vmware.json
reasons: the PrivateClouds_List operation is by resource group
- suppress: R3018
from: Microsoft.AVS/preview/2020-07-17-preview/vmware.json
where: $.definitions.Operation.properties.isDataAction
reason: standard property for Operation
- suppress: R3018
from: Microsoft.AVS/preview/2020-07-17-preview/vmware.json
where: $.definitions.MetricSpecification.properties.fillGapWithZero
reason: standard property for MetricSpecification
- suppress: R2001
from: Microsoft.AVS/preview/2020-07-17-preview/vmware.json
where: $.definitions.Operation.properties.properties
reason: x-ms-client-flatten not needed for Operation
- suppress: R4009
from: Microsoft.AVS/preview/2020-07-17-preview/vmware.json
reason: systemData will be in the next API version
These settings apply only when --tag=package-2020-03-20
is specified on the command line.
input-file:
- Microsoft.AVS/stable/2020-03-20/vmware.json
directive:
- suppress: R3020
from: Microsoft.AVS/stable/2020-03-20/vmware.json
reason: Microsoft.AVS was chosen over Microsoft.AzureVMwareSolution
- suppress: R3010
from: Microsoft.AVS/stable/2020-03-20/vmware.json
reason: list by immediate parent operations are defined
- suppress: R3027
from: Microsoft.AVS/stable/2020-03-20/vmware.json
reasons: the PrivateClouds_List operation is by resource group
- suppress: R3018
from: Microsoft.AVS/stable/2020-03-20/vmware.json
where: $.definitions.Operation.properties.isDataAction
reason: standard property for Operation
- suppress: R3018
from: Microsoft.AVS/stable/2020-03-20/vmware.json
where: $.definitions.MetricSpecification.properties.fillGapWithZero
reason: standard property for MetricSpecification
- suppress: R2001
from: Microsoft.AVS/stable/2020-03-20/vmware.json
where: $.definitions.Operation.properties.properties
reason: x-ms-client-flatten not needed for Operation
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-js
- repo: azure-sdk-for-python
- repo: azure-sdk-for-net
- repo: azure-sdk-for-go
- repo: azure-sdk-for-java
- repo: azure-resource-manager-schemas
after_scripts:
- node sdkauto_afterscript.js vmware/resource-manager
directive:
- suppress: SECRET_PROPERTY
from:
- Microsoft.AVS/preview/2020-07-17-preview/vmware.json
- Microsoft.AVS/stable/2020-03-20/vmware.json
where:
- $.definitions.AdminCredentials.properties.nsxtPassword
- $.definitions.AdminCredentials.properties.vcenterPassword
reason: Secrets are OK to return in a POST response.
See configuration in readme.typescript.md
See configuration in readme.python.md
See configuration in readme.csharp.md
See configuration in readme.go.md
See configuration in readme.java.md
See configuration in readme.azureresourceschema.md