New-VBRAzureBlobFolder
Short Description
Creates Microsoft Azure Blob folders.
Applies to
Platform: VMware, Hyper-V
Product Edition: Enterprise, Enterprise Plus
Syntax
New-VBRAzureBlobFolder -Container <VBRAzureBlobContainer> -Connection <VBRAzureBlobConnection> -Name <string>[<CommonParameters>] |
Detailed Description
This cmdlet creates Microsoft Azure Blob folders. Veeam Backup & Replication will use these folders to keep backup files there.
|
You cannot create a new folder under the $root container. |
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Container | Specifies an Microsoft Azure Blob container. The cmdlet will create a folder in this container. | True | Named | True (ByValue) |
|
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 types:
| True | Named | False |
|
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 the About CommonParameters section of Microsoft Docs.
Return Type
Example
This example shows how to create a Microsoft Azure Blob folder that an Azure Blob object storage will use as a repository.
- Run Get-VBRAzureBlobAccount to get an Microsoft Azure Blob credentials record. Save the result to the $account variable.
- Run Connect-VBRAzureBlobService with the $account variable to connect to Microsoft Azure Blob storage. Use the RegionType parameter to specify the type of the region. Save the result to the $connect variable.
- Run Get-VBRAzureBlobContainer with the $connect variable to get an Microsoft Azure Blob container. Save the result to the $container variable.
- Run New-VBRAzureBlobFolder with the $container and $connect variables. Use the Name parameter to specify the name of an Microsoft Azure Blob folder.
$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" |
Related Commands