AgentPoolProperties Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. fluent. models. AgentPoolProperties
- com.
Implements
public final class AgentPoolProperties
implements JsonSerializable<AgentPoolProperties>
The properties of agent pool.
Constructor Summary
| Constructor | Description |
|---|---|
| AgentPoolProperties() |
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 |
| OS |
os()
Get the os property: The OS of agent machine. |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
tier()
Get the tier property: The Tier of agent machine. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
virtualNetworkSubnetResourceId()
Get the virtual |
|
Agent |
withCount(Integer count)
Set the count property: The count of agent machine. |
|
Agent |
withOs(OS os)
Set the os property: The OS of agent machine. |
|
Agent |
withTier(String tier)
Set the tier property: The Tier of agent machine. |
|
Agent |
withVirtualNetworkSubnetResourceId(String virtualNetworkSubnetResourceId)
Set the virtual |
Methods inherited from java.lang.Object
Constructor Details
AgentPoolProperties
public AgentPoolProperties()
Creates an instance of AgentPoolProperties class.
Method Details
count
public Integer count()
Get the count property: The count of agent machine.
Returns:
fromJson
public static AgentPoolProperties fromJson(JsonReader jsonReader)
Reads an instance of AgentPoolProperties from the JsonReader.
Parameters:
Returns:
Throws:
os
public OS os()
Get the os property: The OS of agent machine.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of this agent pool.
Returns:
tier
public String tier()
Get the tier property: The Tier of agent machine.
Returns:
toJson
validate
public void validate()
Validates the instance.
virtualNetworkSubnetResourceId
public String virtualNetworkSubnetResourceId()
Get the virtualNetworkSubnetResourceId property: The Virtual Network Subnet Resource Id of the agent machine.
Returns:
withCount
public AgentPoolProperties withCount(Integer count)
Set the count property: The count of agent machine.
Parameters:
Returns:
withOs
public AgentPoolProperties withOs(OS os)
Set the os property: The OS of agent machine.
Parameters:
Returns:
withTier
public AgentPoolProperties withTier(String tier)
Set the tier property: The Tier of agent machine.
Parameters:
Returns:
withVirtualNetworkSubnetResourceId
public AgentPoolProperties withVirtualNetworkSubnetResourceId(String virtualNetworkSubnetResourceId)
Set the virtualNetworkSubnetResourceId property: The Virtual Network Subnet Resource Id of the agent machine.
Parameters:
Returns: