你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AgentPool Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) | |
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) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() | |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |