OpenShiftManagedClusterAgentPoolProfile Class

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

public class OpenShiftManagedClusterAgentPoolProfile

Defines the configuration of the OpenShift cluster VMs.

Method Summary

Modifier and Type Method and Description
int count()

Get number of agents (VMs) to host docker containers.

String name()

Get unique name of the 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'.

OpenShiftAgentPoolProfileRole role()

Get define the role of the AgentPoolProfile. Possible values include: 'compute', 'infra'.

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

OpenShiftManagedClusterAgentPoolProfile withCount(int count)

Set number of agents (VMs) to host docker containers.

OpenShiftManagedClusterAgentPoolProfile withName(String name)

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

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

OpenShiftManagedClusterAgentPoolProfile withRole(OpenShiftAgentPoolProfileRole role)

Set define the role of the AgentPoolProfile. Possible values include: 'compute', 'infra'.

OpenShiftManagedClusterAgentPoolProfile withSubnetCidr(String subnetCidr)

Set subnet CIDR for the peering.

OpenShiftManagedClusterAgentPoolProfile 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 agents (VMs) to host docker containers.

Returns:

the count value

name

public String name()

Get unique name of the 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

role

public OpenShiftAgentPoolProfileRole role()

Get define the role of the AgentPoolProfile. Possible values include: 'compute', 'infra'.

Returns:

the role 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 OpenShiftManagedClusterAgentPoolProfile withCount(int count)

Set number of agents (VMs) to host docker containers.

Parameters:

count - the count value to set

Returns:

the OpenShiftManagedClusterAgentPoolProfile object itself.

withName

public OpenShiftManagedClusterAgentPoolProfile withName(String name)

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

Parameters:

name - the name value to set

Returns:

the OpenShiftManagedClusterAgentPoolProfile object itself.

withOsType

public OpenShiftManagedClusterAgentPoolProfile 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 OpenShiftManagedClusterAgentPoolProfile object itself.

withRole

public OpenShiftManagedClusterAgentPoolProfile withRole(OpenShiftAgentPoolProfileRole role)

Set define the role of the AgentPoolProfile. Possible values include: 'compute', 'infra'.

Parameters:

role - the role value to set

Returns:

the OpenShiftManagedClusterAgentPoolProfile object itself.

withSubnetCidr

public OpenShiftManagedClusterAgentPoolProfile withSubnetCidr(String subnetCidr)

Set subnet CIDR for the peering.

Parameters:

subnetCidr - the subnetCidr value to set

Returns:

the OpenShiftManagedClusterAgentPoolProfile object itself.

withVmSize

public OpenShiftManagedClusterAgentPoolProfile 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 OpenShiftManagedClusterAgentPoolProfile object itself.

Applies to