AgentPool Interface
public interface AgentPool
An immutable client-side representation of AgentPool.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Administrator |
administratorConfiguration()
Gets the administrator |
|
abstract
Agent |
agentOptions()
Gets the agent |
|
abstract
Attached |
attachedNetworkConfiguration()
Gets the attached |
| abstract List<String> |
availabilityZones()
Gets the availability |
| abstract long |
count()
Gets the count property: The number of virtual machines that use this configuration. |
|
abstract
Agent |
detailedStatus()
Gets the detailed |
| abstract String |
detailedStatusMessage()
Gets the detailed |
| abstract String |
etag()
Gets the etag property: Resource ETag. |
|
abstract
Extended |
extendedLocation()
Gets the extended |
| abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
|
abstract
Agent |
innerModel()
Gets the inner com. |
| abstract String |
kubernetesVersion()
Gets the kubernetes |
|
abstract
List<Kubernetes |
labels()
Gets the labels property: The labels applied to the nodes in this agent pool. |
| abstract String |
location()
Gets the location property: The geo-location where the resource lives. |
|
abstract
Agent |
mode()
Gets the mode property: The selection of how this agent pool is utilized, either as a system pool or a user pool. |
| abstract String |
name()
Gets the name property: The name of the resource. |
|
abstract
Agent |
provisioningState()
Gets the provisioning |
|
abstract
Agent |
refresh()
Refreshes the resource to sync with Azure. |
|
abstract
Agent |
refresh(Context context)
Refreshes the resource to sync with Azure. |
| abstract Region |
region()
Gets the region of the resource. |
| abstract String |
regionName()
Gets the name of the resource region. |
| abstract String |
resourceGroupName()
Gets the name of the resource group. |
|
abstract
System |
systemData()
Gets the system |
| abstract Map<String,String> |
tags()
Gets the tags property: Resource tags. |
|
abstract
List<Kubernetes |
taints()
Gets the taints property: The taints applied to the nodes in this agent pool. |
| abstract String |
type()
Gets the type property: The type of the resource. |
| abstract Update |
update()
Begins update for the Agent |
|
abstract
Agent |
upgradeSettings()
Gets the upgrade |
| abstract String |
vmSkuName()
Gets the vm |
Method Details
administratorConfiguration
public abstract AdministratorConfiguration administratorConfiguration()
Gets the administratorConfiguration property: The administrator credentials to be used for the nodes in this agent pool.
Returns:
agentOptions
public abstract AgentOptions agentOptions()
Gets the agentOptions property: The configurations that will be applied to each agent in this agent pool.
Returns:
attachedNetworkConfiguration
public abstract AttachedNetworkConfiguration attachedNetworkConfiguration()
Gets the attachedNetworkConfiguration property: The configuration of networks being attached to the agent pool for use by the workloads that run on this Kubernetes cluster.
Returns:
availabilityZones
public abstract List<String> availabilityZones()
Gets the availabilityZones property: The list of availability zones of the Network Cloud cluster used for the provisioning of nodes in this agent pool. If not specified, all availability zones will be used.
Returns:
count
public abstract long count()
Gets the count property: The number of virtual machines that use this configuration.
Returns:
detailedStatus
public abstract AgentPoolDetailedStatus detailedStatus()
Gets the detailedStatus property: The current status of the agent pool.
Returns:
detailedStatusMessage
public abstract String detailedStatusMessage()
Gets the detailedStatusMessage property: The descriptive message about the current detailed status.
Returns:
etag
public abstract String etag()
Gets the etag property: Resource ETag.
Returns:
extendedLocation
public abstract ExtendedLocation extendedLocation()
Gets the extendedLocation property: The extended location of the cluster associated with the resource.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract AgentPoolInner innerModel()
Gets the inner com.azure.resourcemanager.networkcloud.fluent.models.AgentPoolInner object.
Returns:
kubernetesVersion
public abstract String kubernetesVersion()
Gets the kubernetesVersion property: The Kubernetes version running in this agent pool.
Returns:
labels
public abstract List<KubernetesLabel> labels()
Gets the labels property: The labels applied to the nodes in this agent pool.
Returns:
location
public abstract String location()
Gets the location property: The geo-location where the resource lives.
Returns:
mode
public abstract AgentPoolMode mode()
Gets the mode property: The selection of how this agent pool is utilized, either as a system pool or a user pool. System pools run the features and critical services for the Kubernetes Cluster, while user pools are dedicated to user workloads. Every Kubernetes cluster must contain at least one system node pool with at least one node.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
provisioningState
public abstract AgentPoolProvisioningState provisioningState()
Gets the provisioningState property: The provisioning state of the agent pool.
Returns:
refresh
public abstract AgentPool refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract AgentPool refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
region
public abstract Region region()
Gets the region of the resource.
Returns:
regionName
public abstract String regionName()
Gets the name of the resource region.
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
systemData
public abstract SystemData systemData()
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
tags
public abstract Map<String,String> tags()
Gets the tags property: Resource tags.
Returns:
taints
public abstract List<KubernetesLabel> taints()
Gets the taints property: The taints applied to the nodes in this agent pool.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract AgentPool.Update update()
Begins update for the AgentPool resource.
Returns:
upgradeSettings
public abstract AgentPoolUpgradeSettings upgradeSettings()
Gets the upgradeSettings property: The configuration of the agent pool.
Returns:
vmSkuName
public abstract String vmSkuName()
Gets the vmSkuName property: The name of the VM SKU that determines the size of resources allocated for node VMs.
Returns: