AgentPool Constructors
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.
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.
- 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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應