public final class OpenShiftManagedClusterMasterPoolProfile extends Object
| Constructor and Description |
|---|
OpenShiftManagedClusterMasterPoolProfile() |
| 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 osType property: OsType to be used to specify os type.
|
String |
subnetCidr()
Get the subnetCidr property: Subnet CIDR for the peering.
|
void |
validate()
Validates the instance.
|
OpenShiftContainerServiceVMSize |
vmSize()
Get the vmSize property: Size of agent VMs.
|
OpenShiftManagedClusterMasterPoolProfile |
withCount(int count)
Set the count property: Number of masters (VMs) to host docker containers.
|
OpenShiftManagedClusterMasterPoolProfile |
withName(String name)
Set the name property: Unique name of the master pool profile in the context of the subscription and resource
group.
|
OpenShiftManagedClusterMasterPoolProfile |
withOsType(OSType osType)
Set the osType property: OsType to be used to specify os type.
|
OpenShiftManagedClusterMasterPoolProfile |
withSubnetCidr(String subnetCidr)
Set the subnetCidr property: Subnet CIDR for the peering.
|
OpenShiftManagedClusterMasterPoolProfile |
withVmSize(OpenShiftContainerServiceVMSize vmSize)
Set the vmSize property: Size of agent VMs.
|
public OpenShiftManagedClusterMasterPoolProfile()
public String name()
public OpenShiftManagedClusterMasterPoolProfile withName(String name)
name - the name value to set.public int count()
public OpenShiftManagedClusterMasterPoolProfile withCount(int count)
count - the count value to set.public OpenShiftContainerServiceVMSize vmSize()
public OpenShiftManagedClusterMasterPoolProfile withVmSize(OpenShiftContainerServiceVMSize vmSize)
vmSize - the vmSize value to set.public String subnetCidr()
public OpenShiftManagedClusterMasterPoolProfile withSubnetCidr(String subnetCidr)
subnetCidr - the subnetCidr value to set.public OSType osType()
public OpenShiftManagedClusterMasterPoolProfile withOsType(OSType osType)
osType - the osType value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.