This is the AutoRest configuration file for ContainerServices (ACS/AKS/OpenShift).
The ContainerServices RPv2 consists of two similar services: ContainerServices and ManagedClusters. Each service has its own swagger spec.
The two specs are united by running autorest
in this directory, which will use this readme.md
file for configuration options. It will generate a single azure-mgmt-containerservice client
library.
To build the SDK for ContainerServices, install Autorest. Then in this folder, run this command:
autorest
To see additional help and options, run:
autorest --help
These are the global settings for the ContainerServices API.
openapi-type: arm
tag: package-preview-2022-04
These settings apply only when --tag=package-preview-2022-04
is specified on the command line.
input-file:
- Microsoft.ContainerService/preview/2022-04-02-preview/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-2022-03
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2022-03-01/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-preview-2022-03
is specified on the command line.
input-file:
- Microsoft.ContainerService/preview/2022-03-02-preview/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-2022-02
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2022-02-01/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-preview-2022-02
is specified on the command line.
input-file:
- Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-2022-01
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2022-01-01/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-preview-2022-01
is specified on the command line.
input-file:
- Microsoft.ContainerService/preview/2022-01-02-preview/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-preview-2021-11
is specified on the command line.
input-file:
- Microsoft.ContainerService/preview/2021-11-01-preview/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-2021-10
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2021-10-01/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-2021-09
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2021-09-01/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-2021-08
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2021-08-01/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-2021-07
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2021-07-01/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-2021-05
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2021-05-01/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-2021-03
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2021-03-01/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-2021-02
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2021-02-01/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-2020-12
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2020-12-01/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-2020-11
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2020-11-01/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-2020-09
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2019-08-01/location.json
- Microsoft.ContainerService/stable/2020-09-01/managedClusters.json
These settings apply only when --tag=package-2020-07
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2019-08-01/location.json
- Microsoft.ContainerService/stable/2020-07-01/managedClusters.json
These settings apply only when --tag=package-2020-06
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2019-08-01/location.json
- Microsoft.ContainerService/stable/2020-06-01/managedClusters.json
These settings apply only when --tag=package-2020-04
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2019-08-01/location.json
- Microsoft.ContainerService/stable/2020-04-01/managedClusters.json
These settings apply only when --tag=package-2020-03
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2019-08-01/location.json
- Microsoft.ContainerService/stable/2020-03-01/managedClusters.json
These settings apply only when --tag=package-2020-02
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2019-08-01/location.json
- Microsoft.ContainerService/stable/2020-02-01/managedClusters.json
These settings apply only when --tag=package-2020-01
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2019-08-01/location.json
- Microsoft.ContainerService/stable/2020-01-01/managedClusters.json
These settings apply only when --tag=package-2019-11
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2019-08-01/location.json
- Microsoft.ContainerService/stable/2019-11-01/managedClusters.json
These settings apply only when --tag=package-2019-10-27-preview
is specified on the command line.
input-file:
- Microsoft.ContainerService/preview/2019-10-27-preview/openShiftManagedClusters.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2019-08-01/location.json
- Microsoft.ContainerService/stable/2020-01-01/managedClusters.json
These settings apply only when --tag=package-2019-09-30-preview
is specified on the command line.
input-file:
- Microsoft.ContainerService/preview/2019-09-30/openShiftManagedClusters.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2019-08-01/managedClusters.json
- Microsoft.ContainerService/stable/2019-08-01/location.json
These settings apply only when --tag=package-2019-10
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2019-08-01/location.json
- Microsoft.ContainerService/stable/2019-10-01/managedClusters.json
These settings apply only when --tag=package-2019-08
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2019-08-01/location.json
- Microsoft.ContainerService/stable/2019-08-01/managedClusters.json
These settings apply only when --tag=package-2019-06
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2019-06-01/location.json
- Microsoft.ContainerService/stable/2019-06-01/managedClusters.json
These settings apply only when --tag=package-2019-04
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2019-04-01/managedClusters.json
- Microsoft.ContainerService/stable/2019-04-01/location.json
These settings apply only when --tag=package-2019-02
is specified on the command line.
input-file:
- Microsoft.ContainerService/preview/2018-09-30-preview/openShiftManagedClusters.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2019-02-01/managedClusters.json
- Microsoft.ContainerService/stable/2017-09-30/location.json
These settings apply only when --tag=package-2018-08-preview
is specified on the command line.
input-file:
- Microsoft.ContainerService/preview/2018-09-30-preview/openShiftManagedClusters.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json
- Microsoft.ContainerService/stable/2017-09-30/location.json
These settings apply only when --tag=package-2018-09-30-preview
is specified on the command line.
input-file:
- Microsoft.ContainerService/preview/2018-09-30-preview/openShiftManagedClusters.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2018-03-31/managedClusters.json
- Microsoft.ContainerService/stable/2017-09-30/location.json
These settings apply only when --tag=package-2018-03
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2018-03-31/managedClusters.json
- Microsoft.ContainerService/stable/2017-09-30/location.json
These settings apply only when --tag=package-2017-09
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2017-08-31/managedClusters.json
- Microsoft.ContainerService/stable/2017-09-30/location.json
These settings apply only when --tag=package-2017-08
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2017-08-31/managedClusters.json
These settings apply only when --tag=package-2017-07
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
These settings apply only when --tag=package-2019-09-preview-only
is specified on the command line.
This is a special tag used only by python sdk generation. To avoid introducing breaking changes in compatibility to the v2019_09_30_preview namespace of python SDK, DO NOT MODIFY THIS TAG.
input-file:
- Microsoft.ContainerService/preview/2019-09-30/openShiftManagedClusters.json
These settings apply only when --tag=package-2017-07-only-extended
is specified on the command line.
This is a special tag used only by python sdk generation. To avoid introducing breaking changes in compatibility to the v2017_07_01 namespace of python SDK, DO NOT MODIFY THIS TAG.
input-file:
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2019-04-01/location.json
These settings apply only when --tag=package-2020-09-01-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2020-09-01/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-2020-07-01-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2020-07-01/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-2020-06-01-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2020-06-01/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-2020-04-01-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2020-04-01/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-2020-03-01-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2020-03-01/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-2020-02-01-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2020-02-01/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
These settings apply only when --tag=package-2020-01-01-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2020-01-01/managedClusters.json
These settings apply only when --tag=package-2019-11-01-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2019-11-01/managedClusters.json
These settings apply only when --tag=package-2019-10-27-preview-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/preview/2019-10-27-preview/openShiftManagedClusters.json
These settings apply only when --tag=package-2019-10-01-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2019-10-01/managedClusters.json
These settings apply only when --tag=package-2019-08-01-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2019-08-01/managedClusters.json
These settings apply only when --tag=package-2019-06-01-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2019-06-01/managedClusters.json
These settings apply only when --tag=package-2019-04-30-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
These settings apply only when --tag=package-2019-04-01-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2019-04-01/managedClusters.json
These settings apply only when --tag=package-2019-02-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2019-02-01/managedClusters.json
These settings apply only when --tag=package-2018-09-preview-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/preview/2018-09-30-preview/openShiftManagedClusters.json
These settings apply only when --tag=package-2018-08-preview-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json
These settings apply only when --tag=package-2018-03-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2018-03-31/managedClusters.json
These settings apply only when --tag=package-2017-09-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2017-09-30/location.json
These settings apply only when --tag=package-2017-08-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2017-08-31/managedClusters.json
These settings apply only when --tag=package-2017-01-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
These settings apply only when --tag=package-2016-09-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2016-09-30/containerService.json
These settings apply only when --tag=package-2016-03-only
is specified on the command line.
input-file:
- Microsoft.ContainerService/stable/2016-03-30/containerService.json
These settings apply only when --tag=profile-hybrid-2020-09-01
is specified on the command line.
Creating this tag to pick proper resources from the hybrid profile.
input-file:
- Microsoft.ContainerService/stable/2020-11-01/managedClusters.json
- Microsoft.ContainerService/stable/2019-04-01/location.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.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-go-track2
- repo: azure-sdk-for-js
- repo: azure-sdk-for-net
- repo: azure-sdk-for-node
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_container_service']
- repo: azure-resource-manager-schemas
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:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Management.ContainerService
payload-flattening-threshold: 1
output-folder: $(csharp-sdks-folder)/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated
clear-output-folder: true
See configuration in readme.go.md
See configuration in readme.python.md
See configuration in readme.java.md
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
from: managedClusters.json
reason: Name change of "enableRBAC" property would break compatibility
- suppress: TrackedResourcePatchOperation
from: containerService.json
reason: ACS service is deprecated so a PATCH endpoint won't be implemented