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

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Connection

Specifies an active session with Microsoft Azure Blob storage. The cmdlet will stop the session with this object storage.

Accepts the following types:

  • VBRAzureBlobConnection
  • VBRAzureDataBoxConnection

True

Named

True (ByValue)

 

<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 stop an active session with Microsoft Azure Blob storage.

  1. Run Get-VBRAzureBlobAccount to get the Microsoft Azure Blob credentials record. Save the result to the $account variable.
  2. Run Connect-VBRAzureBlobService with the $account variable to start a session with Microsoft Azure Blob storage. Save the result to the $session variable.
  3. Run Disconnect-VBRAmazonS3Service with the $session variable.

$account = Get-VBRAzureBlobAccount -Name "Microsoft Azure Blob"

$session = Connect-VBRAzureBlobService -Account $account -RegionType Global -ServiceType CapacityTier

Disconnect-VBRAzureBlobService -Connection $session

Related Commands

Get-VBRAzureBlobAccount

Connect-VBRAzureBlobService