public class ContainerServiceAgentPoolProfile extends Object
| Constructor and Description |
|---|
ContainerServiceAgentPoolProfile() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
count()
Get number of agents (VMs) to host docker containers.
|
String |
dnsPrefix()
Get dNS prefix to be used to create the FQDN for the agent pool.
|
String |
fqdn()
Get fQDN for the agent pool.
|
String |
name()
Get unique name of the agent pool profile in the context of the subscription and resource group.
|
Integer |
osDiskSizeGB()
Get oS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool.
|
OSType |
osType()
Get osType to be used to specify os type.
|
List<Integer> |
ports()
Get ports number array used to expose on this agent pool.
|
ContainerServiceStorageProfileTypes |
storageProfile()
Get storage profile specifies what kind of storage used.
|
ContainerServiceVMSizeTypes |
vmSize()
Get size of agent VMs.
|
String |
vnetSubnetID()
Get vNet SubnetID specifies the VNet's subnet identifier.
|
ContainerServiceAgentPoolProfile |
withCount(Integer count)
Set number of agents (VMs) to host docker containers.
|
ContainerServiceAgentPoolProfile |
withDnsPrefix(String dnsPrefix)
Set dNS prefix to be used to create the FQDN for the agent pool.
|
ContainerServiceAgentPoolProfile |
withName(String name)
Set unique name of the agent pool profile in the context of the subscription and resource group.
|
ContainerServiceAgentPoolProfile |
withOsDiskSizeGB(Integer osDiskSizeGB)
Set 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 osType to be used to specify os type.
|
ContainerServiceAgentPoolProfile |
withPorts(List<Integer> ports)
Set ports number array used to expose on this agent pool.
|
ContainerServiceAgentPoolProfile |
withStorageProfile(ContainerServiceStorageProfileTypes storageProfile)
Set storage profile specifies what kind of storage used.
|
ContainerServiceAgentPoolProfile |
withVmSize(ContainerServiceVMSizeTypes vmSize)
Set size of agent VMs.
|
ContainerServiceAgentPoolProfile |
withVnetSubnetID(String vnetSubnetID)
Set vNet SubnetID specifies the VNet's subnet identifier.
|
public String name()
public ContainerServiceAgentPoolProfile withName(String name)
name - the name value to setpublic Integer count()
public ContainerServiceAgentPoolProfile withCount(Integer count)
count - the count value to setpublic ContainerServiceVMSizeTypes vmSize()
public ContainerServiceAgentPoolProfile withVmSize(ContainerServiceVMSizeTypes vmSize)
vmSize - the vmSize value to setpublic Integer osDiskSizeGB()
public ContainerServiceAgentPoolProfile withOsDiskSizeGB(Integer osDiskSizeGB)
osDiskSizeGB - the osDiskSizeGB value to setpublic String dnsPrefix()
public ContainerServiceAgentPoolProfile withDnsPrefix(String dnsPrefix)
dnsPrefix - the dnsPrefix value to setpublic String fqdn()
public List<Integer> ports()
public ContainerServiceAgentPoolProfile withPorts(List<Integer> ports)
ports - the ports value to setpublic ContainerServiceStorageProfileTypes storageProfile()
public ContainerServiceAgentPoolProfile withStorageProfile(ContainerServiceStorageProfileTypes storageProfile)
storageProfile - the storageProfile value to setpublic String vnetSubnetID()
public ContainerServiceAgentPoolProfile withVnetSubnetID(String vnetSubnetID)
vnetSubnetID - the vnetSubnetID value to setpublic OSType osType()
public ContainerServiceAgentPoolProfile withOsType(OSType osType)
osType - the osType 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.
*/