New-VBOAzureBlobObjectStorageSettings
Short Description
Defines the Azure Blob Storage settings.
Syntax
This cmdlet provides the following parameter sets:
-
DefaultParameterSet (Default)New-VBOAzureBlobObjectStorageSettings -Folder <VBOAzureBlobFolder> [<CommonParameters>]
-
ApplianceParameterSetNew-VBOAzureBlobObjectStorageSettings -Folder <VBOAzureBlobFolder> -Subscription <VBOAzureSubscription>
[-ArchiverAppliance <VBOAzureArchiverAppliance>] [<CommonParameters>]
Detailed Description
This cmdlet creates the VBOAzureBlobObjectStorageRepository object. This object contains settings of Azure Blob Storage.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
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
To create this object, run the |
False |
Named |
False |
|
|
Folder |
Specifies an Azure Blob folder. Veeam Backup for Microsoft 365 will save backups or backup copies to the specified folder.
Accepts the
To get this object, run the |
True |
Named |
False |
|
|
Subscription |
Specifies a subscription associated with a user account that will be used to access Azure Blob Storage.
Accepts the
To get this object, run the |
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Output Object
The cmdlet returns the VBOAzureBlobObjectStorageRepository object that contains settings of Azure Blob Storage.
Examples
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-VBOAzureBlobAccountReturns Microsoft Azure Blob Storage account credentials. cmdlet. Save the result to the$accountvariable. - Run the
New-VBOAzureBlobConnectionSettingsDefines connection settings to Microsoft Azure Blob Storage. cmdlet. Set the$accountvariable as theAccountparameter value. Specify theRegionTypeparameter value. Save the result to the$connectionvariable. - Run the
Get-VBOAzureBlobContainerReturns Microsoft Azure Blob containers. cmdlet. Set the$connectionvariable as theConnectionSettingsparameter value. Specify theNameparameter value. Save the result to the$containervariable. - Run the
Get-VBOAzureBlobFolderReturns Microsoft Azure Blob folders. cmdlet. Set the$containervariable as theContainerparameter value. Specify theNameparameter value. Save the result to the$foldervariable. - Run the
New-VBOAzureBlobObjectStorageSettingscmdlet. Set the$foldervariable as theFolderparameter value.
Related Commands
Get-VBOAzureBlobAccountReturns Microsoft Azure Blob Storage account credentials.New-VBOAzureBlobConnectionSettingsDefines connection settings to Microsoft Azure Blob Storage.Get-VBOAzureBlobContainerReturns Microsoft Azure Blob containers.Get-VBOAzureBlobFolderReturns Microsoft Azure Blob folders.Get-VBOAzureSubscriptionReturns Microsoft Azure subscriptions associated with a user account that will be used to access Azure Blob Storage.New-VBOAzureArchiverApplianceDefines the Azure archiver appliance settings.