VirtualMachineTemplates interface
Interface representing a VirtualMachineTemplates.
Methods
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.
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.
The options parameters.
Returns
Promise<VirtualMachineTemplate>
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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualMachineTemplatesDeleteHeaders>, VirtualMachineTemplatesDeleteHeaders>>
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.
The options parameters.
Returns
Promise<VirtualMachineTemplatesDeleteHeaders>
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.
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.
The options parameters.
Returns
Promise<VirtualMachineTemplate>
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.
The options parameters.
Returns
Promise<VirtualMachineTemplate>
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.
The options parameters.
Returns
listBySubscription(VirtualMachineTemplatesListBySubscriptionOptionalParams)
List of VirtualMachineTemplates in a subscription.
function listBySubscription(options?: VirtualMachineTemplatesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VirtualMachineTemplate, VirtualMachineTemplate[], PageSettings>
Parameters
The options parameters.