VirtualMachineTemplates interface
Interface representing a VirtualMachineTemplates.
Methods
begin |
Create Or Update virtual machine template. |
begin |
Create Or Update virtual machine template. |
begin |
Implements virtual machine template DELETE method. |
begin |
Implements virtual machine template DELETE method. |
get(string, string, Virtual |
Implements virtual machine template GET method. |
list(Virtual |
List of virtualMachineTemplates in a subscription. |
list |
List of virtualMachineTemplates in a resource group. |
update(string, string, Virtual |
API to update certain properties of the virtual machine template resource. |
Method Details
beginCreate(string, string, VirtualMachineTemplatesCreateOptionalParams)
Create Or Update virtual machine template.
function beginCreate(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesCreateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineTemplate>, VirtualMachineTemplate>>
Parameters
- resourceGroupName
-
string
The Resource Group Name.
- virtualMachineTemplateName
-
string
Name of the virtual machine template resource.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualMachineTemplate>, VirtualMachineTemplate>>
beginCreateAndWait(string, string, VirtualMachineTemplatesCreateOptionalParams)
Create Or Update virtual machine template.
function beginCreateAndWait(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesCreateOptionalParams): Promise<VirtualMachineTemplate>
Parameters
- resourceGroupName
-
string
The Resource Group Name.
- virtualMachineTemplateName
-
string
Name of the virtual machine template resource.
The options parameters.
Returns
Promise<VirtualMachineTemplate>
beginDelete(string, string, VirtualMachineTemplatesDeleteOptionalParams)
Implements virtual machine template DELETE method.
function beginDelete(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The Resource Group Name.
- virtualMachineTemplateName
-
string
Name of the virtual machine template resource.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, VirtualMachineTemplatesDeleteOptionalParams)
Implements virtual machine template DELETE method.
function beginDeleteAndWait(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The Resource Group Name.
- virtualMachineTemplateName
-
string
Name of the virtual machine template resource.
The options parameters.
Returns
Promise<void>
get(string, string, VirtualMachineTemplatesGetOptionalParams)
Implements virtual machine template GET method.
function get(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesGetOptionalParams): Promise<VirtualMachineTemplate>
Parameters
- resourceGroupName
-
string
The Resource Group Name.
- virtualMachineTemplateName
-
string
Name of the virtual machine template resource.
The options parameters.
Returns
Promise<VirtualMachineTemplate>
list(VirtualMachineTemplatesListOptionalParams)
List of virtualMachineTemplates in a subscription.
function list(options?: VirtualMachineTemplatesListOptionalParams): PagedAsyncIterableIterator<VirtualMachineTemplate, VirtualMachineTemplate[], PageSettings>
Parameters
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 Resource Group Name.
The options parameters.
Returns
update(string, string, VirtualMachineTemplatesUpdateOptionalParams)
API to update certain properties of the virtual machine template resource.
function update(resourceGroupName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesUpdateOptionalParams): Promise<VirtualMachineTemplate>
Parameters
- resourceGroupName
-
string
The Resource Group Name.
- virtualMachineTemplateName
-
string
Name of the virtual machine template resource.
The options parameters.
Returns
Promise<VirtualMachineTemplate>