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-2024-05These settings apply only when --tag=package-2024-05 is specified on the command line.
input-file:
- stable/2024-05-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2024-04 is specified on the command line.
input-file:
- preview/2024-04-02-preview/managedClusters.jsonThese settings apply only when --tag=package-preview-2024-03 is specified on the command line.
input-file:
- preview/2024-03-02-preview/managedClusters.jsonThese settings apply only when --tag=package-2024-02 is specified on the command line.
input-file:
- stable/2024-02-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2024-02 is specified on the command line.
input-file:
- preview/2024-02-02-preview/managedClusters.jsonThese settings apply only when --tag=package-2024-01 is specified on the command line.
input-file:
- stable/2024-01-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2024-01 is specified on the command line.
input-file:
- preview/2024-01-02-preview/managedClusters.jsonThese settings apply only when --tag=package-2023-11 is specified on the command line.
input-file:
- stable/2023-11-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2023-11 is specified on the command line.
input-file:
- preview/2023-11-02-preview/managedClusters.jsonThese settings apply only when --tag=package-2023-10 is specified on the command line.
input-file:
- stable/2023-10-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2023-10 is specified on the command line.
input-file:
- preview/2023-10-02-preview/managedClusters.jsonThese settings apply only when --tag=package-2023-09 is specified on the command line.
input-file:
- stable/2023-09-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2023-09 is specified on the command line.
input-file:
- preview/2023-09-02-preview/managedClusters.jsonThese settings apply only when --tag=package-2023-08 is specified on the command line.
input-file:
- stable/2023-08-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2023-08 is specified on the command line.
input-file:
- preview/2023-08-02-preview/managedClusters.jsonThese settings apply only when --tag=package-2023-07 is specified on the command line.
input-file:
- stable/2023-07-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2023-07 is specified on the command line.
input-file:
- preview/2023-07-02-preview/managedClusters.jsonThese settings apply only when --tag=package-2023-06 is specified on the command line.
input-file:
- stable/2023-06-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2023-06 is specified on the command line.
input-file:
- preview/2023-06-02-preview/managedClusters.jsonThese settings apply only when --tag=package-2023-05 is specified on the command line.
input-file:
- stable/2023-05-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2023-05 is specified on the command line.
input-file:
- preview/2023-05-02-preview/managedClusters.jsonThese settings apply only when --tag=package-2023-04 is specified on the command line.
input-file:
- stable/2023-04-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2023-04 is specified on the command line.
input-file:
- preview/2023-04-02-preview/managedClusters.jsonThese settings apply only when --tag=package-2023-03 is specified on the command line.
input-file:
- stable/2023-03-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2023-03 is specified on the command line.
input-file:
- preview/2023-03-02-preview/managedClusters.jsonThese settings apply only when --tag=package-2023-02 is specified on the command line.
input-file:
- stable/2023-02-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2023-02 is specified on the command line.
input-file:
- preview/2023-02-02-preview/managedClusters.jsonThese settings apply only when --tag=package-2023-01 is specified on the command line.
input-file:
- stable/2023-01-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2023-01-only is specified on the command line.
input-file:
- preview/2023-01-02-preview/managedClusters.jsonThese settings apply only when --tag=package-preview-2023-01 is specified on the command line.
input-file:
- preview/2023-01-02-preview/managedClusters.json
- preview/2022-09-02-preview/fleets.jsonThese settings apply only when --tag=package-2022-11 is specified on the command line.
input-file:
- stable/2022-11-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2022-11-only is specified on the command line.
input-file:
- preview/2022-11-02-preview/managedClusters.jsonThese settings apply only when --tag=package-preview-2022-11 is specified on the command line.
input-file:
- preview/2022-11-02-preview/managedClusters.json
- preview/2022-09-02-preview/fleets.jsonThese settings apply only when --tag=package-preview-2022-10-only is specified on the command line.
input-file:
- preview/2022-10-02-preview/managedClusters.jsonThese settings apply only when --tag=package-preview-2022-10 is specified on the command line.
input-file:
- preview/2022-10-02-preview/managedClusters.json
- preview/2022-09-02-preview/fleets.jsonThese settings apply only when --tag=package-2022-09 is specified on the command line.
input-file:
- stable/2022-09-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2022-09 is specified on the command line.
input-file:
- preview/2022-09-02-preview/managedClusters.json
- preview/2022-09-02-preview/fleets.jsonThese settings apply only when --tag=package-preview-2022-08-03-only is specified on the command line.
input-file:
- preview/2022-08-03-preview/managedClusters.jsonThese settings apply only when --tag=package-preview-2022-08-03 is specified on the command line.
input-file:
- preview/2022-08-03-preview/managedClusters.json
- preview/2022-07-02-preview/fleets.jsonThese settings apply only when --tag=package-preview-2022-08-only is specified on the command line.
input-file:
- preview/2022-08-02-preview/managedClusters.jsonThese settings apply only when --tag=package-preview-2022-08 is specified on the command line.
input-file:
- preview/2022-08-02-preview/managedClusters.json
- preview/2022-07-02-preview/fleets.jsonThese settings apply only when --tag=package-2022-07 is specified on the command line.
input-file:
- stable/2022-07-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2022-07 is specified on the command line.
input-file:
- preview/2022-07-02-preview/managedClusters.json
- preview/2022-07-02-preview/fleets.jsonThese settings apply only when --tag=package-2022-06 is specified on the command line.
input-file:
- stable/2022-06-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2022-06 is specified on the command line.
input-file:
- preview/2022-06-02-preview/managedClusters.json
- preview/2022-06-02-preview/fleets.jsonThese settings apply only when --tag=package-preview-2022-05 is specified on the command line.
input-file:
- preview/2022-05-02-preview/managedClusters.jsonThese settings apply only when --tag=package-2022-04 is specified on the command line.
input-file:
- stable/2022-04-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2022-04 is specified on the command line.
input-file:
- preview/2022-04-02-preview/managedClusters.jsonThese settings apply only when --tag=package-2022-03 is specified on the command line.
input-file:
- stable/2022-03-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2022-03 is specified on the command line.
input-file:
- preview/2022-03-02-preview/managedClusters.jsonThese settings apply only when --tag=package-2022-02 is specified on the command line.
input-file:
- stable/2022-02-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2022-02 is specified on the command line.
input-file:
- preview/2022-02-02-preview/managedClusters.jsonThese settings apply only when --tag=package-2022-01 is specified on the command line.
input-file:
- stable/2022-01-01/managedClusters.jsonThese settings apply only when --tag=package-preview-2022-01 is specified on the command line.
input-file:
- preview/2022-01-02-preview/managedClusters.jsonThese settings apply only when --tag=package-preview-2021-11 is specified on the command line.
input-file:
- preview/2021-11-01-preview/managedClusters.jsonThese settings apply only when --tag=package-2021-10 is specified on the command line.
input-file:
- stable/2021-10-01/managedClusters.jsonThese settings apply only when --tag=package-2021-09 is specified on the command line.
input-file:
- stable/2021-09-01/managedClusters.jsonThese settings apply only when --tag=package-2021-08 is specified on the command line.
input-file:
- stable/2021-08-01/managedClusters.jsonThese settings apply only when --tag=package-2021-07 is specified on the command line.
input-file:
- stable/2021-07-01/managedClusters.jsonThese settings apply only when --tag=package-2021-05 is specified on the command line.
input-file:
- stable/2021-05-01/managedClusters.jsonThese settings apply only when --tag=package-2021-03 is specified on the command line.
input-file:
- stable/2021-03-01/managedClusters.jsonThese settings apply only when --tag=package-2021-02 is specified on the command line.
input-file:
- stable/2021-02-01/managedClusters.jsonThese settings apply only when --tag=package-2020-12 is specified on the command line.
input-file:
- stable/2020-12-01/managedClusters.jsonThese settings apply only when --tag=package-2020-11 is specified on the command line.
input-file:
- stable/2020-11-01/managedClusters.jsonThese settings apply only when --tag=package-2020-09 is specified on the command line.
input-file:
- stable/2019-04-30/openShiftManagedClusters.json
- stable/2017-07-01/containerService.json
- stable/2019-08-01/location.json
- stable/2020-09-01/managedClusters.jsonThese settings apply only when --tag=package-2020-07 is specified on the command line.
input-file:
- stable/2019-04-30/openShiftManagedClusters.json
- stable/2017-07-01/containerService.json
- stable/2019-08-01/location.json
- stable/2020-07-01/managedClusters.jsonThese settings apply only when --tag=package-2020-06 is specified on the command line.
input-file:
- stable/2019-04-30/openShiftManagedClusters.json
- stable/2017-07-01/containerService.json
- stable/2019-08-01/location.json
- stable/2020-06-01/managedClusters.jsonThese settings apply only when --tag=package-2020-04 is specified on the command line.
input-file:
- stable/2019-04-30/openShiftManagedClusters.json
- stable/2017-07-01/containerService.json
- stable/2019-08-01/location.json
- stable/2020-04-01/managedClusters.jsonThese settings apply only when --tag=package-2020-03 is specified on the command line.
input-file:
- stable/2019-04-30/openShiftManagedClusters.json
- stable/2017-07-01/containerService.json
- stable/2019-08-01/location.json
- stable/2020-03-01/managedClusters.jsonThese settings apply only when --tag=package-2020-02 is specified on the command line.
input-file:
- stable/2019-04-30/openShiftManagedClusters.json
- stable/2017-07-01/containerService.json
- stable/2019-08-01/location.json
- stable/2020-02-01/managedClusters.jsonThese settings apply only when --tag=package-2020-01 is specified on the command line.
input-file:
- stable/2019-04-30/openShiftManagedClusters.json
- stable/2017-07-01/containerService.json
- stable/2019-08-01/location.json
- stable/2020-01-01/managedClusters.jsonThese settings apply only when --tag=package-2019-11 is specified on the command line.
input-file:
- stable/2019-04-30/openShiftManagedClusters.json
- stable/2017-07-01/containerService.json
- stable/2019-08-01/location.json
- stable/2019-11-01/managedClusters.jsonThese settings apply only when --tag=package-2019-10-27-preview is specified on the command line.
input-file:
- preview/2019-10-27-preview/openShiftManagedClusters.json
- stable/2017-07-01/containerService.json
- stable/2019-08-01/location.json
- stable/2020-01-01/managedClusters.jsonThese settings apply only when --tag=package-2019-09-30-preview is specified on the command line.
input-file:
- preview/2019-09-30/openShiftManagedClusters.json
- stable/2017-07-01/containerService.json
- stable/2019-08-01/managedClusters.json
- stable/2019-08-01/location.jsonThese settings apply only when --tag=package-2019-10 is specified on the command line.
input-file:
- stable/2019-04-30/openShiftManagedClusters.json
- stable/2017-07-01/containerService.json
- stable/2019-08-01/location.json
- stable/2019-10-01/managedClusters.jsonThese settings apply only when --tag=package-2019-08 is specified on the command line.
input-file:
- stable/2019-04-30/openShiftManagedClusters.json
- stable/2017-07-01/containerService.json
- stable/2019-08-01/location.json
- stable/2019-08-01/managedClusters.jsonThese settings apply only when --tag=package-2019-06 is specified on the command line.
input-file:
- stable/2019-04-30/openShiftManagedClusters.json
- stable/2017-07-01/containerService.json
- stable/2019-06-01/location.json
- stable/2019-06-01/managedClusters.jsonThese settings apply only when --tag=package-2019-04 is specified on the command line.
input-file:
- stable/2019-04-30/openShiftManagedClusters.json
- stable/2017-07-01/containerService.json
- stable/2019-04-01/managedClusters.json
- stable/2019-04-01/location.jsonThese settings apply only when --tag=package-2019-02 is specified on the command line.
input-file:
- preview/2018-09-30-preview/openShiftManagedClusters.json
- stable/2017-07-01/containerService.json
- stable/2019-02-01/managedClusters.json
- stable/2017-09-30/location.jsonThese settings apply only when --tag=package-2018-08-preview is specified on the command line.
input-file:
- preview/2018-09-30-preview/openShiftManagedClusters.json
- stable/2017-07-01/containerService.json
- preview/2018-08-01-preview/managedClusters.json
- stable/2017-09-30/location.jsonThese settings apply only when --tag=package-2018-09-30-preview is specified on the command line.
input-file:
- preview/2018-09-30-preview/openShiftManagedClusters.json
- stable/2017-07-01/containerService.json
- stable/2018-03-31/managedClusters.json
- stable/2017-09-30/location.jsonThese settings apply only when --tag=package-2018-03 is specified on the command line.
input-file:
- stable/2017-07-01/containerService.json
- stable/2018-03-31/managedClusters.json
- stable/2017-09-30/location.jsonThese settings apply only when --tag=package-2017-09 is specified on the command line.
input-file:
- stable/2017-07-01/containerService.json
- stable/2017-08-31/managedClusters.json
- stable/2017-09-30/location.jsonThese settings apply only when --tag=package-2017-08 is specified on the command line.
input-file:
- stable/2017-07-01/containerService.json
- stable/2017-08-31/managedClusters.jsonThese settings apply only when --tag=package-2017-07 is specified on the command line.
input-file:
- 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:
- preview/2019-09-30/openShiftManagedClusters.jsonThese 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:
- stable/2017-07-01/containerService.json
- stable/2019-04-01/location.jsonThese settings apply only when --tag=package-2020-09-01-only is specified on the command line.
input-file:
- stable/2020-09-01/managedClusters.jsonThese settings apply only when --tag=package-2020-07-01-only is specified on the command line.
input-file:
- stable/2020-07-01/managedClusters.jsonThese settings apply only when --tag=package-2020-06-01-only is specified on the command line.
input-file:
- stable/2020-06-01/managedClusters.jsonThese settings apply only when --tag=package-2020-04-01-only is specified on the command line.
input-file:
- stable/2020-04-01/managedClusters.jsonThese settings apply only when --tag=package-2020-03-01-only is specified on the command line.
input-file:
- stable/2020-03-01/managedClusters.jsonThese settings apply only when --tag=package-2020-02-01-only is specified on the command line.
input-file:
- stable/2020-02-01/managedClusters.jsonThese settings apply only when --tag=package-2020-01-01-only is specified on the command line.
input-file:
- stable/2020-01-01/managedClusters.jsonThese settings apply only when --tag=package-2019-11-01-only is specified on the command line.
input-file:
- stable/2019-11-01/managedClusters.jsonThese settings apply only when --tag=package-2019-10-27-preview-only is specified on the command line.
input-file:
- preview/2019-10-27-preview/openShiftManagedClusters.jsonThese settings apply only when --tag=package-2019-10-01-only is specified on the command line.
input-file:
- stable/2019-10-01/managedClusters.jsonThese settings apply only when --tag=package-2019-08-01-only is specified on the command line.
input-file:
- stable/2019-08-01/managedClusters.jsonThese settings apply only when --tag=package-2019-06-01-only is specified on the command line.
input-file:
- stable/2019-06-01/managedClusters.jsonThese settings apply only when --tag=package-2019-04-30-only is specified on the command line.
input-file:
- stable/2019-04-30/openShiftManagedClusters.jsonThese settings apply only when --tag=package-2019-04-01-only is specified on the command line.
input-file:
- stable/2019-04-01/managedClusters.json
- stable/2019-04-01/location.jsonThese settings apply only when --tag=package-2019-02-only is specified on the command line.
input-file:
- stable/2019-02-01/managedClusters.jsonThese settings apply only when --tag=package-2018-09-preview-only is specified on the command line.
input-file:
- preview/2018-09-30-preview/openShiftManagedClusters.jsonThese settings apply only when --tag=package-2018-08-preview-only is specified on the command line.
input-file:
- preview/2018-08-01-preview/managedClusters.jsonThese settings apply only when --tag=package-2018-03-only is specified on the command line.
input-file:
- stable/2018-03-31/managedClusters.jsonThese settings apply only when --tag=package-2017-09-only is specified on the command line.
input-file:
- stable/2017-09-30/location.jsonThese settings apply only when --tag=package-2017-08-only is specified on the command line.
input-file:
- stable/2017-08-31/managedClusters.jsonThese settings apply only when --tag=package-2017-01-only is specified on the command line.
input-file:
- stable/2017-01-31/containerService.jsonThese settings apply only when --tag=package-2016-09-only is specified on the command line.
input-file:
- stable/2016-09-30/containerService.jsonThese settings apply only when --tag=package-2016-03-only is specified on the command line.
input-file:
- stable/2016-03-30/containerService.jsonThese 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:
- stable/2020-11-01/managedClusters.json
- stable/2019-04-01/location.json
- stable/2017-07-01/containerService.jsonThis 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-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-net-track2
- 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
- repo: azure-powershellThese 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: trueSee 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
- suppress: DefinitionsPropertiesNamesCamelCase
from: managedClusters.json
where: $.definitions.ManagedClusterSecurityProfile.properties.customCATrustCertificates
reason: customCATrustCertificates contains a widely used acronym, no camel case restriction needed.
- suppress: DefinitionsPropertiesNamesCamelCase
from: managedClusters.json
where: $.definitions.ManagedClusterOIDCIssuerProfile.properties.issuerURL
reason: For managedCluster.properties.oidcIssuerProfile.issuerURL, already used in preview API