This is an archive version of the document. To get the most up-to-date information, see the current version.

Get-VBRCloudTapeBackupTenantRepository

Short Description

Returns tenant cloud repositories.

Applies to

Product Edition: Enterprise

Requires Cloud Connect license

Syntax

This cmdlet provides the following parameter sets:

  • For getting tenant cloud repositories by the tenant friendly name

Get-VBRCloudTapeBackupTenantRepository [-Name <string[]>] [<CommonParameters>]

  • For getting tenant cloud repository by the repository ID

Get-VBRCloudTapeBackupTenantRepository -Id <guid[]> [<CommonParameters>]

  • For getting tenant cloud repository by the tenant ID

Get-VBRCloudTapeBackupTenantRepository -TenantId <guid[]> [<CommonParameters>]

Detailed Description

This cmdlet returns the array of tenant cloud repositories.

Get-VBRCloudTapeBackupTenantRepository Important!

You can run this cmdlet from the service provider side only.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Name

Specifies an array of friendly names for tenant backup repositories. The cmdlet will return the tenant backup repositories with these names.

False

Named

True (ByValue,
ByProperty
Name)

False

Id

Specifies an array of IDs for tenant backup repositories. The cmdlet will return the tenant backup repositories with the specified IDs.

True

Named

True (ByValue,
ByProperty
Name)

False

TenantId

Specifies an array of tenant IDs. The cmdlet will return tenant backup repositories with the specified tenant IDs.

True

Named

True (ByValue,
ByProperty
Name)

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

VBRCloudTapeBackupTenantRepository

Example 1

This command gets an array of all tenant cloud repositories.

Get-VBRCloudTapeBackupTenantRepository

Example 2

This command gets a tenant cloud repository by the repository ID.

Get-VBRCloudTapeBackupTenantRepository -ID "0fccf7c9-1f90-49de-8bec-53a0697e04ab"

Example 3

This command gets tenant cloud repositories by the tenant friendly name.

Get-VBRCloudTapeBackupTenantRepository -Name "New tenant"

Example 4

This command gets tenant cloud repositories by the tenant ID.

Get-VBRCloudTapeBackupTenantRepository -TenantId "4bff98a5-c49e-473c-8ce0-4203549b7560"