ResourcePools interface

Interface representing a ResourcePools.

Methods

get(string, string, string, ResourcePoolsGetOptionalParams)

Returns resource pool templates by its name

list(string, string, ResourcePoolsListOptionalParams)

Returns list of resource pools in region for private cloud

Method Details

get(string, string, string, ResourcePoolsGetOptionalParams)

Returns resource pool templates by its name

function get(regionId: string, pcName: string, resourcePoolName: string, options?: ResourcePoolsGetOptionalParams): Promise<ResourcePool>

Parameters

regionId

string

The region Id (westus, eastus)

pcName

string

The private cloud name

resourcePoolName

string

resource pool id (vsphereId)

options
ResourcePoolsGetOptionalParams

The options parameters.

Returns

Promise<ResourcePool>

list(string, string, ResourcePoolsListOptionalParams)

Returns list of resource pools in region for private cloud

function list(regionId: string, pcName: string, options?: ResourcePoolsListOptionalParams): PagedAsyncIterableIterator<ResourcePool, ResourcePool[], PageSettings>

Parameters

regionId

string

The region Id (westus, eastus)

pcName

string

The private cloud name

options
ResourcePoolsListOptionalParams

The options parameters.

Returns