Set-VBRAzureLinuxRestoreAppliance
Short Description
Modifies helper appliances for restoring Linux VMs to Microsoft Azure.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Set-VBRAzureLinuxRestoreAppliance -Appliance <VBRAzureLinuxRestoreAppliance> [-Subscription <VBRAzureSubscription>] [-StorageAccount <VBRAzureStorageAccount>] [-VirtualNetwork <VBRAzureVirtualNetwork>] [-VirtualSubnet <VBRAzureNetworkSubnet>] [<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 Deploy-VBRAzureLinuxRestoreAppliance.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Appliance | Specifies the helper appliance you want to modify. | True | Named | True (ByValue, | False |
Subscription | Specifies the Microsoft Azure subscription in which you plan to deploy the helper appliance. | False | Named | True (ByProperty | False |
StorageAccount | Specifies the storage account you want to use to deploy the helper appliance. | False | Named | True (ByProperty | False |
VirtualNetwork | Specifies the virtual network to which you want to connect the helper appliance. | False | Named | True (ByProperty | False |
VirtualSubnet | Specifies the virtual network subnet to which you want to connect the helper appliance. | False | Named | True (ByProperty | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Return Type
Example
This example shows how to set another storage account for a Linux VM restore helper appliance:
- Get the Linux helper appliance. Run Get-VBRAzureAccount to get Microsoft Azure account and save it to the $account variable. Run Get-VBRAzureLinuxRestoreAppliance with the $account variable. Select the helper appliance from the list of helper appliances associated with the Azure account. Save the helper appliance to the $appliance variable.
- Get the Microsoft Azure storage account you want to use. Run Get-VBRAzureSubscription to get the subscription associated with the storage account you need. Save the subscription to the $subscription variable. Run Get-VBRAzureStorageAccount with the $subscription variable to get the storage account. Save it to the $newstorageaccount variable.
- Run Set-VBRAzureLinuxRestoreAppliance with the $apliance and $storageaccount variables.
$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 |
Related Commands