AgentPoolPatchParameters Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. AgentPoolPatchParameters
- com.
Implements
public final class AgentPoolPatchParameters
implements JsonSerializable<AgentPoolPatchParameters>
AgentPoolPatchParameters represents the body of the request to patch the Kubernetes cluster agent pool.
Constructor Summary
| Constructor | Description |
|---|---|
| AgentPoolPatchParameters() |
Creates an instance of Agent |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Node |
administratorConfiguration()
Get the administrator |
| Long |
count()
Get the count property: The number of virtual machines that use this configuration. |
|
static
Agent |
fromJson(JsonReader jsonReader)
Reads an instance of Agent |
| Map<String,String> |
tags()
Get the tags property: The Azure resource tags that will replace the existing ones. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Agent |
upgradeSettings()
Get the upgrade |
| void |
validate()
Validates the instance. |
|
Agent |
withAdministratorConfiguration(NodePoolAdministratorConfigurationPatch administratorConfiguration)
Set the administrator |
|
Agent |
withCount(Long count)
Set the count property: The number of virtual machines that use this configuration. |
|
Agent |
withTags(Map<String,String> tags)
Set the tags property: The Azure resource tags that will replace the existing ones. |
|
Agent |
withUpgradeSettings(AgentPoolUpgradeSettings upgradeSettings)
Set the upgrade |
Methods inherited from java.lang.Object
Constructor Details
AgentPoolPatchParameters
public AgentPoolPatchParameters()
Creates an instance of AgentPoolPatchParameters class.
Method Details
administratorConfiguration
public NodePoolAdministratorConfigurationPatch administratorConfiguration()
Get the administratorConfiguration property: The configuration of administrator credentials for the control plane nodes.
Returns:
count
public Long count()
Get the count property: The number of virtual machines that use this configuration.
Returns:
fromJson
public static AgentPoolPatchParameters fromJson(JsonReader jsonReader)
Reads an instance of AgentPoolPatchParameters from the JsonReader.
Parameters:
Returns:
Throws:
tags
public Map<String,String> tags()
Get the tags property: The Azure resource tags that will replace the existing ones.
Returns:
toJson
upgradeSettings
public AgentPoolUpgradeSettings upgradeSettings()
Get the upgradeSettings property: The configuration of the agent pool.
Returns:
validate
public void validate()
Validates the instance.
withAdministratorConfiguration
public AgentPoolPatchParameters withAdministratorConfiguration(NodePoolAdministratorConfigurationPatch administratorConfiguration)
Set the administratorConfiguration property: The configuration of administrator credentials for the control plane nodes.
Parameters:
Returns:
withCount
public AgentPoolPatchParameters withCount(Long count)
Set the count property: The number of virtual machines that use this configuration.
Parameters:
Returns:
withTags
public AgentPoolPatchParameters withTags(Map<String,String> tags)
Set the tags property: The Azure resource tags that will replace the existing ones.
Parameters:
Returns:
withUpgradeSettings
public AgentPoolPatchParameters withUpgradeSettings(AgentPoolUpgradeSettings upgradeSettings)
Set the upgradeSettings property: The configuration of the agent pool.
Parameters:
Returns: