Compartilhar via


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 Azure.

Inheritance
azure.mgmt.containerregistry.v2019_06_01_preview.models._models_py3.Resource
AgentPool

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
str

The location of the resource. This cannot be changed after the resource is created. Required.

tags

The tags of the resource.

count
int

The count of agent machine.

tier
str

The Tier of agent machine.

os
str or OS

The OS of agent machine. Known values are: "Windows" and "Linux".

virtual_network_subnet_resource_id
str

The Virtual Network Subnet Resource Id of the agent machine.

Variables

Name Description
id
str

The resource ID.

name
str

The name of the resource.

type
str

The type of the resource.

location
str

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
int

The count of agent machine.

tier
str

The Tier of agent machine.

os
str or OS

The OS of agent machine. Known values are: "Windows" and "Linux".

virtual_network_subnet_resource_id
str

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".