ApigeeEnvironment
Property | Value |
---|---|
Google Cloud Service Name | Apigee |
Google Cloud Service Documentation | /apigee/docs/ |
Google Cloud REST Resource Name | organizations.environments |
Google Cloud REST Resource Documentation | /apigee/docs/reference/apis/apigee/rest/v1/organizations.environments |
Config Connector Resource Short Names | gcpapigeeenvironment gcpapigeeenvironments apigeeenvironment |
Config Connector Service Name | apigee.googleapis.com |
Config Connector Resource Fully Qualified Name | apigeeenvironments.apigee.cnrm.cloud.google.com |
Can Be Referenced by IAMPolicy/IAMPolicyMember | Yes |
IAMPolicy/IAMPartialPolicy Supports Conditions | No |
IAMPolicyMember Supports Conditions | No |
Supports IAM Audit Configs | No |
IAM External Reference Format |
organizations/{{apigee_organization}}/environments/{{name}} |
Config Connector Default Average Reconcile Interval In Seconds | 600 |
Custom Resource Definition Properties
Spec
Schema
apigeeOrganizationRef:
external: string
name: string
namespace: string
description: string
displayName: string
properties:
string: string
resourceID: string
Fields | |
---|---|
Required |
Reference to parent Apigee Organization. |
Optional |
A reference to an externally managed ApigeeOrganization resource. Should be in the format "organizations/{{organizationID}}". |
Optional |
The name of a ApigeeOrganization resource. |
Optional |
The namespace of a ApigeeOrganization resource. |
Optional |
Optional. Description of the environment. |
Optional |
Optional. Display name for this environment. |
Optional |
Optional. Key-value pairs that may be used for customizing the environment. |
Optional |
The ApigeeEnvironment name. If not given, the metadata.name will be used. |
Status
Schema
conditions:
- lastTransitionTime: string
message: string
reason: string
status: string
type: string
createdAt: integer
externalRef: string
lastModifiedAt: integer
observedGeneration: integer
observedState: {}
state: string
Fields | |
---|---|
conditions |
Conditions represent the latest available observations of the object's current state. |
conditions[] |
|
conditions[].lastTransitionTime |
Last time the condition transitioned from one status to another. |
conditions[].message |
Human-readable message indicating details about last transition. |
conditions[].reason |
Unique, one-word, CamelCase reason for the condition's last transition. |
conditions[].status |
Status is the status of the condition. Can be True, False, Unknown. |
conditions[].type |
Type is the type of the condition. |
createdAt |
Output only. Creation time of this environment as milliseconds since epoch. |
externalRef |
A unique specifier for the ApigeeEnvironment resource in GCP. |
lastModifiedAt |
Output only. Last modification time of this environment as milliseconds since epoch. |
observedGeneration |
ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. |
observedState |
ObservedState is the state of the resource as most recently observed in GCP. |
state |
Output only. State of the environment. Values other than ACTIVE means the resource is not ready to use. |
Sample YAML(s)
Typical Use Case
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: apigee.cnrm.cloud.google.com/v1beta1
kind: ApigeeEnvironment
metadata:
name: apigeeenvironment-sample
spec:
apigeeOrganizationRef:
name: "apigeeenvironment-dep"
description: "A sample environment"
properties:
key: "A sample value"
displayName: "sample-environment"
---
apiVersion: apigee.cnrm.cloud.google.com/v1beta1
kind: ApigeeOrganization
metadata:
name: apigeeenvironment-dep
spec:
projectRef:
# Replace ${PROJECT_ID?} with your project ID
external: "projects/${PROJECT_ID?}"
displayName: "basic-organization"
description: "A sample organization"
properties:
features.mart.connect.enabled: "false"
features.hybrid.enabled: "true"
analyticsRegion: "us-west1"
authorizedNetworkRef:
name: "apigeeenvironment-dep"
runtimeType: "CLOUD"
addonsConfig:
advancedApiOpsConfig:
enabled: true
integrationConfig:
enabled: false
monetizationConfig:
enabled: false
---
apiVersion: compute.cnrm.cloud.google.com/v1beta1
kind: ComputeNetwork
metadata:
name: "apigeeenvironment-dep"
spec:
autoCreateSubnetworks: false
description: A sample authorized network for an apigee organization