v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1341173209.0 KB
projects

Generate a TCP Proxy configuration script to configure a cloud-hosted VM running a TCP Proxy.

post/v1/{+migrationJob}:generateTcpProxyScript

Path parameters

migrationJobstring required

Name of the migration job resource to generate the TCP Proxy script.

Request body

vmNamestring

Required. The name of the Compute instance that will host the proxy.

vmMachineTypestring

Required. The type of the Compute instance that will host the proxy.

vmZonestring

Optional. The Google Cloud Platform zone to create the VM in. The fully qualified name of the zone must be specified, including the region name, for example "us-central1-b". If not specified, uses the "-b" zone of the destination Connection Profile's region.

vmSubnetstring

Required. The name of the subnet the Compute instance will use for private connectivity. Must be supplied in the form of projects/{project}/regions/{region}/subnetworks/{subnetwork}. Note: the region for the subnet must match the Compute instance region.

Response

Successful response