AgentPoolOperations interface
表示 AgentPoolOperations 的接口。
方法
方法详细信息
beginCreateOrUpdate(string, string, AgentPool, AgentPoolCreateOrUpdateOptionalParams)
在预配的群集中创建或更新代理池
function beginCreateOrUpdate(connectedClusterResourceUri: string, agentPoolName: string, agentPool: AgentPool, options?: AgentPoolCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AgentPool>, AgentPool>>
参数
- connectedClusterResourceUri
-
string
连接的群集资源的完全限定的 Azure 资源管理器标识符。
- 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 资源管理器标识符。
- 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 资源管理器标识符。
- 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 资源管理器标识符。
- agentPoolName
-
string
预配群集中代理池名称的参数。
- options
- AgentPoolDeleteOptionalParams
选项参数。
返回
Promise<AgentPoolDeleteHeaders>
get(string, string, AgentPoolGetOptionalParams)
获取预配群集中的指定代理池
function get(connectedClusterResourceUri: string, agentPoolName: string, options?: AgentPoolGetOptionalParams): Promise<AgentPool>
参数
- connectedClusterResourceUri
-
string
连接的群集资源的完全限定的 Azure 资源管理器标识符。
- agentPoolName
-
string
预配群集中代理池名称的参数。
- options
- AgentPoolGetOptionalParams
选项参数。
返回
Promise<AgentPool>
listByProvisionedCluster(string, AgentPoolListByProvisionedClusterOptionalParams)
获取指定预配群集中的代理池列表
function listByProvisionedCluster(connectedClusterResourceUri: string, options?: AgentPoolListByProvisionedClusterOptionalParams): PagedAsyncIterableIterator<AgentPool, AgentPool[], PageSettings>
参数
- connectedClusterResourceUri
-
string
连接的群集资源的完全限定的 Azure 资源管理器标识符。
选项参数。