pulumi-gcp 7.28.0__py3-none-any.whl → 7.28.0a1718431623__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.
- pulumi_gcp/__init__.py +0 -59
- pulumi_gcp/accesscontextmanager/_inputs.py +74 -58
- pulumi_gcp/accesscontextmanager/access_levels.py +20 -0
- pulumi_gcp/accesscontextmanager/outputs.py +74 -58
- pulumi_gcp/accesscontextmanager/service_perimeter.py +0 -2
- pulumi_gcp/bigtable/_inputs.py +0 -40
- pulumi_gcp/bigtable/outputs.py +0 -49
- pulumi_gcp/bigtable/table.py +0 -54
- pulumi_gcp/cloudbuildv2/_inputs.py +0 -383
- pulumi_gcp/cloudbuildv2/connection.py +2 -110
- pulumi_gcp/cloudbuildv2/outputs.py +0 -421
- pulumi_gcp/composer/__init__.py +0 -3
- pulumi_gcp/compute/_inputs.py +2 -4
- pulumi_gcp/compute/backend_service.py +48 -28
- pulumi_gcp/compute/interconnect.py +4 -4
- pulumi_gcp/compute/outputs.py +4 -10
- pulumi_gcp/compute/region_backend_service.py +48 -35
- pulumi_gcp/compute/region_network_endpoint.py +0 -187
- pulumi_gcp/compute/region_network_endpoint_group.py +9 -49
- pulumi_gcp/compute/region_target_https_proxy.py +14 -7
- pulumi_gcp/compute/target_https_proxy.py +14 -28
- pulumi_gcp/config/__init__.pyi +0 -2
- pulumi_gcp/config/vars.py +0 -4
- pulumi_gcp/container/_inputs.py +2 -2
- pulumi_gcp/container/outputs.py +4 -4
- pulumi_gcp/discoveryengine/_inputs.py +0 -227
- pulumi_gcp/discoveryengine/data_store.py +0 -108
- pulumi_gcp/discoveryengine/outputs.py +0 -280
- pulumi_gcp/edgecontainer/_inputs.py +1 -107
- pulumi_gcp/edgecontainer/outputs.py +1 -123
- pulumi_gcp/gkehub/_inputs.py +0 -16
- pulumi_gcp/gkehub/outputs.py +1 -15
- pulumi_gcp/kms/crypto_key.py +6 -2
- pulumi_gcp/logging/folder_sink.py +14 -14
- pulumi_gcp/logging/organization_sink.py +14 -14
- pulumi_gcp/netapp/__init__.py +0 -1
- pulumi_gcp/netapp/active_directory.py +0 -55
- pulumi_gcp/provider.py +0 -20
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securitycenter/__init__.py +0 -3
- pulumi_gcp/securitycenter/_inputs.py +0 -1105
- pulumi_gcp/securitycenter/outputs.py +0 -1048
- pulumi_gcp/vertex/ai_feature_online_store.py +8 -37
- {pulumi_gcp-7.28.0.dist-info → pulumi_gcp-7.28.0a1718431623.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.28.0.dist-info → pulumi_gcp-7.28.0a1718431623.dist-info}/RECORD +47 -59
- {pulumi_gcp-7.28.0.dist-info → pulumi_gcp-7.28.0a1718431623.dist-info}/WHEEL +1 -1
- pulumi_gcp/composer/get_user_workloads_config_map.py +0 -190
- pulumi_gcp/composer/get_user_workloads_secret.py +0 -188
- pulumi_gcp/composer/user_workloads_config_map.py +0 -475
- pulumi_gcp/managedkafka/__init__.py +0 -11
- pulumi_gcp/managedkafka/_inputs.py +0 -169
- pulumi_gcp/managedkafka/cluster.py +0 -807
- pulumi_gcp/managedkafka/outputs.py +0 -197
- pulumi_gcp/managedkafka/topic.py +0 -599
- pulumi_gcp/netapp/backup.py +0 -903
- pulumi_gcp/securitycenter/management_folder_security_health_analytics_custom_module.py +0 -725
- pulumi_gcp/securitycenter/management_organization_security_health_analytics_custom_module.py +0 -713
- pulumi_gcp/securitycenter/management_project_security_health_analytics_custom_module.py +0 -706
- {pulumi_gcp-7.28.0.dist-info → pulumi_gcp-7.28.0a1718431623.dist-info}/top_level.txt +0 -0
@@ -1,475 +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 pulumi
|
8
|
-
import pulumi.runtime
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
-
from .. import _utilities
|
11
|
-
|
12
|
-
__all__ = ['UserWorkloadsConfigMapArgs', 'UserWorkloadsConfigMap']
|
13
|
-
|
14
|
-
@pulumi.input_type
|
15
|
-
class UserWorkloadsConfigMapArgs:
|
16
|
-
def __init__(__self__, *,
|
17
|
-
environment: pulumi.Input[str],
|
18
|
-
data: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
19
|
-
name: Optional[pulumi.Input[str]] = None,
|
20
|
-
project: Optional[pulumi.Input[str]] = None,
|
21
|
-
region: Optional[pulumi.Input[str]] = None):
|
22
|
-
"""
|
23
|
-
The set of arguments for constructing a UserWorkloadsConfigMap resource.
|
24
|
-
:param pulumi.Input[str] environment: Environment where the Kubernetes ConfigMap will be stored and used.
|
25
|
-
|
26
|
-
|
27
|
-
- - -
|
28
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] data: The "data" field of Kubernetes ConfigMap, organized in key-value pairs.
|
29
|
-
For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
|
30
|
-
:param pulumi.Input[str] name: Name of the Kubernetes ConfigMap.
|
31
|
-
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
32
|
-
If it is not provided, the provider project is used.
|
33
|
-
:param pulumi.Input[str] region: The location or Compute Engine region for the environment.
|
34
|
-
"""
|
35
|
-
pulumi.set(__self__, "environment", environment)
|
36
|
-
if data is not None:
|
37
|
-
pulumi.set(__self__, "data", data)
|
38
|
-
if name is not None:
|
39
|
-
pulumi.set(__self__, "name", name)
|
40
|
-
if project is not None:
|
41
|
-
pulumi.set(__self__, "project", project)
|
42
|
-
if region is not None:
|
43
|
-
pulumi.set(__self__, "region", region)
|
44
|
-
|
45
|
-
@property
|
46
|
-
@pulumi.getter
|
47
|
-
def environment(self) -> pulumi.Input[str]:
|
48
|
-
"""
|
49
|
-
Environment where the Kubernetes ConfigMap will be stored and used.
|
50
|
-
|
51
|
-
|
52
|
-
- - -
|
53
|
-
"""
|
54
|
-
return pulumi.get(self, "environment")
|
55
|
-
|
56
|
-
@environment.setter
|
57
|
-
def environment(self, value: pulumi.Input[str]):
|
58
|
-
pulumi.set(self, "environment", value)
|
59
|
-
|
60
|
-
@property
|
61
|
-
@pulumi.getter
|
62
|
-
def data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
63
|
-
"""
|
64
|
-
The "data" field of Kubernetes ConfigMap, organized in key-value pairs.
|
65
|
-
For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
|
66
|
-
"""
|
67
|
-
return pulumi.get(self, "data")
|
68
|
-
|
69
|
-
@data.setter
|
70
|
-
def data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
71
|
-
pulumi.set(self, "data", value)
|
72
|
-
|
73
|
-
@property
|
74
|
-
@pulumi.getter
|
75
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
76
|
-
"""
|
77
|
-
Name of the Kubernetes ConfigMap.
|
78
|
-
"""
|
79
|
-
return pulumi.get(self, "name")
|
80
|
-
|
81
|
-
@name.setter
|
82
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
83
|
-
pulumi.set(self, "name", value)
|
84
|
-
|
85
|
-
@property
|
86
|
-
@pulumi.getter
|
87
|
-
def project(self) -> Optional[pulumi.Input[str]]:
|
88
|
-
"""
|
89
|
-
The ID of the project in which the resource belongs.
|
90
|
-
If it is not provided, the provider project is used.
|
91
|
-
"""
|
92
|
-
return pulumi.get(self, "project")
|
93
|
-
|
94
|
-
@project.setter
|
95
|
-
def project(self, value: Optional[pulumi.Input[str]]):
|
96
|
-
pulumi.set(self, "project", value)
|
97
|
-
|
98
|
-
@property
|
99
|
-
@pulumi.getter
|
100
|
-
def region(self) -> Optional[pulumi.Input[str]]:
|
101
|
-
"""
|
102
|
-
The location or Compute Engine region for the environment.
|
103
|
-
"""
|
104
|
-
return pulumi.get(self, "region")
|
105
|
-
|
106
|
-
@region.setter
|
107
|
-
def region(self, value: Optional[pulumi.Input[str]]):
|
108
|
-
pulumi.set(self, "region", value)
|
109
|
-
|
110
|
-
|
111
|
-
@pulumi.input_type
|
112
|
-
class _UserWorkloadsConfigMapState:
|
113
|
-
def __init__(__self__, *,
|
114
|
-
data: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
115
|
-
environment: Optional[pulumi.Input[str]] = None,
|
116
|
-
name: Optional[pulumi.Input[str]] = None,
|
117
|
-
project: Optional[pulumi.Input[str]] = None,
|
118
|
-
region: Optional[pulumi.Input[str]] = None):
|
119
|
-
"""
|
120
|
-
Input properties used for looking up and filtering UserWorkloadsConfigMap resources.
|
121
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] data: The "data" field of Kubernetes ConfigMap, organized in key-value pairs.
|
122
|
-
For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
|
123
|
-
:param pulumi.Input[str] environment: Environment where the Kubernetes ConfigMap will be stored and used.
|
124
|
-
|
125
|
-
|
126
|
-
- - -
|
127
|
-
:param pulumi.Input[str] name: Name of the Kubernetes ConfigMap.
|
128
|
-
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
129
|
-
If it is not provided, the provider project is used.
|
130
|
-
:param pulumi.Input[str] region: The location or Compute Engine region for the environment.
|
131
|
-
"""
|
132
|
-
if data is not None:
|
133
|
-
pulumi.set(__self__, "data", data)
|
134
|
-
if environment is not None:
|
135
|
-
pulumi.set(__self__, "environment", environment)
|
136
|
-
if name is not None:
|
137
|
-
pulumi.set(__self__, "name", name)
|
138
|
-
if project is not None:
|
139
|
-
pulumi.set(__self__, "project", project)
|
140
|
-
if region is not None:
|
141
|
-
pulumi.set(__self__, "region", region)
|
142
|
-
|
143
|
-
@property
|
144
|
-
@pulumi.getter
|
145
|
-
def data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
146
|
-
"""
|
147
|
-
The "data" field of Kubernetes ConfigMap, organized in key-value pairs.
|
148
|
-
For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
|
149
|
-
"""
|
150
|
-
return pulumi.get(self, "data")
|
151
|
-
|
152
|
-
@data.setter
|
153
|
-
def data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
154
|
-
pulumi.set(self, "data", value)
|
155
|
-
|
156
|
-
@property
|
157
|
-
@pulumi.getter
|
158
|
-
def environment(self) -> Optional[pulumi.Input[str]]:
|
159
|
-
"""
|
160
|
-
Environment where the Kubernetes ConfigMap will be stored and used.
|
161
|
-
|
162
|
-
|
163
|
-
- - -
|
164
|
-
"""
|
165
|
-
return pulumi.get(self, "environment")
|
166
|
-
|
167
|
-
@environment.setter
|
168
|
-
def environment(self, value: Optional[pulumi.Input[str]]):
|
169
|
-
pulumi.set(self, "environment", value)
|
170
|
-
|
171
|
-
@property
|
172
|
-
@pulumi.getter
|
173
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
174
|
-
"""
|
175
|
-
Name of the Kubernetes ConfigMap.
|
176
|
-
"""
|
177
|
-
return pulumi.get(self, "name")
|
178
|
-
|
179
|
-
@name.setter
|
180
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
181
|
-
pulumi.set(self, "name", value)
|
182
|
-
|
183
|
-
@property
|
184
|
-
@pulumi.getter
|
185
|
-
def project(self) -> Optional[pulumi.Input[str]]:
|
186
|
-
"""
|
187
|
-
The ID of the project in which the resource belongs.
|
188
|
-
If it is not provided, the provider project is used.
|
189
|
-
"""
|
190
|
-
return pulumi.get(self, "project")
|
191
|
-
|
192
|
-
@project.setter
|
193
|
-
def project(self, value: Optional[pulumi.Input[str]]):
|
194
|
-
pulumi.set(self, "project", value)
|
195
|
-
|
196
|
-
@property
|
197
|
-
@pulumi.getter
|
198
|
-
def region(self) -> Optional[pulumi.Input[str]]:
|
199
|
-
"""
|
200
|
-
The location or Compute Engine region for the environment.
|
201
|
-
"""
|
202
|
-
return pulumi.get(self, "region")
|
203
|
-
|
204
|
-
@region.setter
|
205
|
-
def region(self, value: Optional[pulumi.Input[str]]):
|
206
|
-
pulumi.set(self, "region", value)
|
207
|
-
|
208
|
-
|
209
|
-
class UserWorkloadsConfigMap(pulumi.CustomResource):
|
210
|
-
@overload
|
211
|
-
def __init__(__self__,
|
212
|
-
resource_name: str,
|
213
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
214
|
-
data: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
215
|
-
environment: Optional[pulumi.Input[str]] = None,
|
216
|
-
name: Optional[pulumi.Input[str]] = None,
|
217
|
-
project: Optional[pulumi.Input[str]] = None,
|
218
|
-
region: Optional[pulumi.Input[str]] = None,
|
219
|
-
__props__=None):
|
220
|
-
"""
|
221
|
-
## Example Usage
|
222
|
-
|
223
|
-
### Composer User Workloads Config Map Basic
|
224
|
-
|
225
|
-
```python
|
226
|
-
import pulumi
|
227
|
-
import pulumi_gcp as gcp
|
228
|
-
|
229
|
-
environment = gcp.composer.Environment("environment",
|
230
|
-
name="test-environment",
|
231
|
-
region="us-central1",
|
232
|
-
config=gcp.composer.EnvironmentConfigArgs(
|
233
|
-
software_config=gcp.composer.EnvironmentConfigSoftwareConfigArgs(
|
234
|
-
image_version="composer-3-airflow-2",
|
235
|
-
),
|
236
|
-
))
|
237
|
-
config_map = gcp.composer.UserWorkloadsConfigMap("config_map",
|
238
|
-
name="test-config-map",
|
239
|
-
region="us-central1",
|
240
|
-
environment=environment.name,
|
241
|
-
data={
|
242
|
-
"api_host": "apihost:443",
|
243
|
-
})
|
244
|
-
```
|
245
|
-
|
246
|
-
## Import
|
247
|
-
|
248
|
-
UserWorkloadsConfigMap can be imported using any of these accepted formats:
|
249
|
-
|
250
|
-
* `projects/{{project}}/locations/{{region}}/environments/{{environment}}/userWorkloadsConfigMaps/{{name}}`
|
251
|
-
|
252
|
-
* `{{project}}/{{region}}/{{environment}}/{{name}}`
|
253
|
-
|
254
|
-
* `{{region}}/{{environment}}/{{name}}`
|
255
|
-
|
256
|
-
* `{{environment}}/{{name}}`
|
257
|
-
|
258
|
-
When using the `pulumi import` command, UserWorkloadsConfigMap can be imported using one of the formats above. For example:
|
259
|
-
|
260
|
-
```sh
|
261
|
-
$ pulumi import gcp:composer/userWorkloadsConfigMap:UserWorkloadsConfigMap default projects/{{project}}/locations/{{region}}/environments/{{environment}}/userWorkloadsConfigMaps/{{name}}
|
262
|
-
```
|
263
|
-
|
264
|
-
```sh
|
265
|
-
$ pulumi import gcp:composer/userWorkloadsConfigMap:UserWorkloadsConfigMap default {{project}}/{{region}}/{{environment}}/{{name}}
|
266
|
-
```
|
267
|
-
|
268
|
-
```sh
|
269
|
-
$ pulumi import gcp:composer/userWorkloadsConfigMap:UserWorkloadsConfigMap default {{region}}/{{environment}}/{{name}}
|
270
|
-
```
|
271
|
-
|
272
|
-
```sh
|
273
|
-
$ pulumi import gcp:composer/userWorkloadsConfigMap:UserWorkloadsConfigMap default {{environment}}/{{name}}
|
274
|
-
```
|
275
|
-
|
276
|
-
:param str resource_name: The name of the resource.
|
277
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
278
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] data: The "data" field of Kubernetes ConfigMap, organized in key-value pairs.
|
279
|
-
For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
|
280
|
-
:param pulumi.Input[str] environment: Environment where the Kubernetes ConfigMap will be stored and used.
|
281
|
-
|
282
|
-
|
283
|
-
- - -
|
284
|
-
:param pulumi.Input[str] name: Name of the Kubernetes ConfigMap.
|
285
|
-
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
286
|
-
If it is not provided, the provider project is used.
|
287
|
-
:param pulumi.Input[str] region: The location or Compute Engine region for the environment.
|
288
|
-
"""
|
289
|
-
...
|
290
|
-
@overload
|
291
|
-
def __init__(__self__,
|
292
|
-
resource_name: str,
|
293
|
-
args: UserWorkloadsConfigMapArgs,
|
294
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
295
|
-
"""
|
296
|
-
## Example Usage
|
297
|
-
|
298
|
-
### Composer User Workloads Config Map Basic
|
299
|
-
|
300
|
-
```python
|
301
|
-
import pulumi
|
302
|
-
import pulumi_gcp as gcp
|
303
|
-
|
304
|
-
environment = gcp.composer.Environment("environment",
|
305
|
-
name="test-environment",
|
306
|
-
region="us-central1",
|
307
|
-
config=gcp.composer.EnvironmentConfigArgs(
|
308
|
-
software_config=gcp.composer.EnvironmentConfigSoftwareConfigArgs(
|
309
|
-
image_version="composer-3-airflow-2",
|
310
|
-
),
|
311
|
-
))
|
312
|
-
config_map = gcp.composer.UserWorkloadsConfigMap("config_map",
|
313
|
-
name="test-config-map",
|
314
|
-
region="us-central1",
|
315
|
-
environment=environment.name,
|
316
|
-
data={
|
317
|
-
"api_host": "apihost:443",
|
318
|
-
})
|
319
|
-
```
|
320
|
-
|
321
|
-
## Import
|
322
|
-
|
323
|
-
UserWorkloadsConfigMap can be imported using any of these accepted formats:
|
324
|
-
|
325
|
-
* `projects/{{project}}/locations/{{region}}/environments/{{environment}}/userWorkloadsConfigMaps/{{name}}`
|
326
|
-
|
327
|
-
* `{{project}}/{{region}}/{{environment}}/{{name}}`
|
328
|
-
|
329
|
-
* `{{region}}/{{environment}}/{{name}}`
|
330
|
-
|
331
|
-
* `{{environment}}/{{name}}`
|
332
|
-
|
333
|
-
When using the `pulumi import` command, UserWorkloadsConfigMap can be imported using one of the formats above. For example:
|
334
|
-
|
335
|
-
```sh
|
336
|
-
$ pulumi import gcp:composer/userWorkloadsConfigMap:UserWorkloadsConfigMap default projects/{{project}}/locations/{{region}}/environments/{{environment}}/userWorkloadsConfigMaps/{{name}}
|
337
|
-
```
|
338
|
-
|
339
|
-
```sh
|
340
|
-
$ pulumi import gcp:composer/userWorkloadsConfigMap:UserWorkloadsConfigMap default {{project}}/{{region}}/{{environment}}/{{name}}
|
341
|
-
```
|
342
|
-
|
343
|
-
```sh
|
344
|
-
$ pulumi import gcp:composer/userWorkloadsConfigMap:UserWorkloadsConfigMap default {{region}}/{{environment}}/{{name}}
|
345
|
-
```
|
346
|
-
|
347
|
-
```sh
|
348
|
-
$ pulumi import gcp:composer/userWorkloadsConfigMap:UserWorkloadsConfigMap default {{environment}}/{{name}}
|
349
|
-
```
|
350
|
-
|
351
|
-
:param str resource_name: The name of the resource.
|
352
|
-
:param UserWorkloadsConfigMapArgs args: The arguments to use to populate this resource's properties.
|
353
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
354
|
-
"""
|
355
|
-
...
|
356
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
357
|
-
resource_args, opts = _utilities.get_resource_args_opts(UserWorkloadsConfigMapArgs, pulumi.ResourceOptions, *args, **kwargs)
|
358
|
-
if resource_args is not None:
|
359
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
360
|
-
else:
|
361
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
362
|
-
|
363
|
-
def _internal_init(__self__,
|
364
|
-
resource_name: str,
|
365
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
366
|
-
data: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
367
|
-
environment: Optional[pulumi.Input[str]] = None,
|
368
|
-
name: Optional[pulumi.Input[str]] = None,
|
369
|
-
project: Optional[pulumi.Input[str]] = None,
|
370
|
-
region: Optional[pulumi.Input[str]] = None,
|
371
|
-
__props__=None):
|
372
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
373
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
374
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
375
|
-
if opts.id is None:
|
376
|
-
if __props__ is not None:
|
377
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
378
|
-
__props__ = UserWorkloadsConfigMapArgs.__new__(UserWorkloadsConfigMapArgs)
|
379
|
-
|
380
|
-
__props__.__dict__["data"] = data
|
381
|
-
if environment is None and not opts.urn:
|
382
|
-
raise TypeError("Missing required property 'environment'")
|
383
|
-
__props__.__dict__["environment"] = environment
|
384
|
-
__props__.__dict__["name"] = name
|
385
|
-
__props__.__dict__["project"] = project
|
386
|
-
__props__.__dict__["region"] = region
|
387
|
-
super(UserWorkloadsConfigMap, __self__).__init__(
|
388
|
-
'gcp:composer/userWorkloadsConfigMap:UserWorkloadsConfigMap',
|
389
|
-
resource_name,
|
390
|
-
__props__,
|
391
|
-
opts)
|
392
|
-
|
393
|
-
@staticmethod
|
394
|
-
def get(resource_name: str,
|
395
|
-
id: pulumi.Input[str],
|
396
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
397
|
-
data: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
398
|
-
environment: Optional[pulumi.Input[str]] = None,
|
399
|
-
name: Optional[pulumi.Input[str]] = None,
|
400
|
-
project: Optional[pulumi.Input[str]] = None,
|
401
|
-
region: Optional[pulumi.Input[str]] = None) -> 'UserWorkloadsConfigMap':
|
402
|
-
"""
|
403
|
-
Get an existing UserWorkloadsConfigMap resource's state with the given name, id, and optional extra
|
404
|
-
properties used to qualify the lookup.
|
405
|
-
|
406
|
-
:param str resource_name: The unique name of the resulting resource.
|
407
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
408
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
409
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] data: The "data" field of Kubernetes ConfigMap, organized in key-value pairs.
|
410
|
-
For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
|
411
|
-
:param pulumi.Input[str] environment: Environment where the Kubernetes ConfigMap will be stored and used.
|
412
|
-
|
413
|
-
|
414
|
-
- - -
|
415
|
-
:param pulumi.Input[str] name: Name of the Kubernetes ConfigMap.
|
416
|
-
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
417
|
-
If it is not provided, the provider project is used.
|
418
|
-
:param pulumi.Input[str] region: The location or Compute Engine region for the environment.
|
419
|
-
"""
|
420
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
421
|
-
|
422
|
-
__props__ = _UserWorkloadsConfigMapState.__new__(_UserWorkloadsConfigMapState)
|
423
|
-
|
424
|
-
__props__.__dict__["data"] = data
|
425
|
-
__props__.__dict__["environment"] = environment
|
426
|
-
__props__.__dict__["name"] = name
|
427
|
-
__props__.__dict__["project"] = project
|
428
|
-
__props__.__dict__["region"] = region
|
429
|
-
return UserWorkloadsConfigMap(resource_name, opts=opts, __props__=__props__)
|
430
|
-
|
431
|
-
@property
|
432
|
-
@pulumi.getter
|
433
|
-
def data(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
434
|
-
"""
|
435
|
-
The "data" field of Kubernetes ConfigMap, organized in key-value pairs.
|
436
|
-
For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
|
437
|
-
"""
|
438
|
-
return pulumi.get(self, "data")
|
439
|
-
|
440
|
-
@property
|
441
|
-
@pulumi.getter
|
442
|
-
def environment(self) -> pulumi.Output[str]:
|
443
|
-
"""
|
444
|
-
Environment where the Kubernetes ConfigMap will be stored and used.
|
445
|
-
|
446
|
-
|
447
|
-
- - -
|
448
|
-
"""
|
449
|
-
return pulumi.get(self, "environment")
|
450
|
-
|
451
|
-
@property
|
452
|
-
@pulumi.getter
|
453
|
-
def name(self) -> pulumi.Output[str]:
|
454
|
-
"""
|
455
|
-
Name of the Kubernetes ConfigMap.
|
456
|
-
"""
|
457
|
-
return pulumi.get(self, "name")
|
458
|
-
|
459
|
-
@property
|
460
|
-
@pulumi.getter
|
461
|
-
def project(self) -> pulumi.Output[str]:
|
462
|
-
"""
|
463
|
-
The ID of the project in which the resource belongs.
|
464
|
-
If it is not provided, the provider project is used.
|
465
|
-
"""
|
466
|
-
return pulumi.get(self, "project")
|
467
|
-
|
468
|
-
@property
|
469
|
-
@pulumi.getter
|
470
|
-
def region(self) -> pulumi.Output[str]:
|
471
|
-
"""
|
472
|
-
The location or Compute Engine region for the environment.
|
473
|
-
"""
|
474
|
-
return pulumi.get(self, "region")
|
475
|
-
|
@@ -1,11 +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
|
-
from .. import _utilities
|
6
|
-
import typing
|
7
|
-
# Export this package's modules as members:
|
8
|
-
from .cluster import *
|
9
|
-
from .topic import *
|
10
|
-
from ._inputs import *
|
11
|
-
from . import outputs
|
@@ -1,169 +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 pulumi
|
8
|
-
import pulumi.runtime
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
-
from .. import _utilities
|
11
|
-
|
12
|
-
__all__ = [
|
13
|
-
'ClusterCapacityConfigArgs',
|
14
|
-
'ClusterGcpConfigArgs',
|
15
|
-
'ClusterGcpConfigAccessConfigArgs',
|
16
|
-
'ClusterGcpConfigAccessConfigNetworkConfigArgs',
|
17
|
-
'ClusterRebalanceConfigArgs',
|
18
|
-
]
|
19
|
-
|
20
|
-
@pulumi.input_type
|
21
|
-
class ClusterCapacityConfigArgs:
|
22
|
-
def __init__(__self__, *,
|
23
|
-
memory_bytes: pulumi.Input[str],
|
24
|
-
vcpu_count: pulumi.Input[str]):
|
25
|
-
"""
|
26
|
-
:param pulumi.Input[str] memory_bytes: The memory to provision for the cluster in bytes. The value must be between 1 GiB and 8 GiB per vCPU. Ex. 1024Mi, 4Gi.
|
27
|
-
|
28
|
-
- - -
|
29
|
-
:param pulumi.Input[str] vcpu_count: The number of vCPUs to provision for the cluster. The minimum is 3.
|
30
|
-
"""
|
31
|
-
pulumi.set(__self__, "memory_bytes", memory_bytes)
|
32
|
-
pulumi.set(__self__, "vcpu_count", vcpu_count)
|
33
|
-
|
34
|
-
@property
|
35
|
-
@pulumi.getter(name="memoryBytes")
|
36
|
-
def memory_bytes(self) -> pulumi.Input[str]:
|
37
|
-
"""
|
38
|
-
The memory to provision for the cluster in bytes. The value must be between 1 GiB and 8 GiB per vCPU. Ex. 1024Mi, 4Gi.
|
39
|
-
|
40
|
-
- - -
|
41
|
-
"""
|
42
|
-
return pulumi.get(self, "memory_bytes")
|
43
|
-
|
44
|
-
@memory_bytes.setter
|
45
|
-
def memory_bytes(self, value: pulumi.Input[str]):
|
46
|
-
pulumi.set(self, "memory_bytes", value)
|
47
|
-
|
48
|
-
@property
|
49
|
-
@pulumi.getter(name="vcpuCount")
|
50
|
-
def vcpu_count(self) -> pulumi.Input[str]:
|
51
|
-
"""
|
52
|
-
The number of vCPUs to provision for the cluster. The minimum is 3.
|
53
|
-
"""
|
54
|
-
return pulumi.get(self, "vcpu_count")
|
55
|
-
|
56
|
-
@vcpu_count.setter
|
57
|
-
def vcpu_count(self, value: pulumi.Input[str]):
|
58
|
-
pulumi.set(self, "vcpu_count", value)
|
59
|
-
|
60
|
-
|
61
|
-
@pulumi.input_type
|
62
|
-
class ClusterGcpConfigArgs:
|
63
|
-
def __init__(__self__, *,
|
64
|
-
access_config: pulumi.Input['ClusterGcpConfigAccessConfigArgs'],
|
65
|
-
kms_key: Optional[pulumi.Input[str]] = None):
|
66
|
-
"""
|
67
|
-
:param pulumi.Input['ClusterGcpConfigAccessConfigArgs'] access_config: The configuration of access to the Kafka cluster.
|
68
|
-
Structure is documented below.
|
69
|
-
:param pulumi.Input[str] kms_key: The Cloud KMS Key name to use for encryption. The key must be located in the same region as the cluster and cannot be changed. Must be in the format `projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY`.
|
70
|
-
"""
|
71
|
-
pulumi.set(__self__, "access_config", access_config)
|
72
|
-
if kms_key is not None:
|
73
|
-
pulumi.set(__self__, "kms_key", kms_key)
|
74
|
-
|
75
|
-
@property
|
76
|
-
@pulumi.getter(name="accessConfig")
|
77
|
-
def access_config(self) -> pulumi.Input['ClusterGcpConfigAccessConfigArgs']:
|
78
|
-
"""
|
79
|
-
The configuration of access to the Kafka cluster.
|
80
|
-
Structure is documented below.
|
81
|
-
"""
|
82
|
-
return pulumi.get(self, "access_config")
|
83
|
-
|
84
|
-
@access_config.setter
|
85
|
-
def access_config(self, value: pulumi.Input['ClusterGcpConfigAccessConfigArgs']):
|
86
|
-
pulumi.set(self, "access_config", value)
|
87
|
-
|
88
|
-
@property
|
89
|
-
@pulumi.getter(name="kmsKey")
|
90
|
-
def kms_key(self) -> Optional[pulumi.Input[str]]:
|
91
|
-
"""
|
92
|
-
The Cloud KMS Key name to use for encryption. The key must be located in the same region as the cluster and cannot be changed. Must be in the format `projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY`.
|
93
|
-
"""
|
94
|
-
return pulumi.get(self, "kms_key")
|
95
|
-
|
96
|
-
@kms_key.setter
|
97
|
-
def kms_key(self, value: Optional[pulumi.Input[str]]):
|
98
|
-
pulumi.set(self, "kms_key", value)
|
99
|
-
|
100
|
-
|
101
|
-
@pulumi.input_type
|
102
|
-
class ClusterGcpConfigAccessConfigArgs:
|
103
|
-
def __init__(__self__, *,
|
104
|
-
network_configs: pulumi.Input[Sequence[pulumi.Input['ClusterGcpConfigAccessConfigNetworkConfigArgs']]]):
|
105
|
-
"""
|
106
|
-
:param pulumi.Input[Sequence[pulumi.Input['ClusterGcpConfigAccessConfigNetworkConfigArgs']]] network_configs: Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka cluster. Minimum of 1 network is required. Maximum of 10 networks can be specified.
|
107
|
-
Structure is documented below.
|
108
|
-
"""
|
109
|
-
pulumi.set(__self__, "network_configs", network_configs)
|
110
|
-
|
111
|
-
@property
|
112
|
-
@pulumi.getter(name="networkConfigs")
|
113
|
-
def network_configs(self) -> pulumi.Input[Sequence[pulumi.Input['ClusterGcpConfigAccessConfigNetworkConfigArgs']]]:
|
114
|
-
"""
|
115
|
-
Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka cluster. Minimum of 1 network is required. Maximum of 10 networks can be specified.
|
116
|
-
Structure is documented below.
|
117
|
-
"""
|
118
|
-
return pulumi.get(self, "network_configs")
|
119
|
-
|
120
|
-
@network_configs.setter
|
121
|
-
def network_configs(self, value: pulumi.Input[Sequence[pulumi.Input['ClusterGcpConfigAccessConfigNetworkConfigArgs']]]):
|
122
|
-
pulumi.set(self, "network_configs", value)
|
123
|
-
|
124
|
-
|
125
|
-
@pulumi.input_type
|
126
|
-
class ClusterGcpConfigAccessConfigNetworkConfigArgs:
|
127
|
-
def __init__(__self__, *,
|
128
|
-
subnet: pulumi.Input[str]):
|
129
|
-
"""
|
130
|
-
:param pulumi.Input[str] subnet: Name of the VPC subnet from which the cluster is accessible. Both broker and bootstrap server IP addresses and DNS entries are automatically created in the subnet. The subnet must be located in the same region as the cluster. The project may differ. A minimum of 1 subnet is required. A maximum of 10 subnets can be specified. The name of the subnet must be in the format `projects/PROJECT_ID/regions/REGION/subnetworks/SUBNET`.
|
131
|
-
"""
|
132
|
-
pulumi.set(__self__, "subnet", subnet)
|
133
|
-
|
134
|
-
@property
|
135
|
-
@pulumi.getter
|
136
|
-
def subnet(self) -> pulumi.Input[str]:
|
137
|
-
"""
|
138
|
-
Name of the VPC subnet from which the cluster is accessible. Both broker and bootstrap server IP addresses and DNS entries are automatically created in the subnet. The subnet must be located in the same region as the cluster. The project may differ. A minimum of 1 subnet is required. A maximum of 10 subnets can be specified. The name of the subnet must be in the format `projects/PROJECT_ID/regions/REGION/subnetworks/SUBNET`.
|
139
|
-
"""
|
140
|
-
return pulumi.get(self, "subnet")
|
141
|
-
|
142
|
-
@subnet.setter
|
143
|
-
def subnet(self, value: pulumi.Input[str]):
|
144
|
-
pulumi.set(self, "subnet", value)
|
145
|
-
|
146
|
-
|
147
|
-
@pulumi.input_type
|
148
|
-
class ClusterRebalanceConfigArgs:
|
149
|
-
def __init__(__self__, *,
|
150
|
-
mode: Optional[pulumi.Input[str]] = None):
|
151
|
-
"""
|
152
|
-
:param pulumi.Input[str] mode: The rebalance behavior for the cluster. When not specified, defaults to `NO_REBALANCE`. Possible values: `MODE_UNSPECIFIED`, `NO_REBALANCE`, `AUTO_REBALANCE_ON_SCALE_UP`.
|
153
|
-
"""
|
154
|
-
if mode is not None:
|
155
|
-
pulumi.set(__self__, "mode", mode)
|
156
|
-
|
157
|
-
@property
|
158
|
-
@pulumi.getter
|
159
|
-
def mode(self) -> Optional[pulumi.Input[str]]:
|
160
|
-
"""
|
161
|
-
The rebalance behavior for the cluster. When not specified, defaults to `NO_REBALANCE`. Possible values: `MODE_UNSPECIFIED`, `NO_REBALANCE`, `AUTO_REBALANCE_ON_SCALE_UP`.
|
162
|
-
"""
|
163
|
-
return pulumi.get(self, "mode")
|
164
|
-
|
165
|
-
@mode.setter
|
166
|
-
def mode(self, value: Optional[pulumi.Input[str]]):
|
167
|
-
pulumi.set(self, "mode", value)
|
168
|
-
|
169
|
-
|