azure.mgmt.containerservice package

Module contents

class azure.mgmt.containerservice.ContainerServiceClient(credentials, subscription_id, api_version=None, base_url=None, profile=<KnownProfiles.default: <azure.profiles.DefaultProfile object>>)[source]

Bases: azure.profiles.multiapiclient.MultiApiClientMixin, msrest.service_client.SDKClient

The Container Service Client.

This ready contains multiple API versions, to help you deal with all Azure clouds (Azure Stack, Azure Government, Azure China, etc.). By default, uses latest API version available on public Azure. For production, you should stick a particular api-version and/or profile. The profile sets a mapping between the operation group and an API version. The api-version parameter sets the default API version if the operation group is not described in the profile.

Variables:

config (ContainerServiceClientConfiguration) – Configuration for client.

Parameters:
  • credentials (A msrestazure Credentials object) – Credentials needed for the client to connect to Azure.
  • subscription_id (str) – Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
  • api_version (str) – API version to use if no profile is provided, or if missing in profile.
  • base_url (str) – Service URL
  • profile (azure.profiles.KnownProfiles) – A profile definition, from KnownProfiles to dict.
classmethod models(api_version='2020-01-01')[source]

Module depends on the API version:

DEFAULT_API_VERSION = '2020-01-01'
LATEST_PROFILE = azure.mgmt.containerservice.ContainerServiceClient latest
agent_pools

AgentPoolsOperations * 2019-04-01: AgentPoolsOperations * 2019-06-01: AgentPoolsOperations * 2019-08-01: AgentPoolsOperations * 2019-10-01: AgentPoolsOperations * 2019-11-01: AgentPoolsOperations * 2020-01-01: AgentPoolsOperations

Type:

Instance depends on the API version

Type:
  • 2019-02-01
container_services

ContainerServicesOperations

Type:

Instance depends on the API version

Type:
  • 2017-07-01
managed_clusters

ManagedClustersOperations * 2018-08-01-preview: ManagedClustersOperations * 2019-02-01: ManagedClustersOperations * 2019-04-01: ManagedClustersOperations * 2019-06-01: ManagedClustersOperations * 2019-08-01: ManagedClustersOperations * 2019-10-01: ManagedClustersOperations * 2019-11-01: ManagedClustersOperations * 2020-01-01: ManagedClustersOperations

Type:

Instance depends on the API version

Type:
  • 2018-03-31
open_shift_managed_clusters

OpenShiftManagedClustersOperations * 2019-04-30: OpenShiftManagedClustersOperations * 2019-09-30-preview: OpenShiftManagedClustersOperations

Type:

Instance depends on the API version

Type:
  • 2018-09-30-preview
operations

Operations * 2018-08-01-preview: Operations * 2019-02-01: Operations * 2019-04-01: Operations * 2019-06-01: Operations * 2019-08-01: Operations * 2019-10-01: Operations * 2019-11-01: Operations * 2020-01-01: Operations

Type:

Instance depends on the API version

Type:
  • 2018-03-31
class azure.mgmt.containerservice.ContainerServiceClientConfiguration(credentials, subscription_id, base_url=None)[source]

Bases: msrestazure.azure_configuration.AzureConfiguration

Configuration for ContainerServiceClient Note that all parameters used to create this instance are saved as instance attributes.

Parameters:
  • credentials (A msrestazure Credentials object) – Credentials needed for the client to connect to Azure.
  • subscription_id (str) – Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
  • base_url (str) – Service URL