AgentPoolOperations interface
代表 AgentPoolOperations 的介面。
方法
begin |
在布建叢集中建立或更新代理程式集區 |
begin |
在布建叢集中建立或更新代理程式集區 |
begin |
刪除布建叢集中的指定代理程式集區 |
begin |
刪除布建叢集中的指定代理程式集區 |
get(string, string, Agent |
取得布建叢集中的指定代理程式集區 |
list |
取得指定布建叢集中的代理程式集區清單 |
方法詳細資料
beginCreateOrUpdate(string, string, AgentPool, AgentPoolCreateOrUpdateOptionalParams)
在布建叢集中建立或更新代理程式集區
function beginCreateOrUpdate(connectedClusterResourceUri: string, agentPoolName: string, agentPool: AgentPool, options?: AgentPoolCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AgentPool>, AgentPool>>
參數
- connectedClusterResourceUri
-
string
已連線叢集資源的完整 Azure Resource Manager 識別碼。
- agentPoolName
-
string
布建叢集中代理程式集區名稱的參數。
- agentPool
- AgentPool
代理程式集區資源定義
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<AgentPool>, AgentPool>>
beginCreateOrUpdateAndWait(string, string, AgentPool, AgentPoolCreateOrUpdateOptionalParams)
在布建叢集中建立或更新代理程式集區
function beginCreateOrUpdateAndWait(connectedClusterResourceUri: string, agentPoolName: string, agentPool: AgentPool, options?: AgentPoolCreateOrUpdateOptionalParams): Promise<AgentPool>
參數
- connectedClusterResourceUri
-
string
已連線叢集資源的完整 Azure Resource Manager 識別碼。
- agentPoolName
-
string
布建叢集中代理程式集區名稱的參數。
- agentPool
- AgentPool
代理程式集區資源定義
選項參數。
傳回
Promise<AgentPool>
beginDelete(string, string, AgentPoolDeleteOptionalParams)
刪除布建叢集中的指定代理程式集區
function beginDelete(connectedClusterResourceUri: string, agentPoolName: string, options?: AgentPoolDeleteOptionalParams): Promise<SimplePollerLike<OperationState<AgentPoolDeleteHeaders>, AgentPoolDeleteHeaders>>
參數
- connectedClusterResourceUri
-
string
已連線叢集資源的完整 Azure Resource Manager 識別碼。
- agentPoolName
-
string
布建叢集中代理程式集區名稱的參數。
- options
- AgentPoolDeleteOptionalParams
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<AgentPoolDeleteHeaders>, AgentPoolDeleteHeaders>>
beginDeleteAndWait(string, string, AgentPoolDeleteOptionalParams)
刪除布建叢集中的指定代理程式集區
function beginDeleteAndWait(connectedClusterResourceUri: string, agentPoolName: string, options?: AgentPoolDeleteOptionalParams): Promise<AgentPoolDeleteHeaders>
參數
- connectedClusterResourceUri
-
string
已連線叢集資源的完整 Azure Resource Manager 識別碼。
- agentPoolName
-
string
布建叢集中代理程式集區名稱的參數。
- options
- AgentPoolDeleteOptionalParams
選項參數。
傳回
Promise<AgentPoolDeleteHeaders>
get(string, string, AgentPoolGetOptionalParams)
取得布建叢集中的指定代理程式集區
function get(connectedClusterResourceUri: string, agentPoolName: string, options?: AgentPoolGetOptionalParams): Promise<AgentPool>
參數
- connectedClusterResourceUri
-
string
已連線叢集資源的完整 Azure Resource Manager 識別碼。
- agentPoolName
-
string
布建叢集中代理程式集區名稱的參數。
- options
- AgentPoolGetOptionalParams
選項參數。
傳回
Promise<AgentPool>
listByProvisionedCluster(string, AgentPoolListByProvisionedClusterOptionalParams)
取得指定布建叢集中的代理程式集區清單
function listByProvisionedCluster(connectedClusterResourceUri: string, options?: AgentPoolListByProvisionedClusterOptionalParams): PagedAsyncIterableIterator<AgentPool, AgentPool[], PageSettings>
參數
- connectedClusterResourceUri
-
string
已連線叢集資源的完整 Azure Resource Manager 識別碼。
選項參數。