Share via


AgentPool Class

Definition

The agentpool that has the ARM resource and properties. The agentpool will have all information to create an agent pool.

[Microsoft.Rest.Serialization.JsonTransformation]
public class AgentPool : Microsoft.Azure.Management.ContainerRegistry.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type AgentPool = class
    inherit Resource
Public Class AgentPool
Inherits Resource
Inheritance
AgentPool
Attributes

Constructors

AgentPool()

Initializes a new instance of the AgentPool class.

AgentPool(String, String, String, String, IDictionary<String,String>, SystemData, Nullable<Int32>, String, String, String, String)

Initializes a new instance of the AgentPool class.

Properties

Count

Gets or sets the count of agent machine

Id

Gets the resource ID.

(Inherited from Resource)
Location

Gets or sets the location of the resource. This cannot be changed after the resource is created.

(Inherited from Resource)
Name

Gets the name of the resource.

(Inherited from Resource)
Os

Gets or sets the OS of agent machine. Possible values include: 'Windows', 'Linux'

ProvisioningState

Gets the provisioning state of this agent pool. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'

SystemData

Gets metadata pertaining to creation and last modification of the resource.

(Inherited from Resource)
Tags

Gets or sets the tags of the resource.

(Inherited from Resource)
Tier

Gets or sets the Tier of agent machine

Type

Gets the type of the resource.

(Inherited from Resource)
VirtualNetworkSubnetResourceId

Gets or sets the Virtual Network Subnet Resource Id of the agent machine

Methods

Validate()

Validate the object.

Applies to