VirtualMachineTemplates interface

Interface representing a VirtualMachineTemplates.

Methods

get(string, string, string, VirtualMachineTemplatesGetOptionalParams)

Returns virtual machine templates by its name

list(string, string, string, VirtualMachineTemplatesListOptionalParams)

Returns list of virtual machine templates in region for private cloud

Method Details

get(string, string, string, VirtualMachineTemplatesGetOptionalParams)

Returns virtual machine templates by its name

function get(regionId: string, pcName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesGetOptionalParams): Promise<VirtualMachineTemplate>

Parameters

regionId

string

The region Id (westus, eastus)

pcName

string

The private cloud name

virtualMachineTemplateName

string

virtual machine template id (vsphereId)

options
VirtualMachineTemplatesGetOptionalParams

The options parameters.

Returns

list(string, string, string, VirtualMachineTemplatesListOptionalParams)

Returns list of virtual machine templates in region for private cloud

function list(pcName: string, regionId: string, resourcePoolName: string, options?: VirtualMachineTemplatesListOptionalParams): PagedAsyncIterableIterator<VirtualMachineTemplate, VirtualMachineTemplate[], PageSettings>

Parameters

pcName

string

The private cloud name

regionId

string

The region Id (westus, eastus)

resourcePoolName

string

Resource pool used to derive vSphere cluster which contains VM templates

options
VirtualMachineTemplatesListOptionalParams

The options parameters.

Returns