Get-VBRCloudSubTenant
Short Description
Returns cloud subtenant accounts.
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:
- Get all cloud subtenant accounts.
|
Get-VBRCloudSubTenant [-Mode <VBRCloudSubTenantMode> {Common | AgentManagement}] [<CommonParameters>] |
- Get cloud subtenants by ID.
|
Get-VBRCloudSubTenant [-Id <guid[]>] [-Mode <VBRCloudSubTenantMode> {Common | AgentManagement}] [<CommonParameters>] |
- Get cloud subtenants by name.
|
Get-VBRCloudSubTenant [-Name <string[]>] [-Mode <VBRCloudSubTenantMode> {Common | AgentManagement}] [<CommonParameters>] |
- Get cloud subtenants by tenant.
|
Get-VBRCloudSubTenant [-Tenant <IVBRCloudTenant[]>] [-Mode <VBRCloudSubTenantMode> {Common | AgentManagement}] [<CommonParameters>] |
Detailed Description
This cmdlet returns cloud subtenant accounts of the following types:
- Simple cloud subtenant accounts.
- Cloud Director subtenant accounts.
|
|
|
You can get the cloud subtenant accounts from the specified cloud tenant. Run the Get-VBRCloudTenant cmdlet to get the cloud tenant. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Id |
Specifies the array of subtenant IDs. The cmdlet will return the subtenants with these IDs. |
Accepts GUID[] or string[]. |
False |
Named |
True (ByValue, |
|
Mode |
Specifies the cloud subtenant mode. You can select either of the following modes:
The cmdlet will return subusers of the specified mode. |
VBRCloudSubTenantMode |
False |
Named |
False |
|
Name |
Specifies the array of names for the subtenant account you want to get or search conditions. |
String[] |
False |
Named |
True (ByValue, |
|
Tenant |
Specifies the tenant. The cmdlet will return the subtenants associated with this tenant. |
Accepts the IVBRCloudSubTenant[] and VBRvCDCloudTenant[] objects. To get one of the objects, run the Get-VBRCloudTenant cmdlet. |
False |
Named |
True (ByValue, |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
IVBRCloudSubTenant
VBRvCDCloudSubTenant
Examples
Example 1. Getting Cloud Subtenant by Name
|
This command shows how to get a simple cloud subtenant by name.
|
Example 2. Getting Cloud Subtenant by Tenant
|
This example shows how to get a cloud subtenant by tenant.
Perform the following steps:
|
Related Commands