Bagikan melalui


AgentPool Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.AgentPoolTypeConverter))]
public class AgentPool : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.IAgentPool, Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.AgentPoolTypeConverter))>]
type AgentPool = class
    interface IAgentPool
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class AgentPool
Implements IAgentPool, IValidates
Inheritance
AgentPool
Attributes
Implements

Constructors

AgentPool()

Creates an new AgentPool instance.

Properties

Count

The count of agent machine

Id

The resource ID.

Location

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

Name

The name of the resource.

OS

The OS of agent machine

ProvisioningState

The provisioning state of this agent pool

ResourceGroupName

Gets the resource group name

SystemData

Metadata pertaining to creation and last modification of the resource.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource modification (UTC).

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

The tags of the resource.

Tier

The Tier of agent machine

Type

The type of the resource.

VirtualNetworkSubnetResourceId

The Virtual Network Subnet Resource Id of the agent machine

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AgentPool.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AgentPool.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.IAgentPool.

FromJsonString(String)

Creates a new instance of AgentPool, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AgentPool into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to