VirtualMachineTemplates interface

Interface representing a VirtualMachineTemplates.

Methods

beginCreateOrUpdate(string, string, VirtualMachineTemplate, VirtualMachineTemplatesCreateOrUpdateOptionalParams)

Onboards the ScVmm VM Template as an Azure VM Template resource.

beginCreateOrUpdateAndWait(string, string, VirtualMachineTemplate, VirtualMachineTemplatesCreateOrUpdateOptionalParams)

Onboards the ScVmm VM Template as an Azure VM Template resource.

beginDelete(string, string, VirtualMachineTemplatesDeleteOptionalParams)

Deregisters the ScVmm VM Template from Azure.

beginDeleteAndWait(string, string, VirtualMachineTemplatesDeleteOptionalParams)

Deregisters the ScVmm VM Template from Azure.

beginUpdate(string, string, VirtualMachineTemplateTagsUpdate, VirtualMachineTemplatesUpdateOptionalParams)

Updates the VirtualMachineTemplate resource.

beginUpdateAndWait(string, string, VirtualMachineTemplateTagsUpdate, VirtualMachineTemplatesUpdateOptionalParams)

Updates the VirtualMachineTemplate resource.

get(string, string, VirtualMachineTemplatesGetOptionalParams)

Implements VirtualMachineTemplate GET method.

listByResourceGroup(string, VirtualMachineTemplatesListByResourceGroupOptionalParams)

List of VirtualMachineTemplates in a resource group.

listBySubscription(VirtualMachineTemplatesListBySubscriptionOptionalParams)

List of VirtualMachineTemplates in a subscription.

Method Details

beginCreateOrUpdate(string, string, VirtualMachineTemplate, VirtualMachineTemplatesCreateOrUpdateOptionalParams)

Onboards the ScVmm VM Template as an Azure VM Template resource.

function beginCreateOrUpdate(resourceGroupName: string, virtualMachineTemplateName: string, resource: VirtualMachineTemplate, options?: VirtualMachineTemplatesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineTemplate>, VirtualMachineTemplate>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

virtualMachineTemplateName

string

Name of the VirtualMachineTemplate.

resource
VirtualMachineTemplate

Resource create parameters.

options
VirtualMachineTemplatesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualMachineTemplate>, VirtualMachineTemplate>>

beginCreateOrUpdateAndWait(string, string, VirtualMachineTemplate, VirtualMachineTemplatesCreateOrUpdateOptionalParams)

Onboards the ScVmm VM Template as an Azure VM Template resource.

function beginCreateOrUpdateAndWait(resourceGroupName: string, virtualMachineTemplateName: string, resource: VirtualMachineTemplate, options?: VirtualMachineTemplatesCreateOrUpdateOptionalParams): Promise<VirtualMachineTemplate>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

virtualMachineTemplateName

string

Name of the VirtualMachineTemplate.

resource
VirtualMachineTemplate

Resource create parameters.

options
VirtualMachineTemplatesCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, VirtualMachineTemplatesDeleteOptionalParams)

Deregisters the ScVmm VM Template from Azure.

function beginDelete(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineTemplatesDeleteHeaders>, VirtualMachineTemplatesDeleteHeaders>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

virtualMachineTemplateName

string

Name of the VirtualMachineTemplate.

options
VirtualMachineTemplatesDeleteOptionalParams

The options parameters.

Returns

beginDeleteAndWait(string, string, VirtualMachineTemplatesDeleteOptionalParams)

Deregisters the ScVmm VM Template from Azure.

function beginDeleteAndWait(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesDeleteOptionalParams): Promise<VirtualMachineTemplatesDeleteHeaders>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

virtualMachineTemplateName

string

Name of the VirtualMachineTemplate.

options
VirtualMachineTemplatesDeleteOptionalParams

The options parameters.

Returns

beginUpdate(string, string, VirtualMachineTemplateTagsUpdate, VirtualMachineTemplatesUpdateOptionalParams)

Updates the VirtualMachineTemplate resource.

function beginUpdate(resourceGroupName: string, virtualMachineTemplateName: string, properties: VirtualMachineTemplateTagsUpdate, options?: VirtualMachineTemplatesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineTemplate>, VirtualMachineTemplate>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

virtualMachineTemplateName

string

Name of the VirtualMachineTemplate.

properties
VirtualMachineTemplateTagsUpdate

The resource properties to be updated.

options
VirtualMachineTemplatesUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualMachineTemplate>, VirtualMachineTemplate>>

beginUpdateAndWait(string, string, VirtualMachineTemplateTagsUpdate, VirtualMachineTemplatesUpdateOptionalParams)

Updates the VirtualMachineTemplate resource.

function beginUpdateAndWait(resourceGroupName: string, virtualMachineTemplateName: string, properties: VirtualMachineTemplateTagsUpdate, options?: VirtualMachineTemplatesUpdateOptionalParams): Promise<VirtualMachineTemplate>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

virtualMachineTemplateName

string

Name of the VirtualMachineTemplate.

properties
VirtualMachineTemplateTagsUpdate

The resource properties to be updated.

options
VirtualMachineTemplatesUpdateOptionalParams

The options parameters.

Returns

get(string, string, VirtualMachineTemplatesGetOptionalParams)

Implements VirtualMachineTemplate GET method.

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

virtualMachineTemplateName

string

Name of the VirtualMachineTemplate.

options
VirtualMachineTemplatesGetOptionalParams

The options parameters.

Returns

listByResourceGroup(string, VirtualMachineTemplatesListByResourceGroupOptionalParams)

List of VirtualMachineTemplates in a resource group.

function listByResourceGroup(resourceGroupName: string, options?: VirtualMachineTemplatesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VirtualMachineTemplate, VirtualMachineTemplate[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

Returns

listBySubscription(VirtualMachineTemplatesListBySubscriptionOptionalParams)

List of VirtualMachineTemplates in a subscription.

function listBySubscription(options?: VirtualMachineTemplatesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VirtualMachineTemplate, VirtualMachineTemplate[], PageSettings>

Parameters

Returns