This is the AutoRest configuration file for Support.
To build the SDK for Support, 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 Support API.
openapi-type: arm
tag: package-preview-2023-06
These settings apply only when --tag=package-2024-04
is specified on the command line.
input-file:
- Microsoft.Support/stable/2024-04-01/support.json
These settings apply only when --tag=package-preview-2023-06
is specified on the command line.
input-file:
- Microsoft.Support/preview/2023-06-01-preview/support.json
directive:
- suppress: AvoidAdditionalProperties
from: Microsoft.Support/preview/2023-06-01-preview/support.json
These settings apply only when --tag=package-preview-2022-09
is specified on the command line.
input-file:
- Microsoft.Support/preview/2022-09-01-preview/support.json
suppressions:
- code: RPC-Put-V1-01
from: Microsoft.Support/preview/2022-09-01-preview/support.json
reason: "Rule: The path for put operation must be under a subscription and resource group. Justification: Suppressing this rule since path for support ticket resource doesn't contain resource group"
- code: RPC-Put-V1-11
from: Microsoft.Support/preview/2022-09-01-preview/support.json
reason: "Rule: Any Put MUST contain 200 and 201 return codes. Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it"
- code: TopLevelResourcesListBySubscription
from: Microsoft.Support/preview/2022-09-01-preview/support.json
where: $.definitions.FileWorkspaceDetails
reason: "Rule: The top-level resource 'FileWorkspaceDetails' does not have list by subscription operation, please add it. Justification: We cannot support get list for this resource type"
These settings apply only when --tag=package-preview-2021-06
is specified on the command line.
input-file:
- Microsoft.Support/preview/2021-06-01-preview/supportResourceIdDetails.json
These settings apply only when --tag=package-2020-04
is specified on the command line.
input-file:
- Microsoft.Support/stable/2020-04-01/support.json
These settings apply only when --tag=package-2019-05-preview
is specified on the command line.
input-file:
- Microsoft.Support/preview/2019-05-01-preview/support.json
These settings apply only when --tag=package-2022-09-preview
is specified on the command line.
input-file:
- Microsoft.Support/preview/2022-09-01-preview/support.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-js
- repo: azure-sdk-for-go
- repo: azure-sdk-for-net-track2
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_support']
- repo: azure-resource-manager-schemas
- repo: azure-powershell
See configuration in readme.csharp.md
See configuration in readme.python.md
See configuration in readme.go.md
See configuration in readme.java.md
See configuration in readme.typescript.md
See configuration in readme.ruby.md