共用方式為


ResourcePools interface

代表 ResourcePools 的介面。

方法

beginCreate(string, string, ResourcePoolsCreateOptionalParams)

建立或更新 resourcePool。

beginCreateAndWait(string, string, ResourcePoolsCreateOptionalParams)

建立或更新 resourcePool。

beginDelete(string, string, ResourcePoolsDeleteOptionalParams)

實作 resourcePool DELETE 方法。

beginDeleteAndWait(string, string, ResourcePoolsDeleteOptionalParams)

實作 resourcePool DELETE 方法。

get(string, string, ResourcePoolsGetOptionalParams)

實作 resourcePool GET 方法。

list(ResourcePoolsListOptionalParams)

訂用帳戶中的 resourcePools 清單。

listByResourceGroup(string, ResourcePoolsListByResourceGroupOptionalParams)

資源群組中的 resourcePools 清單。

update(string, string, ResourcePoolsUpdateOptionalParams)

用來更新 resourcePool 資源特定屬性的 API。

方法詳細資料

beginCreate(string, string, ResourcePoolsCreateOptionalParams)

建立或更新 resourcePool。

function beginCreate(resourceGroupName: string, resourcePoolName: string, options?: ResourcePoolsCreateOptionalParams): Promise<SimplePollerLike<OperationState<ResourcePool>, ResourcePool>>

參數

resourceGroupName

string

資源組名。

resourcePoolName

string

resourcePool 的名稱。

options
ResourcePoolsCreateOptionalParams

選項參數。

傳回

Promise<@azure/core-lro.SimplePollerLike<OperationState<ResourcePool>, ResourcePool>>

beginCreateAndWait(string, string, ResourcePoolsCreateOptionalParams)

建立或更新 resourcePool。

function beginCreateAndWait(resourceGroupName: string, resourcePoolName: string, options?: ResourcePoolsCreateOptionalParams): Promise<ResourcePool>

參數

resourceGroupName

string

資源組名。

resourcePoolName

string

resourcePool 的名稱。

options
ResourcePoolsCreateOptionalParams

選項參數。

傳回

Promise<ResourcePool>

beginDelete(string, string, ResourcePoolsDeleteOptionalParams)

實作 resourcePool DELETE 方法。

function beginDelete(resourceGroupName: string, resourcePoolName: string, options?: ResourcePoolsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

參數

resourceGroupName

string

資源組名。

resourcePoolName

string

resourcePool 的名稱。

options
ResourcePoolsDeleteOptionalParams

選項參數。

傳回

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, ResourcePoolsDeleteOptionalParams)

實作 resourcePool DELETE 方法。

function beginDeleteAndWait(resourceGroupName: string, resourcePoolName: string, options?: ResourcePoolsDeleteOptionalParams): Promise<void>

參數

resourceGroupName

string

資源組名。

resourcePoolName

string

resourcePool 的名稱。

options
ResourcePoolsDeleteOptionalParams

選項參數。

傳回

Promise<void>

get(string, string, ResourcePoolsGetOptionalParams)

實作 resourcePool GET 方法。

function get(resourceGroupName: string, resourcePoolName: string, options?: ResourcePoolsGetOptionalParams): Promise<ResourcePool>

參數

resourceGroupName

string

資源組名。

resourcePoolName

string

resourcePool 的名稱。

options
ResourcePoolsGetOptionalParams

選項參數。

傳回

Promise<ResourcePool>

list(ResourcePoolsListOptionalParams)

訂用帳戶中的 resourcePools 清單。

function list(options?: ResourcePoolsListOptionalParams): PagedAsyncIterableIterator<ResourcePool, ResourcePool[], PageSettings>

參數

options
ResourcePoolsListOptionalParams

選項參數。

傳回

listByResourceGroup(string, ResourcePoolsListByResourceGroupOptionalParams)

資源群組中的 resourcePools 清單。

function listByResourceGroup(resourceGroupName: string, options?: ResourcePoolsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ResourcePool, ResourcePool[], PageSettings>

參數

resourceGroupName

string

資源組名。

傳回

update(string, string, ResourcePoolsUpdateOptionalParams)

用來更新 resourcePool 資源特定屬性的 API。

function update(resourceGroupName: string, resourcePoolName: string, options?: ResourcePoolsUpdateOptionalParams): Promise<ResourcePool>

參數

resourceGroupName

string

資源組名。

resourcePoolName

string

resourcePool 的名稱。

options
ResourcePoolsUpdateOptionalParams

選項參數。

傳回

Promise<ResourcePool>