public class OpenShiftManagedClusterAgentPoolProfile extends Object
| Constructor and Description |
|---|
OpenShiftManagedClusterAgentPoolProfile() |
| Modifier and Type | Method and Description |
|---|---|
int |
count()
Get number of agents (VMs) to host docker containers.
|
String |
name()
Get unique name of the pool profile in the context of the subscription and resource group.
|
OSType |
osType()
Get osType to be used to specify os type.
|
OpenShiftAgentPoolProfileRole |
role()
Get define the role of the AgentPoolProfile.
|
String |
subnetCidr()
Get subnet CIDR for the peering.
|
OpenShiftContainerServiceVMSize |
vmSize()
Get size of agent VMs.
|
OpenShiftManagedClusterAgentPoolProfile |
withCount(int count)
Set number of agents (VMs) to host docker containers.
|
OpenShiftManagedClusterAgentPoolProfile |
withName(String name)
Set unique name of the pool profile in the context of the subscription and resource group.
|
OpenShiftManagedClusterAgentPoolProfile |
withOsType(OSType osType)
Set osType to be used to specify os type.
|
OpenShiftManagedClusterAgentPoolProfile |
withRole(OpenShiftAgentPoolProfileRole role)
Set define the role of the AgentPoolProfile.
|
OpenShiftManagedClusterAgentPoolProfile |
withSubnetCidr(String subnetCidr)
Set subnet CIDR for the peering.
|
OpenShiftManagedClusterAgentPoolProfile |
withVmSize(OpenShiftContainerServiceVMSize vmSize)
Set size of agent VMs.
|
public OpenShiftManagedClusterAgentPoolProfile()
public String name()
public OpenShiftManagedClusterAgentPoolProfile withName(String name)
name - the name value to setpublic int count()
public OpenShiftManagedClusterAgentPoolProfile withCount(int count)
count - the count value to setpublic OpenShiftContainerServiceVMSize vmSize()
public OpenShiftManagedClusterAgentPoolProfile withVmSize(OpenShiftContainerServiceVMSize vmSize)
vmSize - the vmSize value to setpublic String subnetCidr()
public OpenShiftManagedClusterAgentPoolProfile withSubnetCidr(String subnetCidr)
subnetCidr - the subnetCidr value to setpublic OSType osType()
public OpenShiftManagedClusterAgentPoolProfile withOsType(OSType osType)
osType - the osType value to setpublic OpenShiftAgentPoolProfileRole role()
public OpenShiftManagedClusterAgentPoolProfile withRole(OpenShiftAgentPoolProfileRole role)
role - the role value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/