azure.mgmt.compute.containerservice.v2017_01_31.models module

class azure.mgmt.compute.containerservice.v2017_01_31.models.Resource(location, tags=None)[source]

Bases: msrest.serialization.Model

The Resource model definition.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
Parameters:
  • location (str) – Resource location
  • tags (dict) – Resource tags
class azure.mgmt.compute.containerservice.v2017_01_31.models.ContainerServiceCustomProfile(orchestrator)[source]

Bases: msrest.serialization.Model

Properties to configure a custom container service cluster.

Parameters:orchestrator (str) – The name of the custom orchestrator to use.
class azure.mgmt.compute.containerservice.v2017_01_31.models.ContainerServiceServicePrincipalProfile(client_id, secret)[source]

Bases: msrest.serialization.Model

Information about a service principal identity for the cluster to use for manipulating Azure APIs.

Parameters:
  • client_id (str) – The ID for the service principal.
  • secret (str) – The secret password associated with the service principal.
class azure.mgmt.compute.containerservice.v2017_01_31.models.ContainerServiceOrchestratorProfile(orchestrator_type)[source]

Bases: msrest.serialization.Model

Profile for the container service orchestrator.

Parameters:orchestrator_type (str or ContainerServiceOchestratorTypes) – The orchestrator to use to manage container service cluster resources. Valid values are Swarm, DCOS, and Custom. Possible values include: ‘Swarm’, ‘DCOS’, ‘Custom’, ‘Kubernetes’
class azure.mgmt.compute.containerservice.v2017_01_31.models.ContainerServiceMasterProfile(dns_prefix, count=1)[source]

Bases: msrest.serialization.Model

Profile for the container service master.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters:
  • count (int) – Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. The default value is 1. Default value: 1 .
  • dns_prefix (str) – DNS prefix to be used to create the FQDN for master.
Variables:

fqdn (str) – FDQN for the master.

class azure.mgmt.compute.containerservice.v2017_01_31.models.ContainerServiceAgentPoolProfile(name, vm_size, dns_prefix, count=1)[source]

Bases: msrest.serialization.Model

Profile for the container service agent pool.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters:
  • name (str) – Unique name of the agent pool profile in the context of the subscription and resource group.
  • count (int) – Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. . Default value: 1 .
  • vm_size (str or ContainerServiceVMSizeTypes) – Size of agent VMs. Possible values include: ‘Standard_A0’, ‘Standard_A1’, ‘Standard_A2’, ‘Standard_A3’, ‘Standard_A4’, ‘Standard_A5’, ‘Standard_A6’, ‘Standard_A7’, ‘Standard_A8’, ‘Standard_A9’, ‘Standard_A10’, ‘Standard_A11’, ‘Standard_D1’, ‘Standard_D2’, ‘Standard_D3’, ‘Standard_D4’, ‘Standard_D11’, ‘Standard_D12’, ‘Standard_D13’, ‘Standard_D14’, ‘Standard_D1_v2’, ‘Standard_D2_v2’, ‘Standard_D3_v2’, ‘Standard_D4_v2’, ‘Standard_D5_v2’, ‘Standard_D11_v2’, ‘Standard_D12_v2’, ‘Standard_D13_v2’, ‘Standard_D14_v2’, ‘Standard_G1’, ‘Standard_G2’, ‘Standard_G3’, ‘Standard_G4’, ‘Standard_G5’, ‘Standard_DS1’, ‘Standard_DS2’, ‘Standard_DS3’, ‘Standard_DS4’, ‘Standard_DS11’, ‘Standard_DS12’, ‘Standard_DS13’, ‘Standard_DS14’, ‘Standard_GS1’, ‘Standard_GS2’, ‘Standard_GS3’, ‘Standard_GS4’, ‘Standard_GS5’
  • dns_prefix (str) – DNS prefix to be used to create the FQDN for the agent pool.
Variables:

fqdn (str) – FDQN for the agent pool.

class azure.mgmt.compute.containerservice.v2017_01_31.models.ContainerServiceWindowsProfile(admin_username, admin_password)[source]

Bases: msrest.serialization.Model

Profile for Windows VMs in the container service cluster.

Parameters:
  • admin_username (str) – The administrator username to use for Windows VMs.
  • admin_password (str) – The administrator password to use for Windows VMs.
class azure.mgmt.compute.containerservice.v2017_01_31.models.ContainerServiceSshPublicKey(key_data)[source]

Bases: msrest.serialization.Model

Contains information about SSH certificate public key data.

Parameters:key_data (str) – Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers.
class azure.mgmt.compute.containerservice.v2017_01_31.models.ContainerServiceSshConfiguration(public_keys)[source]

