Resource: Environment
JSON representation |
---|
{ "name": string, "description": string, "createdAt": string, "lastModifiedAt": string, "properties": { object ( |
Fields | |
---|---|
name |
Required. Name of the environment. Values must match the regular expression |
description |
Optional. Description of the environment. |
createdAt |
Output only. Creation time of this environment as milliseconds since epoch. |
lastModifiedAt |
Output only. Last modification time of this environment as milliseconds since epoch. |
properties |
Optional. Key-value pairs that may be used for customizing the environment. |
displayName |
Optional. Display name for this environment. |
state |
Output only. State of the environment. Values other than ACTIVE means the resource is not ready to use. |
deploymentType |
Optional. Deployment type supported by the environment. The deployment type can be set when creating the environment and cannot be changed. When you enable archive deployment, you will be prevented from performing a subset of actions within the environment, including:
|
apiProxyType |
Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed. |
nodeConfig |
Optional. NodeConfig of the environment. |
forwardProxyUri |
Optional. URI of the forward proxy to be applied to the runtime instances in this environment. Must be in the format of {scheme}://{hostname}:{port}. Note that the scheme must be one of "http" or "https", and the port must be supplied. To remove a forward proxy setting, update the field to an empty value. Note: At this time, PUT operations to add forwardProxyUri to an existing environment fail if the environment has nodeConfig set up. To successfully add the forwardProxyUri setting in this case, include the NodeConfig details with the request. |
type |
Optional. EnvironmentType selected for the environment. |
hasAttachedFlowHooks |
|
DeploymentType
Deployment type, proxy or archive, supported by the environment.
Enums | |
---|---|
DEPLOYMENT_TYPE_UNSPECIFIED |
Deployment type not specified. |
PROXY |
Proxy deployment enables you to develop and deploy API proxies using Apigee on Google Cloud. This cannot currently be combined with the CONFIGURABLE API proxy type. |
ARCHIVE |
Archive deployment enables you to develop API proxies locally then deploy an archive of your API proxy configuration to an environment in Apigee on Google Cloud. You will be prevented from performing a subset of actions within the environment. |
NodeConfig
NodeConfig for setting the min/max number of nodes associated with the environment.
JSON representation |
---|
{ "minNodeCount": string, "maxNodeCount": string, "currentAggregateNodeCount": string } |
Fields | |
---|---|
minNodeCount |
Optional. The minimum total number of gateway nodes that the is reserved for all instances that has the specified environment. If not specified, the default is determined by the recommended minimum number of nodes for that gateway. |
maxNodeCount |
Optional. The maximum total number of gateway nodes that the is reserved for all instances that has the specified environment. If not specified, the default is determined by the recommended maximum number of nodes for that gateway. |
currentAggregateNodeCount |
Output only. The current total number of gateway nodes that each environment currently has across all instances. |
EnvironmentType
Types that can be selected for an Environment. Each of the types are limited by capability and capacity. Refer to Apigee's public documentation to understand about each of these types in details. An Apigee org can support heterogeneous Environments.
Enums | |
---|---|
ENVIRONMENT_TYPE_UNSPECIFIED |
Environment type not specified. |
BASE |
This is the default type. Base environment has limited capacity and capabilities and are usually used when you are getting started with Apigee or while experimenting. Refer to Apigee's public documentation for more details. |
INTERMEDIATE |
Intermediate environment supports API management features and higher capacity than Base environment. Refer to Apigee's public documentation for more details. |
COMPREHENSIVE |
Comprehensive environment supports advanced capabilites and even higher capacity than Intermediate environment. Refer to Apigee's public documentation for more details. |
Methods |
|
---|---|
|
Creates an environment in an organization. |
|
Deletes an environment from an organization. |
|
Gets environment details. |
|
Gets the add-ons config of an environment. |
|
Gets the API Security runtime configuration for an environment. |
|
Gets the debug mask singleton resource for an environment. |
|
Gets the IAM policy on an environment. |
|
GetSecurityActionConfig returns the current SecurityActions configuration. |
|
Get distributed trace configuration in an environment. |
|
Lists all environments in an organization. |
|
Updates properties for an Apigee environment with patch semantics using a field mask. |
|
Sets the IAM policy on an environment, if the policy already exists it will be replaced. |
|
Tests the permissions of a user on an environment, and returns a subset of permissions that the user has on the environment. |
|
Updates an existing environment. |
|
Updates the debug mask singleton resource for an environment. |
|
Updates an existing environment. |
|
UpdateSecurityActionConfig updates the current SecurityActions configuration. |
|
Updates the trace configurations in an environment. |