Add-VBRCloudSubTenant
Short Description
Creates cloud subtenant accounts.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Add-VBRCloudSubTenant -Tenant <VBRCloudTenant> -Name <string> -Password <string> -Resources <VBRCloudSubTenantResource[]> [-Description <string>] [-HashedPassword] [-Disabled] [<CommonParameters>] |
Detailed Description
This cmdlet creates a new cloud subtenant account.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
---|---|---|---|---|---|
Tenant | Specifies the parent tenant. The cmdlet will use resources of this tenant as parent resources for the subtenant. Accepts VBRCloudTenant type. | True | Named | True (ByValue, | False |
Name | Specifies the name you want to assign to the subtenant account. The subtenant name must meet the following requirements:
| True | Named | False | False |
Password | Specifies the password you want to set to the subtenant account. | True | Named | False | False |
Recources | Specifies the quota of the subtenant backup resources you want to give to the subtenant. Accepts VBRCloudSubTenantResource type. | True | Named | False | False |
Description | Specifies the description of the cloud subtenant account. | False | Named | False | False |
HashedPassword | Indicates that you submit the hashed password. The hashed passwords are stored in Veeam backup database. Use this parameter, for example, to restore subtenant accounts. | False | Named | False | False |
Disabled | Indicates that the cloud subtenant is disabled. | False | Named | False | 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
This example shows how to create a cloud subtenant account.
- [Preconfigure] Create the quota of the subtenant resources. See New-VBRCloudSubTenantResource for details. Save the result to the $subtenantquota variable.
- Run Get-VBRCloudTenant to get the parent cloud tenant. Save the result to the $tenant variable.
- Run Add-VBRCloudSubTenant. Use the saved variables.
$tenant = Get-VBRCloudTenant -Name "Alpha" Add-VBRCloudSubTenant -Tenant $tenant -Name "Alpha" -Password "Pass123" -Resources $subtenantquota |
Related Commands