ResourcePools Interface

public interface ResourcePools

Resource collection API of ResourcePools.

Method Summary

Modifier and Type Method and Description
abstract ResourcePool get(String regionId, String pcName, String resourcePoolName)

Implements get of resource pool Returns resource pool templates by its name.

abstract Response<ResourcePool> getWithResponse(String regionId, String pcName, String resourcePoolName, Context context)

Implements get of resource pool Returns resource pool templates by its name.

abstract PagedIterable<ResourcePool> list(String regionId, String pcName)

Implements get of resource pools list Returns list of resource pools in region for private cloud.

abstract PagedIterable<ResourcePool> list(String regionId, String pcName, Context context)

Implements get of resource pools list Returns list of resource pools in region for private cloud.

Method Details

get

public abstract ResourcePool get(String regionId, String pcName, String resourcePoolName)

Implements get of resource pool Returns resource pool templates by its name.

Parameters:

regionId - The region Id (westus, eastus).
pcName - The private cloud name.
resourcePoolName - resource pool id (vsphereId).

Returns:

resource pool model.

getWithResponse

public abstract Response getWithResponse(String regionId, String pcName, String resourcePoolName, Context context)

Implements get of resource pool Returns resource pool templates by its name.

Parameters:

regionId - The region Id (westus, eastus).
pcName - The private cloud name.
resourcePoolName - resource pool id (vsphereId).
context - The context to associate with this operation.

Returns:

resource pool model along with Response<T>.

list

public abstract PagedIterable list(String regionId, String pcName)

Implements get of resource pools list Returns list of resource pools in region for private cloud.

Parameters:

regionId - The region Id (westus, eastus).
pcName - The private cloud name.

Returns:

list of resource pools response model as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String regionId, String pcName, Context context)

Implements get of resource pools list Returns list of resource pools in region for private cloud.

Parameters:

regionId - The region Id (westus, eastus).
pcName - The private cloud name.
context - The context to associate with this operation.

Returns:

list of resource pools response model as paginated response with PagedIterable<T>.

Applies to

Azure SDK for Java

Preview