Set-VBOObjectStorageRepository
Short Description
Modifies settings of object storage repositories added to the Veeam Backup for Microsoft Office 365 infrastructure.
Syntax
Set-VBOObjectStorageRepository -ObjectStorageRepository <VBOObjectStorageRepository> [-Name <string>][-Description <string>] [-EnableSizeLimit] [-SizeLimit <uint64>] [-TrustServerCertificate] [<CommonParameters>] |
Detailed Description
This cmdlet modifies settings of object storage repositories added to the Veeam Backup for Microsoft Office 365 infrastructure.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
ObjectStorageRepository | Specifies an object storage repository. The cmdlet will modify settings of this repository. | Accepts the VBOObjectStorageRepository object. To get this object, run the Get-VBOObjectStorageRepository cmdlet. | True | Named | False |
Name | Specifies a name of object storage. The cmdlet will replace the current name with the specified name. | String | False | Named | False |
Description | Specifies a name of object storage. The cmdlet will replace the current name with the specified name. | String | False | Named | False |
EnableSizeLimit | Defines that the cmdlet will enable a soft limit in GB for your object storage consumption that can be exceeded temporarily. Use the SizeLimit parameter to specify the soft limit value. | SwitchParameter | False | Named | False |
SizeLimit | For the EnableSizeLimit option. Specifies a soft limit in GB for your object storage consumption that can be exceeded temporarily. If the specified limit is exceeded, Veeam Backup for Microsoft Office 365 will not run a new job. Permitted value: 1024 - 1073741824. Default: 1024. Note: In PowerShell you can specify a soft limit in GB only. | Uint64 | False | Named | False |
TrustServerCertificate | Defines that Veeam Backup for Microsoft Office 365 will trust Amazon S3 Compatible self-signed certificates. If you omit this parameter, Veeam Backup for Microsoft Office 365 will not trust Amazon S3 Compatible self-signed certificates. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Output Object
The cmdlet returns the VBOObjectStorageRepository object that contains an array of object storage repositories.
Examples
Modifying Soft Limit for Object Storage Repository
This example shows how to modify a soft limit for the Azure object storage repository.
$repository = Get-VBOObjectStorageRepository -Name Azure Set-VBOObjectStorageRepository -ObjectStorageRepository $repository -SizeLimit 2048 |
Perform the following steps:
- Run the Get-VBOObjectStorageRepository cmdlet. Specify the Name parameter value. Save the result to the $repository variable.
- Run the Set-VBOObjectStorageRepository cmdlet. Set the $repository as the ObjectStorageRepository parameter. Specify the SizeLimit value.
Related Commands