public final class ContainerServiceAgentPoolProfile extends Object
| Constructor and Description |
|---|
ContainerServiceAgentPoolProfile() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
count()
Get the count property: Number of agents (VMs) to host docker containers.
|
String |
dnsPrefix()
Get the dnsPrefix property: DNS prefix to be used to create the FQDN for the agent pool.
|
String |
fqdn()
Get the fqdn property: FQDN for the agent pool.
|
String |
name()
Get the name property: Unique name of the agent pool profile in the context of the subscription and resource
group.
|
Integer |
osDiskSizeGB()
Get the osDiskSizeGB property: OS Disk Size in GB to be used to specify the disk size for every machine in this
master/agent pool.
|
OSType |
osType()
Get the osType property: OsType to be used to specify os type.
|
List<Integer> |
ports()
Get the ports property: Ports number array used to expose on this agent pool.
|
ContainerServiceStorageProfileTypes |
storageProfile()
Get the storageProfile property: Storage profile specifies what kind of storage used.
|
void |
validate()
Validates the instance.
|
ContainerServiceVMSizeTypes |
vmSize()
Get the vmSize property: Size of agent VMs.
|
String |
vnetSubnetId()
Get the vnetSubnetId property: VNet SubnetID specifies the VNet's subnet identifier.
|
ContainerServiceAgentPoolProfile |
withCount(Integer count)
Set the count property: Number of agents (VMs) to host docker containers.
|
ContainerServiceAgentPoolProfile |
withDnsPrefix(String dnsPrefix)
Set the dnsPrefix property: DNS prefix to be used to create the FQDN for the agent pool.
|
ContainerServiceAgentPoolProfile |
withName(String name)
Set the name property: Unique name of the agent pool profile in the context of the subscription and resource
group.
|
ContainerServiceAgentPoolProfile |
withOsDiskSizeGB(Integer osDiskSizeGB)
Set the osDiskSizeGB property: OS Disk Size in GB to be used to specify the disk size for every machine in this
master/agent pool.
|
ContainerServiceAgentPoolProfile |
withOsType(OSType osType)
Set the osType property: OsType to be used to specify os type.
|
ContainerServiceAgentPoolProfile |
withPorts(List<Integer> ports)
Set the ports property: Ports number array used to expose on this agent pool.
|
ContainerServiceAgentPoolProfile |
withStorageProfile(ContainerServiceStorageProfileTypes storageProfile)
Set the storageProfile property: Storage profile specifies what kind of storage used.
|
ContainerServiceAgentPoolProfile |
withVmSize(ContainerServiceVMSizeTypes vmSize)
Set the vmSize property: Size of agent VMs.
|
ContainerServiceAgentPoolProfile |
withVnetSubnetId(String vnetSubnetId)
Set the vnetSubnetId property: VNet SubnetID specifies the VNet's subnet identifier.
|
public String name()
public ContainerServiceAgentPoolProfile withName(String name)
name - the name value to set.public Integer count()
public ContainerServiceAgentPoolProfile withCount(Integer count)
count - the count value to set.public ContainerServiceVMSizeTypes vmSize()
public ContainerServiceAgentPoolProfile withVmSize(ContainerServiceVMSizeTypes vmSize)
vmSize - the vmSize value to set.public Integer osDiskSizeGB()
public ContainerServiceAgentPoolProfile withOsDiskSizeGB(Integer osDiskSizeGB)
osDiskSizeGB - the osDiskSizeGB value to set.public String dnsPrefix()
public ContainerServiceAgentPoolProfile withDnsPrefix(String dnsPrefix)
dnsPrefix - the dnsPrefix value to set.public String fqdn()
public List<Integer> ports()
public ContainerServiceAgentPoolProfile withPorts(List<Integer> ports)
ports - the ports value to set.public ContainerServiceStorageProfileTypes storageProfile()
public ContainerServiceAgentPoolProfile withStorageProfile(ContainerServiceStorageProfileTypes storageProfile)
storageProfile - the storageProfile value to set.public String vnetSubnetId()
public ContainerServiceAgentPoolProfile withVnetSubnetId(String vnetSubnetId)
vnetSubnetId - the vnetSubnetId value to set.public OSType osType()
public ContainerServiceAgentPoolProfile 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.