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
|
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 |
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:
- Run the
Get-VBRGoogleCloudComputeRegionReturns Google Cloud regions. cmdlet. Specify theNameparameter value. Save the result to the$computeregionvariable. - Run the
Get-VBRGoogleCloudComputeZoneReturns Google Cloud availability zones. cmdlet. Set the$computeregionvariable as theRegionparameter value. Save the result to the$computezonevariable. - Run the
Get-VBRGoogleCloudComputeInstanceTypeReturns Google Cloud VM instance types. cmdlet. Set the$computezone[0]variable as theZoneparameter value. Specify theNameparameter value. Save the result to the$instancetypevariable. - Run the
Get-VBRGoogleCloudComputeInstanceDiskTypecmdlet. Set the$instancetypevariable as theInstanceTypeparameter value.
Related Commands
Get-VBRGoogleCloudComputeInstanceTypeReturns Google Cloud VM instance types.Get-VBRGoogleCloudComputeRegionReturns Google Cloud regions.Get-VBRGoogleCloudComputeZoneReturns Google Cloud availability zones.