azure.mgmt.containerservice.v2019_04_30.models module¶
-
class
azure.mgmt.containerservice.v2019_04_30.models.
NetworkProfile
(*, vnet_cidr: str = '10.0.0.0/8', peer_vnet_id: str = None, vnet_id: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Represents the OpenShift networking configuration.
-
class
azure.mgmt.containerservice.v2019_04_30.models.
OpenShiftManagedCluster
(*, location: str, open_shift_version: str, tags=None, plan=None, network_profile=None, router_profiles=None, master_pool_profile=None, agent_pool_profiles=None, auth_profile=None, **kwargs)[source]¶ Bases:
azure.mgmt.containerservice.v2019_04_30.models._models_py3.Resource
OpenShift Managed cluster.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
name (str) – Resource name
provisioning_state (str) – The current deployment or provisioning state, which only appears in the response.
cluster_version (str) – Version of OpenShift specified when creating the cluster.
public_hostname (str) – Service generated FQDN for OpenShift API server.
fqdn (str) – Service generated FQDN for OpenShift API server loadbalancer internal hostname.
- Parameters
location (str) – Required. Resource location
plan (PurchasePlan) – Define the resource plan as required by ARM for billing purposes
open_shift_version (str) – Required. Version of OpenShift specified when creating the cluster.
network_profile (NetworkProfile) – Configuration for OpenShift networking.
router_profiles (list[OpenShiftRouterProfile]) – Configuration for OpenShift router(s).
master_pool_profile (OpenShiftManagedClusterMasterPoolProfile) – Configuration for OpenShift master VMs.
agent_pool_profiles (list[OpenShiftManagedClusterAgentPoolProfile]) – Configuration of OpenShift cluster VMs.
auth_profile (OpenShiftManagedClusterAuthProfile) – Configures OpenShift authentication.
-
class
azure.mgmt.containerservice.v2019_04_30.models.
OpenShiftManagedClusterAADIdentityProvider
(*, client_id: str = None, secret: str = None, tenant_id: str = None, customer_admin_group_id: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.containerservice.v2019_04_30.models._models_py3.OpenShiftManagedClusterBaseIdentityProvider
Defines the Identity provider for MS AAD.
All required parameters must be populated in order to send to Azure.
- Parameters
kind (str) – Required. Constant filled by server.
client_id (str) – The clientId password associated with the provider.
secret (str) – The secret password associated with the provider.
tenant_id (str) – The tenantId associated with the provider.
customer_admin_group_id (str) – The groupId to be granted cluster admin role.
-
class
azure.mgmt.containerservice.v2019_04_30.models.
OpenShiftManagedClusterAgentPoolProfile
(*, name: str, count: int, vm_size, subnet_cidr: str = '10.0.0.0/24', os_type='Linux', role=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Defines the configuration of the OpenShift cluster VMs.
All required parameters must be populated in order to send to Azure.
- Parameters
name (str) – Required. Unique name of the pool profile in the context of the subscription and resource group.
count (int) – Required. Number of agents (VMs) to host docker containers.
vm_size (str or OpenShiftContainerServiceVMSize) – Required. Size of agent VMs. Possible values include: ‘Standard_D2s_v3’, ‘Standard_D4s_v3’, ‘Standard_D8s_v3’, ‘Standard_D16s_v3’, ‘Standard_D32s_v3’, ‘Standard_D64s_v3’, ‘Standard_DS4_v2’, ‘Standard_DS5_v2’, ‘Standard_F8s_v2’, ‘Standard_F16s_v2’, ‘Standard_F32s_v2’, ‘Standard_F64s_v2’, ‘Standard_F72s_v2’, ‘Standard_F8s’, ‘Standard_F16s’, ‘Standard_E4s_v3’, ‘Standard_E8s_v3’, ‘Standard_E16s_v3’, ‘Standard_E20s_v3’, ‘Standard_E32s_v3’, ‘Standard_E64s_v3’, ‘Standard_GS2’, ‘Standard_GS3’, ‘Standard_GS4’, ‘Standard_GS5’, ‘Standard_DS12_v2’, ‘Standard_DS13_v2’, ‘Standard_DS14_v2’, ‘Standard_DS15_v2’, ‘Standard_L4s’, ‘Standard_L8s’, ‘Standard_L16s’, ‘Standard_L32s’
subnet_cidr (str) – Subnet CIDR for the peering. Default value: “10.0.0.0/24” .
os_type (str or OSType) – OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: ‘Linux’, ‘Windows’. Default value: “Linux” .
role (str or OpenShiftAgentPoolProfileRole) – Define the role of the AgentPoolProfile. Possible values include: ‘compute’, ‘infra’
-
class
azure.mgmt.containerservice.v2019_04_30.models.
OpenShiftManagedClusterAuthProfile
(*, identity_providers=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Defines all possible authentication profiles for the OpenShift cluster.
- Parameters
identity_providers (list[OpenShiftManagedClusterIdentityProvider]) – Type of authentication profile to use.
-
class
azure.mgmt.containerservice.v2019_04_30.models.
OpenShiftManagedClusterBaseIdentityProvider
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Structure for any Identity provider.
You probably want to use the sub-classes and not this class directly. Known sub-classes are: OpenShiftManagedClusterAADIdentityProvider
All required parameters must be populated in order to send to Azure.
- Parameters
kind (str) – Required. Constant filled by server.
-
class
azure.mgmt.containerservice.v2019_04_30.models.
OpenShiftManagedClusterIdentityProvider
(*, name: str = None, provider=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Defines the configuration of the identity providers to be used in the OpenShift cluster.
- Parameters
name (str) – Name of the provider.
provider (OpenShiftManagedClusterBaseIdentityProvider) – Configuration of the provider.
-
class
azure.mgmt.containerservice.v2019_04_30.models.
OpenShiftManagedClusterMasterPoolProfile
(*, count: int, vm_size, name: str = None, subnet_cidr: str = None, os_type='Linux', **kwargs)[source]¶ Bases:
msrest.serialization.Model
OpenShiftManagedClusterMaterPoolProfile contains configuration for OpenShift master VMs.
All required parameters must be populated in order to send to Azure.
- Parameters
name (str) – Unique name of the master pool profile in the context of the subscription and resource group.
count (int) – Required. Number of masters (VMs) to host docker containers. The default value is 3.
vm_size (str or OpenShiftContainerServiceVMSize) – Required. Size of agent VMs. Possible values include: ‘Standard_D2s_v3’, ‘Standard_D4s_v3’, ‘Standard_D8s_v3’, ‘Standard_D16s_v3’, ‘Standard_D32s_v3’, ‘Standard_D64s_v3’, ‘Standard_DS4_v2’, ‘Standard_DS5_v2’, ‘Standard_F8s_v2’, ‘Standard_F16s_v2’, ‘Standard_F32s_v2’, ‘Standard_F64s_v2’, ‘Standard_F72s_v2’, ‘Standard_F8s’, ‘Standard_F16s’, ‘Standard_E4s_v3’, ‘Standard_E8s_v3’, ‘Standard_E16s_v3’, ‘Standard_E20s_v3’, ‘Standard_E32s_v3’, ‘Standard_E64s_v3’, ‘Standard_GS2’, ‘Standard_GS3’, ‘Standard_GS4’, ‘Standard_GS5’, ‘Standard_DS12_v2’, ‘Standard_DS13_v2’, ‘Standard_DS14_v2’, ‘Standard_DS15_v2’, ‘Standard_L4s’, ‘Standard_L8s’, ‘Standard_L16s’, ‘Standard_L32s’
subnet_cidr (str) – Subnet CIDR for the peering.
os_type (str or OSType) – OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: ‘Linux’, ‘Windows’. Default value: “Linux” .
-
class
azure.mgmt.containerservice.v2019_04_30.models.
OpenShiftRouterProfile
(*, name: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Represents an OpenShift router.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.containerservice.v2019_04_30.models.
PurchasePlan
(*, name: str = None, product: str = None, promotion_code: str = None, publisher: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.
-
class
azure.mgmt.containerservice.v2019_04_30.models.
Resource
(*, location: str, tags=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The Resource model definition.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
-
class
azure.mgmt.containerservice.v2019_04_30.models.
TagsObject
(*, tags=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Tags object for patch operations.
-
class
azure.mgmt.containerservice.v2019_04_30.models.
OpenShiftManagedClusterPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
OpenShiftManagedCluster
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.containerservice.v2019_04_30.models.
OSType
[source]¶ -
An enumeration.
-
linux
= 'Linux'¶
-
windows
= 'Windows'¶
-
-
class
azure.mgmt.containerservice.v2019_04_30.models.
OpenShiftContainerServiceVMSize
[source]¶ -
An enumeration.
-
standard_d16s_v3
= 'Standard_D16s_v3'¶
-
standard_d2s_v3
= 'Standard_D2s_v3'¶
-
standard_d32s_v3
= 'Standard_D32s_v3'¶
-
standard_d4s_v3
= 'Standard_D4s_v3'¶
-
standard_d64s_v3
= 'Standard_D64s_v3'¶
-
standard_d8s_v3
= 'Standard_D8s_v3'¶
-
standard_ds12_v2
= 'Standard_DS12_v2'¶
-
standard_ds13_v2
= 'Standard_DS13_v2'¶
-
standard_ds14_v2
= 'Standard_DS14_v2'¶
-
standard_ds15_v2
= 'Standard_DS15_v2'¶
-
standard_ds4_v2
= 'Standard_DS4_v2'¶
-
standard_ds5_v2
= 'Standard_DS5_v2'¶
-
standard_e16s_v3
= 'Standard_E16s_v3'¶
-
standard_e20s_v3
= 'Standard_E20s_v3'¶
-
standard_e32s_v3
= 'Standard_E32s_v3'¶
-
standard_e4s_v3
= 'Standard_E4s_v3'¶
-
standard_e64s_v3
= 'Standard_E64s_v3'¶
-
standard_e8s_v3
= 'Standard_E8s_v3'¶
-
standard_f16s
= 'Standard_F16s'¶
-
standard_f16s_v2
= 'Standard_F16s_v2'¶
-
standard_f32s_v2
= 'Standard_F32s_v2'¶
-
standard_f64s_v2
= 'Standard_F64s_v2'¶
-
standard_f72s_v2
= 'Standard_F72s_v2'¶
-
standard_f8s
= 'Standard_F8s'¶
-
standard_f8s_v2
= 'Standard_F8s_v2'¶
-
standard_gs2
= 'Standard_GS2'¶
-
standard_gs3
= 'Standard_GS3'¶
-
standard_gs4
= 'Standard_GS4'¶
-
standard_gs5
= 'Standard_GS5'¶
-
standard_l16s
= 'Standard_L16s'¶
-
standard_l32s
= 'Standard_L32s'¶
-
standard_l4s
= 'Standard_L4s'¶
-
standard_l8s
= 'Standard_L8s'¶
-