Set-VBRAzureLinuxRestoreAppliance
Short Description
Modifies helper appliances for restoring Linux VMs to Microsoft Azure.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRAzureLinuxRestoreAppliance -Appliance <VBRAzureLinuxRestoreAppliance> [-Subscription <VBRAzureSubscription>] [-StorageAccount <VBRAzureStorageAccount>] [-ResourceGroup <VBRAzureResourceGroup>] [-VirtualNetwork <VBRAzureVirtualNetwork>] [-VirtualSubnet <VBRAzureNetworkSubnet>] [-SshPort <Int32>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies helper appliances for restoring Linux VMs to Microsoft Azure.
You will need to further deploy the helper appliance with the Deploy-VBRAzureLinuxRestoreApplianceDeploys or removes helper appliances for restoring Linux VMs to Microsoft Azure. cmdlet.
Important |
|
This cmdlet does not support Microsoft Azure accounts with the Azure Service Manager type of a subscription (ASM, also known as a "classic" type subscription). |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Appliance |
Specifies the helper appliance you want to modify.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
ResourceGroup |
Specifies a Microsoft Azure resource group to which you want to connect the helper appliance.
Accepts the |
False |
Named |
True (ByPropertyName) |
|
|
SshPort |
Specifies a port over which Veeam Backup & Replication will will communicate with the helper appliance. |
|
False |
Named |
True (ByPropertyName) |
|
StorageAccount |
Specifies the storage account you want to use to deploy the helper appliance.
Accepts the |
False |
Named |
True (ByPropertyName) |
|
|
Subscription |
Specifies the Microsoft Azure subscription in which you plan to deploy the helper appliance.
Accepts the |
False |
Named |
True (ByPropertyName) |
|
|
VirtualNetwork |
Specifies the virtual network to which you want to connect the helper appliance.
Accepts the |
False |
Named |
True (ByPropertyName) |
|
|
VirtualSubnet |
Specifies the virtual network subnet to which you want to connect the helper appliance.
Accepts the |
False |
Named |
True (ByPropertyName) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Setting Storage Account for Linux VM Restore Helper Appliance
This example shows how to set another storage account for a Linux VM restore helper appliance.
|
$account = Get-VBRAzureAccount -Type ResourceManager -Name "RestoreToAzureRM@Veeam.com" $appliance = Get-VBRAzureLinuxRestoreAppliance -Account $account | Select-Object -First 1 $subscription = Get-VBRAzureSubscription -Account $account -Name "VeeamDirectRestore2Azure" $newstorageaccount = Get-VBRAzureStorageAccount -Subscription $subscription -Name "VeeamDirectRestore2AzureStorage" Set-VBRAzureLinuxRestoreAppliance -Appliance $appliance -StorageAccount $newstorageaccount |
Perform the following steps:
- Get the Linux helper appliance:
- Run the
Get-VBRAzureAccountReturns Microsoft Azure accounts added to Veeam Backup & Replication. cmdlet. Set theResourceManageroption for theTypeparameter. Specify theNameparameter value. Save the result to the$accountvariable. - Run the
Get-VBRAzureLinuxRestoreApplianceReturns helper appliances for restoring Linux VMs to Microsoft Azure. cmdlet. Set the$accountvariable as theAccountparameter value. Pipe the cmdlet output to theSelect-Objectcmdlet. Specify theFirstparameter value. Save the result to the$appliancevariable.
- Run the
- Get the Microsoft Azure storage account you want to use:
- Run the
Get-VBRAzureSubscriptionReturns subscriptions associated with a Microsoft Azure account. cmdlet. Set the$accountvariable as theAccountparameter value. Specify theNameparameter value. Save the subscription to the$subscriptionvariable. - Run the
Get-VBRAzureStorageAccountReturns Microsoft Azure storage accounts available for a subscription. cmdlet. Set the$subscriptionvariable as theSubscriptionparameter value. Specify theNameparameter value. Save it to the$newstorageaccountvariable.
- Run the
- Run the
Set-VBRAzureLinuxRestoreAppliancecmdlet. Set the$appliancevariable as theApplianceparameter value. Set the$storageaccountvariable as theStorageAccountparameter value.
Related Commands
Get-VBRAzureLinuxRestoreApplianceReturns helper appliances for restoring Linux VMs to Microsoft Azure.Get-VBRAzureSubscriptionReturns subscriptions associated with a Microsoft Azure account.Get-VBRAzureStorageAccountReturns Microsoft Azure storage accounts available for a subscription.Get-VBRAzureVirtualNetworkReturns Microsoft Azure virtual networks available for a subscription.VBRAzureNetworkSubnet