Get-VBRGoogleCloudAccount

In this article

    Short Description

    Returns Google Cloud credentials records.

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

    Syntax

    This cmdlet provides parameter sets that allow you to:

    • Get Google Cloud credentials records by the access key.

    Get-VBRGoogleCloudAccount [-AccessKey <string[]>]  [<CommonParameters>]

    • Get Google Cloud credentials records by the ID.

    Get-VBRGoogleCloudAccount -Id <guid[]>  [<CommonParameters>]

    Detailed Description

    This cmdlet returns an array of existing Google Cloud credentials records managed by Veeam Backup & Replication.

    Parameters

    Parameter

    Description

    Type

    Required

    Position

    Id

    Specifies an array of IDs for Google Cloud credentials records. The cmdlet will return Google Cloud credentials records with these IDs.

    Guid

    True

    Named

    AccessKey

    Specifies an array of access keys for Google Cloud credentials records. The cmdlet will return Google Cloud credentials records with these access keys.

    String

    False

    Named

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

    Examples

    Example 1. Getting Google Cloud Account by Access Key

    This command gets a Google Cloud credentials record by the access key.

    Get-VBRGoogleCloudAccount -AccessKey "XXXXXXXXXXXXXXXXXXXXXXX"

    Example 2. Getting Google Cloud Account by ID

    This command gets a Google Cloud credentials record by the ID.

    Get-VBRGoogleCloudAccount -Id "936edf7c-7cf3-4dbd-9895-c7485ef4bb2c", "936edf7c-7cf3-4ddc-9895-c7485ef4bb2c"