次の方法で共有


Pools Interface

public interface Pools

Resource collection API of Pools.

Method Summary

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

Begins definition for a new Pool resource.

abstract void delete(String resourceGroupName, String poolName, Context context)

Delete a Pool.

abstract void deleteById(String id)

Delete a Pool.

abstract void deleteByIdWithResponse(String id, Context context)

Delete a Pool.

abstract void deleteByResourceGroup(String resourceGroupName, String poolName)

Delete a Pool.

abstract Pool getById(String id)

Get a Pool.

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

Get a Pool.

abstract Pool getByResourceGroup(String resourceGroupName, String poolName)

Get a Pool.

abstract Response<Pool> getByResourceGroupWithResponse(String resourceGroupName, String poolName, Context context)

Get a Pool.

abstract PagedIterable<Pool> list()

List Pool resources by subscription ID.

abstract PagedIterable<Pool> list(Context context)

List Pool resources by subscription ID.

abstract PagedIterable<Pool> listByResourceGroup(String resourceGroupName)

List Pool resources by resource group.

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

List Pool resources by resource group.

Method Details

define

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

Begins definition for a new Pool resource.

Parameters:

name - resource name.

Returns:

the first stage of the new Pool definition.

delete

public abstract void delete(String resourceGroupName, String poolName, Context context)

Delete a Pool.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
poolName - Name of the pool. It needs to be globally unique.
context - The context to associate with this operation.

deleteById

public abstract void deleteById(String id)

Delete a Pool.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Delete a Pool.

Parameters:

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

deleteByResourceGroup

public abstract void deleteByResourceGroup(String resourceGroupName, String poolName)

Delete a Pool.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
poolName - Name of the pool. It needs to be globally unique.

getById

public abstract Pool getById(String id)

Get a Pool.

Parameters:

id - the resource ID.

Returns:

a Pool along with Response<T>.

getByIdWithResponse

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

Get a Pool.

Parameters:

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

Returns:

a Pool along with Response<T>.

getByResourceGroup

public abstract Pool getByResourceGroup(String resourceGroupName, String poolName)

Get a Pool.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
poolName - Name of the pool. It needs to be globally unique.

Returns:

a Pool.

getByResourceGroupWithResponse

public abstract Response<Pool> getByResourceGroupWithResponse(String resourceGroupName, String poolName, Context context)

Get a Pool.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
poolName - Name of the pool. It needs to be globally unique.
context - The context to associate with this operation.

Returns:

a Pool along with Response<T>.

list

public abstract PagedIterable<Pool> list()

List Pool resources by subscription ID.

Returns:

the response of a Pool list operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<Pool> list(Context context)

List Pool resources by subscription ID.

Parameters:

context - The context to associate with this operation.

Returns:

the response of a Pool list operation as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<Pool> listByResourceGroup(String resourceGroupName)

List Pool resources by resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

the response of a Pool list operation as paginated response with PagedIterable<T>.

listByResourceGroup

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

List Pool resources by resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

Returns:

the response of a Pool list operation as paginated response with PagedIterable<T>.

Applies to