New-VBOAzureBlobObjectStorageSettings
Short Description
Defines Azure Blob Storage settings.
Syntax
This cmdlet provides parameter sets that allow you to:
- Define Azure Blob Storage settings.
New-VBOAzureBlobObjectStorageSettings -Folder <VBOAzureBlobFolder> [<CommonParameters>] |
- Define Azure Blob Storage settings by specifying Microsoft Azure subscription and Azure archiver appliance.
New-VBOAzureBlobObjectStorageSettings -Folder <VBOAzureBlobFolder> -Subscription <VBOAzureSubscription> [-ArchiverAppliance <VBOAzureArchiverAppliance>] [<CommonParameters>] |
Detailed Description
This cmdlet creates the VBOAzureBlobObjectStorageSettings object. This object contains settings of Azure Blob Storage.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Folder | Specifies an Azure Blob folder. Veeam Backup for Microsoft 365 will save backups or backup copies to the specified folder. | Accepts the VBOAzureBlobFolder object. To get this object, run the Get-VBOAzureBlobFolder cmdlet. | True | Named | False |
Subscription | Specifies a subscription associated with a user account that will be used to access Azure Blob Storage. | Accepts the VBOAzureSubscription object. To get this object, run the Get-VBOAzureSubscription cmdlet. | True | Named | False |
ArchiverAppliance | Specifies the Azure archiver appliance. The cmdlet will use this archiver appliance when transferring backed-up data between different instances of Azure Blob Storage or to Azure Blob Storage Archive during backup copy jobs. | Accepts the VBOAzureArchiverAppliance object. To create this object, run the New-VBOAzureArchiverAppliance cmdlet. | 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 VBOAzureBlobObjectStorageSettings object that contains settings of Azure Blob Storage.
Example
Defining Azure Blob Storage Settings
This example shows how to define settings for Azure Blob Storage.
$account = Get-VBOAzureBlobAccount -Id 133dae61-cfce-4fe0-8f8d-cbe52bd5612a $connection = New-VBOAzureBlobConnectionSettings -Account $account -RegionType Global $container = Get-VBOAzureBlobContainer -ConnectionSettings $connection -Name "ContainerName" $folder = Get-VBOAzureBlobFolder -Container $container -Name "FolderName" New-VBOAzureBlobObjectStorageSettings -Folder $folder |
Perform the following steps:
- Run the Get-VBOAzureBlobAccount cmdlet. Save the result to the $account variable.
- Run the New-VBOAzureBlobConnectionSettings cmdlet. Set the $account variable as the Account parameter value. Specify the RegionType parameter value. Save the result to the $connection variable.
- Run the Get-VBOAzureBlobContainer cmdlet. Set the $connection variable as the ConnectionSettings parameter value. Specify the Name parameter value. Save the result to the $container variable.
- Run the Get-VBOAzureBlobFolder cmdlet. Set the $container variable as the Container parameter value. Specify the Name parameter value. Save the result to the $folder variable.
- Run the New-VBOAzureBlobObjectStorageSettings cmdlet. Set the $folder variable as the Folder parameter value.
Related Commands