Remove-VBRCloudSubTenant
Short Description
Removes cloud subtenant accounts.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Remove-VBRCloudSubTenant -SubTenant <IVBRCloudSubTenant[]> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet removes a selected cloud subtenant account from Veeam Backup & Replication. You can remove subtenant accounts of the following types:
- Simple cloud subtenant accounts
- Cloud Director subtenant accounts
When you remove a subtenant, all backups stored on the cloud repository on this subtenant are removed permanently. The service provider cannot undo this operation. The resources associated with this subtenant account becomes available for use by the service provider.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
SubTenant |
Specifies the array of cloud subtenants that you want to remove. The subtenants can have different parents.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Confirm |
Defines that the cmdlet will display a prompt that asks if you want to continue running the command.
Note: Microsoft PowerShell enables the |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Removing Cloud Subtenant
This example shows how to remove a cloud subtenant.
|
$subtenant = Get-VBRCloudSubTenant -Name "Alpha" Remove-VBRCloudSubTenant -SubTenant $subtenant |
Perform the following steps:
- Run the
Get-VBRCloudSubTenantReturns cloud subtenant accounts. cmdlet. Specify theNameparameter value. Save the result to the$subtenantvariable. - Run the
Remove-VBRCloudSubTenantcmdlet. Set the$subtenantvariable as theSubTenantparameter value.
Related Commands
Get-VBRCloudSubTenantReturns cloud subtenant accounts.