Class OpenShiftManagedClusterMasterPoolProfile
java.lang.Object
com.microsoft.azure.management.containerservice.OpenShiftManagedClusterMasterPoolProfile
OpenShiftManagedClusterMaterPoolProfile contains configuration for OpenShift
master VMs.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
count()
Get number of masters (VMs) to host docker containers.name()
Get unique name of the master pool profile in the context of the subscription and resource group.osType()
Get osType to be used to specify os type.Get subnet CIDR for the peering.vmSize()
Get size of agent VMs.withCount
(int count) Set number of masters (VMs) to host docker containers.Set unique name of the master pool profile in the context of the subscription and resource group.withOsType
(OSType osType) Set osType to be used to specify os type.withSubnetCidr
(String subnetCidr) Set subnet CIDR for the peering.Set size of agent VMs.
-
Constructor Details
-
OpenShiftManagedClusterMasterPoolProfile
public OpenShiftManagedClusterMasterPoolProfile()
-
-
Method Details
-
name
Get unique name of the master pool profile in the context of the subscription and resource group.- Returns:
- the name value
-
withName
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.
-
count
public int count()Get number of masters (VMs) to host docker containers. The default value is 3.- Returns:
- the count value
-
withCount
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.
-
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 OpenShiftManagedClusterMasterPoolProfile 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 OpenShiftManagedClusterMasterPoolProfile 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 OpenShiftManagedClusterMasterPoolProfile object itself.
-