...
1# Copyright 2022 Google LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15apiVersion: core.cnrm.cloud.google.com/v1alpha1
16kind: ServiceMapping
17metadata:
18 name: apigee.cnrm.cloud.google.com
19 namespace: cnrm-system
20spec:
21 name: Apigee
22 version: v1beta1
23 serviceHostName: apigee.googleapis.com
24 resources:
25 - name: google_apigee_addons_config
26 kind: ApigeeAddonsConfig
27 autoGenerated: true
28 idTemplate: "organizations/{{name}}"
29 idTemplateCanBeUsedToMatchResourceName: false
30 resourceAvailableInAssetInventory: false
31 metadataMapping:
32 name: name
33 resourceID:
34 targetField: name
35 - name: google_apigee_endpoint_attachment
36 kind: ApigeeEndpointAttachment
37 autoGenerated: true
38 idTemplate: "{{org_id}}/endpointAttachments/{{endpoint_attachment_id}}"
39 idTemplateCanBeUsedToMatchResourceName: false
40 resourceAvailableInAssetInventory: false
41 metadataMapping:
42 name: endpoint_attachment_id
43 resourceID:
44 targetField: endpoint_attachment_id
45 - name: google_apigee_env_keystore
46 kind: ApigeeEnvKeystore
47 autoGenerated: true
48 idTemplate: "{{env_id}}/keystores/{{name}}"
49 idTemplateCanBeUsedToMatchResourceName: false
50 resourceAvailableInAssetInventory: false
51 metadataMapping:
52 name: name
53 resourceID:
54 targetField: name
55 - name: google_apigee_env_references
56 kind: ApigeeEnvReferences
57 autoGenerated: true
58 idTemplate: "{{env_id}}/references/{{name}}"
59 idTemplateCanBeUsedToMatchResourceName: false
60 resourceAvailableInAssetInventory: false
61 metadataMapping:
62 name: name
63 resourceID:
64 targetField: name
65 - name: google_apigee_envgroup
66 kind: ApigeeEnvgroup
67 autoGenerated: true
68 idTemplate: "{{org_id}}/envgroups/{{name}}"
69 idTemplateCanBeUsedToMatchResourceName: false
70 resourceAvailableInAssetInventory: false
71 metadataMapping:
72 name: name
73 resourceID:
74 targetField: name
75 - name: google_apigee_envgroup_attachment
76 kind: ApigeeEnvgroupAttachment
77 autoGenerated: true
78 idTemplate: "{{envgroup_id}}/attachments/{{name}}"
79 idTemplateCanBeUsedToMatchResourceName: false
80 resourceAvailableInAssetInventory: false
81 serverGeneratedIDField: name
82 resourceID:
83 targetField: name
84 - name: google_apigee_environment
85 kind: ApigeeEnvironment
86 autoGenerated: true
87 iamConfig:
88 policyName: google_apigee_environment_iam_policy
89 policyMemberName: google_apigee_environment_iam_member
90 referenceField:
91 name: env_id
92 type: name
93 supportsConditions: false
94 idTemplate: "{{org_id}}/environments/{{name}}"
95 idTemplateCanBeUsedToMatchResourceName: false
96 resourceAvailableInAssetInventory: false
97 metadataMapping:
98 name: name
99 resourceID:
100 targetField: name
101 - name: google_apigee_instance
102 kind: ApigeeInstance
103 autoGenerated: true
104 idTemplate: "{{org_id}}/instances/{{name}}"
105 idTemplateCanBeUsedToMatchResourceName: false
106 resourceAvailableInAssetInventory: false
107 metadataMapping:
108 name: name
109 resourceID:
110 targetField: name
111 - name: google_apigee_instance_attachment
112 kind: ApigeeInstanceAttachment
113 autoGenerated: true
114 idTemplate: "{{instance_id}}/attachments/{{name}}"
115 idTemplateCanBeUsedToMatchResourceName: false
116 resourceAvailableInAssetInventory: false
117 serverGeneratedIDField: name
118 resourceID:
119 targetField: name
120 - name: google_apigee_keystores_aliases_self_signed_cert
121 kind: ApigeeKeystoresAliasesSelfSignedCert
122 autoGenerated: true
123 idTemplate: "organizations/{{org_id}}/environments/{{environment}}/keystores/{{keystore}}/aliases/{{alias}}"
124 idTemplateCanBeUsedToMatchResourceName: false
125 resourceAvailableInAssetInventory: false
126 metadataMapping:
127 name: alias
128 resourceID:
129 targetField: alias
130 hierarchicalReferences:
131 - type: organization
132 key: organizationRef
133 resourceReferences:
134 - tfField: org_id
135 key: organizationRef
136 description: |-
137 The organization that this resource belongs to.
138 gvk:
139 kind: Organization
140 version: v1beta1
141 group: resourcemanager.cnrm.cloud.google.com
142 - name: google_apigee_nat_address
143 kind: ApigeeNATAddress
144 autoGenerated: true
145 idTemplate: "{{instance_id}}/natAddresses/{{name}}"
146 idTemplateCanBeUsedToMatchResourceName: false
147 resourceAvailableInAssetInventory: false
148 metadataMapping:
149 name: name
150 resourceID:
151 targetField: name
152 - name: google_apigee_organization
153 kind: ApigeeOrganization
154 autoGenerated: true
155 idTemplate: "organizations/{{name}}"
156 idTemplateCanBeUsedToMatchResourceName: false
157 resourceAvailableInAssetInventory: false
158 serverGeneratedIDField: name
159 resourceID:
160 targetField: name
161 - name: google_apigee_sync_authorization
162 kind: ApigeeSyncAuthorization
163 autoGenerated: true
164 idTemplate: "organizations/{{name}}/syncAuthorization"
165 idTemplateCanBeUsedToMatchResourceName: false
166 resourceAvailableInAssetInventory: false
167 metadataMapping:
168 name: name
169 resourceID:
170 targetField: name
View as plain text