This is the AutoRest configuration file for HDInsight.
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 API.
title: HDInsightManagementClient
description: HDInsight Management Client
openapi-type: arm
azure-arm: true
tag: package-2024-08-preview
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
reason: This would require a breaking change, and need to be consistent with the response from RP side.
from: Microsoft.HDInsight/preview/2015-03-01-preview/locations.json
where:
- $.definitions.CapabilitiesResult.properties.vmsize_filters
- $.definitions.RegionalQuotaCapability.properties.cores_available
- $.definitions.RegionalQuotaCapability.properties.cores_used
- $.definitions.RegionalQuotaCapability.properties.region_name
- $.definitions.QuotaCapability.properties.cores_used
- $.definitions.QuotaCapability.properties.max_cores_allowed
- $.definitions.VmSizeCompatibilityFilter.properties.ClusterVersions
- $.definitions.VmSizeCompatibilityFilter.properties.NodeTypes
- $.definitions.VmSizeCompatibilityFilter.properties.ClusterFlavors
- $.definitions.VmSizeCompatibilityFilter.properties.Regions
- $.definitions.VmSizeCompatibilityFilter.properties.FilterMode
- $.definitions.VmSizeCompatibilityFilter.properties.OsType
- $.definitions.VmSizeCompatibilityFilter.properties.VMSizes
- $.definitions.VmSizeCompatibilityFilter.properties.ESPApplied
- $.definitions.VmSizeCompatibilityFilter.properties.ComputeIsolationSupported
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
reason: This would require a breaking change, and need to be consistent with the response from RP side.
from: Microsoft.HDInsight/stable/2018-06-01-preview/locations.json
where:
- $.definitions.CapabilitiesResult.properties.vmsize_filters
- $.definitions.RegionalQuotaCapability.properties.cores_available
- $.definitions.RegionalQuotaCapability.properties.cores_used
- $.definitions.RegionalQuotaCapability.properties.region_name
- $.definitions.QuotaCapability.properties.cores_used
- $.definitions.QuotaCapability.properties.max_cores_allowed
- $.definitions.VmSizeCompatibilityFilter.properties.ClusterVersions
- $.definitions.VmSizeCompatibilityFilter.properties.NodeTypes
- $.definitions.VmSizeCompatibilityFilter.properties.ClusterFlavors
- $.definitions.VmSizeCompatibilityFilter.properties.Regions
- $.definitions.VmSizeCompatibilityFilter.properties.FilterMode
- $.definitions.VmSizeCompatibilityFilter.properties.OsType
- $.definitions.VmSizeCompatibilityFilter.properties.VMSizes
- $.definitions.VmSizeCompatibilityFilter.properties.ESPApplied
- $.definitions.VmSizeCompatibilityFilter.properties.ComputeIsolationSupported
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
reason: This would require a breaking change, and need to be consistent with the response from RP side.
from:
- Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json
- Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json
- Microsoft.HDInsight/stable/2021-06-01/cluster.json
- Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json
where:
- $.definitions.Role.properties.VMGroupName
directive:
- suppress: R3016 # to suppress (DefinitionsPropertiesNamesCamelCase)
from: cluster.json
reason: The casing of this property is not incorrect.
where:
- $..["restAuthCredential.isEnabled"]
- $..["restAuthCredential.username"]
- $..["restAuthCredential.password"]
directive:
- suppress: R4007 # to suppress (DefaultErrorResponseSchema)
reason: Update the default error response to a new format would be a braking change for service.
These settings apply only when --tag=package-2024-08-preview
is specified on the command line.
input-file:
- Microsoft.HDInsight/preview/2024-08-01-preview/applications.json
- Microsoft.HDInsight/preview/2024-08-01-preview/cluster.json
- Microsoft.HDInsight/preview/2024-08-01-preview/configurations.json
- Microsoft.HDInsight/preview/2024-08-01-preview/extensions.json
- Microsoft.HDInsight/preview/2024-08-01-preview/locations.json
- Microsoft.HDInsight/preview/2024-08-01-preview/operations.json
- Microsoft.HDInsight/preview/2024-08-01-preview/privateEndpointConnections.json
- Microsoft.HDInsight/preview/2024-08-01-preview/privateLinkResources.json
- Microsoft.HDInsight/preview/2024-08-01-preview/scriptActions.json
- Microsoft.HDInsight/preview/2024-08-01-preview/virtualMachines.json
suppressions:
- code: EvenSegmentedPathForPutOperation
from: extensions.json
reason: Keep compatibility with old API version 2023-08-15-preview.
- code: PathForNestedResource
from: extensions.json
reason: Keep compatibility with old API version 2023-08-15-preview.
- code: PutGetPatchResponseSchema
from: extensions.json
reason: Keep compatibility with old API version 2023-08-15-preview.
- code: ResourceNameRestriction
from: extensions.json
reason: Keep compatibility with old API version 2023-08-15-preview.
- code: ProvisioningStateSpecifiedForLROPut
from: extensions.json
reason: Keep compatibility with old API version 2023-08-15-preview.
- code: PutRequestResponseSchemeArm
from: extensions.json
reason: Keep compatibility with old API version 2023-08-15-preview.
- code: PutResponseCodes
from: extensions.json
reason: Keep compatibility with old API version 2023-08-15-preview.
- code: ResponseSchemaSpecifiedForSuccessStatusCode
from: extensions.json
reason: Keep compatibility with old API version 2023-08-15-preview.
- code: DefaultErrorResponseSchema
from: extensions.json
reason: Keep compatibility with old API version 2023-08-15-preview.
- code: LroErrorContent
from: extensions.json
reason: Keep compatibility with old API version 2023-08-15-preview.
- code: LroStatusCodesReturnTypeSchema
from: extensions.json
reason: Keep compatibility with old API version 2023-08-15-preview.
- code: LroLocationHeader
from: extensions.json
reason: Keep compatibility with old API version 2023-08-15-preview.
- code: XmsPageableForListCalls
from: extensions.json
reason: Keep compatibility with old API version 2023-08-15-preview.
- code: DeleteResponseCodes
from: extensions.json
reason: Keep compatibility with old API version 2023-08-15-preview.
These settings apply only when --tag=package-2023-08-preview
is specified on the command line.
input-file:
- Microsoft.HDInsight/preview/2023-08-15-preview/applications.json
- Microsoft.HDInsight/preview/2023-08-15-preview/cluster.json
- Microsoft.HDInsight/preview/2023-08-15-preview/configurations.json
- Microsoft.HDInsight/preview/2023-08-15-preview/extensions.json
- Microsoft.HDInsight/preview/2023-08-15-preview/locations.json
- Microsoft.HDInsight/preview/2023-08-15-preview/operations.json
- Microsoft.HDInsight/preview/2023-08-15-preview/privateEndpointConnections.json
- Microsoft.HDInsight/preview/2023-08-15-preview/privateLinkResources.json
- Microsoft.HDInsight/preview/2023-08-15-preview/scriptActions.json
- Microsoft.HDInsight/preview/2023-08-15-preview/virtualMachines.json
These settings apply only when --tag=package-2023-04-preview
is specified on the command line.
input-file:
- Microsoft.HDInsight/preview/2023-04-15-preview/applications.json
- Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json
- Microsoft.HDInsight/preview/2023-04-15-preview/configurations.json
- Microsoft.HDInsight/preview/2023-04-15-preview/extensions.json
- Microsoft.HDInsight/preview/2023-04-15-preview/locations.json
- Microsoft.HDInsight/preview/2023-04-15-preview/operations.json
- Microsoft.HDInsight/preview/2023-04-15-preview/privateEndpointConnections.json
- Microsoft.HDInsight/preview/2023-04-15-preview/privateLinkResources.json
- Microsoft.HDInsight/preview/2023-04-15-preview/scriptActions.json
- Microsoft.HDInsight/preview/2023-04-15-preview/virtualMachines.json
These settings apply only when --tag=package-2021-06
is specified on the command line.
input-file:
- Microsoft.HDInsight/stable/2021-06-01/cluster.json
- Microsoft.HDInsight/stable/2021-06-01/applications.json
- Microsoft.HDInsight/stable/2021-06-01/locations.json
- Microsoft.HDInsight/stable/2021-06-01/configurations.json
- Microsoft.HDInsight/stable/2021-06-01/extensions.json
- Microsoft.HDInsight/stable/2021-06-01/scriptActions.json
- Microsoft.HDInsight/stable/2021-06-01/operations.json
- Microsoft.HDInsight/stable/2021-06-01/virtualMachines.json
- Microsoft.HDInsight/stable/2021-06-01/privateEndpointConnections.json
- Microsoft.HDInsight/stable/2021-06-01/privateLinkResources.json
These settings apply only when --tag=package-2018-06-preview
is specified on the command line.
input-file:
- Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json
- Microsoft.HDInsight/stable/2018-06-01-preview/applications.json
- Microsoft.HDInsight/stable/2018-06-01-preview/locations.json
- Microsoft.HDInsight/stable/2018-06-01-preview/configurations.json
- Microsoft.HDInsight/stable/2018-06-01-preview/extensions.json
- Microsoft.HDInsight/stable/2018-06-01-preview/scriptActions.json
- Microsoft.HDInsight/stable/2018-06-01-preview/operations.json
- Microsoft.HDInsight/stable/2018-06-01-preview/virtualMachines.json
These settings apply only when --tag=package-2015-03-preview
is specified on the command line.
input-file:
- Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json
- Microsoft.HDInsight/preview/2015-03-01-preview/applications.json
- Microsoft.HDInsight/preview/2015-03-01-preview/locations.json
- Microsoft.HDInsight/preview/2015-03-01-preview/configurations.json
- Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json
- Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json
- Microsoft.HDInsight/preview/2015-03-01-preview/operations.json
- Microsoft.HDInsight/preview/2015-03-01-preview/virtualMachines.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-net-track2
- repo: azure-sdk-for-go
- repo: azure-sdk-for-java
- repo: azure-sdk-for-python
- 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: Microsoft.Azure.Management.HDInsight
output-folder: $(csharp-sdks-folder)/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated
clear-output-folder: true
These settings apply only when --java
is specified on the command line.
Please also specify --azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>
.
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.hdinsight
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-hdinsight
batch:
- tag: package-2018-06-preview
- tag: package-2015-03-preview
These settings apply only when --tag=package-2015-03-preview --java
is specified on the command line.
Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>
.
java:
namespace: com.microsoft.azure.management.hdinsight.v2018_06_01_preview
output-folder: $(azure-libraries-for-java-folder)/sdk/hdinsight/mgmt-v2018_06_01_preview
regenerate-manager: true
generate-interface: true
These settings apply only when --tag=package-2015-03-preview --java
is specified on the command line.
Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>
.
java:
namespace: com.microsoft.azure.management.hdinsight.v2015_03_01_preview
output-folder: $(azure-libraries-for-java-folder)/sdk/hdinsight/mgmt-v2015_03_01_preview
regenerate-manager: true
generate-interface: true