Bases: msrest.serialization.Model

SSH configuration for Linux-based VMs running on Azure.

Parameters:public_keys (list of ContainerServiceSshPublicKey) – the list of SSH public keys used to authenticate with Linux-based VMs.
class azure.mgmt.compute.containerservice.v2017_01_31.models.ContainerServiceLinuxProfile(admin_username, ssh)[source]

Bases: msrest.serialization.Model

Profile for Linux VMs in the container service cluster.

Parameters:
class azure.mgmt.compute.containerservice.v2017_01_31.models.ContainerServiceVMDiagnostics(enabled)[source]

Bases: msrest.serialization.Model

Profile for diagnostics on the container service VMs.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters:enabled (bool) – Whether the VM diagnostic agent is provisioned on the VM.
Variables:storage_uri (str) – The URI of the storage account where diagnostics are stored.
class azure.mgmt.compute.containerservice.v2017_01_31.models.ContainerServiceDiagnosticsProfile(vm_diagnostics)[source]

Bases: msrest.serialization.Model

ContainerServiceDiagnosticsProfile.

Parameters:vm_diagnostics (ContainerServiceVMDiagnostics) – Profile for the container service VM diagnostic agent.
class azure.mgmt.compute.containerservice.v2017_01_31.models.ContainerService(location, master_profile, agent_pool_profiles, linux_profile, tags=None, orchestrator_profile=None, custom_profile=None, service_principal_profile=None, windows_profile=None, diagnostics_profile=None)[source]

Bases: azure.mgmt.compute.containerservice.v2017_01_31.models.resource.Resource

Container service.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • id (str) – Resource Id
  • name (str) – Resource name
  • type (str) – Resource type
  • provisioning_state (str) – the current deployment or provisioning state, which only appears in the response.
Parameters:
class azure.mgmt.compute.containerservice.v2017_01_31.models.ContainerServicePaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of ContainerService object

class azure.mgmt.compute.containerservice.v2017_01_31.models.ContainerServiceOchestratorTypes[source]

Bases: enum.Enum

custom = 'Custom'
dcos = 'DCOS'
kubernetes = 'Kubernetes'
swarm = 'Swarm'
class azure.mgmt.compute.containerservice.v2017_01_31.models.ContainerServiceVMSizeTypes[source]

Bases: enum.Enum

standard_a0 = 'Standard_A0'
standard_a1 = 'Standard_A1'
standard_a10 = 'Standard_A10'
standard_a11 = 'Standard_A11'
standard_a2 = 'Standard_A2'
standard_a3 = 'Standard_A3'
standard_a4 = 'Standard_A4'
standard_a5 = 'Standard_A5'
standard_a6 = 'Standard_A6'
standard_a7 = 'Standard_A7'
standard_a8 = 'Standard_A8'
standard_a9 = 'Standard_A9'
standard_d1 = 'Standard_D1'
standard_d11 = 'Standard_D11'
standard_d11_v2 = 'Standard_D11_v2'
standard_d12 = 'Standard_D12'
standard_d12_v2 = 'Standard_D12_v2'
standard_d13 = 'Standard_D13'
standard_d13_v2 = 'Standard_D13_v2'
standard_d14 = 'Standard_D14'
standard_d14_v2 = 'Standard_D14_v2'
standard_d1_v2 = 'Standard_D1_v2'
standard_d2 = 'Standard_D2'
standard_d2_v2 = 'Standard_D2_v2'
standard_d3 = 'Standard_D3'
standard_d3_v2 = 'Standard_D3_v2'
standard_d4 = 'Standard_D4'
standard_d4_v2 = 'Standard_D4_v2'
standard_d5_v2 = 'Standard_D5_v2'
standard_ds1 = 'Standard_DS1'
standard_ds11 = 'Standard_DS11'
standard_ds12 = 'Standard_DS12'
standard_ds13 = 'Standard_DS13'
standard_ds14 = 'Standard_DS14'
standard_ds2 = 'Standard_DS2'
standard_ds3 = 'Standard_DS3'
standard_ds4 = 'Standard_DS4'
standard_g1 = 'Standard_G1'
standard_g2 = 'Standard_G2'
standard_g3 = 'Standard_G3'
standard_g4 = 'Standard_G4'
standard_g5 = 'Standard_G5'
standard_gs1 = 'Standard_GS1'
standard_gs2 = 'Standard_GS2'
standard_gs3 = 'Standard_GS3'
standard_gs4 = 'Standard_GS4'
standard_gs5 = 'Standard_GS5'