New-VBRGoogleCloudComputeProxyAppliance
Short Description
Creates proxy appliances for restoring VMs to Google Cloud.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
New-VBRGoogleCloudComputeProxyAppliance -InstanceType <VBRGoogleCloudComputeInstanceType> -Subnet <VBRGoogleCloudComputeSubnet> -RedirectorPort <Int32> [<CommonParameters>] |
Detailed Description
This cmdlet creates proxy appliances for restoring VMs to Google Cloud.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
InstanceType |
Specifies a Google Cloud instance type. The cmdlet will create a new proxy appliance with the settings based on this VM instance type.
Accepts the |
True |
Named |
False |
|
|
RedirectorPort |
Specifies a port. Veeam Backup & Replication will use this port to route requests between the proxy appliance that the cmdlet will create and backup infrastructure components. |
|
True |
Named |
False |
|
Subnet |
Specifies a Google Cloud subnet. The cmdlet will create a new proxy appliance that will use the specified subnet.
Accepts the |
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
VBRGoogleCloudComputeProxyAppliance
Examples
Creating Google Cloud Proxy Appliance
This example shows how to create a new Google Cloud proxy appliance.
|
$computeregion = Get-VBRGoogleCloudComputeRegion -Name "Europe-west1" $computezone = Get-VBRGoogleCloudComputeZone -Region $computeregion $instancetype = Get-VBRGoogleCloudComputeInstanceType -Zone $computezone $account = Get-VBRGoogleCloudComputeAccount -Name "GCP service account 1" $vpc = Get-VBRGoogleCloudComputeVPC -Account $account $subnet = Get-VBRGoogleCloudComputeSubnet -Region $computeregion -VPC $vpc New-VBRGoogleCloudComputeProxyAppliance -InstanceType $instancetype -Subnet $subnet -RedirectorPort "443" |
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. Save the result to the$computezoneparameter value. - Run the
Get-VBRGoogleCloudComputeInstanceTypeReturns Google Cloud VM instance types. cmdlet. Set the$computezonevariable as theZoneparameter. Save the result to the$instancetypeparameter value. - Run the
Get-VBRGoogleCloudComputeAccountReturns Google Cloud service account credentials record. cmdlet. Specify theNameparameter value. Save the result to the$accountvariable. - Run the
Get-VBRGoogleCloudComputeVPCReturns Virtual Private Cloud (VPC) networks. cmdlet. Set the$accountvariable as theAccountparameter. Save the result to the$vpcvariable. - Run the
Get-VBRGoogleCloudComputeSubnetReturns subnets for Google Cloud region. cmdlet. Set the$computeregionvariable as theRegionparameter. Set the$vpcvariable as theVPCparameter. Save the result to the$subnetparameter value. - Run the
New-VBRGoogleCloudComputeProxyAppliancecmdlet. Specify the following settings:- Set the
$instancetypevariable as theInstanceTypeparameter. - Set the
$subnetvariable as theSubnetparameter. - Provide the
RedirictorPortparameter value.
- Set the
Related Commands
Get-VBRGoogleCloudComputeRegionReturns Google Cloud regions.Get-VBRGoogleCloudComputeZoneReturns Google Cloud availability zones.Get-VBRGoogleCloudComputeInstanceTypeReturns Google Cloud VM instance types.Get-VBRGoogleCloudComputeAccountReturns Google Cloud service account credentials record.Get-VBRGoogleCloudComputeVPCReturns Virtual Private Cloud (VPC) networks.Get-VBRGoogleCloudComputeSubnetReturns subnets for Google Cloud region.