你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AgentPool 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AgentPool() |
初始化 AgentPool 类的新实例。 |
AgentPool(String, String, String, String, IDictionary<String,String>, SystemData, Nullable<Int32>, String, String, String, String) |
初始化 AgentPool 类的新实例。 |
AgentPool()
初始化 AgentPool 类的新实例。
public AgentPool ();
Public Sub New ()
适用于
AgentPool(String, String, String, String, IDictionary<String,String>, SystemData, Nullable<Int32>, String, String, String, String)
初始化 AgentPool 类的新实例。
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)
参数
- location
- String
资源的位置。 创建资源后,无法更改此设置。
- id
- String
资源 ID。
- name
- String
资源的名称。
- type
- String
资源类型。
- tags
- IDictionary<String,String>
资源的标记。
- systemData
- SystemData
与资源的创建和上次修改相关的元数据。
- tier
- String
代理计算机层
- os
- String
代理计算机的 OS。 可能的值包括:“Windows”、“Linux”
- virtualNetworkSubnetResourceId
- String
代理计算机的虚拟网络子网资源 ID
- provisioningState
- String
此代理池的预配状态。 可能的值包括:“Creating”、“Updating”、“Deleting”、“Succeeded”、“Failed”、“Canceled”