PrivateClouds Interface

public interface PrivateClouds

Resource collection API of PrivateClouds.

Method Summary

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

Implements private cloud GET method Returns private cloud by its name.

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

Implements private cloud GET method Returns private cloud by its name.

abstract PagedIterable<PrivateCloud> list(String regionId)

Implements private cloud list GET method Returns list of private clouds in particular region.

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

Implements private cloud list GET method Returns list of private clouds in particular region.

Method Details

get

public abstract PrivateCloud get(String pcName, String regionId)

Implements private cloud GET method Returns private cloud by its name.

Parameters:

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

Returns:

private cloud model.

getWithResponse

public abstract Response<PrivateCloud> getWithResponse(String pcName, String regionId, Context context)

Implements private cloud GET method Returns private cloud by its name.

Parameters:

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

Returns:

private cloud model along with Response<T>.

list

public abstract PagedIterable<PrivateCloud> list(String regionId)

Implements private cloud list GET method Returns list of private clouds in particular region.

Parameters:

regionId - The region Id (westus, eastus).

Returns:

list of private clouds as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<PrivateCloud> list(String regionId, Context context)

Implements private cloud list GET method Returns list of private clouds in particular region.

Parameters:

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

Returns:

list of private clouds as paginated response with PagedIterable<T>.

Applies to