OpenShiftManagedClusterMasterPoolProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. OpenShiftManagedClusterMasterPoolProfile
- com.
public final class OpenShiftManagedClusterMasterPoolProfile
OpenShiftManagedClusterMaterPoolProfile contains configuration for OpenShift master VMs.
Constructor Summary
Constructor | Description |
---|---|
OpenShiftManagedClusterMasterPoolProfile() |
Creates an instance of Open |
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
count()
Get the count property: Number of masters (VMs) to host docker containers. |
String |
name()
Get the name property: Unique name of the master pool profile in the context of the subscription and resource group. |
OSType |
osType()
Get the os |
String |
subnetCidr()
Get the subnet |
void |
validate()
Validates the instance. |
Open |
vmSize()
Get the vm |
Open |
withCount(int count)
Set the count property: Number of masters (VMs) to host docker containers. |
Open |
withName(String name)
Set the name property: Unique name of the master pool profile in the context of the subscription and resource group. |
Open |
withOsType(OSType osType)
Set the os |
Open |
withSubnetCidr(String subnetCidr)
Set the subnet |
Open |
withVmSize(OpenShiftContainerServiceVMSize vmSize)
Set the vm |
Methods inherited from java.lang.Object
Constructor Details
OpenShiftManagedClusterMasterPoolProfile
public OpenShiftManagedClusterMasterPoolProfile()
Creates an instance of OpenShiftManagedClusterMasterPoolProfile class.
Method Details
count
public int count()
Get the count property: Number of masters (VMs) to host docker containers. The default value is 3.
Returns:
name
public String name()
Get the name property: Unique name of the master pool profile in the context of the subscription and resource group.
Returns:
osType
public OSType osType()
Get the osType property: OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux.
Returns:
subnetCidr
public String subnetCidr()
Get the subnetCidr property: Subnet CIDR for the peering.
Returns:
validate
public void validate()
Validates the instance.
vmSize
public OpenShiftContainerServiceVMSize vmSize()
Get the vmSize property: Size of agent VMs.
Returns:
withCount
public OpenShiftManagedClusterMasterPoolProfile withCount(int count)
Set the count property: Number of masters (VMs) to host docker containers. The default value is 3.
Parameters:
Returns:
withName
public OpenShiftManagedClusterMasterPoolProfile withName(String name)
Set the name property: Unique name of the master pool profile in the context of the subscription and resource group.
Parameters:
Returns:
withOsType
public OpenShiftManagedClusterMasterPoolProfile withOsType(OSType osType)
Set the osType property: OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux.
Parameters:
Returns:
withSubnetCidr
public OpenShiftManagedClusterMasterPoolProfile withSubnetCidr(String subnetCidr)
Set the subnetCidr property: Subnet CIDR for the peering.
Parameters:
Returns:
withVmSize
public OpenShiftManagedClusterMasterPoolProfile withVmSize(OpenShiftContainerServiceVMSize vmSize)
Set the vmSize property: Size of agent VMs.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for