This is the AutoRest configuration file for billingbenefits.
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 billingbenefits.
openapi-type: arm
tag: package-2022-11-01
directive:
- suppress: ProvisioningStateValidation
from: billingbenefits.json
where: $.definitions.ProvisioningState
reason: \'Cancelled\' state is used in the service which should be equivalent to in ARM's \'Canceled\' definition ProvisioningState property.
- suppress: PathForPutOperation
from: billingbenefits.json
reason: Subscription or resource group is passed in request body.
- suppress: PatchSkuProperty
from: billingbenefits.json
reason: \'Sku\' is not a supported property in savings plan patch operation
- suppress: AllResourcesMustHaveDelete
from: billingbenefits.json
reason: This service does not support deleting resources once created.
- suppress: TopLevelResourcesListBySubscription
from: billingbenefits.json
reason: Currently only list by tenant is supported.
- suppress: CreateOperationAsyncResponseValidation
from: billingbenefits.json
reason: According to ARM's guide 200 is returned when PUT call finishes.
- suppress: TrackedResourcePatchOperation
from: billingbenefits.json
These settings apply only when --tag=package-2022-11-01
is specified on the command line.
input-file:
- Microsoft.BillingBenefits/stable/2022-11-01/billingbenefits.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-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