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}.

Authorization requires the following IAM permission on the specified resource parent:

  • apigee.targetservers.create

Query parameters

Parameters
name

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