Get-VBRGoogleCloudComputeInstanceType

In this article

    Short Description

    Returns Google Cloud VM instance types.

    Important

    This cmdlet is available starting from Veeam Backup & Replication 11a (build 11.0.1.1261).

    Applies to

    Platform: VMware, Hyper-V

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

    Syntax

    Get-VBRGoogleCloudComputeInstanceType -Zone <VBRGoogleCloudComputeZone> [-Name <string>]  [<CommonParameters>]

    Detailed Description

    This cmdlet returns Google Cloud VM instance types and information about the memory and the CPU available for each VM instance type.

    Parameters

    Parameter

    Description

    Type

    Required

    Position

    Accept
    Pipeline
    Input

    Zone

    Specifies a Google Cloud availability zone. The cmdlet will return an array of Google Cloud VM instance types that are available for the specified availability zone.

    Accepts the VBRGoogleCloudComputeZone object. To get this object, run the Get-VBRGoogleCloudComputeZone cmdlet.

    True

    Named

    False

    Name

    Specifies the name of the Google Cloud VM instance type. The cmdlet will return the VM instance type with this name.

    String

    False

    Named

    False

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

    Return Type

    VBRGoogleCloudComputeInstanceType

    Example

    Getting VM Instance Types for Google Cloud Region

    This example shows how to get an array of VM instance types for the Europe-west1 Google Cloud region.

    $computeregion = Get-VBRGoogleCloudComputeRegion -Name "Europe-west1"

    $computezone = Get-VBRGoogleCloudComputeZone -Region $computeregion

    Get-VBRGoogleCloudComputeInstanceType -Zone $computezone

    Perform the following steps:

    1. Run the Get-VBRGoogleCloudComputeRegion cmdlet. Specify the Name parameter value. Save the result to the $computeregion variable.
    2. Run the Get-VBRGoogleCloudComputeZone cmdlet. Set the $computeregion variable as the Region parameter. Save the result to the $computezone parameter value.
    3. Run the Get-VBRGoogleCloudComputeInstanceType cmdlet. Set the $computezone variable as the Zone parameter.

    Related Commands