AgentPoolInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. networkcloud. fluent. models. AgentPoolInner
- com.
- com.
- com.
public final class AgentPoolInner
extends Resource
AgentPool represents the agent pool of Kubernetes cluster.
Constructor Summary
| Constructor | Description |
|---|---|
| AgentPoolInner() |
Creates an instance of Agent |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Administrator |
administratorConfiguration()
Get the administrator |
|
Agent |
agentOptions()
Get the agent |
|
Attached |
attachedNetworkConfiguration()
Get the attached |
| List<String> |
availabilityZones()
Get the availability |
| long |
count()
Get the count property: The number of virtual machines that use this configuration. |
|
Agent |
detailedStatus()
Get the detailed |
| String |
detailedStatusMessage()
Get the detailed |
| String |
etag()
Get the etag property: Resource ETag. |
|
Extended |
extendedLocation()
Get the extended |
|
static
Agent |
fromJson(JsonReader jsonReader)
Reads an instance of Agent |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
kubernetesVersion()
Get the kubernetes |
|
List<Kubernetes |
labels()
Get the labels property: The labels applied to the nodes in this agent pool. |
|
Agent |
mode()
Get the mode property: The selection of how this agent pool is utilized, either as a system pool or a user pool. |
| String |
name()
Get the name property: The name of the resource. |
|
Agent |
provisioningState()
Get the provisioning |
|
System |
systemData()
Get the system |
|
List<Kubernetes |
taints()
Get the taints property: The taints applied to the nodes in this agent pool. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
|
Agent |
upgradeSettings()
Get the upgrade |
| void |
validate()
Validates the instance. |
| String |
vmSkuName()
Get the vm |
|
Agent |
withAdministratorConfiguration(AdministratorConfiguration administratorConfiguration)
Set the administrator |
|
Agent |
withAgentOptions(AgentOptions agentOptions)
Set the agent |
|
Agent |
withAttachedNetworkConfiguration(AttachedNetworkConfiguration attachedNetworkConfiguration)
Set the attached |
|
Agent |
withAvailabilityZones(List<String> availabilityZones)
Set the availability |
|
Agent |
withCount(long count)
Set the count property: The number of virtual machines that use this configuration. |
|
Agent |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extended |
|
Agent |
withLabels(List<KubernetesLabel> labels)
Set the labels property: The labels applied to the nodes in this agent pool. |
|
Agent |
withLocation(String location) |
|
Agent |
withMode(AgentPoolMode mode)
Set the mode property: The selection of how this agent pool is utilized, either as a system pool or a user pool. |
|
Agent |
withTags(Map<String,String> tags) |
|
Agent |
withTaints(List<KubernetesLabel> taints)
Set the taints property: The taints applied to the nodes in this agent pool. |
|
Agent |
withUpgradeSettings(AgentPoolUpgradeSettings upgradeSettings)
Set the upgrade |
|
Agent |
withVmSkuName(String vmSkuName)
Set the vm |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
AgentPoolInner
public AgentPoolInner()
Creates an instance of AgentPoolInner class.
Method Details
administratorConfiguration
public AdministratorConfiguration administratorConfiguration()
Get the administratorConfiguration property: The administrator credentials to be used for the nodes in this agent pool.
Returns:
agentOptions
public AgentOptions agentOptions()
Get the agentOptions property: The configurations that will be applied to each agent in this agent pool.
Returns:
attachedNetworkConfiguration
public AttachedNetworkConfiguration attachedNetworkConfiguration()
Get 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 List<String> availabilityZones()
Get 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 long count()
Get the count property: The number of virtual machines that use this configuration.
Returns:
detailedStatus
public AgentPoolDetailedStatus detailedStatus()
Get the detailedStatus property: The current status of the agent pool.
Returns:
detailedStatusMessage
public String detailedStatusMessage()
Get the detailedStatusMessage property: The descriptive message about the current detailed status.
Returns:
etag
public String etag()
Get the etag property: Resource ETag.
Returns:
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: The extended location of the cluster associated with the resource.
Returns:
fromJson
public static AgentPoolInner fromJson(JsonReader jsonReader)
Reads an instance of AgentPoolInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
AgentPoolInner.id()Returns:
kubernetesVersion
public String kubernetesVersion()
Get the kubernetesVersion property: The Kubernetes version running in this agent pool.
Returns:
labels
public List<KubernetesLabel> labels()
Get the labels property: The labels applied to the nodes in this agent pool.
Returns:
mode
public AgentPoolMode mode()
Get 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 String name()
Get the name property: The name of the resource.
Overrides:
AgentPoolInner.name()Returns:
provisioningState
public AgentPoolProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the agent pool.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
taints
public List<KubernetesLabel> taints()
Get the taints property: The taints applied to the nodes in this agent pool.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AgentPoolInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AgentPoolInner.type()Returns:
upgradeSettings
public AgentPoolUpgradeSettings upgradeSettings()
Get the upgradeSettings property: The configuration of the agent pool.
Returns:
validate
public void validate()
Validates the instance.
vmSkuName
public String vmSkuName()
Get the vmSkuName property: The name of the VM SKU that determines the size of resources allocated for node VMs.
Returns:
withAdministratorConfiguration
public AgentPoolInner withAdministratorConfiguration(AdministratorConfiguration administratorConfiguration)
Set the administratorConfiguration property: The administrator credentials to be used for the nodes in this agent pool.
Parameters:
Returns:
withAgentOptions
public AgentPoolInner withAgentOptions(AgentOptions agentOptions)
Set the agentOptions property: The configurations that will be applied to each agent in this agent pool.
Parameters:
Returns:
withAttachedNetworkConfiguration
public AgentPoolInner withAttachedNetworkConfiguration(AttachedNetworkConfiguration attachedNetworkConfiguration)
Set the attachedNetworkConfiguration property: The configuration of networks being attached to the agent pool for use by the workloads that run on this Kubernetes cluster.
Parameters:
Returns:
withAvailabilityZones
public AgentPoolInner withAvailabilityZones(List<String> availabilityZones)
Set 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.
Parameters:
Returns:
withCount
public AgentPoolInner withCount(long count)
Set the count property: The number of virtual machines that use this configuration.
Parameters:
Returns:
withExtendedLocation
public AgentPoolInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: The extended location of the cluster associated with the resource.
Parameters:
Returns:
withLabels
public AgentPoolInner withLabels(List<KubernetesLabel> labels)
Set the labels property: The labels applied to the nodes in this agent pool.
Parameters:
Returns:
withLocation
public AgentPoolInner withLocation(String location)
Overrides:
AgentPoolInner.withLocation(String location)Parameters:
withMode
public AgentPoolInner withMode(AgentPoolMode mode)
Set 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.
Parameters:
Returns:
withTags
public AgentPoolInner withTags(Map<String,String> tags)
Overrides:
AgentPoolInner.withTags(Map<String,String> tags)Parameters:
withTaints
public AgentPoolInner withTaints(List<KubernetesLabel> taints)
Set the taints property: The taints applied to the nodes in this agent pool.
Parameters:
Returns:
withUpgradeSettings
public AgentPoolInner withUpgradeSettings(AgentPoolUpgradeSettings upgradeSettings)
Set the upgradeSettings property: The configuration of the agent pool.
Parameters:
Returns:
withVmSkuName
public AgentPoolInner withVmSkuName(String vmSkuName)
Set the vmSkuName property: The name of the VM SKU that determines the size of resources allocated for node VMs.
Parameters:
Returns: