Get-VBRGoogleCloudComputeInstanceDiskType

Short Description

Returns Google Cloud disk types supported for a VM instance type.

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

Syntax

Get-VBRGoogleCloudComputeInstanceDiskType -InstanceType <VBRGoogleCloudComputeInstanceType> [<CommonParameters>]

Detailed Description

This cmdlet returns an array of disk types that are supported for the specified Google Cloud VM instance type. Veeam Backup & Replication requests the supported disk types from Google Cloud for the availability zone of the VM instance type.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

InstanceType

Specifies a Google Cloud VM instance type. The cmdlet will return an array of disk types that are supported for this VM instance type.

Accepts the VBRGoogleCloudComputeInstanceType object. To get this object, run the Get-VBRGoogleCloudComputeInstanceTypeReturns Google Cloud VM instance types. cmdlet.

VBRGoogleCloudComputeInstanceType

True

Named

False

<CommonParameters>

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

Output Object

The cmdlet returns an array of VBRGoogleCloudComputeInstanceDiskType objects that contain the name and the type of a disk.

Examples

Getting Supported Disk Types for Google Cloud VM Instance Type

This example shows how to get an array of disk types that are supported for the e2-medium VM instance type.

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

$computezone = Get-VBRGoogleCloudComputeZone -Region $computeregion

$instancetype = Get-VBRGoogleCloudComputeInstanceType -Zone $computezone[0] -Name "e2-medium"

Get-VBRGoogleCloudComputeInstanceDiskType -InstanceType $instancetype

Perform the following steps:

  1. Run the Get-VBRGoogleCloudComputeRegionReturns Google Cloud regions. cmdlet. Specify the Name parameter value. Save the result to the $computeregion variable.
  2. Run the Get-VBRGoogleCloudComputeZoneReturns Google Cloud availability zones. cmdlet. Set the $computeregion variable as the Region parameter value. Save the result to the $computezone variable.
  3. Run the Get-VBRGoogleCloudComputeInstanceTypeReturns Google Cloud VM instance types. cmdlet. Set the $computezone[0] variable as the Zone parameter value. Specify the Name parameter value. Save the result to the $instancetype variable.
  4. Run the Get-VBRGoogleCloudComputeInstanceDiskType cmdlet. Set the $instancetype variable as the InstanceType parameter value.

Page updated 2026-10-22

Page content applies to build 13.2.0.193