Disconnect-VBRAzureBlobService
Short Description
Stops active sessions with Microsoft Azure Blob storage.
Applies to
Platform: VMware, Hyper-V
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Disconnect-VBRAzureBlobService -Connection <VBRAzureBlobConnection> [<CommonParameters>] |
Detailed Description
This cmdlet stops active sessions with Microsoft Azure Blob storage.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Connection | Specifies an active session with Microsoft Azure Blob storage. The cmdlet will stop the session with this object storage. | Accepts the following objects:
To get these objects, run the Connect-VBRAzureBlobService cmdlet. | True | Named | True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
None.
Examples
Stopping Active Session with Microsoft Azure Blob Storage
This example shows how to stop an active session with Microsoft Azure Blob storage.
$account = Get-VBRAzureBlobAccount -Name "Microsoft Azure Blob" $session = Connect-VBRAzureBlobService -Account $account -RegionType Global -ServiceType CapacityTier Disconnect-VBRAzureBlobService -Connection $session |
Perform the following steps:
- Run the Get-VBRAzureBlobAccount cmdlet. Specify the Name parameter value. Save the result to the $account variable.
- Run the Connect-VBRAzureBlobService cmdlet. Set the $account variable as the Account parameter value. Specify the RegionType and ServiceType parameter values. Save the result to the $session variable.
- Run the Disconnect-VBRAzureBlobService cmdlet. Set the $session variable as the Connection parameter value.
Related Commands