The service is hosted under the Microsoft.ContainerService resource provider but exposes a separate set of resources, apis, and SDKs.
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-2026-02-01-previewThese settings apply only when --tag=package-2026-02-01-preview is specified on the command line.
input-file:
- preview/2026-02-01-preview/fleets.json
suppressions:
- code: AvoidAdditionalProperties
from: fleets.json
where: $.definitions.FleetMemberProperties.properties.labels
reason: Labels are a key/value map that is passed through to the underlying Kubernetes model.
- code: AvoidAdditionalProperties
from: fleets.json
where: $.definitions.FleetMemberUpdateProperties.properties.labels
reason: Labels are a key/value map that is passed through to the underlying Kubernetes model.
- code: AvoidAdditionalProperties
from: fleets.json
where: $.definitions.ManagedNamespaceProperties.properties.labels
reason: Labels are a key/value map that is passed through to the underlying Kubernetes model.
- code: AvoidAdditionalProperties
from: fleets.json
where: $.definitions.ManagedNamespaceProperties.properties.annotations
reason: Annotations are a key/value map that is passed through to the underlying Kubernetes model.
- code: AvoidAdditionalProperties
from: fleets.json
where: $.definitions['Meta.V1.LabelSelector'].properties.matchLabels
reason: MatchLabels are a key/value map that is passed through to the underlying Kubernetes model.These settings apply only when --tag=package-2025-08-01-preview is specified on the command line.
input-file:
- preview/2025-08-01-preview/fleets.json
suppressions:
- code: AvoidAdditionalProperties
from: fleets.json
where: $.definitions.FleetMemberProperties.properties.labels
reason: Labels are a key/value map that is passed through to the underlying Kubernetes model.
- code: AvoidAdditionalProperties
from: fleets.json
where: $.definitions.FleetMemberUpdateProperties.properties.labels
reason: Labels are a key/value map that is passed through to the underlying Kubernetes model.
- code: AvoidAdditionalProperties
from: fleets.json
where: $.definitions.ManagedNamespaceProperties.properties.labels
reason: Labels are a key/value map that is passed through to the underlying Kubernetes model.
- code: AvoidAdditionalProperties
from: fleets.json
where: $.definitions.ManagedNamespaceProperties.properties.annotations
reason: Annotations are a key/value map that is passed through to the underlying Kubernetes model.
- code: AvoidAdditionalProperties
from: fleets.json
where: $.definitions['Meta.V1.LabelSelector'].properties.matchLabels
reason: MatchLabels are a key/value map that is passed through to the underlying Kubernetes model.These settings apply only when --tag=package-2025-04-01-preview is specified on the command line.
input-file:
- preview/2025-04-01-preview/fleets.json
suppressions:
- code: AvoidAdditionalProperties
from: fleets.json
where: $.definitions.FleetMemberProperties.properties.labels
reason: Labels are a key/value map that is passed through to the underlying Kubernetes model.
- code: AvoidAdditionalProperties
from: fleets.json
where: $.definitions.FleetMemberUpdateProperties.properties.labels
reason: Labels are a key/value map that is passed through to the underlying Kubernetes model.These settings apply only when --tag=package-2025-03-01 is specified on the command line.
input-file:
- stable/2025-03-01/fleets.jsonThese settings apply only when --tag=package-2024-05-preview is specified on the command line.
input-file:
- preview/2024-05-02-preview/fleets.jsonThese settings apply only when --tag=package-2024-04 is specified on the command line.
input-file:
- stable/2024-04-01/fleets.jsonThese settings apply only when --tag=package-2024-02-preview is specified on the command line.
input-file:
- preview/2024-02-02-preview/fleets.jsonThese settings apply only when --tag=package-2023-10 is specified on the command line.
input-file:
- stable/2023-10-15/fleets.jsonThese settings apply only when --tag=package-2023-08-preview is specified on the command line.
input-file:
- preview/2023-08-15-preview/fleets.jsonThese settings apply only when --tag=package-2023-06-preview is specified on the command line.
input-file:
- preview/2023-06-15-preview/fleets.jsonThese settings apply only when --tag=package-2023-03-preview is specified on the command line.
input-file:
- preview/2023-03-15-preview/fleets.jsonThese settings apply only when --tag=package-2022-09-preview is specified on the command line.
input-file:
- preview/2022-09-02-preview/fleets.jsonThese settings apply only when --tag=package-2022-07-preview is specified on the command line.
input-file:
- preview/2022-07-02-preview/fleets.jsonThese settings apply only when --tag=package-2022-06-preview is specified on the command line.
input-file:
- preview/2022-06-02-preview/fleets.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-net
- repo: azure-sdk-for-node
- repo: azure-resource-manager-schemas
- repo: azure-powershellSee configuration in readme.csharp.md
See configuration in readme.go.md
See configuration in readme.python.md
See configuration in readme.java.md