ResourcePools interface
Interface representing a ResourcePools.
Methods
begin |
Create Or Update resourcePool. |
begin |
Create Or Update resourcePool. |
begin |
Implements resourcePool DELETE method. |
begin |
Implements resourcePool DELETE method. |
get(string, string, Resource |
Implements resourcePool GET method. |
list(Resource |
List of resourcePools in a subscription. |
list |
List of resourcePools in a resource group. |
update(string, string, Resource |
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.
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.
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.
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.
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.
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.
The options parameters.
Returns
Promise<ResourcePool>