ResourcePoolsClient Interface

public interface ResourcePoolsClient

An instance of this class provides access to all the operations defined in ResourcePoolsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ResourcePoolInner>,ResourcePoolInner> beginCreate(String resourceGroupName, String resourcePoolName, ResourcePoolInner body)

Implements resourcePool PUT method.

abstract SyncPoller<PollResult<ResourcePoolInner>,ResourcePoolInner> beginCreate(String resourceGroupName, String resourcePoolName, ResourcePoolInner body, Context context)

Implements resourcePool PUT method.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourcePoolName, Boolean force)

Deletes an resourcePool.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourcePoolName, Boolean force, Context context)

Deletes an resourcePool.

abstract ResourcePoolInner create(String resourceGroupName, String resourcePoolName)

Implements resourcePool PUT method.

abstract ResourcePoolInner create(String resourceGroupName, String resourcePoolName, ResourcePoolInner body)

Implements resourcePool PUT method.

abstract ResourcePoolInner create(String resourceGroupName, String resourcePoolName, ResourcePoolInner body, Context context)

Implements resourcePool PUT method.

abstract void delete(String resourceGroupName, String resourcePoolName)

Deletes an resourcePool.

abstract void delete(String resourceGroupName, String resourcePoolName, Boolean force)

Deletes an resourcePool.

abstract void delete(String resourceGroupName, String resourcePoolName, Boolean force, Context context)

Deletes an resourcePool.

abstract ResourcePoolInner getByResourceGroup(String resourceGroupName, String resourcePoolName)

Gets a resourcePool.

abstract Response<ResourcePoolInner> getByResourceGroupWithResponse(String resourceGroupName, String resourcePoolName, Context context)

Gets a resourcePool.

abstract PagedIterable<ResourcePoolInner> list()

Implements GET resourcePools in a subscription.

abstract PagedIterable<ResourcePoolInner> list(Context context)

Implements GET resourcePools in a subscription.

abstract PagedIterable<ResourcePoolInner> listByResourceGroup(String resourceGroupName)

Implements GET resourcePools in a resource group.

abstract PagedIterable<ResourcePoolInner> listByResourceGroup(String resourceGroupName, Context context)

Implements GET resourcePools in a resource group.

abstract ResourcePoolInner update(String resourceGroupName, String resourcePoolName)

Updates a resourcePool.

abstract Response<ResourcePoolInner> updateWithResponse(String resourceGroupName, String resourcePoolName, ResourcePatch body, Context context)

Updates a resourcePool.

Method Details

beginCreate

public abstract SyncPoller<PollResult<ResourcePoolInner>,ResourcePoolInner> beginCreate(String resourceGroupName, String resourcePoolName, ResourcePoolInner body)

Implements resourcePool PUT method.

Create Or Update resourcePool.

Parameters:

resourceGroupName - The Resource Group Name.
resourcePoolName - Name of the resourcePool.
body - Request payload.

Returns:

the SyncPoller<T,U> for polling of define the resourcePool.

beginCreate

public abstract SyncPoller<PollResult<ResourcePoolInner>,ResourcePoolInner> beginCreate(String resourceGroupName, String resourcePoolName, ResourcePoolInner body, Context context)

Implements resourcePool PUT method.

Create Or Update resourcePool.

Parameters:

resourceGroupName - The Resource Group Name.
resourcePoolName - Name of the resourcePool.
body - Request payload.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of define the resourcePool.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourcePoolName, Boolean force)

Deletes an resourcePool.

Implements resourcePool DELETE method.

Parameters:

resourceGroupName - The Resource Group Name.
resourcePoolName - Name of the resourcePool.
force - Whether force delete was specified.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourcePoolName, Boolean force, Context context)

Deletes an resourcePool.

Implements resourcePool DELETE method.

Parameters:

resourceGroupName - The Resource Group Name.
resourcePoolName - Name of the resourcePool.
force - Whether force delete was specified.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

create

public abstract ResourcePoolInner create(String resourceGroupName, String resourcePoolName)

Implements resourcePool PUT method.

Create Or Update resourcePool.

Parameters:

resourceGroupName - The Resource Group Name.
resourcePoolName - Name of the resourcePool.

