ResourcePools Interface

public interface ResourcePools

Resource collection API of ResourcePools.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new ResourcePool resource.

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 void deleteById(String id)

Deletes an resourcePool.

abstract void deleteByIdWithResponse(String id, Boolean force, Context context)

Deletes an resourcePool.

abstract ResourcePool getById(String id)

Gets a resourcePool.

abstract Response<ResourcePool> getByIdWithResponse(String id, Context context)

Gets a resourcePool.

abstract ResourcePool getByResourceGroup(String resourceGroupName, String resourcePoolName)

Gets a resourcePool.

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

Gets a resourcePool.

abstract PagedIterable<ResourcePool> list()

Implements GET resourcePools in a subscription.

abstract PagedIterable<ResourcePool> list(Context context)

Implements GET resourcePools in a subscription.

abstract PagedIterable<ResourcePool> listByResourceGroup(String resourceGroupName)

Implements GET resourcePools in a resource group.

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

Implements GET resourcePools in a resource group.

Method Details

define

public abstract ResourcePool.DefinitionStages.Blank define(String name)

Begins definition for a new ResourcePool resource.

Parameters:

name - resource name.

Returns:

the first stage of the new ResourcePool definition.

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.

deleteById

public abstract void deleteById(String id)

Deletes an resourcePool.

Implements resourcePool DELETE method.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Boolean force, Context context)

Deletes an resourcePool.

Implements resourcePool DELETE method.

Parameters:

id - the resource ID.
force - Whether force delete was specified.
context - The context to associate with this operation.

getById

public abstract ResourcePool getById(String id)

Gets a resourcePool.

Implements resourcePool GET method.

Parameters:

id - the resource ID.

Returns:

define the resourcePool along with Response<T>.

getByIdWithResponse

public abstract Response<ResourcePool> getByIdWithResponse(String id, Context context)

Gets a resourcePool.

Implements resourcePool GET method.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

define the resourcePool along with Response<T>.

getByResourceGroup

public abstract ResourcePool 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<ResourcePool> 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<ResourcePool> 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<ResourcePool> 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<ResourcePool> 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<ResourcePool> 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>.

Applies to