OpenShiftManagedClusterMasterPoolProfile Class

  • java.lang.Object
    • com.microsoft.azure.management.containerservice.OpenShiftManagedClusterMasterPoolProfile

public class OpenShiftManagedClusterMasterPoolProfile

OpenShiftManagedClusterMaterPoolProfile contains configuration for OpenShift master VMs.

Method Summary

Modifier and Type Method and Description
int count()

Get number of masters (VMs) to host docker containers. The default value is 3.

String name()

Get unique name of the master pool profile in the context of the subscription and resource group.

OSType osType()

Get osType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'.

String subnetCidr()

Get subnet CIDR for the peering.

OpenShiftContainerServiceVMSize vmSize()

Get 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'.

OpenShiftManagedClusterMasterPoolProfile withCount(int count)

Set number of masters (VMs) to host docker containers. The default value is 3.

OpenShiftManagedClusterMasterPoolProfile withName(String name)

Set unique name of the master pool profile in the context of the subscription and resource group.

OpenShiftManagedClusterMasterPoolProfile withOsType(OSType osType)

Set osType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'.

OpenShiftManagedClusterMasterPoolProfile withSubnetCidr(String subnetCidr)

Set subnet CIDR for the peering.

OpenShiftManagedClusterMasterPoolProfile withVmSize(OpenShiftContainerServiceVMSize vmSize)

Set 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'.

Method Details

count

public int count()

Get number of masters (VMs) to host docker containers. The default value is 3.

Returns:

the count value

name

public String name()

Get unique name of the master pool profile in the context of the subscription and resource group.

Returns:

the name value

osType

public OSType osType()

Get osType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'.

Returns:

the osType value

subnetCidr

public String subnetCidr()

Get subnet CIDR for the peering.

Returns:

the subnetCidr value

vmSize

public OpenShiftContainerServiceVMSize vmSize()

Get 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'.

Returns:

the vmSize value

withCount

public OpenShiftManagedClusterMasterPoolProfile withCount(int count)

Set number of masters (VMs) to host docker containers. The default value is 3.

Parameters:

count - the count value to set

Returns:

the OpenShiftManagedClusterMasterPoolProfile object itself.

withName

public OpenShiftManagedClusterMasterPoolProfile withName(String name)

Set unique name of the master pool profile in the context of the subscription and resource group.

Parameters:

name - the name value to set

Returns:

the OpenShiftManagedClusterMasterPoolProfile object itself.

withOsType

public OpenShiftManagedClusterMasterPoolProfile withOsType(OSType osType)

Set osType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'.

Parameters:

osType - the osType value to set

Returns:

the OpenShiftManagedClusterMasterPoolProfile object itself.

withSubnetCidr

public OpenShiftManagedClusterMasterPoolProfile withSubnetCidr(String subnetCidr)

Set subnet CIDR for the peering.

Parameters:

subnetCidr - the subnetCidr value to set

Returns:

the OpenShiftManagedClusterMasterPoolProfile object itself.

withVmSize

public OpenShiftManagedClusterMasterPoolProfile withVmSize(OpenShiftContainerServiceVMSize vmSize)

Set 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'.

Parameters:

vmSize - the vmSize value to set

Returns:

the OpenShiftManagedClusterMasterPoolProfile object itself.

Applies to