Disconnect-VBRGoogleCloudService

Short Description

Stops active sessions with Google Cloud object storage.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Disconnect-VBRGoogleCloudService -Connection <VBRGoogleCloudConnection>  [<CommonParameters>]

Detailed Description

This cmdlet stops active sessions with Google Cloud object storage.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Connection

Specifies a session with Google Cloud object storage that you want to stop.

Accepts the VBRGoogleCloudConnection object. To create this object, run the Connect-VBRGoogleCloudService cmdlet.

True

Named

True (ByValue, ByPropertyName)

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

None.

Examples

Disconnecting Google Cloud Service

This example shows how to stops an active session with Google Cloud object storage.

$account = Get-VBRGoogleCloudAccount -AccessKey "ABCDEFGHIGKLMNOP"

$session = Connect-VBRGoogleCloudService -Account $account -ServiceType CapacityTier

Disconnect-VBRGoogleCloudService -Connection $session

Perform the following steps:

  1. Run the Get-VBRGoogleCloudAccount cmdlet. Specify the AccessKey parameter value. Save the result to the $account variable.
  2. Run the Connect-VBRGoogleCloudService cmdlet. Specify the Account and the ServiceType parameters value. Save the result to the $session variable.
  3. Run the Disconnect-VBRGoogleCloudService cmdlet. Set the $session variable as the Connection parameter value.

Related Commands

Page updated 2/5/2024

Page content applies to build 12.2.0.334