pulumi-gcp 7.27.0a1718279079__py3-none-any.whl → 7.28.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.
Files changed (59) hide show
  1. pulumi_gcp/__init__.py +59 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +58 -74
  3. pulumi_gcp/accesscontextmanager/access_levels.py +0 -20
  4. pulumi_gcp/accesscontextmanager/outputs.py +58 -74
  5. pulumi_gcp/accesscontextmanager/service_perimeter.py +2 -0
  6. pulumi_gcp/bigtable/_inputs.py +40 -0
  7. pulumi_gcp/bigtable/outputs.py +49 -0
  8. pulumi_gcp/bigtable/table.py +54 -0
  9. pulumi_gcp/cloudbuildv2/_inputs.py +383 -0
  10. pulumi_gcp/cloudbuildv2/connection.py +110 -2
  11. pulumi_gcp/cloudbuildv2/outputs.py +421 -0
  12. pulumi_gcp/composer/__init__.py +3 -0
  13. pulumi_gcp/composer/get_user_workloads_config_map.py +190 -0
  14. pulumi_gcp/composer/get_user_workloads_secret.py +188 -0
  15. pulumi_gcp/composer/user_workloads_config_map.py +475 -0
  16. pulumi_gcp/compute/_inputs.py +4 -2
  17. pulumi_gcp/compute/backend_service.py +28 -48
  18. pulumi_gcp/compute/interconnect.py +4 -4
  19. pulumi_gcp/compute/outputs.py +10 -4
  20. pulumi_gcp/compute/region_backend_service.py +35 -48
  21. pulumi_gcp/compute/region_network_endpoint.py +187 -0
  22. pulumi_gcp/compute/region_network_endpoint_group.py +49 -9
  23. pulumi_gcp/compute/region_target_https_proxy.py +7 -14
  24. pulumi_gcp/compute/target_https_proxy.py +28 -14
  25. pulumi_gcp/config/__init__.pyi +2 -0
  26. pulumi_gcp/config/vars.py +4 -0
  27. pulumi_gcp/container/_inputs.py +2 -2
  28. pulumi_gcp/container/outputs.py +4 -4
  29. pulumi_gcp/discoveryengine/_inputs.py +227 -0
  30. pulumi_gcp/discoveryengine/data_store.py +108 -0
  31. pulumi_gcp/discoveryengine/outputs.py +280 -0
  32. pulumi_gcp/edgecontainer/_inputs.py +107 -1
  33. pulumi_gcp/edgecontainer/outputs.py +123 -1
  34. pulumi_gcp/gkehub/_inputs.py +16 -0
  35. pulumi_gcp/gkehub/outputs.py +15 -1
  36. pulumi_gcp/kms/crypto_key.py +2 -6
  37. pulumi_gcp/logging/folder_sink.py +14 -14
  38. pulumi_gcp/logging/organization_sink.py +14 -14
  39. pulumi_gcp/managedkafka/__init__.py +11 -0
  40. pulumi_gcp/managedkafka/_inputs.py +169 -0
  41. pulumi_gcp/managedkafka/cluster.py +807 -0
  42. pulumi_gcp/managedkafka/outputs.py +197 -0
  43. pulumi_gcp/managedkafka/topic.py +599 -0
  44. pulumi_gcp/netapp/__init__.py +1 -0
  45. pulumi_gcp/netapp/active_directory.py +55 -0
  46. pulumi_gcp/netapp/backup.py +903 -0
  47. pulumi_gcp/provider.py +20 -0
  48. pulumi_gcp/pulumi-plugin.json +1 -1
  49. pulumi_gcp/securitycenter/__init__.py +3 -0
  50. pulumi_gcp/securitycenter/_inputs.py +1105 -0
  51. pulumi_gcp/securitycenter/management_folder_security_health_analytics_custom_module.py +725 -0
  52. pulumi_gcp/securitycenter/management_organization_security_health_analytics_custom_module.py +713 -0
  53. pulumi_gcp/securitycenter/management_project_security_health_analytics_custom_module.py +706 -0
  54. pulumi_gcp/securitycenter/outputs.py +1048 -0
  55. pulumi_gcp/vertex/ai_feature_online_store.py +37 -8
  56. {pulumi_gcp-7.27.0a1718279079.dist-info → pulumi_gcp-7.28.0.dist-info}/METADATA +1 -1
  57. {pulumi_gcp-7.27.0a1718279079.dist-info → pulumi_gcp-7.28.0.dist-info}/RECORD +59 -47
  58. {pulumi_gcp-7.27.0a1718279079.dist-info → pulumi_gcp-7.28.0.dist-info}/WHEEL +1 -1
  59. {pulumi_gcp-7.27.0a1718279079.dist-info → pulumi_gcp-7.28.0.dist-info}/top_level.txt +0 -0
