pulumi-gcp 7.34.0__py3-none-any.whl → 7.34.0a1722421695__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-gcp might be problematic. Click here for more details.
- pulumi_gcp/__init__.py +0 -40
- pulumi_gcp/alloydb/_inputs.py +0 -174
- pulumi_gcp/alloydb/instance.py +0 -54
- pulumi_gcp/alloydb/outputs.py +0 -133
- pulumi_gcp/apigee/__init__.py +0 -2
- pulumi_gcp/apigee/instance.py +2 -2
- pulumi_gcp/apigee/nat_address.py +2 -2
- pulumi_gcp/apigee/organization.py +4 -4
- pulumi_gcp/apphub/service_project_attachment.py +11 -11
- pulumi_gcp/bigquery/_inputs.py +0 -36
- pulumi_gcp/bigquery/app_profile.py +0 -54
- pulumi_gcp/bigquery/outputs.py +0 -38
- pulumi_gcp/bigquery/reservation.py +4 -34
- pulumi_gcp/bigquery/table.py +21 -65
- pulumi_gcp/bigtable/table.py +26 -27
- pulumi_gcp/certificateauthority/authority.py +4 -4
- pulumi_gcp/cloudfunctions/function.py +0 -47
- pulumi_gcp/cloudfunctions/get_function.py +1 -11
- pulumi_gcp/cloudfunctionsv2/function.py +2 -2
- pulumi_gcp/cloudrun/_inputs.py +21 -24
- pulumi_gcp/cloudrun/outputs.py +24 -20
- pulumi_gcp/cloudrunv2/_inputs.py +0 -3
- pulumi_gcp/cloudrunv2/outputs.py +0 -4
- pulumi_gcp/compute/__init__.py +0 -2
- pulumi_gcp/compute/_inputs.py +328 -2333
- pulumi_gcp/compute/backend_service.py +0 -6
- pulumi_gcp/compute/outputs.py +7 -1466
- pulumi_gcp/compute/public_advertised_prefix.py +2 -30
- pulumi_gcp/compute/router_peer.py +0 -437
- pulumi_gcp/compute/service_attachment.py +14 -7
- pulumi_gcp/container/_inputs.py +18 -215
- pulumi_gcp/container/node_pool.py +14 -0
- pulumi_gcp/container/outputs.py +12 -226
- pulumi_gcp/databasemigrationservice/private_connection.py +6 -10
- pulumi_gcp/dataloss/_inputs.py +21 -707
- pulumi_gcp/dataloss/outputs.py +14 -588
- pulumi_gcp/datastore/data_store_index.py +12 -24
- pulumi_gcp/datastream/_inputs.py +3 -83
- pulumi_gcp/datastream/outputs.py +3 -51
- pulumi_gcp/datastream/stream.py +0 -170
- pulumi_gcp/firebase/database_instance.py +8 -8
- pulumi_gcp/firebase/hosting_site.py +8 -8
- pulumi_gcp/firestore/index.py +10 -10
- pulumi_gcp/gkeonprem/_inputs.py +78 -78
- pulumi_gcp/gkeonprem/outputs.py +52 -52
- pulumi_gcp/iap/client.py +4 -4
- pulumi_gcp/integrationconnectors/_inputs.py +30 -30
- pulumi_gcp/integrationconnectors/outputs.py +20 -20
- pulumi_gcp/netapp/volume.py +1 -1
- pulumi_gcp/networkconnectivity/_inputs.py +6 -3
- pulumi_gcp/networkconnectivity/hub.py +49 -60
- pulumi_gcp/networkconnectivity/outputs.py +4 -2
- pulumi_gcp/networkconnectivity/spoke.py +104 -159
- pulumi_gcp/networksecurity/tls_inspection_policy.py +2 -2
- pulumi_gcp/orgpolicy/policy.py +4 -4
- pulumi_gcp/projects/get_project_service.py +1 -11
- pulumi_gcp/projects/service.py +0 -68
- pulumi_gcp/projects/service_identity.py +2 -30
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securesourcemanager/instance.py +4 -528
- pulumi_gcp/securitycenter/__init__.py +0 -1
- pulumi_gcp/sql/database_instance.py +2 -2
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vmwareengine/get_private_cloud.py +1 -21
- pulumi_gcp/vmwareengine/private_cloud.py +2 -121
- pulumi_gcp/workbench/_inputs.py +0 -77
- pulumi_gcp/workbench/instance.py +4 -18
- pulumi_gcp/workbench/outputs.py +1 -67
- {pulumi_gcp-7.34.0.dist-info → pulumi_gcp-7.34.0a1722421695.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.34.0.dist-info → pulumi_gcp-7.34.0a1722421695.dist-info}/RECORD +73 -78
- pulumi_gcp/apigee/environment_keyvaluemaps.py +0 -370
- pulumi_gcp/apigee/environment_keyvaluemaps_entries.py +0 -440
- pulumi_gcp/compute/resize_request.py +0 -782
- pulumi_gcp/compute/router_route_policy.py +0 -616
- pulumi_gcp/securitycenter/v2_organization_mute_config.py +0 -673
- {pulumi_gcp-7.34.0.dist-info → pulumi_gcp-7.34.0a1722421695.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.34.0.dist-info → pulumi_gcp-7.34.0a1722421695.dist-info}/top_level.txt +0 -0
@@ -1,440 +0,0 @@
|
|
1
|
-
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
-
|
5
|
-
import copy
|
6
|
-
import warnings
|
7
|
-
import sys
|
8
|
-
import pulumi
|
9
|
-
import pulumi.runtime
|
10
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
-
if sys.version_info >= (3, 11):
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
-
else:
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
-
from .. import _utilities
|
16
|
-
|
17
|
-
__all__ = ['EnvironmentKeyvaluemapsEntriesArgs', 'EnvironmentKeyvaluemapsEntries']
|
18
|
-
|
19
|
-
@pulumi.input_type
|
20
|
-
class EnvironmentKeyvaluemapsEntriesArgs:
|
21
|
-
def __init__(__self__, *,
|
22
|
-
env_keyvaluemap_id: pulumi.Input[str],
|
23
|
-
value: pulumi.Input[str],
|
24
|
-
name: Optional[pulumi.Input[str]] = None):
|
25
|
-
"""
|
26
|
-
The set of arguments for constructing a EnvironmentKeyvaluemapsEntries resource.
|
27
|
-
:param pulumi.Input[str] env_keyvaluemap_id: The Apigee environment keyvalumaps Id associated with the Apigee environment,
|
28
|
-
in the format `organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}`.
|
29
|
-
|
30
|
-
|
31
|
-
- - -
|
32
|
-
:param pulumi.Input[str] value: Required. Data or payload that is being retrieved and associated with the unique key.
|
33
|
-
:param pulumi.Input[str] name: Required. Resource URI that can be used to identify the scope of the key value map entries.
|
34
|
-
"""
|
35
|
-
pulumi.set(__self__, "env_keyvaluemap_id", env_keyvaluemap_id)
|
36
|
-
pulumi.set(__self__, "value", value)
|
37
|
-
if name is not None:
|
38
|
-
pulumi.set(__self__, "name", name)
|
39
|
-
|
40
|
-
@property
|
41
|
-
@pulumi.getter(name="envKeyvaluemapId")
|
42
|
-
def env_keyvaluemap_id(self) -> pulumi.Input[str]:
|
43
|
-
"""
|
44
|
-
The Apigee environment keyvalumaps Id associated with the Apigee environment,
|
45
|
-
in the format `organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}`.
|
46
|
-
|
47
|
-
|
48
|
-
- - -
|
49
|
-
"""
|
50
|
-
return pulumi.get(self, "env_keyvaluemap_id")
|
51
|
-
|
52
|
-
@env_keyvaluemap_id.setter
|
53
|
-
def env_keyvaluemap_id(self, value: pulumi.Input[str]):
|
54
|
-
pulumi.set(self, "env_keyvaluemap_id", value)
|
55
|
-
|
56
|
-
@property
|
57
|
-
@pulumi.getter
|
58
|
-
def value(self) -> pulumi.Input[str]:
|
59
|
-
"""
|
60
|
-
Required. Data or payload that is being retrieved and associated with the unique key.
|
61
|
-
"""
|
62
|
-
return pulumi.get(self, "value")
|
63
|
-
|
64
|
-
@value.setter
|
65
|
-
def value(self, value: pulumi.Input[str]):
|
66
|
-
pulumi.set(self, "value", value)
|
67
|
-
|
68
|
-
@property
|
69
|
-
@pulumi.getter
|
70
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
71
|
-
"""
|
72
|
-
Required. Resource URI that can be used to identify the scope of the key value map entries.
|
73
|
-
"""
|
74
|
-
return pulumi.get(self, "name")
|
75
|
-
|
76
|
-
@name.setter
|
77
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
78
|
-
pulumi.set(self, "name", value)
|
79
|
-
|
80
|
-
|
81
|
-
@pulumi.input_type
|
82
|
-
class _EnvironmentKeyvaluemapsEntriesState:
|
83
|
-
def __init__(__self__, *,
|
84
|
-
env_keyvaluemap_id: Optional[pulumi.Input[str]] = None,
|
85
|
-
name: Optional[pulumi.Input[str]] = None,
|
86
|
-
value: Optional[pulumi.Input[str]] = None):
|
87
|
-
"""
|
88
|
-
Input properties used for looking up and filtering EnvironmentKeyvaluemapsEntries resources.
|
89
|
-
:param pulumi.Input[str] env_keyvaluemap_id: The Apigee environment keyvalumaps Id associated with the Apigee environment,
|
90
|
-
in the format `organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}`.
|
91
|
-
|
92
|
-
|
93
|
-
- - -
|
94
|
-
:param pulumi.Input[str] name: Required. Resource URI that can be used to identify the scope of the key value map entries.
|
95
|
-
:param pulumi.Input[str] value: Required. Data or payload that is being retrieved and associated with the unique key.
|
96
|
-
"""
|
97
|
-
if env_keyvaluemap_id is not None:
|
98
|
-
pulumi.set(__self__, "env_keyvaluemap_id", env_keyvaluemap_id)
|
99
|
-
if name is not None:
|
100
|
-
pulumi.set(__self__, "name", name)
|
101
|
-
if value is not None:
|
102
|
-
pulumi.set(__self__, "value", value)
|
103
|
-
|
104
|
-
@property
|
105
|
-
@pulumi.getter(name="envKeyvaluemapId")
|
106
|
-
def env_keyvaluemap_id(self) -> Optional[pulumi.Input[str]]:
|
107
|
-
"""
|
108
|
-
The Apigee environment keyvalumaps Id associated with the Apigee environment,
|
109
|
-
in the format `organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}`.
|
110
|
-
|
111
|
-
|
112
|
-
- - -
|
113
|
-
"""
|
114
|
-
return pulumi.get(self, "env_keyvaluemap_id")
|
115
|
-
|
116
|
-
@env_keyvaluemap_id.setter
|
117
|
-
def env_keyvaluemap_id(self, value: Optional[pulumi.Input[str]]):
|
118
|
-
pulumi.set(self, "env_keyvaluemap_id", value)
|
119
|
-
|
120
|
-
@property
|
121
|
-
@pulumi.getter
|
122
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
123
|
-
"""
|
124
|
-
Required. Resource URI that can be used to identify the scope of the key value map entries.
|
125
|
-
"""
|
126
|
-
return pulumi.get(self, "name")
|
127
|
-
|
128
|
-
@name.setter
|
129
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
130
|
-
pulumi.set(self, "name", value)
|
131
|
-
|
132
|
-
@property
|
133
|
-
@pulumi.getter
|
134
|
-
def value(self) -> Optional[pulumi.Input[str]]:
|
135
|
-
"""
|
136
|
-
Required. Data or payload that is being retrieved and associated with the unique key.
|
137
|
-
"""
|
138
|
-
return pulumi.get(self, "value")
|
139
|
-
|
140
|
-
@value.setter
|
141
|
-
def value(self, value: Optional[pulumi.Input[str]]):
|
142
|
-
pulumi.set(self, "value", value)
|
143
|
-
|
144
|
-
|
145
|
-
class EnvironmentKeyvaluemapsEntries(pulumi.CustomResource):
|
146
|
-
@overload
|
147
|
-
def __init__(__self__,
|
148
|
-
resource_name: str,
|
149
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
150
|
-
env_keyvaluemap_id: Optional[pulumi.Input[str]] = None,
|
151
|
-
name: Optional[pulumi.Input[str]] = None,
|
152
|
-
value: Optional[pulumi.Input[str]] = None,
|
153
|
-
__props__=None):
|
154
|
-
"""
|
155
|
-
Creates key value entries in a key value map scoped to an environment.
|
156
|
-
|
157
|
-
To get more information about EnvironmentKeyvaluemapsEntries, see:
|
158
|
-
|
159
|
-
* [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.keyvaluemaps.entries/create)
|
160
|
-
* How-to Guides
|
161
|
-
* [Using key value maps](https://cloud.google.com/apigee/docs/api-platform/cache/key-value-maps)
|
162
|
-
|
163
|
-
## Example Usage
|
164
|
-
|
165
|
-
### Apigee Environment Keyvaluemaps Entries Basic
|
166
|
-
|
167
|
-
```python
|
168
|
-
import pulumi
|
169
|
-
import pulumi_gcp as gcp
|
170
|
-
|
171
|
-
current = gcp.organizations.get_client_config()
|
172
|
-
apigee_network = gcp.compute.Network("apigee_network", name="apigee-network")
|
173
|
-
apigee_range = gcp.compute.GlobalAddress("apigee_range",
|
174
|
-
name="apigee-range",
|
175
|
-
purpose="VPC_PEERING",
|
176
|
-
address_type="INTERNAL",
|
177
|
-
prefix_length=16,
|
178
|
-
network=apigee_network.id)
|
179
|
-
apigee_vpc_connection = gcp.servicenetworking.Connection("apigee_vpc_connection",
|
180
|
-
network=apigee_network.id,
|
181
|
-
service="servicenetworking.googleapis.com",
|
182
|
-
reserved_peering_ranges=[apigee_range.name])
|
183
|
-
apigee_org = gcp.apigee.Organization("apigee_org",
|
184
|
-
analytics_region="us-central1",
|
185
|
-
project_id=current.project,
|
186
|
-
authorized_network=apigee_network.id,
|
187
|
-
opts = pulumi.ResourceOptions(depends_on=[apigee_vpc_connection]))
|
188
|
-
apigee_environment = gcp.apigee.Environment("apigee_environment",
|
189
|
-
org_id=apigee_org.id,
|
190
|
-
name="tf-test-env",
|
191
|
-
description="Apigee Environment",
|
192
|
-
display_name="Apigee Environment")
|
193
|
-
apigee_instance = gcp.apigee.Instance("apigee_instance",
|
194
|
-
name="tf-test-instance",
|
195
|
-
location="us-central1",
|
196
|
-
org_id=apigee_org.id)
|
197
|
-
apigee_instance_attachment = gcp.apigee.InstanceAttachment("apigee_instance_attachment",
|
198
|
-
instance_id=apigee_instance.id,
|
199
|
-
environment=apigee_environment.name)
|
200
|
-
apigee_environment_keyvaluemaps = gcp.apigee.EnvironmentKeyvaluemaps("apigee_environment_keyvaluemaps",
|
201
|
-
env_id=create_apigee_environment["id"],
|
202
|
-
name="tf-test-env-kvms",
|
203
|
-
opts = pulumi.ResourceOptions(depends_on=[
|
204
|
-
apigee_org,
|
205
|
-
apigee_environment,
|
206
|
-
apigee_instance,
|
207
|
-
apigee_instance_attachment,
|
208
|
-
]))
|
209
|
-
apigee_environment_keyvaluemaps_entries = gcp.apigee.EnvironmentKeyvaluemapsEntries("apigee_environment_keyvaluemaps_entries",
|
210
|
-
env_keyvaluemap_id=apigee_environment_keyvaluemaps.id,
|
211
|
-
name="testName",
|
212
|
-
value="testValue",
|
213
|
-
opts = pulumi.ResourceOptions(depends_on=[
|
214
|
-
apigee_org,
|
215
|
-
apigee_environment,
|
216
|
-
apigee_instance,
|
217
|
-
apigee_instance_attachment,
|
218
|
-
apigee_environment_keyvaluemaps,
|
219
|
-
]))
|
220
|
-
```
|
221
|
-
|
222
|
-
## Import
|
223
|
-
|
224
|
-
EnvironmentKeyvaluemapsEntries can be imported using any of these accepted formats:
|
225
|
-
|
226
|
-
* `{{env_keyvaluemap_id}}/entries/{{name}}`
|
227
|
-
|
228
|
-
* `{{env_keyvaluemap_id}}/{{name}}`
|
229
|
-
|
230
|
-
When using the `pulumi import` command, EnvironmentKeyvaluemapsEntries can be imported using one of the formats above. For example:
|
231
|
-
|
232
|
-
```sh
|
233
|
-
$ pulumi import gcp:apigee/environmentKeyvaluemapsEntries:EnvironmentKeyvaluemapsEntries default {{env_keyvaluemap_id}}/entries/{{name}}
|
234
|
-
```
|
235
|
-
|
236
|
-
```sh
|
237
|
-
$ pulumi import gcp:apigee/environmentKeyvaluemapsEntries:EnvironmentKeyvaluemapsEntries default {{env_keyvaluemap_id}}/{{name}}
|
238
|
-
```
|
239
|
-
|
240
|
-
:param str resource_name: The name of the resource.
|
241
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
242
|
-
:param pulumi.Input[str] env_keyvaluemap_id: The Apigee environment keyvalumaps Id associated with the Apigee environment,
|
243
|
-
in the format `organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}`.
|
244
|
-
|
245
|
-
|
246
|
-
- - -
|
247
|
-
:param pulumi.Input[str] name: Required. Resource URI that can be used to identify the scope of the key value map entries.
|
248
|
-
:param pulumi.Input[str] value: Required. Data or payload that is being retrieved and associated with the unique key.
|
249
|
-
"""
|
250
|
-
...
|
251
|
-
@overload
|
252
|
-
def __init__(__self__,
|
253
|
-
resource_name: str,
|
254
|
-
args: EnvironmentKeyvaluemapsEntriesArgs,
|
255
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
256
|
-
"""
|
257
|
-
Creates key value entries in a key value map scoped to an environment.
|
258
|
-
|
259
|
-
To get more information about EnvironmentKeyvaluemapsEntries, see:
|
260
|
-
|
261
|
-
* [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.keyvaluemaps.entries/create)
|
262
|
-
* How-to Guides
|
263
|
-
* [Using key value maps](https://cloud.google.com/apigee/docs/api-platform/cache/key-value-maps)
|
264
|
-
|
265
|
-
## Example Usage
|
266
|
-
|
267
|
-
### Apigee Environment Keyvaluemaps Entries Basic
|
268
|
-
|
269
|
-
```python
|
270
|
-
import pulumi
|
271
|
-
import pulumi_gcp as gcp
|
272
|
-
|
273
|
-
current = gcp.organizations.get_client_config()
|
274
|
-
apigee_network = gcp.compute.Network("apigee_network", name="apigee-network")
|
275
|
-
apigee_range = gcp.compute.GlobalAddress("apigee_range",
|
276
|
-
name="apigee-range",
|
277
|
-
purpose="VPC_PEERING",
|
278
|
-
address_type="INTERNAL",
|
279
|
-
prefix_length=16,
|
280
|
-
network=apigee_network.id)
|
281
|
-
apigee_vpc_connection = gcp.servicenetworking.Connection("apigee_vpc_connection",
|
282
|
-
network=apigee_network.id,
|
283
|
-
service="servicenetworking.googleapis.com",
|
284
|
-
reserved_peering_ranges=[apigee_range.name])
|
285
|
-
apigee_org = gcp.apigee.Organization("apigee_org",
|
286
|
-
analytics_region="us-central1",
|
287
|
-
project_id=current.project,
|
288
|
-
authorized_network=apigee_network.id,
|
289
|
-
opts = pulumi.ResourceOptions(depends_on=[apigee_vpc_connection]))
|
290
|
-
apigee_environment = gcp.apigee.Environment("apigee_environment",
|
291
|
-
org_id=apigee_org.id,
|
292
|
-
name="tf-test-env",
|
293
|
-
description="Apigee Environment",
|
294
|
-
display_name="Apigee Environment")
|
295
|
-
apigee_instance = gcp.apigee.Instance("apigee_instance",
|
296
|
-
name="tf-test-instance",
|
297
|
-
location="us-central1",
|
298
|
-
org_id=apigee_org.id)
|
299
|
-
apigee_instance_attachment = gcp.apigee.InstanceAttachment("apigee_instance_attachment",
|
300
|
-
instance_id=apigee_instance.id,
|
301
|
-
environment=apigee_environment.name)
|
302
|
-
apigee_environment_keyvaluemaps = gcp.apigee.EnvironmentKeyvaluemaps("apigee_environment_keyvaluemaps",
|
303
|
-
env_id=create_apigee_environment["id"],
|
304
|
-
name="tf-test-env-kvms",
|
305
|
-
opts = pulumi.ResourceOptions(depends_on=[
|
306
|
-
apigee_org,
|
307
|
-
apigee_environment,
|
308
|
-
apigee_instance,
|
309
|
-
apigee_instance_attachment,
|
310
|
-
]))
|
311
|
-
apigee_environment_keyvaluemaps_entries = gcp.apigee.EnvironmentKeyvaluemapsEntries("apigee_environment_keyvaluemaps_entries",
|
312
|
-
env_keyvaluemap_id=apigee_environment_keyvaluemaps.id,
|
313
|
-
name="testName",
|
314
|
-
value="testValue",
|
315
|
-
opts = pulumi.ResourceOptions(depends_on=[
|
316
|
-
apigee_org,
|
317
|
-
apigee_environment,
|
318
|
-
apigee_instance,
|
319
|
-
apigee_instance_attachment,
|
320
|
-
apigee_environment_keyvaluemaps,
|
321
|
-
]))
|
322
|
-
```
|
323
|
-
|
324
|
-
## Import
|
325
|
-
|
326
|
-
EnvironmentKeyvaluemapsEntries can be imported using any of these accepted formats:
|
327
|
-
|
328
|
-
* `{{env_keyvaluemap_id}}/entries/{{name}}`
|
329
|
-
|
330
|
-
* `{{env_keyvaluemap_id}}/{{name}}`
|
331
|
-
|
332
|
-
When using the `pulumi import` command, EnvironmentKeyvaluemapsEntries can be imported using one of the formats above. For example:
|
333
|
-
|
334
|
-
```sh
|
335
|
-
$ pulumi import gcp:apigee/environmentKeyvaluemapsEntries:EnvironmentKeyvaluemapsEntries default {{env_keyvaluemap_id}}/entries/{{name}}
|
336
|
-
```
|
337
|
-
|
338
|
-
```sh
|
339
|
-
$ pulumi import gcp:apigee/environmentKeyvaluemapsEntries:EnvironmentKeyvaluemapsEntries default {{env_keyvaluemap_id}}/{{name}}
|
340
|
-
```
|
341
|
-
|
342
|
-
:param str resource_name: The name of the resource.
|
343
|
-
:param EnvironmentKeyvaluemapsEntriesArgs args: The arguments to use to populate this resource's properties.
|
344
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
345
|
-
"""
|
346
|
-
...
|
347
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
348
|
-
resource_args, opts = _utilities.get_resource_args_opts(EnvironmentKeyvaluemapsEntriesArgs, pulumi.ResourceOptions, *args, **kwargs)
|
349
|
-
if resource_args is not None:
|
350
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
351
|
-
else:
|
352
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
353
|
-
|
354
|
-
def _internal_init(__self__,
|
355
|
-
resource_name: str,
|
356
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
357
|
-
env_keyvaluemap_id: Optional[pulumi.Input[str]] = None,
|
358
|
-
name: Optional[pulumi.Input[str]] = None,
|
359
|
-
value: Optional[pulumi.Input[str]] = None,
|
360
|
-
__props__=None):
|
361
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
362
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
363
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
364
|
-
if opts.id is None:
|
365
|
-
if __props__ is not None:
|
366
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
367
|
-
__props__ = EnvironmentKeyvaluemapsEntriesArgs.__new__(EnvironmentKeyvaluemapsEntriesArgs)
|
368
|
-
|
369
|
-
if env_keyvaluemap_id is None and not opts.urn:
|
370
|
-
raise TypeError("Missing required property 'env_keyvaluemap_id'")
|
371
|
-
__props__.__dict__["env_keyvaluemap_id"] = env_keyvaluemap_id
|
372
|
-
__props__.__dict__["name"] = name
|
373
|
-
if value is None and not opts.urn:
|
374
|
-
raise TypeError("Missing required property 'value'")
|
375
|
-
__props__.__dict__["value"] = value
|
376
|
-
super(EnvironmentKeyvaluemapsEntries, __self__).__init__(
|
377
|
-
'gcp:apigee/environmentKeyvaluemapsEntries:EnvironmentKeyvaluemapsEntries',
|
378
|
-
resource_name,
|
379
|
-
__props__,
|
380
|
-
opts)
|
381
|
-
|
382
|
-
@staticmethod
|
383
|
-
def get(resource_name: str,
|
384
|
-
id: pulumi.Input[str],
|
385
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
386
|
-
env_keyvaluemap_id: Optional[pulumi.Input[str]] = None,
|
387
|
-
name: Optional[pulumi.Input[str]] = None,
|
388
|
-
value: Optional[pulumi.Input[str]] = None) -> 'EnvironmentKeyvaluemapsEntries':
|
389
|
-
"""
|
390
|
-
Get an existing EnvironmentKeyvaluemapsEntries resource's state with the given name, id, and optional extra
|
391
|
-
properties used to qualify the lookup.
|
392
|
-
|
393
|
-
:param str resource_name: The unique name of the resulting resource.
|
394
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
395
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
396
|
-
:param pulumi.Input[str] env_keyvaluemap_id: The Apigee environment keyvalumaps Id associated with the Apigee environment,
|
397
|
-
in the format `organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}`.
|
398
|
-
|
399
|
-
|
400
|
-
- - -
|
401
|
-
:param pulumi.Input[str] name: Required. Resource URI that can be used to identify the scope of the key value map entries.
|
402
|
-
:param pulumi.Input[str] value: Required. Data or payload that is being retrieved and associated with the unique key.
|
403
|
-
"""
|
404
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
405
|
-
|
406
|
-
__props__ = _EnvironmentKeyvaluemapsEntriesState.__new__(_EnvironmentKeyvaluemapsEntriesState)
|
407
|
-
|
408
|
-
__props__.__dict__["env_keyvaluemap_id"] = env_keyvaluemap_id
|
409
|
-
__props__.__dict__["name"] = name
|
410
|
-
__props__.__dict__["value"] = value
|
411
|
-
return EnvironmentKeyvaluemapsEntries(resource_name, opts=opts, __props__=__props__)
|
412
|
-
|
413
|
-
@property
|
414
|
-
@pulumi.getter(name="envKeyvaluemapId")
|
415
|
-
def env_keyvaluemap_id(self) -> pulumi.Output[str]:
|
416
|
-
"""
|
417
|
-
The Apigee environment keyvalumaps Id associated with the Apigee environment,
|
418
|
-
in the format `organizations/{{org_name}}/environments/{{env_name}}/keyvaluemaps/{{keyvaluemap_name}}`.
|
419
|
-
|
420
|
-
|
421
|
-
- - -
|
422
|
-
"""
|
423
|
-
return pulumi.get(self, "env_keyvaluemap_id")
|
424
|
-
|
425
|
-
@property
|
426
|
-
@pulumi.getter
|
427
|
-
def name(self) -> pulumi.Output[str]:
|
428
|
-
"""
|
429
|
-
Required. Resource URI that can be used to identify the scope of the key value map entries.
|
430
|
-
"""
|
431
|
-
return pulumi.get(self, "name")
|
432
|
-
|
433
|
-
@property
|
434
|
-
@pulumi.getter
|
435
|
-
def value(self) -> pulumi.Output[str]:
|
436
|
-
"""
|
437
|
-
Required. Data or payload that is being retrieved and associated with the unique key.
|
438
|
-
"""
|
439
|
-
return pulumi.get(self, "value")
|
440
|
-
|