ResourcePools interface

Interface representing a ResourcePools.

Methods

beginCreate(string, string, ResourcePoolsCreateOptionalParams)

Create Or Update resourcePool.

beginCreateAndWait(string, string, ResourcePoolsCreateOptionalParams)

Create Or Update resourcePool.

beginDelete(string, string, ResourcePoolsDeleteOptionalParams)

Implements resourcePool DELETE method.

beginDeleteAndWait(string, string, ResourcePoolsDeleteOptionalParams)

Implements resourcePool DELETE method.

get(string, string, ResourcePoolsGetOptionalParams)

Implements resourcePool GET method.

list(ResourcePoolsListOptionalParams)

List of resourcePools in a subscription.

listByResourceGroup(string, ResourcePoolsListByResourceGroupOptionalParams)

List of resourcePools in a resource group.

update(string, string, ResourcePoolsUpdateOptionalParams)

API to update certain properties of the resourcePool resource.

Method Details

beginCreate(string, string, ResourcePoolsCreateOptionalParams)

Create Or Update resourcePool.

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

Parameters

resourceGroupName

string

The Resource Group Name.

resourcePoolName

string

Name of the resourcePool.

options
ResourcePoolsCreateOptionalParams

The options parameters.

Returns

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

beginCreateAndWait(string, string, ResourcePoolsCreateOptionalParams)

Create Or Update resourcePool.

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

Parameters

resourceGroupName

string

The Resource Group Name.

resourcePoolName

string

Name of the resourcePool.

options
ResourcePoolsCreateOptionalParams

The options parameters.

Returns

Promise<ResourcePool>

beginDelete(string, string, ResourcePoolsDeleteOptionalParams)

Implements resourcePool DELETE method.

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

Parameters

resourceGroupName

string

The Resource Group Name.

resourcePoolName

string

Name of the resourcePool.

options
ResourcePoolsDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, ResourcePoolsDeleteOptionalParams)

Implements resourcePool DELETE method.

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

Parameters

resourceGroupName

string

The Resource Group Name.

resourcePoolName

string

Name of the resourcePool.

options
ResourcePoolsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, ResourcePoolsGetOptionalParams)

Implements resourcePool GET method.

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

Parameters

resourceGroupName

string

The Resource Group Name.

resourcePoolName

string

Name of the resourcePool.

options
ResourcePoolsGetOptionalParams

The options parameters.

Returns

Promise<ResourcePool>

list(ResourcePoolsListOptionalParams)

List of resourcePools in a subscription.

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

Parameters

options
ResourcePoolsListOptionalParams

The options parameters.

Returns

listByResourceGroup(string, ResourcePoolsListByResourceGroupOptionalParams)

List of resourcePools in a resource group.

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

Parameters

resourceGroupName

string

The Resource Group Name.

options
ResourcePoolsListByResourceGroupOptionalParams

The options parameters.

Returns

update(string, string, ResourcePoolsUpdateOptionalParams)

API to update certain properties of the resourcePool resource.

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

Parameters

resourceGroupName

string

The Resource Group Name.

resourcePoolName

string

Name of the resourcePool.

options
ResourcePoolsUpdateOptionalParams

The options parameters.

Returns

Promise<ResourcePool>