Add-VBRAzureAccount
Short Description
Adds a Microsoft Azure compute account to Veeam Backup & Replication.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
Azure (Default)Add-VBRAzureAccount [-Region <VBRAzureRegionType>] [-AzureCredentials <CCredentials>] -Name <String>
[-Description <String>] [-TenantId <String>] [-ApplicationId <String>] [-SecretKey <String>]
[-CertificatePath <String>] [-Password <String>] [<CommonParameters>]
-
AzureStackAdd-VBRAzureAccount [-AzureCredentials <CCredentials>] -ResourceManagerEndpoint <String> -Name <String>
[-Description <String>] [-TenantId <String>] [-ApplicationId <String>] [-SecretKey <String>]
[-CertificatePath <String>] [-Password <String>] [<CommonParameters>]
Detailed Description
This cmdlet adds a credentials record for Microsoft Azure compute account to Veeam Backup & Replication and imports information about subscriptions and resources associated with the Microsoft Azure compute account.
You can add the following types of the accounts:
- Microsoft Azure account
- Microsoft Azure Stack Hub compute account
The cmdlet will open a Microsoft Azure wizard. Follow the steps of the wizard to add the account.
Important |
|
Consider the following:
|
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
ApplicationId |
Specifies the ID of the AD application. The cmdlet will use this application to connect to Microsoft Azure. |
|
False |
Named |
False |
|
AzureCredentials |
Note: This parameter is obsolete and will be deprecated in next version. Specifies an exiting Azure AD application. Veeam Backup & Replication will use this Azure AD application to connect to Microsoft Azure. |
|
False |
Named |
False |
|
CertificatePath |
For certificate-based authentication. Specifies a path to the folder where the certificate is located. The cmdlet will use it to authenticate against Azure. |
|
False |
Named |
False |
|
Description |
Specifies a description of credentials record for Microsoft Azure compute account. The cmdlet will add credentials record with this description. |
|
False |
Named |
False |
|
Name |
Specifies a name of credentials record for for Microsoft Azure compute account. The cmdlet will add credentials record with this name. |
|
True |
Named |
False |
|
Password |
For certificate-based authentication. Specifies a password that the cmdlet will use it to authenticate against Azure. |
|
False |
Named |
False |
|
Region |
Specifies the region type of the Microsoft Azure account. You can select the following types of regions:
|
|
False |
Named |
False |
|
ResourceManagerEndpoint |
To connect to Microsoft Azure Stack Hub compute account. Specifies the virtual IP address of Azure Resource Manager. The account will connect to this resource manager.
Note: You must specify the IP address in the following format: |
|
True |
Named |
False |
|
SecretKey |
For the password-based authentication. Specifies the application secret that the cmdlet will use to authenticate against Microsoft Azure. |
|
False |
Named |
False |
|
TenantId |
For existing account connection type. Specifies an ID of a tenant (directory) where the AD application resides. The cmdlet will use this tenant ID to connect to the Azure AD application. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Example 1. Adding Microsoft Azure Compute Account
|
This command adds the Microsoft Azure compute account into your Veeam Backup & Replication infrastructure with the following settings:
|
Example 2. Adding Microsoft Azure Stack Hub Compute Account
|
This command adds the Microsoft Azure Stack Hub compute account named
|
Notes
This cmdlet does not create Microsoft Azure account. You must set up the Microsoft Azure account beforehand.