New-VBRGoogleCloudComputeProxyAppliance
Short Description
Creates proxy appliances for restoring VMs to Google Cloud.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
New-VBRGoogleCloudComputeProxyAppliance -InstanceType <VBRGoogleCloudComputeInstanceType> -Subnet <VBRGoogleCloudComputeSubnet> |
Detailed Description
This cmdlet creates proxy appliances for restoring VMs to Google Cloud.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
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 VBRGoogleCloudComputeInstanceType object. To get this object, run the Get-VBRGoogleCloudComputeInstanceType cmdlet. | 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 VBRGoogleCloudComputeSubnet object. To get this object, run the Get-VBRGoogleCloudComputeSubnet cmdlet. | 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. | Int | 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-VBRGoogleCloudComputeRegion cmdlet. Specify the Name parameter value. Save the result to the $computeregion variable.
- Run the Get-VBRGoogleCloudComputeZone cmdlet. Set the $computeregion variable as the Region parameter. Save the result to the $computezone parameter value.
- Run the Get-VBRGoogleCloudComputeInstanceType cmdlet. Set the $computezone variable as the Zone parameter. Save the result to the $instancetype parameter value.
- Run the Get-VBRGoogleCloudComputeAccount cmdlet. Specify the Name parameter value. Save the result to the $account variable.
- Run the Get-VBRGoogleCloudComputeVPC cmdlet. Set the $account variable as the Account parameter. Save the result to the $vpc variable.
- Run the Get-VBRGoogleCloudComputeSubnet cmdlet. Set the $computeregion variable as the Region parameter. Set the $vpc variable as the VPC parameter. Save the result to the $subnet parameter value.
- Run the New-VBRGoogleCloudComputeProxyAppliance cmdlet. Specify the following settings:
- Set the $instancetype variable as the InstanceType parameter.
- Set the $subnet variable as the Subnet parameter.
- Provide the RedirictorPort parameter value.
Related Commands