注意:此产品的某些方面处于 Beta 版阶段。Hybrid 安装选项是 GA。要加入 Beta 版计划,请与您的 Apigee 代表联系。

Method: organizations.environments.create

Creates an environment in an organization.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Name of the organization in which the environment will be created. Use the following structure in your request: organizations/{org}

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

  • apigee.environments.create

Query parameters

Parameters
name

string

Optional. Name of the environment. Alternatively, the name may be specified in the request body in the name field.

Request body

The request body contains an instance of Environment.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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