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

Set-VBRCloudTenantResource

In this article

    Short Description

    Modifies tenants backup resources settings.

    Applies to

    Platform: VMware, Hyper-V

    Product Edition: Standard, Enterprise, Enterprise Plus

    Syntax

    Set-VBRCloudTenantResource -CloudTenantResource <VBRCloudTenantResource> [-Repository <CBackupRepository>] [-RepositoryFriendlyName <string>] [-Quota <int>] [-EnableWanAccelerator] [-WanAccelerator <CWanAccelerator>] [<CommonParameters>]

    Detailed Description

    This cmdlet modifies the VBRCloudTenantResource object containing the backup resources for a tenant. To modify settings, you need to enter the corresponding parameters with new values. The parameters that you omit will remain unchanged.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Cloud
    Tenant
    Resource

    Specifies the cloud account tenant quota settings you want to modify.

    Accepts VBRCloudTenantResource object.

    True

    Named

    False

    False

    Repository

    Specifies the backup repository in your backup infrastructure you want to expose to the tenant.

    Accepts CBackupRepository object.

    You can specify simple or scale-out backup repositories.

    You cannot specify cloud repositories or individual scale-out repositories extents.

    True

    Named

    False

    False

    Repository
    Friendly
    Name

    Specifies a friendly name for the cloud repository you want to present to the tenant. The name you enter will be displayed in the list of backup repositories at tenant’s side.

    Accepts string type.

    True

    Named

    False

    False

    Quota

    Specifies the amount of space you want to allocate to the tenant on the selected backup repository.

    Permitted value: 1 to 2097151  (GB).

    True

    Named

    False

    False

    Enable
    Wan
    Accelerator

    Indicates that the backup jobs can use WAN accelerators for transferring data to cloud repositories.

    Use the WanAccelerator parameter to set the WAN accelerator.

    False

    Named

    False

    False

    Wan
    Accelerator

    Specifies the WAN accelerator for the EnableWanAccelerator parameter.

    Accepts CWanAccelerator object.

    False

    Named

    False

    False

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

    Related Commands

    Get-VBRBackupRepository

    Get-VBRWANAccelerator

    Return Type

    VBRCloudTenantResource

    Example 1

    This example shows how to change the backup repository quota of a tenant.

    1. Run Get-VBRCloudTenant to get the tenant you want to modify. Save it to the $tenant variable.
    2. Get the array of quotas assigned to the tenant. Select the first quota from the list. Save the result to the $resources variable.
    3. Run Set-VBRCloudTenant with the $resources variable. Set the new quota value. Save the new resources to the $newquota variable for future use.

    PS C:\PS> $tenant = Get-VBRCloudTenant -Name "ABC Company"

    PS C:\PS> $resources = $tenant.resources[0]

    PS C:\PS> $newquota = Set-VBRCloudTenantResource -CloudTenantResource $resources -Quota 20

    Example 2

    This example shows how to enable WAN acceleration for a tenant.

    1. Run Get-VBRCloudTenant to get the tenant you want to modify. Save it to the $tenant variable.
    2. Get the array of resources assigned to the tenant. Select the first item from the list. Save the result to the $resources variable.
    3. Run Get-VBRWANAccelerator to get the WAN accelerator. Save it to the $wan variable.
    4. Run Set-VBRCloudTenantResource with the $resources variable. Enable the WAN acceleration and specify the WAN accelerator. Save the new resources to the $newresources variable for future use.

    PS C:\PS> $tenant = Get-VBRCloudTenant -Name "ABC Company"

    PS C:\PS> $resources = $tenant.resources[0]

    PS C:\PS> $wan = Get-VBRWANAccelerator -Name "Columbus WAN"

    PS C:\PS> $newresources = Set-VBRCloudTenantResource -CloudTenantResource $resources -EnableWanAccelerator -WanAccelerator $wan