AgentPoolUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. AgentPoolUpdateParameters
- com.
Implements
public final class AgentPoolUpdateParameters
implements JsonSerializable<AgentPoolUpdateParameters>
The parameters for updating an agent pool.
Constructor Summary
| Constructor | Description |
|---|---|
| AgentPoolUpdateParameters() |
Creates an instance of Agent |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
count()
Get the count property: The count of agent machine. |
|
static
Agent |
fromJson(JsonReader jsonReader)
Reads an instance of Agent |
| Map<String,String> |
tags()
Get the tags property: The ARM resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Agent |
withCount(Integer count)
Set the count property: The count of agent machine. |
|
Agent |
withTags(Map<String,String> tags)
Set the tags property: The ARM resource tags. |
Methods inherited from java.lang.Object
Constructor Details
AgentPoolUpdateParameters
public AgentPoolUpdateParameters()
Creates an instance of AgentPoolUpdateParameters class.
Method Details
count
public Integer count()
Get the count property: The count of agent machine.
Returns:
fromJson
public static AgentPoolUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of AgentPoolUpdateParameters from the JsonReader.
Parameters:
Returns:
Throws:
tags
public Map<String,String> tags()
Get the tags property: The ARM resource tags.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCount
public AgentPoolUpdateParameters withCount(Integer count)
Set the count property: The count of agent machine.
Parameters:
Returns:
withTags
public AgentPoolUpdateParameters withTags(Map<String,String> tags)
Set the tags property: The ARM resource tags.
Parameters:
Returns: