Disconnect-VBRGoogleCloudService
Short Description
Stops active sessions with Google Cloud object storage.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Disconnect-VBRGoogleCloudService -Connection <IVBRGoogleCloudConnection> [<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 |
|
True |
Named |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
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:
- Run the
Get-VBRGoogleCloudAccountReturns Google Cloud credentials records. cmdlet. Specify theAccessKeyparameter value. Save the result to the$accountvariable. - Run the
Connect-VBRGoogleCloudServiceConnects to Google Cloud object storage. cmdlet. Specify theAccountand theServiceTypeparameters value. Save the result to the$sessionvariable. - Run the
Disconnect-VBRGoogleCloudServicecmdlet. Set the$sessionvariable as theConnectionparameter value.
Related Commands
Get-VBRGoogleCloudAccountReturns Google Cloud credentials records.Connect-VBRGoogleCloudServiceConnects to Google Cloud object storage.