@@ -11,6 +11,13 @@ from .. import _utilities
11
11
  from . import outputs
12
12
 
13
13
  __all__ = [
14
+ 'ConnectionBitbucketCloudConfig',
15
+ 'ConnectionBitbucketCloudConfigAuthorizerCredential',
16
+ 'ConnectionBitbucketCloudConfigReadAuthorizerCredential',
17
+ 'ConnectionBitbucketDataCenterConfig',
18
+ 'ConnectionBitbucketDataCenterConfigAuthorizerCredential',
19
+ 'ConnectionBitbucketDataCenterConfigReadAuthorizerCredential',
20
+ 'ConnectionBitbucketDataCenterConfigServiceDirectoryConfig',
14
21
  'ConnectionGithubConfig',
15
22
  'ConnectionGithubConfigAuthorizerCredential',
16
23
  'ConnectionGithubEnterpriseConfig',
@@ -24,6 +31,420 @@ __all__ = [
24
31
  'ConnectionInstallationState',
25
32
  ]
26
33
 
34
+ @pulumi.output_type
35
+ class ConnectionBitbucketCloudConfig(dict):
36
+ @staticmethod
37
+ def __key_warning(key: str):
38
+ suggest = None
39
+ if key == "authorizerCredential":
40
+ suggest = "authorizer_credential"
41
+ elif key == "readAuthorizerCredential":
42
+ suggest = "read_authorizer_credential"
43
+ elif key == "webhookSecretSecretVersion":
44
+ suggest = "webhook_secret_secret_version"
45
+
46
+ if suggest:
47
+ pulumi.log.warn(f"Key '{key}' not found in ConnectionBitbucketCloudConfig. Access the value via the '{suggest}' property getter instead.")
48
+
49
+ def __getitem__(self, key: str) -> Any:
50
+ ConnectionBitbucketCloudConfig.__key_warning(key)
51
+ return super().__getitem__(key)
52
+
53
+ def get(self, key: str, default = None) -> Any:
54
+ ConnectionBitbucketCloudConfig.__key_warning(key)
55
+ return super().get(key, default)
56
+
57
+ def __init__(__self__, *,
58
+ authorizer_credential: 'outputs.ConnectionBitbucketCloudConfigAuthorizerCredential',
59
+ read_authorizer_credential: 'outputs.ConnectionBitbucketCloudConfigReadAuthorizerCredential',
60
+ webhook_secret_secret_version: str,
61
+ workspace: str):
62
+ """
63
+ :param 'ConnectionBitbucketCloudConfigAuthorizerCredentialArgs' authorizer_credential: Required. An access token with the `webhook`, `repository`, `repository:admin` and `pullrequest` scope access. It can be either a workspace, project or repository access token. It's recommended to use a system account to generate these credentials.
64
+ Structure is documented below.
65
+ :param 'ConnectionBitbucketCloudConfigReadAuthorizerCredentialArgs' read_authorizer_credential: Required. An access token with the `repository` access. It can be either a workspace, project or repository access token. It's recommended to use a system account to generate the credentials.
66
+ Structure is documented below.
67
+ :param str webhook_secret_secret_version: Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*`.
68
+ :param str workspace: The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.
69
+ """
70
+ pulumi.set(__self__, "authorizer_credential", authorizer_credential)
71
+ pulumi.set(__self__, "read_authorizer_credential", read_authorizer_credential)
72
+ pulumi.set(__self__, "webhook_secret_secret_version", webhook_secret_secret_version)
73
+ pulumi.set(__self__, "workspace", workspace)
74
+
75
+ @property
76
+ @pulumi.getter(name="authorizerCredential")
77
+ def authorizer_credential(self) -> 'outputs.ConnectionBitbucketCloudConfigAuthorizerCredential':
78
+ """
79
+ Required. An access token with the `webhook`, `repository`, `repository:admin` and `pullrequest` scope access. It can be either a workspace, project or repository access token. It's recommended to use a system account to generate these credentials.
80
+ Structure is documented below.
81
+ """
82
+ return pulumi.get(self, "authorizer_credential")
83
+
84
+ @property
85
+ @pulumi.getter(name="readAuthorizerCredential")
86
+ def read_authorizer_credential(self) -> 'outputs.ConnectionBitbucketCloudConfigReadAuthorizerCredential':
87
+ """
88
+ Required. An access token with the `repository` access. It can be either a workspace, project or repository access token. It's recommended to use a system account to generate the credentials.
89
+ Structure is documented below.
90
+ """
91
+ return pulumi.get(self, "read_authorizer_credential")
92
+
93
+ @property
94
+ @pulumi.getter(name="webhookSecretSecretVersion")
95
+ def webhook_secret_secret_version(self) -> str:
96
+ """
97
+ Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*`.
98
+ """
99
+ return pulumi.get(self, "webhook_secret_secret_version")
100
+
101
+ @property
102
+ @pulumi.getter
103
+ def workspace(self) -> str:
104
+ """
105
+ The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.
106
+ """
107
+ return pulumi.get(self, "workspace")
108
+
109
+
110
+ @pulumi.output_type
111
+ class ConnectionBitbucketCloudConfigAuthorizerCredential(dict):
112
+ @staticmethod
113
+ def __key_warning(key: str):
114
+ suggest = None
115
+ if key == "userTokenSecretVersion":
116
+ suggest = "user_token_secret_version"
117
+
118
+ if suggest:
119
+ pulumi.log.warn(f"Key '{key}' not found in ConnectionBitbucketCloudConfigAuthorizerCredential. Access the value via the '{suggest}' property getter instead.")
120
+
121
+ def __getitem__(self, key: str) -> Any:
122
+ ConnectionBitbucketCloudConfigAuthorizerCredential.__key_warning(key)
123
+ return super().__getitem__(key)
124
+
125
+ def get(self, key: str, default = None) -> Any:
126
+ ConnectionBitbucketCloudConfigAuthorizerCredential.__key_warning(key)
127
+ return super().get(key, default)
128
+
129
+ def __init__(__self__, *,
130
+ user_token_secret_version: str,
131
+ username: Optional[str] = None):
132
+ """
133
+ :param str user_token_secret_version: Required. A SecretManager resource containing the user token that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.
134
+ :param str username: (Output)
135
+ Output only. The username associated to this token.
136
+ """
137
+ pulumi.set(__self__, "user_token_secret_version", user_token_secret_version)
138
+ if username is not None:
139
+ pulumi.set(__self__, "username", username)
140
+
141
+ @property
142
+ @pulumi.getter(name="userTokenSecretVersion")
143
+ def user_token_secret_version(self) -> str:
144
+ """
145
+ Required. A SecretManager resource containing the user token that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.
146
+ """
147
+ return pulumi.get(self, "user_token_secret_version")
148
+
149
+ @property
150
+ @pulumi.getter
151
+ def username(self) -> Optional[str]:
152
+ """
153
+ (Output)
154
+ Output only. The username associated to this token.
155
+ """
156
+ return pulumi.get(self, "username")
157
+
158
+
159
+ @pulumi.output_type
160
+ class ConnectionBitbucketCloudConfigReadAuthorizerCredential(dict):
161
+ @staticmethod
162
+ def __key_warning(key: str):
163
+ suggest = None
164
+ if key == "userTokenSecretVersion":
165
+ suggest = "user_token_secret_version"
166
+
167
+ if suggest:
168
+ pulumi.log.warn(f"Key '{key}' not found in ConnectionBitbucketCloudConfigReadAuthorizerCredential. Access the value via the '{suggest}' property getter instead.")
169
+
170
+ def __getitem__(self, key: str) -> Any:
171
+ ConnectionBitbucketCloudConfigReadAuthorizerCredential.__key_warning(key)
172
+ return super().__getitem__(key)
173
+
174
+ def get(self, key: str, default = None) -> Any:
175
+ ConnectionBitbucketCloudConfigReadAuthorizerCredential.__key_warning(key)
176
+ return super().get(key, default)
177
+
178
+ def __init__(__self__, *,
179
+ user_token_secret_version: str,
180
+ username: Optional[str] = None):
181
+ """
182
+ :param str user_token_secret_version: Required. A SecretManager resource containing the user token that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.
183
+ :param str username: (Output)
184
+ Output only. The username associated to this token.
185
+ """
186
+ pulumi.set(__self__, "user_token_secret_version", user_token_secret_version)
187
+ if username is not None:
188
+ pulumi.set(__self__, "username", username)
189
+
190
+ @property
191
+ @pulumi.getter(name="userTokenSecretVersion")
192
+ def user_token_secret_version(self) -> str:
193
+ """
194
+ Required. A SecretManager resource containing the user token that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.
195
+ """
196
+ return pulumi.get(self, "user_token_secret_version")
197
+
198
+ @property
199
+ @pulumi.getter
200
+ def username(self) -> Optional[str]:
201
+ """
202
+ (Output)
203
+ Output only. The username associated to this token.
204
+ """
205
+ return pulumi.get(self, "username")
206
+
207
+
208
+ @pulumi.output_type
209
+ class ConnectionBitbucketDataCenterConfig(dict):
210
+ @staticmethod
211
+ def __key_warning(key: str):
212
+ suggest = None
213
+ if key == "authorizerCredential":
214
+ suggest = "authorizer_credential"
215
+ elif key == "hostUri":
216
+ suggest = "host_uri"
217
+ elif key == "readAuthorizerCredential":
218
+ suggest = "read_authorizer_credential"
219
+ elif key == "webhookSecretSecretVersion":
220
+ suggest = "webhook_secret_secret_version"
221
+ elif key == "serverVersion":
222
+ suggest = "server_version"
223
+ elif key == "serviceDirectoryConfig":
224
+ suggest = "service_directory_config"
225
+ elif key == "sslCa":
226
+ suggest = "ssl_ca"
227
+
228
+ if suggest:
229
+ pulumi.log.warn(f"Key '{key}' not found in ConnectionBitbucketDataCenterConfig. Access the value via the '{suggest}' property getter instead.")
230
+
231
+ def __getitem__(self, key: str) -> Any:
232
+ ConnectionBitbucketDataCenterConfig.__key_warning(key)
233
+ return super().__getitem__(key)
234
+
235
+ def get(self, key: str, default = None) -> Any:
236
+ ConnectionBitbucketDataCenterConfig.__key_warning(key)
237
+ return super().get(key, default)
238
+
239
+ def __init__(__self__, *,
240
+ authorizer_credential: 'outputs.ConnectionBitbucketDataCenterConfigAuthorizerCredential',
241
+ host_uri: str,
242
+ read_authorizer_credential: 'outputs.ConnectionBitbucketDataCenterConfigReadAuthorizerCredential',
243
+ webhook_secret_secret_version: str,
244
+ server_version: Optional[str] = None,
245
+ service_directory_config: Optional['outputs.ConnectionBitbucketDataCenterConfigServiceDirectoryConfig'] = None,
246
+ ssl_ca: Optional[str] = None):
247
+ """
248
+ :param 'ConnectionBitbucketDataCenterConfigAuthorizerCredentialArgs' authorizer_credential: Required. A http access token with the `REPO_ADMIN` scope access.
249
+ Structure is documented below.
250
+ :param str host_uri: The URI of the Bitbucket Data Center host this connection is for.
251
+ :param 'ConnectionBitbucketDataCenterConfigReadAuthorizerCredentialArgs' read_authorizer_credential: Required. A http access token with the `REPO_READ` access.
252
+ Structure is documented below.
253
+ :param str webhook_secret_secret_version: Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*`.
254
+ :param str server_version: (Output)
255
+ Output only. Version of the Bitbucket Data Center running on the `host_uri`.
256
+ :param 'ConnectionBitbucketDataCenterConfigServiceDirectoryConfigArgs' service_directory_config: Configuration for using Service Directory to privately connect to a Bitbucket Data Center. This should only be set if the Bitbucket Data Center is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the Bitbucket Data Center will be made over the public internet.
257
+ Structure is documented below.
258
+ :param str ssl_ca: SSL certificate to use for requests to the Bitbucket Data Center.
259
+ """
260
+ pulumi.set(__self__, "authorizer_credential", authorizer_credential)
261
+ pulumi.set(__self__, "host_uri", host_uri)
262
+ pulumi.set(__self__, "read_authorizer_credential", read_authorizer_credential)
263
+ pulumi.set(__self__, "webhook_secret_secret_version", webhook_secret_secret_version)
264
+ if server_version is not None:
265
+ pulumi.set(__self__, "server_version", server_version)
266
+ if service_directory_config is not None:
267
+ pulumi.set(__self__, "service_directory_config", service_directory_config)
268
+ if ssl_ca is not None:
269
+ pulumi.set(__self__, "ssl_ca", ssl_ca)
270
+
271
+ @property
272
+ @pulumi.getter(name="authorizerCredential")
273
+ def authorizer_credential(self) -> 'outputs.ConnectionBitbucketDataCenterConfigAuthorizerCredential':
274
+ """
275
+ Required. A http access token with the `REPO_ADMIN` scope access.
276
+ Structure is documented below.
277
+ """
278
+ return pulumi.get(self, "authorizer_credential")
279
+
280
+ @property
281
+ @pulumi.getter(name="hostUri")
282
+ def host_uri(self) -> str:
283
+ """
284
+ The URI of the Bitbucket Data Center host this connection is for.
285
+ """
286
+ return pulumi.get(self, "host_uri")
287
+
288
+ @property
289
+ @pulumi.getter(name="readAuthorizerCredential")
290
+ def read_authorizer_credential(self) -> 'outputs.ConnectionBitbucketDataCenterConfigReadAuthorizerCredential':
291
+ """
292
+ Required. A http access token with the `REPO_READ` access.
293
+ Structure is documented below.
294
+ """
295
+ return pulumi.get(self, "read_authorizer_credential")
296
+
297
+ @property
298
+ @pulumi.getter(name="webhookSecretSecretVersion")
299
+ def webhook_secret_secret_version(self) -> str:
300
+ """
301
+ Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*`.
302
+ """
303
+ return pulumi.get(self, "webhook_secret_secret_version")
304
+
305
+ @property
306
+ @pulumi.getter(name="serverVersion")
307
+ def server_version(self) -> Optional[str]:
308
+ """
309
+ (Output)
310
+ Output only. Version of the Bitbucket Data Center running on the `host_uri`.
311
+ """
312
+ return pulumi.get(self, "server_version")
313
+
314
+ @property
315
+ @pulumi.getter(name="serviceDirectoryConfig")
316
+ def service_directory_config(self) -> Optional['outputs.ConnectionBitbucketDataCenterConfigServiceDirectoryConfig']:
317
+ """
318
+ Configuration for using Service Directory to privately connect to a Bitbucket Data Center. This should only be set if the Bitbucket Data Center is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the Bitbucket Data Center will be made over the public internet.
319
+ Structure is documented below.
320
+ """
321
+ return pulumi.get(self, "service_directory_config")
322
+
323
+ @property
324
+ @pulumi.getter(name="sslCa")
325
+ def ssl_ca(self) -> Optional[str]:
326
+ """
327
+ SSL certificate to use for requests to the Bitbucket Data Center.
328
+ """
329
+ return pulumi.get(self, "ssl_ca")
330
+
331
+
332
+ @pulumi.output_type
333
+ class ConnectionBitbucketDataCenterConfigAuthorizerCredential(dict):
334
+ @staticmethod
335
+ def __key_warning(key: str):
336
+ suggest = None
337
+ if key == "userTokenSecretVersion":
338
+ suggest = "user_token_secret_version"
339
+
340
+ if suggest:
341
+ pulumi.log.warn(f"Key '{key}' not found in ConnectionBitbucketDataCenterConfigAuthorizerCredential. Access the value via the '{suggest}' property getter instead.")
342
+
343
+ def __getitem__(self, key: str) -> Any:
344
+ ConnectionBitbucketDataCenterConfigAuthorizerCredential.__key_warning(key)
345
+ return super().__getitem__(key)
346
+
347
+ def get(self, key: str, default = None) -> Any:
348
+ ConnectionBitbucketDataCenterConfigAuthorizerCredential.__key_warning(key)
349
+ return super().get(key, default)
350
+
351
+ def __init__(__self__, *,
352
+ user_token_secret_version: str,
353
+ username: Optional[str] = None):
354
+ """
355
+ :param str user_token_secret_version: Required. A SecretManager resource containing the user token that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.
356
+ :param str username: (Output)
357
+ Output only. The username associated to this token.
358
+ """
359
+ pulumi.set(__self__, "user_token_secret_version", user_token_secret_version)
360
+ if username is not None:
361
+ pulumi.set(__self__, "username", username)
362
+
363
+ @property
364
+ @pulumi.getter(name="userTokenSecretVersion")
365
+ def user_token_secret_version(self) -> str:
366
+ """
367
+ Required. A SecretManager resource containing the user token that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.
368
+ """
369
+ return pulumi.get(self, "user_token_secret_version")
370
+
371
+ @property
372
+ @pulumi.getter
373
+ def username(self) -> Optional[str]:
374
+ """
375
+ (Output)
376
+ Output only. The username associated to this token.
377
+ """
378
+ return pulumi.get(self, "username")
379
+
380
+
381
+ @pulumi.output_type
382
+ class ConnectionBitbucketDataCenterConfigReadAuthorizerCredential(dict):
383
+ @staticmethod
384
+ def __key_warning(key: str):
385
+ suggest = None
386
+ if key == "userTokenSecretVersion":
387
+ suggest = "user_token_secret_version"
388
+
389
+ if suggest:
390
+ pulumi.log.warn(f"Key '{key}' not found in ConnectionBitbucketDataCenterConfigReadAuthorizerCredential. Access the value via the '{suggest}' property getter instead.")
391
+
392
+ def __getitem__(self, key: str) -> Any:
393
+ ConnectionBitbucketDataCenterConfigReadAuthorizerCredential.__key_warning(key)
394
+ return super().__getitem__(key)
395
+
396
+ def get(self, key: str, default = None) -> Any:
397
+ ConnectionBitbucketDataCenterConfigReadAuthorizerCredential.__key_warning(key)
398
+ return super().get(key, default)
399
+
400
+ def __init__(__self__, *,
401
+ user_token_secret_version: str,
402
+ username: Optional[str] = None):
403
+ """
404
+ :param str user_token_secret_version: Required. A SecretManager resource containing the user token that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.
405
+ :param str username: (Output)
406
+ Output only. The username associated to this token.
407
+ """
408
+ pulumi.set(__self__, "user_token_secret_version", user_token_secret_version)
409
+ if username is not None:
410
+ pulumi.set(__self__, "username", username)
411
+
412
+ @property
413
+ @pulumi.getter(name="userTokenSecretVersion")
414
+ def user_token_secret_version(self) -> str:
415
+ """
416
+ Required. A SecretManager resource containing the user token that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.
417
+ """
418
+ return pulumi.get(self, "user_token_secret_version")
419
+
420
+ @property
421
+ @pulumi.getter
422
+ def username(self) -> Optional[str]:
423
+ """
424
+ (Output)
425
+ Output only. The username associated to this token.
426
+ """
427
+ return pulumi.get(self, "username")
428
+
429
+
430
+ @pulumi.output_type
431
+ class ConnectionBitbucketDataCenterConfigServiceDirectoryConfig(dict):
432
+ def __init__(__self__, *,
433
+ service: str):
434
+ """
435
+ :param str service: Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
436
+ """
437
+ pulumi.set(__self__, "service", service)
438
+
439
+ @property
440
+ @pulumi.getter
441
+ def service(self) -> str:
442
+ """
443
+ Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
444
+ """
445
+ return pulumi.get(self, "service")
446
+
447
+
27
448
  @pulumi.output_type
28
449
  class ConnectionGithubConfig(dict):
29
450
  @staticmethod
@@ -8,6 +8,9 @@ import typing
8
8
  from .environment import *
9
9
  from .get_environment import *
10
10
  from .get_image_versions import *
11
+ from .get_user_workloads_config_map import *
12
+ from .get_user_workloads_secret import *
13
+ from .user_workloads_config_map import *
11
14
  from .user_workloads_secret import *
12
15
  from ._inputs import *
13
16
  from . import outputs
@@ -0,0 +1,190 @@
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
+ 'GetUserWorkloadsConfigMapResult',
14
+ 'AwaitableGetUserWorkloadsConfigMapResult',
15
+ 'get_user_workloads_config_map',
16
+ 'get_user_workloads_config_map_output',
17
+ ]
18
+
19
+ @pulumi.output_type
20
+ class GetUserWorkloadsConfigMapResult:
21
+ """
22
+ A collection of values returned by getUserWorkloadsConfigMap.
23
+ """
24
+ def __init__(__self__, data=None, environment=None, id=None, name=None, project=None, region=None):
25
+ if data and not isinstance(data, dict):
26
+ raise TypeError("Expected argument 'data' to be a dict")
27
+ pulumi.set(__self__, "data", data)
28
+ if environment and not isinstance(environment, str):
29
+ raise TypeError("Expected argument 'environment' to be a str")
30
+ pulumi.set(__self__, "environment", environment)
31
+ if id and not isinstance(id, str):
32
+ raise TypeError("Expected argument 'id' to be a str")
33
+ pulumi.set(__self__, "id", id)
34
+ if name and not isinstance(name, str):
35
+ raise TypeError("Expected argument 'name' to be a str")
36
+ pulumi.set(__self__, "name", name)
37
+ if project and not isinstance(project, str):
38
+ raise TypeError("Expected argument 'project' to be a str")
39
+ pulumi.set(__self__, "project", project)
40
+ if region and not isinstance(region, str):
41
+ raise TypeError("Expected argument 'region' to be a str")
42
+ pulumi.set(__self__, "region", region)
43
+
44
+ @property
45
+ @pulumi.getter
46
+ def data(self) -> Mapping[str, str]:
47
+ """
48
+ The "data" field of Kubernetes ConfigMap, organized in key-value pairs.
49
+ For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
50
+ """
51
+ return pulumi.get(self, "data")
52
+
53
+ @property
54
+ @pulumi.getter
55
+ def environment(self) -> str:
56
+ return pulumi.get(self, "environment")
57
+
58
+ @property
59
+ @pulumi.getter
60
+ def id(self) -> str:
61
+ """
62
+ The provider-assigned unique ID for this managed resource.
63
+ """
64
+ return pulumi.get(self, "id")
65
+
66
+ @property
67
+ @pulumi.getter
68
+ def name(self) -> str:
69
+ return pulumi.get(self, "name")
70
+
71
+ @property
72
+ @pulumi.getter
73
+ def project(self) -> Optional[str]:
74
+ return pulumi.get(self, "project")
75
+
76
+ @property
77
+ @pulumi.getter
78
+ def region(self) -> Optional[str]:
79
+ return pulumi.get(self, "region")
80
+
81
+
82
+ class AwaitableGetUserWorkloadsConfigMapResult(GetUserWorkloadsConfigMapResult):
83
+ # pylint: disable=using-constant-test
84
+ def __await__(self):
85
+ if False:
86
+ yield self
87
+ return GetUserWorkloadsConfigMapResult(
88
+ data=self.data,
89
+ environment=self.environment,
90
+ id=self.id,
91
+ name=self.name,
92
+ project=self.project,
93
+ region=self.region)
94
+
95
+
96
+ def get_user_workloads_config_map(environment: Optional[str] = None,
97
+ name: Optional[str] = None,
98
+ project: Optional[str] = None,
99
+ region: Optional[str] = None,
100
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUserWorkloadsConfigMapResult:
101
+ """
102
+ ## Example Usage
103
+
104
+ ```python
105
+ import pulumi
106
+ import pulumi_gcp as gcp
107
+
108
+ example_environment = gcp.composer.Environment("example",
109
+ name="example-environment",
110
+ config=gcp.composer.EnvironmentConfigArgs(
111
+ software_config=gcp.composer.EnvironmentConfigSoftwareConfigArgs(
112
+ image_version="composer-3-airflow-2",
113
+ ),
114
+ ))
115
+ example_user_workloads_config_map = gcp.composer.UserWorkloadsConfigMap("example",
116
+ environment=example_environment.name,
117
+ name="example-config-map",
118
+ data={
119
+ "db_host": "dbhost:5432",
120
+ "api_host": "apihost:443",
121
+ })
122
+ example = example_environment.name.apply(lambda name: gcp.composer.get_user_workloads_config_map_output(environment=name,
123
+ name=google_composer_user_workloads_config_map["example"]["name"]))
124
+ pulumi.export("debug", example)
125
+ ```
126
+
127
+
128
+ :param str environment: Environment where the ConfigMap is stored.
129
+ :param str name: Name of the ConfigMap.
130
+ :param str project: The ID of the project in which the resource belongs.
131
+ If it is not provided, the provider project is used.
132
+ :param str region: The location or Compute Engine region of the environment.
133
+ """
134
+ __args__ = dict()
135
+ __args__['environment'] = environment
136
+ __args__['name'] = name
137
+ __args__['project'] = project
138
+ __args__['region'] = region
139
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
140
+ __ret__ = pulumi.runtime.invoke('gcp:composer/getUserWorkloadsConfigMap:getUserWorkloadsConfigMap', __args__, opts=opts, typ=GetUserWorkloadsConfigMapResult).value
141
+
142
+ return AwaitableGetUserWorkloadsConfigMapResult(
143
+ data=pulumi.get(__ret__, 'data'),
144
+ environment=pulumi.get(__ret__, 'environment'),
145
+ id=pulumi.get(__ret__, 'id'),
146
+ name=pulumi.get(__ret__, 'name'),
147
+ project=pulumi.get(__ret__, 'project'),
148
+ region=pulumi.get(__ret__, 'region'))
149
+
150
+
151
+ @_utilities.lift_output_func(get_user_workloads_config_map)
152
+ def get_user_workloads_config_map_output(environment: Optional[pulumi.Input[str]] = None,
153
+ name: Optional[pulumi.Input[str]] = None,
154
+ project: Optional[pulumi.Input[Optional[str]]] = None,
155
+ region: Optional[pulumi.Input[Optional[str]]] = None,
156
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserWorkloadsConfigMapResult]:
157
+ """
158
+ ## Example Usage
159
+
160
+ ```python
161
+ import pulumi
162
+ import pulumi_gcp as gcp
163
+
164
+ example_environment = gcp.composer.Environment("example",
165
+ name="example-environment",
166
+ config=gcp.composer.EnvironmentConfigArgs(
167
+ software_config=gcp.composer.EnvironmentConfigSoftwareConfigArgs(
168
+ image_version="composer-3-airflow-2",
169
+ ),
170
+ ))
171
+ example_user_workloads_config_map = gcp.composer.UserWorkloadsConfigMap("example",
172
+ environment=example_environment.name,
173
+ name="example-config-map",
174
+ data={
175
+ "db_host": "dbhost:5432",
176
+ "api_host": "apihost:443",
177
+ })
178
+ example = example_environment.name.apply(lambda name: gcp.composer.get_user_workloads_config_map_output(environment=name,
179
+ name=google_composer_user_workloads_config_map["example"]["name"]))
180
+ pulumi.export("debug", example)
181
+ ```
182
+
183
+
184
+ :param str environment: Environment where the ConfigMap is stored.
185
+ :param str name: Name of the ConfigMap.
186
+ :param str project: The ID of the project in which the resource belongs.
187
+ If it is not provided, the provider project is used.
188
+ :param str region: The location or Compute Engine region of the environment.
189
+ """
190
+ ...