Get-VBRGoogleCloudRegion
Short Description
Returns Google Cloud regions.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Get-VBRGoogleCloudRegion [-Connection <IVBRGoogleCloudConnection>] [-RegionId <String>] [<CommonParameters>] |
Detailed Description
This cmdlet returns an array of Google Cloud regions.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Connection |
Specifies an active session with Google Cloud. The cmdlet will return an array of all Google Cloud regions from this session.
Accepts the |
|
False |
Named |
True (ByPropertyName, ByValue) |
|
RegionId |
Specifies an ID of Google Cloud region. The cmdlet will return the Google Cloud region with this IDs. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRGoogleCloudRegion object that contains an array of Google Cloud regions.
Examples
Getting Google Cloud Regions
This example shows how to get Google Cloud regions.
|
$account = Get-VBRGoogleCloudAccount -Id "936edf7c-7cf3-4dbd-9895-c7485ef4bb2c" $connection = Connect-VBRGoogleCloudService -Account $account -ServiceType CapacityTier Get-VBRGoogleCloudRegion -Connection $connection |
Perform the following steps:
- Run the
Get-VBRGoogleCloudAccountReturns Google Cloud credentials records. cmdlet. Specify theIdparameter value. Save the result to the$accountvariable. - Run the
Connect-VBRGoogleCloudServiceConnects to Google Cloud object storage. cmdlet. Specify theAccountandServiceTypeparameter values. Save the result to the$connectionvariable. - Run the
Get-VBRGoogleCloudRegioncmdlet. Set the$connectionvariable as theConnectionparameter value.
Related Commands
Get-VBRGoogleCloudAccountReturns Google Cloud credentials records.Connect-VBRGoogleCloudServiceConnects to Google Cloud object storage.