Get-VBRGoogleCloudComputeVPC

Short Description

Returns Virtual Private Cloud (VPC) networks.

Applies to

Platform: VMware, Hyper-V

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

Syntax

Get-VBRGoogleCloudComputeVPC -Account <VBRGoogleCloudComputeAccount> -Name <string>  [<CommonParameters>]

Detailed Description

This cmdlet returns VPC networks.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Account

Specifies a Google Cloud service account. The cmdlet will return VPC networks for the specified Google Cloud service account.

Accepts the VBRGoogleCloudComputeAccount object. To create this object, run the Add-VBRGoogleCloudComputeAccount cmdlet.

True

Named

False

Name

Specifies a name of the VPC network. The cmdlet will return the VPC network with the specified name.

String

False

Named

False

<CommonParameters>

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

Output Object

VBRGoogleCloudComputeVPC

Examples

Getting VPC Networks for Google Cloud Service Account

This example shows how to get VPC networks for the GCP service account 1 Google Cloud service account.

$account = Get-VBRGoogleCloudComputeAccount -Name "GCP service account 1"

Get-VBRGoogleCloudComputeVPC -Account $account

Perform the following steps:

  1. Run the Get-VBRGoogleCloudComputeAccount cmdlet. Specify the Name parameter value. Save the result to the $account variable.
  2. Run the Get-VBRGoogleCloudComputeVPC cmdlet. Set the $account variable as the Account parameter.

Related Commands

Get-VBRGoogleCloudComputeAccount

Page updated 8/14/2024

Page content applies to build 12.2.0.334