Add-VBRvCDCloudSubUser
Short Description
Creates Cloud Director subuser accounts.
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Add-VBRvCDCloudSubUser -CloudProvider <VBRCloudProvider> -vCDCloudOrganizationUser <VBRvCDCloudOrganizationUser> [-Description <String>] [-Disabled] -Resources <VBRCloudSubUserResource[]> [<CommonParameters>] |
Detailed Description
This cmdlet creates Cloud Director subuser accounts from the tenant side. You can use these accounts to back up Windows and Linux computers that are protected by Veeam Agent. The backups of these machines will be stored on the cloud repository.
Note |
|
Consider the following:
|
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
CloudProvider |
Specifies a cloud service provider. The resources of this cloud service provider will be a parent for the subuser.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
Description |
Specifies a description of a Cloud Director subuser account. |
|
False |
Named |
False |
|
Disabled |
Defines that a Cloud Director subuser is disabled. |
|
False |
Named |
False |
|
Resources |
Specifies the quota of the subtenant backup resources that you want to give to the subtenant.
Accepts the |
True |
Named |
False |
|
|
vCDCloudOrganizationUser |
Specifies a vCD cloud user accounts that you want to add. Accepts the VBRvCDCloudOrganizationUser object. To get this object, run the Get-VBRvCDCloudOrganizationUser cmdlet. |
|
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
VBRvCDCloudSubUser
Examples
Creating Cloud Director Subuser Account on Tenant Side
This example shows how to create a Cloud Director subuser account on the tenant side.
|
$provider = Get-VBRCloudProvider -Name "vCDProvider" $user = Get-VBRvCDCloudOrganizationUser -Name "vCDCloudUser" $rep = Get-VBRBackupRepository -Name "vCD Repository" $resources = New-VBRCloudSubUserResource -CloudRepository $rep -RepositoryFriendlyName "Vancouver Repository" -Quota 50 Add-VBRvCDCloudSubUser -CloudProvider $provider -vCDCloudOrganizationUser $user -Resources $resources |
Perform the following steps:
- Run the
Get-VBRCloudProviderReturns service providers. cmdlet. Specify theNameparameter value. Save the result to the$providervariable. - Run the
Get-VBRvCDCloudOrganizationUserReturns Cloud Director user accounts. cmdlet. Specify theNameparameter value. Save the result to the$uservariable. - Run the
Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet. Specify theNameparameter value. Save the result to the$repvariable. - Run the
New-VBRCloudSubUserResourceCreates quotas of cloud subuser resources. cmdlet. Set the$repvariable as theCloudRepositoryparameter value. Specify theRepositoryFriendlyNameand theQuotaparameter values. Save the result to the$resourcesvariable. - Run the
Add-VBRvCDCloudSubUsercmdlet. Set the$providervariable as theCloudProviderparameter value. Set the$uservariable as thevCDCloudOrganizationUserparameter value. Set the$resourcesvariable as theResourcesparameter value.
Related Commands
Get-VBRCloudProviderReturns service providers.Get-VBRvCDCloudOrganizationUserReturns Cloud Director user accounts.Get-VBRBackupRepositoryReturns a list of backup repositories.New-VBRCloudSubUserResourceCreates quotas of cloud subuser resources.