次の方法で共有


PoolsClient Interface

public interface PoolsClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<PoolInner>,PoolInner> beginCreateOrUpdate(String resourceGroupName, String poolName, PoolInner resource)

Create a Pool.

abstract SyncPoller<PollResult<PoolInner>,PoolInner> beginCreateOrUpdate(String resourceGroupName, String poolName, PoolInner resource, Context context)

Create a Pool.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String poolName)

Delete a Pool.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String poolName, Context context)

Delete a Pool.

abstract SyncPoller<PollResult<PoolInner>,PoolInner> beginUpdate(String resourceGroupName, String poolName, PoolUpdate properties)

Update a Pool.

abstract SyncPoller<PollResult<PoolInner>,PoolInner> beginUpdate(String resourceGroupName, String poolName, PoolUpdate properties, Context context)

Update a Pool.

abstract PoolInner createOrUpdate(String resourceGroupName, String poolName, PoolInner resource)

Create a Pool.

abstract PoolInner createOrUpdate(String resourceGroupName, String poolName, PoolInner resource, Context context)

Create a Pool.

abstract void delete(String resourceGroupName, String poolName)

Delete a Pool.

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

Delete a Pool.

abstract PoolInner getByResourceGroup(String resourceGroupName, String poolName)

Get a Pool.

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

Get a Pool.

abstract PagedIterable<PoolInner> list()

List Pool resources by subscription ID.

abstract PagedIterable<PoolInner> list(Context context)

List Pool resources by subscription ID.

abstract PagedIterable<PoolInner> listByResourceGroup(String resourceGroupName)

List Pool resources by resource group.

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

List Pool resources by resource group.

abstract PoolInner update(String resourceGroupName, String poolName, PoolUpdate properties)

Update a Pool.

abstract PoolInner update(String resourceGroupName, String poolName, PoolUpdate properties, Context context)

Update a Pool.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<PoolInner>,PoolInner> beginCreateOrUpdate(String resourceGroupName, String poolName, PoolInner resource)

Create 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.
resource - Resource create parameters.

Returns:

the SyncPoller<T,U> for polling of concrete tracked resource types can be created by aliasing this type using a specific property type.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<PoolInner>,PoolInner> beginCreateOrUpdate(String resourceGroupName, String poolName, PoolInner resource, Context context)

Create 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.
resource - Resource create parameters.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of concrete tracked resource types can be created by aliasing this type using a specific property type.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(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.

Returns:

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

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(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.

Returns:

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

beginUpdate

public abstract SyncPoller<PollResult<PoolInner>,PoolInner> beginUpdate(String resourceGroupName, String poolName, PoolUpdate properties)

Update 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.
properties - The resource properties to be updated.

Returns:

the SyncPoller<T,U> for polling of concrete tracked resource types can be created by aliasing this type using a specific property type.

beginUpdate

public abstract SyncPoller<PollResult<PoolInner>,PoolInner> beginUpdate(String resourceGroupName, String poolName, PoolUpdate properties, Context context)

Update 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.
properties - The resource properties to be updated.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of concrete tracked resource types can be created by aliasing this type using a specific property type.

createOrUpdate

public abstract PoolInner createOrUpdate(String resourceGroupName, String poolName, PoolInner resource)

Create 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.
resource - Resource create parameters.

Returns:

concrete tracked resource types can be created by aliasing this type using a specific property type.

createOrUpdate

public abstract PoolInner createOrUpdate(String resourceGroupName, String poolName, PoolInner resource, Context context)

Create 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.
resource - Resource create parameters.
context - The context to associate with this operation.

Returns:

concrete tracked resource types can be created by aliasing this type using a specific property type.

delete

public abstract void delete(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.

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.

getByResourceGroup

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

update

public abstract PoolInner update(String resourceGroupName, String poolName, PoolUpdate properties)

Update 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.
properties - The resource properties to be updated.

Returns:

concrete tracked resource types can be created by aliasing this type using a specific property type.

update

public abstract PoolInner update(String resourceGroupName, String poolName, PoolUpdate properties, Context context)

Update 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.
properties - The resource properties to be updated.
context - The context to associate with this operation.

Returns:

concrete tracked resource types can be created by aliasing this type using a specific property type.

Applies to