Returns:

define the resourcePool.

create

public abstract ResourcePoolInner create(String resourceGroupName, String resourcePoolName, ResourcePoolInner body)

Implements resourcePool PUT method.

Create Or Update resourcePool.

Parameters:

resourceGroupName - The Resource Group Name.
resourcePoolName - Name of the resourcePool.
body - Request payload.

Returns:

define the resourcePool.

create

public abstract ResourcePoolInner create(String resourceGroupName, String resourcePoolName, ResourcePoolInner body, Context context)

Implements resourcePool PUT method.

Create Or Update resourcePool.

Parameters:

resourceGroupName - The Resource Group Name.
resourcePoolName - Name of the resourcePool.
body - Request payload.
context - The context to associate with this operation.

Returns:

define the resourcePool.

delete

public abstract void delete(String resourceGroupName, String resourcePoolName)

Deletes an resourcePool.

Implements resourcePool DELETE method.

Parameters:

resourceGroupName - The Resource Group Name.
resourcePoolName - Name of the resourcePool.

delete

public abstract void delete(String resourceGroupName, String resourcePoolName, Boolean force)

Deletes an resourcePool.

Implements resourcePool DELETE method.

Parameters:

resourceGroupName - The Resource Group Name.
resourcePoolName - Name of the resourcePool.
force - Whether force delete was specified.

delete

public abstract void delete(String resourceGroupName, String resourcePoolName, Boolean force, Context context)

Deletes an resourcePool.

Implements resourcePool DELETE method.

Parameters:

resourceGroupName - The Resource Group Name.
resourcePoolName - Name of the resourcePool.
force - Whether force delete was specified.
context - The context to associate with this operation.

getByResourceGroup

public abstract ResourcePoolInner getByResourceGroup(String resourceGroupName, String resourcePoolName)

Gets a resourcePool.

Implements resourcePool GET method.

Parameters:

resourceGroupName - The Resource Group Name.
resourcePoolName - Name of the resourcePool.

Returns:

define the resourcePool.

getByResourceGroupWithResponse

public abstract Response<ResourcePoolInner> getByResourceGroupWithResponse(String resourceGroupName, String resourcePoolName, Context context)

Gets a resourcePool.

Implements resourcePool GET method.

Parameters:

resourceGroupName - The Resource Group Name.
resourcePoolName - Name of the resourcePool.
context - The context to associate with this operation.

Returns:

define the resourcePool along with Response<T>.

list

public abstract PagedIterable<ResourcePoolInner> list()

Implements GET resourcePools in a subscription.

List of resourcePools in a subscription.

Returns:

list of ResourcePools as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ResourcePoolInner> list(Context context)

Implements GET resourcePools in a subscription.

List of resourcePools in a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

list of ResourcePools as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<ResourcePoolInner> listByResourceGroup(String resourceGroupName)

Implements GET resourcePools in a resource group.

List of resourcePools in a resource group.

Parameters:

resourceGroupName - The Resource Group Name.

Returns:

list of ResourcePools as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<ResourcePoolInner> listByResourceGroup(String resourceGroupName, Context context)

Implements GET resourcePools in a resource group.

List of resourcePools in a resource group.

Parameters:

resourceGroupName - The Resource Group Name.
context - The context to associate with this operation.

Returns:

list of ResourcePools as paginated response with PagedIterable<T>.

update

public abstract ResourcePoolInner update(String resourceGroupName, String resourcePoolName)

Updates a resourcePool.

API to update certain properties of the resourcePool resource.

Parameters:

resourceGroupName - The Resource Group Name.
resourcePoolName - Name of the resourcePool.

Returns:

define the resourcePool.

updateWithResponse

public abstract Response<ResourcePoolInner> updateWithResponse(String resourceGroupName, String resourcePoolName, ResourcePatch body, Context context)

Updates a resourcePool.

API to update certain properties of the resourcePool resource.

Parameters:

resourceGroupName - The Resource Group Name.
resourcePoolName - Name of the resourcePool.
body - Resource properties to update.
context - The context to associate with this operation.

Returns:

define the resourcePool along with Response<T>.

Applies to