Get-VBRCloudSubTenant
Short Description
Returns cloud subtenant accounts.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
This cmdlet provides the following parameter sets:
- To look for all cloud subtenant accounts
Get-VBRCloudSubTenant [-Mode <VBRCloudSubTenantMode> {Common | AgentManagement}] [<CommonParameters>] |
- To look for cloud subtenants by ID
Get-VBRCloudSubTenant [-Id <guid[]>] [-Mode <VBRCloudSubTenantMode> {Common | AgentManagement}] [<CommonParameters>] |
- To look for cloud subtenants by name
Get-VBRCloudSubTenant [-Name <string[]>] [-Mode <VBRCloudSubTenantMode> {Common | AgentManagement}] [<CommonParameters>] |
- To look for 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.
- vCD cloud subtenant accounts.
|
You can get the cloud subtenant accounts from the specified cloud tenant. Run Get-VBRCloudTenant to get the cloud tenant. |
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Id | Specifies the array of subtenant IDs. The cmdlet will return the subtenants with these IDs. Accepts GUID or the string type. | False | Named | True (ByValue, | False |
Mode | Specifies the cloud subtenant mode. You can select either of the following modes:
The cmdlet will return subusers of the specified mode. | False | Named | False | False |
Name | Specifies the array of names for the subtenant account you want to get or search conditions. | False | Named | True (ByValue, | True |
Tenant | Specifies the tenant. The cmdlet will return the subtenants associated with this tenant. Accepts the IVBRCloudSubTenant and VBRvCDCloudTenant types. | False | Named | True (ByValue, | 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
IVBRCloudSubTenant
VBRvCDCloudSubTenant
Example 1
This example shows how to get a simple cloud subtenant by name.
Example 2
This example shows how to get a cloud subtenant by tenant.
- Run Get-VBRCloudTenant to get the cloud tenant. Save the result to the $Alpha variable.
- Run Get-VBRCloudSubTenant with the $Alpha variable.
Related Commands