pulumi-gcp 7.34.0a1722421695__py3-none-any.whl → 7.35.0__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 +40 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +12 -3
- pulumi_gcp/accesscontextmanager/access_policy.py +18 -18
- pulumi_gcp/accesscontextmanager/outputs.py +8 -2
- pulumi_gcp/alloydb/_inputs.py +174 -0
- pulumi_gcp/alloydb/instance.py +54 -0
- pulumi_gcp/alloydb/outputs.py +133 -0
- pulumi_gcp/apigee/__init__.py +2 -0
- pulumi_gcp/apigee/environment_keyvaluemaps.py +370 -0
- pulumi_gcp/apigee/environment_keyvaluemaps_entries.py +440 -0
- 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 +36 -0
- pulumi_gcp/bigquery/app_profile.py +54 -0
- pulumi_gcp/bigquery/data_transfer_config.py +52 -0
- pulumi_gcp/bigquery/outputs.py +38 -0
- pulumi_gcp/bigquery/reservation.py +34 -4
- pulumi_gcp/bigquery/table.py +65 -21
- pulumi_gcp/bigtable/table.py +27 -26
- pulumi_gcp/certificateauthority/authority.py +4 -4
- pulumi_gcp/cloudfunctions/function.py +47 -0
- pulumi_gcp/cloudfunctions/get_function.py +11 -1
- pulumi_gcp/cloudfunctionsv2/function.py +2 -2
- pulumi_gcp/cloudrun/_inputs.py +24 -21
- pulumi_gcp/cloudrun/outputs.py +20 -24
- pulumi_gcp/cloudrunv2/_inputs.py +3 -0
- pulumi_gcp/cloudrunv2/outputs.py +4 -0
- pulumi_gcp/compute/__init__.py +2 -0
- pulumi_gcp/compute/_inputs.py +2358 -353
- pulumi_gcp/compute/backend_service.py +6 -0
- pulumi_gcp/compute/disk.py +75 -0
- pulumi_gcp/compute/get_disk.py +11 -1
- pulumi_gcp/compute/get_hc_vpn_gateway.py +11 -1
- pulumi_gcp/compute/get_instance_template.py +2 -2
- pulumi_gcp/compute/get_region_instance_template.py +2 -2
- pulumi_gcp/compute/get_snapshot.py +2 -2
- pulumi_gcp/compute/ha_vpn_gateway.py +68 -7
- pulumi_gcp/compute/outputs.py +1490 -31
- pulumi_gcp/compute/public_advertised_prefix.py +30 -2
- pulumi_gcp/compute/resize_request.py +782 -0
- pulumi_gcp/compute/router_peer.py +437 -0
- pulumi_gcp/compute/router_route_policy.py +616 -0
- pulumi_gcp/compute/service_attachment.py +7 -14
- pulumi_gcp/container/_inputs.py +218 -21
- pulumi_gcp/container/node_pool.py +0 -14
- pulumi_gcp/container/outputs.py +228 -14
- pulumi_gcp/databasemigrationservice/private_connection.py +10 -6
- pulumi_gcp/dataloss/_inputs.py +707 -21
- pulumi_gcp/dataloss/outputs.py +588 -14
- pulumi_gcp/datastore/data_store_index.py +24 -12
- pulumi_gcp/datastream/_inputs.py +83 -3
- pulumi_gcp/datastream/outputs.py +51 -3
- pulumi_gcp/datastream/stream.py +170 -0
- pulumi_gcp/firebase/database_instance.py +8 -8
- pulumi_gcp/firebase/hosting_site.py +8 -8
- pulumi_gcp/firebase/project.py +10 -2
- 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/kms/key_handle.py +7 -7
- pulumi_gcp/migrationcenter/_inputs.py +21 -129
- pulumi_gcp/migrationcenter/outputs.py +14 -86
- pulumi_gcp/netapp/volume.py +1 -1
- pulumi_gcp/networkconnectivity/_inputs.py +3 -6
- pulumi_gcp/networkconnectivity/hub.py +129 -49
- pulumi_gcp/networkconnectivity/outputs.py +2 -4
- pulumi_gcp/networkconnectivity/spoke.py +159 -104
- pulumi_gcp/networksecurity/tls_inspection_policy.py +2 -2
- pulumi_gcp/organizations/project.py +16 -7
- pulumi_gcp/orgpolicy/policy.py +4 -4
- pulumi_gcp/projects/get_project_service.py +11 -1
- pulumi_gcp/projects/service.py +68 -0
- pulumi_gcp/projects/service_identity.py +30 -2
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securesourcemanager/instance.py +528 -4
- pulumi_gcp/securitycenter/__init__.py +1 -0
- pulumi_gcp/securitycenter/v2_organization_mute_config.py +673 -0
- pulumi_gcp/sql/_inputs.py +35 -15
- pulumi_gcp/sql/database_instance.py +2 -2
- pulumi_gcp/sql/outputs.py +50 -14
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vmwareengine/get_private_cloud.py +21 -1
- pulumi_gcp/vmwareengine/private_cloud.py +121 -2
- pulumi_gcp/workbench/_inputs.py +77 -0
- pulumi_gcp/workbench/instance.py +18 -4
- pulumi_gcp/workbench/outputs.py +67 -1
- {pulumi_gcp-7.34.0a1722421695.dist-info → pulumi_gcp-7.35.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.34.0a1722421695.dist-info → pulumi_gcp-7.35.0.dist-info}/RECORD +96 -91
- {pulumi_gcp-7.34.0a1722421695.dist-info → pulumi_gcp-7.35.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.34.0a1722421695.dist-info → pulumi_gcp-7.35.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,440 @@
|
|
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
|
+
|
pulumi_gcp/apigee/instance.py
CHANGED
@@ -572,7 +572,7 @@ class Instance(pulumi.CustomResource):
|
|
572
572
|
apigee_sa_keyuser = gcp.kms.CryptoKeyIAMMember("apigee_sa_keyuser",
|
573
573
|
crypto_key_id=apigee_key.id,
|
574
574
|
role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
|
575
|
-
member=apigee_sa.
|
575
|
+
member=apigee_sa.member)
|
576
576
|
apigee_org = gcp.apigee.Organization("apigee_org",
|
577
577
|
analytics_region="us-central1",
|
578
578
|
display_name="apigee-org",
|
@@ -771,7 +771,7 @@ class Instance(pulumi.CustomResource):
|
|
771
771
|
apigee_sa_keyuser = gcp.kms.CryptoKeyIAMMember("apigee_sa_keyuser",
|
772
772
|
crypto_key_id=apigee_key.id,
|
773
773
|
role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
|
774
|
-
member=apigee_sa.
|
774
|
+
member=apigee_sa.member)
|
775
775
|
apigee_org = gcp.apigee.Organization("apigee_org",
|
776
776
|
analytics_region="us-central1",
|
777
777
|
display_name="apigee-org",
|
pulumi_gcp/apigee/nat_address.py
CHANGED
@@ -193,7 +193,7 @@ class NatAddress(pulumi.CustomResource):
|
|
193
193
|
apigee_sa_keyuser = gcp.kms.CryptoKeyIAMMember("apigee_sa_keyuser",
|
194
194
|
crypto_key_id=apigee_key.id,
|
195
195
|
role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
|
196
|
-
member=apigee_sa.
|
196
|
+
member=apigee_sa.member)
|
197
197
|
apigee_org = gcp.apigee.Organization("apigee_org",
|
198
198
|
analytics_region="us-central1",
|
199
199
|
display_name="apigee-org",
|
@@ -292,7 +292,7 @@ class NatAddress(pulumi.CustomResource):
|
|
292
292
|
apigee_sa_keyuser = gcp.kms.CryptoKeyIAMMember("apigee_sa_keyuser",
|
293
293
|
crypto_key_id=apigee_key.id,
|
294
294
|
role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
|
295
|
-
member=apigee_sa.
|
295
|
+
member=apigee_sa.member)
|
296
296
|
apigee_org = gcp.apigee.Organization("apigee_org",
|
297
297
|
analytics_region="us-central1",
|
298
298
|
display_name="apigee-org",
|
@@ -739,7 +739,7 @@ class Organization(pulumi.CustomResource):
|
|
739
739
|
apigee_sa_keyuser = gcp.kms.CryptoKeyIAMMember("apigee_sa_keyuser",
|
740
740
|
crypto_key_id=apigee_key.id,
|
741
741
|
role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
|
742
|
-
member=apigee_sa.
|
742
|
+
member=apigee_sa.member)
|
743
743
|
org = gcp.apigee.Organization("org",
|
744
744
|
analytics_region="us-central1",
|
745
745
|
display_name="apigee-org",
|
@@ -771,7 +771,7 @@ class Organization(pulumi.CustomResource):
|
|
771
771
|
apigee_sa_keyuser = gcp.kms.CryptoKeyIAMMember("apigee_sa_keyuser",
|
772
772
|
crypto_key_id=apigee_key.id,
|
773
773
|
role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
|
774
|
-
member=apigee_sa.
|
774
|
+
member=apigee_sa.member)
|
775
775
|
org = gcp.apigee.Organization("org",
|
776
776
|
analytics_region="us-central1",
|
777
777
|
display_name="apigee-org",
|
@@ -924,7 +924,7 @@ class Organization(pulumi.CustomResource):
|
|
924
924
|
apigee_sa_keyuser = gcp.kms.CryptoKeyIAMMember("apigee_sa_keyuser",
|
925
925
|
crypto_key_id=apigee_key.id,
|
926
926
|
role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
|
927
|
-
member=apigee_sa.
|
927
|
+
member=apigee_sa.member)
|
928
928
|
org = gcp.apigee.Organization("org",
|
929
929
|
analytics_region="us-central1",
|
930
930
|
display_name="apigee-org",
|
@@ -956,7 +956,7 @@ class Organization(pulumi.CustomResource):
|
|
956
956
|
apigee_sa_keyuser = gcp.kms.CryptoKeyIAMMember("apigee_sa_keyuser",
|
957
957
|
crypto_key_id=apigee_key.id,
|
958
958
|
role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
|
959
|
-
member=apigee_sa.
|
959
|
+
member=apigee_sa.member)
|
960
960
|
org = gcp.apigee.Organization("org",
|
961
961
|
analytics_region="us-central1",
|
962
962
|
display_name="apigee-org",
|
@@ -32,7 +32,7 @@ class ServiceProjectAttachmentArgs:
|
|
32
32
|
If it is not provided, the provider project is used.
|
33
33
|
:param pulumi.Input[str] service_project: "Immutable. Service project name in the format: \\"projects/abc\\"
|
34
34
|
or \\"projects/123\\". As input, project name with either project id or number
|
35
|
-
are accepted. As output, this field will contain project number.
|
35
|
+
are accepted. As output, this field will contain project number."
|
36
36
|
"""
|
37
37
|
pulumi.set(__self__, "service_project_attachment_id", service_project_attachment_id)
|
38
38
|
if project is not None:
|
@@ -74,7 +74,7 @@ class ServiceProjectAttachmentArgs:
|
|
74
74
|
"""
|
75
75
|
"Immutable. Service project name in the format: \\"projects/abc\\"
|
76
76
|
or \\"projects/123\\". As input, project name with either project id or number
|
77
|
-
are accepted. As output, this field will contain project number.
|
77
|
+
are accepted. As output, this field will contain project number."
|
78
78
|
"""
|
79
79
|
return pulumi.get(self, "service_project")
|
80
80
|
|
@@ -96,12 +96,12 @@ class _ServiceProjectAttachmentState:
|
|
96
96
|
"""
|
97
97
|
Input properties used for looking up and filtering ServiceProjectAttachment resources.
|
98
98
|
:param pulumi.Input[str] create_time: Output only. Create time.
|
99
|
-
:param pulumi.Input[str] name: "Identifier. The resource name of a ServiceProjectAttachment. Format:\\"projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}.\\"
|
99
|
+
:param pulumi.Input[str] name: "Identifier. The resource name of a ServiceProjectAttachment. Format:\\"projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}.\\""
|
100
100
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
101
101
|
If it is not provided, the provider project is used.
|
102
102
|
:param pulumi.Input[str] service_project: "Immutable. Service project name in the format: \\"projects/abc\\"
|
103
103
|
or \\"projects/123\\". As input, project name with either project id or number
|
104
|
-
are accepted. As output, this field will contain project number.
|
104
|
+
are accepted. As output, this field will contain project number."
|
105
105
|
:param pulumi.Input[str] service_project_attachment_id: Required. The service project attachment identifier must contain the project_id of the service project specified in the service_project_attachment.service_project field. Hint: "projects/{project_id}"
|
106
106
|
|
107
107
|
|
@@ -140,7 +140,7 @@ class _ServiceProjectAttachmentState:
|
|
140
140
|
@pulumi.getter
|
141
141
|
def name(self) -> Optional[pulumi.Input[str]]:
|
142
142
|
"""
|
143
|
-
"Identifier. The resource name of a ServiceProjectAttachment. Format:\\"projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}.\\"
|
143
|
+
"Identifier. The resource name of a ServiceProjectAttachment. Format:\\"projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}.\\""
|
144
144
|
"""
|
145
145
|
return pulumi.get(self, "name")
|
146
146
|
|
@@ -167,7 +167,7 @@ class _ServiceProjectAttachmentState:
|
|
167
167
|
"""
|
168
168
|
"Immutable. Service project name in the format: \\"projects/abc\\"
|
169
169
|
or \\"projects/123\\". As input, project name with either project id or number
|
170
|
-
are accepted. As output, this field will contain project number.
|
170
|
+
are accepted. As output, this field will contain project number."
|
171
171
|
"""
|
172
172
|
return pulumi.get(self, "service_project")
|
173
173
|
|
@@ -294,7 +294,7 @@ class ServiceProjectAttachment(pulumi.CustomResource):
|
|
294
294
|
If it is not provided, the provider project is used.
|
295
295
|
:param pulumi.Input[str] service_project: "Immutable. Service project name in the format: \\"projects/abc\\"
|
296
296
|
or \\"projects/123\\". As input, project name with either project id or number
|
297
|
-
are accepted. As output, this field will contain project number.
|
297
|
+
are accepted. As output, this field will contain project number."
|
298
298
|
:param pulumi.Input[str] service_project_attachment_id: Required. The service project attachment identifier must contain the project_id of the service project specified in the service_project_attachment.service_project field. Hint: "projects/{project_id}"
|
299
299
|
|
300
300
|
|
@@ -431,12 +431,12 @@ class ServiceProjectAttachment(pulumi.CustomResource):
|
|
431
431
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
432
432
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
433
433
|
:param pulumi.Input[str] create_time: Output only. Create time.
|
434
|
-
:param pulumi.Input[str] name: "Identifier. The resource name of a ServiceProjectAttachment. Format:\\"projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}.\\"
|
434
|
+
:param pulumi.Input[str] name: "Identifier. The resource name of a ServiceProjectAttachment. Format:\\"projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}.\\""
|
435
435
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
436
436
|
If it is not provided, the provider project is used.
|
437
437
|
:param pulumi.Input[str] service_project: "Immutable. Service project name in the format: \\"projects/abc\\"
|
438
438
|
or \\"projects/123\\". As input, project name with either project id or number
|
439
|
-
are accepted. As output, this field will contain project number.
|
439
|
+
are accepted. As output, this field will contain project number."
|
440
440
|
:param pulumi.Input[str] service_project_attachment_id: Required. The service project attachment identifier must contain the project_id of the service project specified in the service_project_attachment.service_project field. Hint: "projects/{project_id}"
|
441
441
|
|
442
442
|
|
@@ -469,7 +469,7 @@ class ServiceProjectAttachment(pulumi.CustomResource):
|
|
469
469
|
@pulumi.getter
|
470
470
|
def name(self) -> pulumi.Output[str]:
|
471
471
|
"""
|
472
|
-
"Identifier. The resource name of a ServiceProjectAttachment. Format:\\"projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}.\\"
|
472
|
+
"Identifier. The resource name of a ServiceProjectAttachment. Format:\\"projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}.\\""
|
473
473
|
"""
|
474
474
|
return pulumi.get(self, "name")
|
475
475
|
|
@@ -488,7 +488,7 @@ class ServiceProjectAttachment(pulumi.CustomResource):
|
|
488
488
|
"""
|
489
489
|
"Immutable. Service project name in the format: \\"projects/abc\\"
|
490
490
|
or \\"projects/123\\". As input, project name with either project id or number
|
491
|
-
are accepted. As output, this field will contain project number.
|
491
|
+
are accepted. As output, this field will contain project number."
|
492
492
|
"""
|
493
493
|
return pulumi.get(self, "service_project")
|
494
494
|
|
pulumi_gcp/bigquery/_inputs.py
CHANGED
@@ -15,6 +15,8 @@ else:
|
|
15
15
|
from .. import _utilities
|
16
16
|
|
17
17
|
__all__ = [
|
18
|
+
'AppProfileDataBoostIsolationReadOnlyArgs',
|
19
|
+
'AppProfileDataBoostIsolationReadOnlyArgsDict',
|
18
20
|
'AppProfileSingleClusterRoutingArgs',
|
19
21
|
'AppProfileSingleClusterRoutingArgsDict',
|
20
22
|
'AppProfileStandardIsolationArgs',
|
@@ -175,6 +177,40 @@ __all__ = [
|
|
175
177
|
|
176
178
|
MYPY = False
|
177
179
|
|
180
|
+
if not MYPY:
|
181
|
+
class AppProfileDataBoostIsolationReadOnlyArgsDict(TypedDict):
|
182
|
+
compute_billing_owner: pulumi.Input[str]
|
183
|
+
"""
|
184
|
+
The Compute Billing Owner for this Data Boost App Profile.
|
185
|
+
Possible values are: `HOST_PAYS`.
|
186
|
+
"""
|
187
|
+
elif False:
|
188
|
+
AppProfileDataBoostIsolationReadOnlyArgsDict: TypeAlias = Mapping[str, Any]
|
189
|
+
|
190
|
+
@pulumi.input_type
|
191
|
+
class AppProfileDataBoostIsolationReadOnlyArgs:
|
192
|
+
def __init__(__self__, *,
|
193
|
+
compute_billing_owner: pulumi.Input[str]):
|
194
|
+
"""
|
195
|
+
:param pulumi.Input[str] compute_billing_owner: The Compute Billing Owner for this Data Boost App Profile.
|
196
|
+
Possible values are: `HOST_PAYS`.
|
197
|
+
"""
|
198
|
+
pulumi.set(__self__, "compute_billing_owner", compute_billing_owner)
|
199
|
+
|
200
|
+
@property
|
201
|
+
@pulumi.getter(name="computeBillingOwner")
|
202
|
+
def compute_billing_owner(self) -> pulumi.Input[str]:
|
203
|
+
"""
|
204
|
+
The Compute Billing Owner for this Data Boost App Profile.
|
205
|
+
Possible values are: `HOST_PAYS`.
|
206
|
+
"""
|
207
|
+
return pulumi.get(self, "compute_billing_owner")
|
208
|
+
|
209
|
+
@compute_billing_owner.setter
|
210
|
+
def compute_billing_owner(self, value: pulumi.Input[str]):
|
211
|
+
pulumi.set(self, "compute_billing_owner", value)
|
212
|
+
|
213
|
+
|
178
214
|
if not MYPY:
|
179
215
|
class AppProfileSingleClusterRoutingArgsDict(TypedDict):
|
180
216
|
cluster_id: pulumi.Input[str]
|