This is the AutoRest configuration file for hybridaks.
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 hybridaks.
openapi-type: arm
openapi-subtype: rpaas
tag: package-2024-01
These settings apply only when --tag=package-2024-01
is specified on the command line.
input-file:
- Microsoft.HybridContainerService/stable/2024-01-01/provisionedClusterInstances.json
- Microsoft.HybridContainerService/stable/2024-01-01/virtualNetworks.json
These settings apply only when --tag=package-preview-2023-11
is specified on the command line.
input-file:
- Microsoft.HybridContainerService/preview/2023-11-15-preview/provisionedClusterInstances.json
- Microsoft.HybridContainerService/preview/2023-11-15-preview/virtualNetworks.json
suppressions:
- code: TopLevelResourcesListBySubscription
where: $.definitions.KubernetesVersionProfile
reason: Since kubernetesVersions/default resource is defined as an extension resource to the custom location, this rule does not apply. The kubernetesVersions can vary from one custom location to another and we can't really have a ListBySubscription operation for kubernetesVersions.
- code: TopLevelResourcesListBySubscription
where: $.definitions.VmSkuProfile
reason: Since skus/default resource is defined as an extension resource to the custom location, this rule does not apply. The skus can vary from one custom location to another and we can't really have a ListBySubscription operation for skus.
- code: TopLevelResourcesListBySubscription
where: $.definitions.provisionedClusters
reason: Since provisionedClusters/default resource is defined as an extension resource to the connected cluster resource, we can't really list by subscription and this rule does not apply.
- code: GetCollectionOnlyHasValueAndNextLink
reason: This is a false alarm for the /default APIs, as they return a singleton resource and not a collection of resources
These settings apply only when --tag=package-preview-2022-09
is specified on the command line.
input-file:
- Microsoft.HybridContainerService/preview/2022-09-01-preview/provisionedClusters.json
- Microsoft.HybridContainerService/preview/2022-09-01-preview/storageSpaces.json
- Microsoft.HybridContainerService/preview/2022-09-01-preview/virtualNetworks.json
These settings apply only when --tag=package-2022-05-01-preview
is specified on the command line.
input-file:
- Microsoft.HybridContainerService/preview/2022-05-01-preview/provisionedClusters.json
- Microsoft.HybridContainerService/preview/2022-05-01-preview/virtualNetworks.json
- Microsoft.HybridContainerService/preview/2022-05-01-preview/storageSpaces.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
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