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
Pipeline
Input

Connection

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

Accepts the following objects:

  • VBRAzureBlobConnection
  • VBRAzureDataBoxConnection

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:

  1. Run the Get-VBRAzureBlobAccount cmdlet. Specify the Name parameter value. Save the result to the $account variable.
  2. Run the Connect-VBRAzureBlobService cmdlet. Specify the Account, RegionType and ServiceType parameter values. Save the result to the $session variable.
  3. Run the Disconnect-VBRAzureBlobService cmdlet. Set the $session variable as the Connection parameter value.

Related Commands