This is the AutoRest configuration file for Quota RP.
To build the SDK for Quota, 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 Quota API.
openapi-type: arm
tag: package-2024-10-15-preview
modelerfour:
flatten-models: false
These settings apply only when --tag=package-2024-10-15-preview
is specified on the command line.
input-file:
- Microsoft.Quota/preview/2024-10-15-preview/groupquota.json
- Microsoft.Quota/preview/2024-10-15-preview/quota.json
These settings apply only when --tag=package-2023-06-01-preview
is specified on the command line.
input-file:
- Microsoft.Quota/preview/2023-06-01-preview/groupquota.json
- Microsoft.Quota/preview/2023-06-01-preview/quota.json
These settings apply only when --tag=package-2023-02-01
is specified on the command line.
input-file:
- Microsoft.Quota/stable/2023-02-01/quota.json
These settings apply only when --tag=package-2021-03-15-preview
is specified on the command line.
input-file:
- Microsoft.Quota/preview/2021-03-15-preview/quota.json
directive:
- suppress:
- R3007 # The 'PutGetPatchResponseSchema' Both get and put/Patch is using same data model - CurrentQuotaLimitBase.
- R4009 # The 'RequiredReadOnlySystemData' It will be added later, if needed.
- R4018 # The 'OperationsApiResponseSchema' It will be added later, if needed. The current API provides in this format.
suppressions:
- code: PathForPutOperation
reason: This API is a Management Group level API.
- code: PathForNestedResource
reason: This API is a Management Group level API.
- code: TopLevelResourcesListBySubscription
reason: This API is a Management Group level API.
- code: TenantLevelAPIsNotAllowed
from: groupquota.json
where: $.paths["/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}"]
reason: This API is a Management Group level API.
- code: AllProxyResourcesShouldHaveDelete
from: groupquota.json
where: $.paths["/providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/quotaAllocations/{resourceName}"].delete
reason: Quota cannot be deleted or reduced. It is not supported by any resource provider.
- code: AllProxyResourcesShouldHaveDelete
from: groupquota.json
where: $.paths["/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/groupQuotaLimits/{resourceName}".delete
reason: Quota cannot be deleted or reduced. It is not supported by any resource provider.
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-sdk-for-node
- repo: azure-cli-extensions
- repo: azure-sdk-for-ruby
- repo: azure-resource-manager-schemas
- repo: azure-powershell
See configuration in readme.python.md
See configuration in readme.cli.md
See configuration in readme.az.md
See configuration in readme.go.md
See configuration in readme.java.md
See configuration in readme.ruby.md