This is the AutoRest configuration file for HDInsight On Aks.
To build the SDK for HDInsight, 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 HDInsight On Aks API.
title: HDInsightContainersManagementClient
description: HDInsight Containers Management Client
openapi-type: arm
openapi-subtype: rpaas
azure-arm: true
tag: package-preview-2023-11
These settings apply only when --tag=package-preview-2023-11
is specified on the command line.
input-file:
- preview/2023-11-01-preview/hdinsight.json
suppressions:
- code: ResourceNameRestriction
reason: Keep compatibility with old API version.
- code: TrackedResourcePatchOperation
reason: This is a false positive, the "tags" property is defined in TrackedResource.
- code: OperationIdNounVerb
reason: The operation id is valid.
- code: EnumInsteadOfBoolean
reason: The boolean property is expected.
These settings apply only when --tag=package-2023-06-preview
is specified on the command line.
input-file:
- preview/2023-06-01-preview/hdinsight.json
suppressions:
- code: ResourceNameRestriction
reason: Keep compatibility with old API version.
- code: PatchBodyParametersSchema
reason: The "location" property is a must for a tracked resource.
- code: TrackedResourcePatchOperation
reason: This is a false positive, the "tags" property is defined in TrackedResource.
- code: OperationIdNounVerb
reason: This is false alarm. We checked that the operation id "Clusters_ListByClusterPoolName" is correct.
- code: GetCollectionOnlyHasValueAndNextLink
reason: This is false alarm.
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-go
- repo: azure-sdk-for-java
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
- repo: azure-resource-manager-schemas
- repo: azure-powershell
See configuration in readme.python.md
See configuration in readme.go.md
These settings apply only when --csharp
is specified on the command line.
Please also specify --csharp-sdks-folder=<path to "SDKs" directory of your azure-sdk-for-net clone>
.
csharp:
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Azure.ResourceManager.HDInsight.Containers
output-folder: $(csharp-sdks-folder)/hdinsight/Azure.ResourceManager.HDInsight.Containers/src/Generated
clear-output-folder: true