Method: organizations.environments.targetservers.create

Creates a TargetServer in the specified environment.

HTTP request

POST https://apigee.googleapis.com/v1/{parent=organizations/*/environments/*}/targetservers

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent environment name under which the TargetServer will be created. Must be of the form organizations/{org}/environments/{env}.

Query parameters

Parameters
targetServerId

string

Optional. The ID to give the TargetServer. This will overwrite the value in TargetServer.

Request body

The request body contains an instance of TargetServer.

Response body

If successful, the response body contains a newly created instance of TargetServer.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform