public final class ContainerServiceAgentPoolProfile extends Object
Constructor and Description |
---|
ContainerServiceAgentPoolProfile() |
Modifier and Type | Method and Description |
---|---|
int |
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.
|
void |
validate()
Validates the instance.
|
ContainerServiceVMSizeTypes |
vmSize()
Get the vmSize property: Size of agent VMs.
|
ContainerServiceAgentPoolProfile |
withCount(int 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 |
withVmSize(ContainerServiceVMSizeTypes vmSize)
Set the vmSize property: Size of agent VMs.
|
public String name()
public ContainerServiceAgentPoolProfile withName(String name)
name
- the name value to set.public int count()
public ContainerServiceAgentPoolProfile withCount(int count)
count
- the count value to set.public ContainerServiceVMSizeTypes vmSize()
public ContainerServiceAgentPoolProfile withVmSize(ContainerServiceVMSizeTypes vmSize)
vmSize
- the vmSize value to set.public String dnsPrefix()
public ContainerServiceAgentPoolProfile withDnsPrefix(String dnsPrefix)
dnsPrefix
- the dnsPrefix value to set.public String fqdn()
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.