AgentPoolAvailableVersionsInner Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. fluent. models. AgentPoolAvailableVersionsInner
- com.
Implements
public final class AgentPoolAvailableVersionsInner
implements JsonSerializable<AgentPoolAvailableVersionsInner>
The list of available versions for an agent pool.
Constructor Summary
Constructor | Description |
---|---|
AgentPoolAvailableVersionsInner() |
Creates an instance of Agent |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Agent |
agentPoolVersions()
Get the agent |
static
Agent |
fromJson(JsonReader jsonReader)
Reads an instance of Agent |
String |
id()
Get the id property: The ID of the agent pool version list. |
String |
name()
Get the name property: The name of the agent pool version list. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Type of the agent pool version list. |
void |
validate()
Validates the instance. |
Agent |
withAgentPoolVersions(List<AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem> agentPoolVersions)
Set the agent |
Methods inherited from java.lang.Object
Constructor Details
AgentPoolAvailableVersionsInner
public AgentPoolAvailableVersionsInner()
Creates an instance of AgentPoolAvailableVersionsInner class.
Method Details
agentPoolVersions
public List
Get the agentPoolVersions property: List of versions available for agent pool.
Returns:
fromJson
public static AgentPoolAvailableVersionsInner fromJson(JsonReader jsonReader)
Reads an instance of AgentPoolAvailableVersionsInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The ID of the agent pool version list.
Returns:
name
public String name()
Get the name property: The name of the agent pool version list.
Returns:
toJson
type
public String type()
Get the type property: Type of the agent pool version list.
Returns:
validate
public void validate()
Validates the instance.
withAgentPoolVersions
public AgentPoolAvailableVersionsInner withAgentPoolVersions(List
Set the agentPoolVersions property: List of versions available for agent pool.
Parameters:
Returns:
Applies to
Azure SDK for Java