New-VBRAzureBlobFolder
Short Description
Creates Microsoft Azure Blob folders.
Platform: VMware, Hyper-V
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
New-VBRAzureBlobFolder -Container <VBRAzureBlobContainer> -Connection <IVBRAzureBlobConnection> -Name <String> [<CommonParameters>] |
Detailed Description
This cmdlet creates Microsoft Azure Blob folders. Veeam Backup & Replication will use these folders to keep backup files there.
Important |
|
The default Root container is not supported. For more information about this container, see this Microsoft article. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Connection |
Specifies an active session with Microsoft Azure Blob storage. The cmdlet will use this session to connect to Microsoft Azure object storage. Accepts the following objects:
To get this object, run the |
|
True |
Named |
False |
|
Container |
Specifies a Microsoft Azure Blob container. The cmdlet will create a folder in this container.
Accepts the |
True |
Named |
True (ByValue) |
|
|
Name |
Specifies a name of the Microsoft Azure Blob container. The cmdlet will create a new Microsoft Azure Blob folder in this container. |
|
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRAzureBlobFolder object that contains Microsoft Azure Blob folders.
Examples
Adding Microsoft Azure Blob Folder
This example shows how to create a Microsoft Azure Blob folder that an Azure Blob object storage will use as a repository.
|
$account = Get-VBRAzureBlobAccount -Name "Azure Blob" $connect = Connect-VBRAzureBlobService -Account $account -RegionType Global -ServiceType CapacityTier $container = Get-VBRAzureBlobContainer -Connection $connect -Name "Container" New-VBRAzureBlobFolder -Container $container -Connection $connect -Name "Images" |
Perform the following steps:
- Run the
Get-VBRAzureBlobAccountReturns Microsoft Azure Blob credentials records. cmdlet. Specify theNameparameter value. Save the result to the$accountvariable. - Run the
Connect-VBRAzureBlobServiceConnects to Microsoft Azure Blob storage. cmdlet. Specify theAccount,RegionTypeand theServiceTypeparameter values. Save the result to the$connectvariable. - Run the
Get-VBRAzureBlobContainerReturns Azure Blob containers. cmdlet. Specify theConnectionand theNameparameter values. Save the result to the$containervariable. - Run the
New-VBRAzureBlobFoldercmdlet. Set the$containervariable as theContainerparameter value. Set the$connectvariable as theConnectionparameter value. Specify theNameparameter value.
Related Commands
Get-VBRAzureBlobAccountReturns Microsoft Azure Blob credentials records.Connect-VBRAzureBlobServiceConnects to Microsoft Azure Blob storage.Get-VBRAzureBlobContainerReturns Azure Blob containers.