Class OpenShiftManagedClusterAgentPoolProfile
java.lang.Object
com.microsoft.azure.management.containerservice.OpenShiftManagedClusterAgentPoolProfile
Defines the configuration of the OpenShift cluster VMs.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
count()
Get number of agents (VMs) to host docker containers.name()
Get unique name of the pool profile in the context of the subscription and resource group.osType()
Get osType to be used to specify os type.role()
Get define the role of the AgentPoolProfile.Get subnet CIDR for the peering.vmSize()
Get size of agent VMs.withCount
(int count) Set number of agents (VMs) to host docker containers.Set unique name of the pool profile in the context of the subscription and resource group.withOsType
(OSType osType) Set osType to be used to specify os type.Set define the role of the AgentPoolProfile.withSubnetCidr
(String subnetCidr) Set subnet CIDR for the peering.Set size of agent VMs.
-
Constructor Details
-
OpenShiftManagedClusterAgentPoolProfile
public OpenShiftManagedClusterAgentPoolProfile()
-
-
Method Details
-
name
Get unique name of the pool profile in the context of the subscription and resource group.- Returns:
- the name value
-
withName
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.
-
count
public int count()Get number of agents (VMs) to host docker containers.- Returns:
- the count value
-
withCount
Set number of agents (VMs) to host docker containers.- Parameters:
count
- the count value to set- Returns:
- the OpenShiftManagedClusterAgentPoolProfile object itself.
-
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
-
withVmSize
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.
-
subnetCidr
Get subnet CIDR for the peering.- Returns:
- the subnetCidr value
-
withSubnetCidr
Set subnet CIDR for the peering.- Parameters:
subnetCidr
- the subnetCidr value to set- Returns:
- the OpenShiftManagedClusterAgentPoolProfile object itself.
-
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
-
withOsType
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.
-
role
Get define the role of the AgentPoolProfile. Possible values include: 'compute', 'infra'.- Returns:
- the role value
-
withRole
Set define the role of the AgentPoolProfile. Possible values include: 'compute', 'infra'.- Parameters:
role
- the role value to set- Returns:
- the OpenShiftManagedClusterAgentPoolProfile object itself.
-