AgentPoolInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. containerregistry. fluent. models. AgentPoolInner
- com.
- com.
- com.
public final class AgentPoolInner
extends Resource
The agentpool that has the ARM resource and properties. The agentpool will have all information to create an agent pool.
Constructor Summary
Constructor | Description |
---|---|
AgentPoolInner() |
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 |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
OS |
os()
Get the os property: The OS of agent machine. |
Provisioning |
provisioningState()
Get the provisioning |
System |
systemData()
Get the system |
String |
tier()
Get the tier property: The Tier of agent machine. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
String |
virtualNetworkSubnetResourceId()
Get the virtual |
Agent |
withCount(Integer count)
Set the count property: The count of agent machine. |
Agent |
withLocation(String location) |
Agent |
withOs(OS os)
Set the os property: The OS of agent machine. |
Agent |
withTags(Map<String,String> tags) |
Agent |
withTier(String tier)
Set the tier property: The Tier of agent machine. |
Agent |
withVirtualNetworkSubnetResourceId(String virtualNetworkSubnetResourceId)
Set the virtual |
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
count
public Integer count()
Get the count property: The count of agent machine.
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:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AgentPoolInner.name()Returns:
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:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
tier
public String tier()
Get the tier property: The Tier of agent machine.
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:
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 AgentPoolInner withCount(Integer count)
Set the count property: The count of agent machine.
Parameters:
Returns:
withLocation
public AgentPoolInner withLocation(String location)
Overrides:
AgentPoolInner.withLocation(String location)Parameters:
withOs
public AgentPoolInner withOs(OS os)
Set the os property: The OS of agent machine.
Parameters:
Returns:
withTags
public AgentPoolInner withTags(Map
Overrides:
AgentPoolInner.withTags(Map<String,String> tags)Parameters:
withTier
public AgentPoolInner withTier(String tier)
Set the tier property: The Tier of agent machine.
Parameters:
Returns:
withVirtualNetworkSubnetResourceId
public AgentPoolInner withVirtualNetworkSubnetResourceId(String virtualNetworkSubnetResourceId)
Set the virtualNetworkSubnetResourceId property: The Virtual Network Subnet Resource Id of the agent machine.
Parameters:
Returns:
Applies to
Azure SDK for Java