Deploy-VBRAzureApplianceTemplate
Short Description
Deploys a helper appliance template.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Deploy-VBRAzureApplianceTemplate -TemplateOptions <VBRAzureApplianceTemplateDeploymentOptions[]> [<CommonParameters>] |
Detailed Description
This cmdlet deploys a helper appliance template.
Parameters
Parameters
|
Parameter
|
Description
|
Type
|
Required
|
Position
|
Accept Pipeline Input
|
|
TemplateOptions
|
Specifies helper appliance template options. The cmdlet will deploy the helper appliance template with the specified options.
Accepts the VBRAzureApplianceTemplateDeploymentOptions[] object. To create this object, use the New-VBRAzureApplianceTemplateDeploymentOptionsDefines deployment options for a helper appliance template. cmdlet.
|
VBRAzureApplianceTemplateDeploymentOptions[]
|
True
|
Named
|
True (ByPropertyName, ByValue)
|
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
VBRAzureApplianceTemplate
Examples
Example 1. Deploying a Helper Appliance Template
|
This example shows how to deploy a helper appliance template.
|
$account = Get-VBRAzureAccount -Type ResourceManager -Name "RestoreToAzureRM@Veeam.com"
$subscription = Get-VBRAzureSubscription -Account $account -Name "VeeamDirectRestore2Azure"
$location = Get-VBRAzureLocation -Subscription $subscription -Name "swedencentral"
$templateOpt = New-VBRAzureApplianceTemplateDeploymentOptions -Subscription $subscription -Location $location
Deploy-VBRAzureApplianceTemplate -TemplateOptions $templateOpt |
Perform the following steps:
- Run the
Get-VBRAzureAccountReturns Microsoft Azure accounts added to Veeam Backup & Replication. cmdlet. Set the ResourceManager value as the Type parameter value. Specify the Name parameter value. Save it to the $account variable.
- Run the
Get-VBRAzureSubscriptionReturns subscriptions associated with a Microsoft Azure account. cmdlet. Set the $account variable as the Account parameter value. Specify the Name parameter value. Save it to the $subscription variable.
- Run the Get-VBRAzureLocationReturns geographic locations of Microsoft Azure datacenters available for a subscription. cmdlet. Set the
$subscription variable as the Subscription parameter value. Specify the Name parameter value. Save it to the $location variable.
- Run the New-VBRAzureApplianceTemplateDeploymentOptionsDefines deployment options for a helper appliance template. cmdlet. Set the
$subscription variable as the Subscription parameter value. Set the $location variable as the Location parameter value. Save it to the $templateOpt variable.
- Run the
Deploy-VBRAzureApplianceTemplate cmdlet. Set the $templateOpt variable as the TemplateOptions parameter value.
|
Example 2. Redeploying a Helper Appliance Template
|
This example shows how to redeploy a helper appliance template. This redeploy deletes the old template and creates the same template anew. The redeploy is needed to get the latest guest OS updates for the helper appliance templates.
|
$account = Get-VBRAzureAccount -Type ResourceManager -Name "RestoreToAzureRM@Veeam.com"
$subscription = Get-VBRAzureSubscription -Account $account -Name "VeeamDirectRestore2Azure"
$location = Get-VBRAzureLocation -Subscription $subscription -Name "swedencentral"
$oldTemplate = Get-VBRAzureApplianceTemplate -Location $location
$newTemplateOptions = New-VBRAzureApplianceTemplateDeploymentOptions -Template $oldTemplate
Deploy-VBRAzureApplianceTemplate -TemplateOptions $newTemplateOptions |
Perform the following steps:
- Run the
Get-VBRAzureAccountReturns Microsoft Azure accounts added to Veeam Backup & Replication. cmdlet. Set the ResourceManager value as the Type parameter value. Specify the Name parameter value. Save it to the $account variable.
- Run the
Get-VBRAzureSubscriptionReturns subscriptions associated with a Microsoft Azure account. cmdlet. Set the $account variable as the Account parameter value. Specify the Name parameter value. Save it to the $subscription variable.
- Run the Get-VBRAzureLocationReturns geographic locations of Microsoft Azure datacenters available for a subscription. cmdlet. Set the
$subscription variable as the Subscription parameter value. Specify the Name parameter value. Save it to the $location variable.
- Run the
Get-VBRAzureApplianceTemplateReturns deployed helper appliance templates. cmdlet. Set the $location variable as the Location parameter value. Save the result to the $oldTemplate variable.
- Run the New-VBRAzureApplianceTemplateDeploymentOptionsDefines deployment options for a helper appliance template. cmdlet. Set the
$oldTemplate variable as the Template parameter value. Save it to the $newTemplateOptions variable.
- Run the
Deploy-VBRAzureApplianceTemplate cmdlet. Set the $newTemplateOptions variable as the TemplateOptions parameter value.
|
Related Commands