共用方式為


AgentPool Constructors

Definition

Overloads

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.

AgentPool()

Initializes a new instance of the AgentPool class.

public AgentPool ();
Public Sub New ()

Applies to

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

Initializes a new instance of the AgentPool class.

public AgentPool (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.ContainerRegistry.Models.SystemData systemData = default, int? count = default, string tier = default, string os = default, string virtualNetworkSubnetResourceId = default, string provisioningState = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.AgentPool : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.ContainerRegistry.Models.SystemData * Nullable<int> * string * string * string * string -> Microsoft.Azure.Management.ContainerRegistry.Models.AgentPool
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional systemData As SystemData = Nothing, Optional count As Nullable(Of Integer) = Nothing, Optional tier As String = Nothing, Optional os As String = Nothing, Optional virtualNetworkSubnetResourceId As String = Nothing, Optional provisioningState As String = Nothing)

Parameters

location
String

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

id
String

The resource ID.

name
String

The name of the resource.

type
String

The type of the resource.

tags
IDictionary<String,String>

The tags of the resource.

systemData
SystemData

Metadata pertaining to creation and last modification of the resource.

count
Nullable<Int32>

The count of agent machine

tier
String

The Tier of agent machine

os
String

The OS of agent machine. Possible values include: 'Windows', 'Linux'

virtualNetworkSubnetResourceId
String

The Virtual Network Subnet Resource Id of the agent machine

provisioningState
String

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

Applies to