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