AgentPool Class
The agentpool that has the ARM resource and properties. The agentpool will have all information to create an agent pool.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.
Constructor
AgentPool(*, location: str, tags: Dict[str, str] | None = None, count: int | None = None, tier: str | None = None, os: str | _models.OS | None = None, virtual_network_subnet_resource_id: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
location
|
The location of the resource. This cannot be changed after the resource is created. Required. |
tags
|
The tags of the resource. Default value: None
|
count
|
The count of agent machine. Default value: None
|
tier
|
The Tier of agent machine. Default value: None
|
os
|
The OS of agent machine. Known values are: "Windows" and "Linux". Default value: None
|
virtual_network_subnet_resource_id
|
The Virtual Network Subnet Resource Id of the agent machine. Default value: None
|
Variables
Name | Description |
---|---|
id
|
The resource ID. |
name
|
The name of the resource. |
type
|
The type of the resource. |
location
|
The location of the resource. This cannot be changed after the resource is created. Required. |
tags
|
The tags of the resource. |
system_data
|
Metadata pertaining to creation and last modification of the resource. |
count
|
The count of agent machine. |
tier
|
The Tier of agent machine. |
os
|
The OS of agent machine. Known values are: "Windows" and "Linux". |
virtual_network_subnet_resource_id
|
The Virtual Network Subnet Resource Id of the agent machine. |
provisioning_state
|
The provisioning state of this agent pool. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Failed", and "Canceled". |
Azure SDK for Python