Add-VBRAzureAccount
Short Description
Adds Microsoft Azure accounts to Veeam Backup & Replication.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides parameter sets that allow you to
- Add the Microsoft Azure account.
Add-VBRAzureAccount [-Region <VBRAzureRegionType> {Global | China | Government}][-AzureCredentials <CCredentials>] [<CommonParameters>] |
- Add Microsoft Azure stack account.
Add-VBRAzureAccount -AzureCredentials <CCredentials> -ResourceManagerEndpoint <string> [<CommonParameters>] |
Detailed Description
This cmdlet adds a Microsoft Azure account to the Veeam Backup & Replication managing console and imports information about subscriptions and resources associated with the Microsoft Azure account.
You can add the following types of the accounts:
- Microsoft Azure account
- Microsoft Azure stack account
The cmdlet will open a Microsoft Azure wizard. Follow the steps of the wizard to add the account.
Important |
Mind the following:
|
Parameters
Parameter | Description | Required | Position | Accept | Accept |
---|---|---|---|---|---|
ResourceManager | To connect to Microsoft Azure stack. Specifies the path to the Azure Stack resource management endpoint. Veeam Backup & Replication will use this path to connect to Microsoft Azure stack. | True | Named | False |
|
Region | Specifies the region type of the Microsoft Azure account. You can select the following types of regions:
| False | Named | False |
|
AzureCredentials | Specifies the credential records. Veeam Backup & Replication will use these credential records to connect to Microsoft Azure. | False | Named | False |
|
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Type
Example 1
This example shows how to add the Microsoft Azure account into your Veeam Backup & Replication infrastructure.
- Run Get-VBRCredentials to get Microsoft Azure credentials records. Save the result to the $creds variable.
- Run Add-VBRAzureAccount with the $creds variable. Use the Region parameter to specify the region type.
$creds = Get-VBRCredentials -Name "Microsoft Azure" Add-VBRAzureAccount -Region Global -AzureCredentials $creds |
Example 2
This example shows how to add the Microsoft Azure stack account into your Veeam Backup & Replication infrastructure.
- Run Get-VBRCredentials to get Microsoft Azure credentials records. Save the result to the $creds variable.
- Run Add-VBRAzureAccount with the $creds variable. Use the ResourceManagerEndpoint parameter to specify the Azure Stack resource management endpoint.
$creds = Get-VBRCredentials -Name "Microsoft Azure Stack" Add-VBRAzureAccount -ResourceManagerEndpoint "management.local.veeamstack.external" -AzureCredentials $creds |
Related Commands