pulumi-gcp 8.14.0a1736836474__py3-none-any.whl → 8.14.0a1736952890__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. pulumi_gcp/__init__.py +32 -0
  2. pulumi_gcp/applicationintegration/_inputs.py +3 -3
  3. pulumi_gcp/applicationintegration/outputs.py +2 -2
  4. pulumi_gcp/beyondcorp/__init__.py +1 -0
  5. pulumi_gcp/beyondcorp/_inputs.py +93 -0
  6. pulumi_gcp/beyondcorp/outputs.py +89 -0
  7. pulumi_gcp/beyondcorp/security_gateway.py +670 -0
  8. pulumi_gcp/blockchainnodeengine/_inputs.py +3 -3
  9. pulumi_gcp/blockchainnodeengine/outputs.py +2 -2
  10. pulumi_gcp/certificateauthority/_inputs.py +6 -6
  11. pulumi_gcp/certificateauthority/outputs.py +4 -4
  12. pulumi_gcp/certificatemanager/_inputs.py +3 -3
  13. pulumi_gcp/certificatemanager/outputs.py +2 -2
  14. pulumi_gcp/chronicle/__init__.py +2 -0
  15. pulumi_gcp/chronicle/_inputs.py +388 -0
  16. pulumi_gcp/chronicle/data_access_label.py +690 -0
  17. pulumi_gcp/chronicle/data_access_scope.py +1094 -0
  18. pulumi_gcp/chronicle/outputs.py +322 -0
  19. pulumi_gcp/chronicle/watchlist.py +68 -45
  20. pulumi_gcp/cloudbuild/_inputs.py +3 -3
  21. pulumi_gcp/cloudbuild/outputs.py +2 -2
  22. pulumi_gcp/cloudquota/__init__.py +1 -0
  23. pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +336 -0
  24. pulumi_gcp/compute/_inputs.py +33 -33
  25. pulumi_gcp/compute/instance_group_manager.py +9 -9
  26. pulumi_gcp/compute/outputs.py +22 -22
  27. pulumi_gcp/compute/region_instance_group_manager.py +9 -9
  28. pulumi_gcp/datacatalog/_inputs.py +3 -3
  29. pulumi_gcp/datacatalog/outputs.py +2 -2
  30. pulumi_gcp/developerconnect/_inputs.py +910 -42
  31. pulumi_gcp/developerconnect/connection.py +614 -86
  32. pulumi_gcp/developerconnect/git_repository_link.py +4 -0
  33. pulumi_gcp/developerconnect/outputs.py +717 -28
  34. pulumi_gcp/dns/_inputs.py +124 -20
  35. pulumi_gcp/dns/outputs.py +90 -16
  36. pulumi_gcp/dns/record_set.py +82 -0
  37. pulumi_gcp/edgecontainer/_inputs.py +3 -3
  38. pulumi_gcp/edgecontainer/outputs.py +2 -2
  39. pulumi_gcp/gkeonprem/_inputs.py +15 -15
  40. pulumi_gcp/gkeonprem/outputs.py +10 -10
  41. pulumi_gcp/gkeonprem/v_mware_cluster.py +1 -1
  42. pulumi_gcp/iap/_inputs.py +9 -3
  43. pulumi_gcp/iap/outputs.py +6 -2
  44. pulumi_gcp/iap/settings.py +63 -63
  45. pulumi_gcp/identityplatform/_inputs.py +9 -9
  46. pulumi_gcp/identityplatform/outputs.py +6 -6
  47. pulumi_gcp/integrationconnectors/_inputs.py +6 -6
  48. pulumi_gcp/integrationconnectors/outputs.py +4 -4
  49. pulumi_gcp/monitoring/_inputs.py +3 -3
  50. pulumi_gcp/monitoring/outputs.py +2 -2
  51. pulumi_gcp/oracledatabase/_inputs.py +3 -3
  52. pulumi_gcp/oracledatabase/outputs.py +2 -2
  53. pulumi_gcp/pulumi-plugin.json +1 -1
  54. pulumi_gcp/sql/_inputs.py +20 -0
  55. pulumi_gcp/sql/database_instance.py +2 -2
  56. pulumi_gcp/sql/outputs.py +36 -0
  57. pulumi_gcp/transcoder/_inputs.py +6 -6
  58. pulumi_gcp/transcoder/outputs.py +4 -4
  59. {pulumi_gcp-8.14.0a1736836474.dist-info → pulumi_gcp-8.14.0a1736952890.dist-info}/METADATA +1 -1
  60. {pulumi_gcp-8.14.0a1736836474.dist-info → pulumi_gcp-8.14.0a1736952890.dist-info}/RECORD +62 -58
  61. {pulumi_gcp-8.14.0a1736836474.dist-info → pulumi_gcp-8.14.0a1736952890.dist-info}/WHEEL +0 -0
  62. {pulumi_gcp-8.14.0a1736836474.dist-info → pulumi_gcp-8.14.0a1736952890.dist-info}/top_level.txt +0 -0
@@ -16,11 +16,60 @@ from .. import _utilities
16
16
  from . import outputs
17
17
 
18
18
  __all__ = [
19
+ 'ConnectionCryptoKeyConfig',
19
20
  'ConnectionGithubConfig',
20
21
  'ConnectionGithubConfigAuthorizerCredential',
22
+ 'ConnectionGithubEnterpriseConfig',
23
+ 'ConnectionGithubEnterpriseConfigServiceDirectoryConfig',
24
+ 'ConnectionGitlabConfig',
25
+ 'ConnectionGitlabConfigAuthorizerCredential',
26
+ 'ConnectionGitlabConfigReadAuthorizerCredential',
27
+ 'ConnectionGitlabEnterpriseConfig',
28
+ 'ConnectionGitlabEnterpriseConfigAuthorizerCredential',
29
+ 'ConnectionGitlabEnterpriseConfigReadAuthorizerCredential',
30
+ 'ConnectionGitlabEnterpriseConfigServiceDirectoryConfig',
21
31
  'ConnectionInstallationState',
22
32
  ]
23
33
 
34
+ @pulumi.output_type
35
+ class ConnectionCryptoKeyConfig(dict):
36
+ @staticmethod
37
+ def __key_warning(key: str):
38
+ suggest = None
39
+ if key == "keyReference":
40
+ suggest = "key_reference"
41
+
42
+ if suggest:
43
+ pulumi.log.warn(f"Key '{key}' not found in ConnectionCryptoKeyConfig. Access the value via the '{suggest}' property getter instead.")
44
+
45
+ def __getitem__(self, key: str) -> Any:
46
+ ConnectionCryptoKeyConfig.__key_warning(key)
47
+ return super().__getitem__(key)
48
+
49
+ def get(self, key: str, default = None) -> Any:
50
+ ConnectionCryptoKeyConfig.__key_warning(key)
51
+ return super().get(key, default)
52
+
53
+ def __init__(__self__, *,
54
+ key_reference: str):
55
+ """
56
+ :param str key_reference: Required. The name of the key which is used to encrypt/decrypt customer data. For key
57
+ in Cloud KMS, the key should be in the format of
58
+ `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
59
+ """
60
+ pulumi.set(__self__, "key_reference", key_reference)
61
+
62
+ @property
63
+ @pulumi.getter(name="keyReference")
64
+ def key_reference(self) -> str:
65
+ """
66
+ Required. The name of the key which is used to encrypt/decrypt customer data. For key
67
+ in Cloud KMS, the key should be in the format of
68
+ `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
69
+ """
70
+ return pulumi.get(self, "key_reference")
71
+
72
+
24
73
  @pulumi.output_type
25
74
  class ConnectionGithubConfig(dict):
26
75
  @staticmethod
@@ -52,19 +101,19 @@ class ConnectionGithubConfig(dict):
52
101
  authorizer_credential: Optional['outputs.ConnectionGithubConfigAuthorizerCredential'] = None,
53
102
  installation_uri: Optional[str] = None):
54
103
  """
55
- :param str github_app: Required. Immutable. The GitHub Application that was installed to
56
- the GitHub user or organization.
104
+ :param str github_app: Required. Immutable. The GitHub Application that was installed to the GitHub user or
105
+ organization.
57
106
  Possible values:
58
107
  GIT_HUB_APP_UNSPECIFIED
59
108
  DEVELOPER_CONNECT
60
- FIREBASE"
109
+ FIREBASE
61
110
  :param str app_installation_id: Optional. GitHub App installation id.
62
- :param 'ConnectionGithubConfigAuthorizerCredentialArgs' authorizer_credential: Represents an OAuth token of the account that authorized the Connection,and
63
- associated metadata.
111
+ :param 'ConnectionGithubConfigAuthorizerCredentialArgs' authorizer_credential: Represents an OAuth token of the account that authorized the Connection,
112
+ and associated metadata.
64
113
  Structure is documented below.
65
114
  :param str installation_uri: (Output)
66
- Output only. The URI to navigate to in order to manage the installation
67
- associated with this GitHubConfig.
115
+ Output only. The URI to navigate to in order to manage the installation associated
116
+ with this GitHubConfig.
68
117
  """
69
118
  pulumi.set(__self__, "github_app", github_app)
70
119
  if app_installation_id is not None:
@@ -78,12 +127,12 @@ class ConnectionGithubConfig(dict):
78
127
  @pulumi.getter(name="githubApp")
79
128
  def github_app(self) -> str:
80
129
  """
81
- Required. Immutable. The GitHub Application that was installed to
82
- the GitHub user or organization.
130
+ Required. Immutable. The GitHub Application that was installed to the GitHub user or
131
+ organization.
83
132
  Possible values:
84
133
  GIT_HUB_APP_UNSPECIFIED
85
134
  DEVELOPER_CONNECT
86
- FIREBASE"
135
+ FIREBASE
87
136
  """
88
137
  return pulumi.get(self, "github_app")
89
138
 
@@ -99,8 +148,8 @@ class ConnectionGithubConfig(dict):
99
148
  @pulumi.getter(name="authorizerCredential")
100
149
  def authorizer_credential(self) -> Optional['outputs.ConnectionGithubConfigAuthorizerCredential']:
101
150
  """
102
- Represents an OAuth token of the account that authorized the Connection,and
103
- associated metadata.
151
+ Represents an OAuth token of the account that authorized the Connection,
152
+ and associated metadata.
104
153
  Structure is documented below.
105
154
  """
106
155
  return pulumi.get(self, "authorizer_credential")
@@ -110,8 +159,8 @@ class ConnectionGithubConfig(dict):
110
159
  def installation_uri(self) -> Optional[str]:
111
160
  """
112
161
  (Output)
113
- Output only. The URI to navigate to in order to manage the installation
114
- associated with this GitHubConfig.
162
+ Output only. The URI to navigate to in order to manage the installation associated
163
+ with this GitHubConfig.
115
164
  """
116
165
  return pulumi.get(self, "installation_uri")
117
166
 
@@ -139,9 +188,8 @@ class ConnectionGithubConfigAuthorizerCredential(dict):
139
188
  oauth_token_secret_version: str,
140
189
  username: Optional[str] = None):
141
190
  """
142
- :param str oauth_token_secret_version: Required. A SecretManager resource containing the OAuth token
143
- that authorizes the connection.
144
- Format: `projects/*/secrets/*/versions/*`.
191
+ :param str oauth_token_secret_version: Required. A SecretManager resource containing the OAuth token that authorizes
192
+ the connection. Format: `projects/*/secrets/*/versions/*`.
145
193
  :param str username: (Output)
146
194
  Output only. The username associated with this token.
147
195
  """
@@ -153,9 +201,8 @@ class ConnectionGithubConfigAuthorizerCredential(dict):
153
201
  @pulumi.getter(name="oauthTokenSecretVersion")
154
202
  def oauth_token_secret_version(self) -> str:
155
203
  """
156
- Required. A SecretManager resource containing the OAuth token
157
- that authorizes the connection.
158
- Format: `projects/*/secrets/*/versions/*`.
204
+ Required. A SecretManager resource containing the OAuth token that authorizes
205
+ the connection. Format: `projects/*/secrets/*/versions/*`.
159
206
  """
160
207
  return pulumi.get(self, "oauth_token_secret_version")
161
208
 
@@ -169,6 +216,648 @@ class ConnectionGithubConfigAuthorizerCredential(dict):
169
216
  return pulumi.get(self, "username")
170
217
 
171
218
 
219
+ @pulumi.output_type
220
+ class ConnectionGithubEnterpriseConfig(dict):
221
+ @staticmethod
222
+ def __key_warning(key: str):
223
+ suggest = None
224
+ if key == "hostUri":
225
+ suggest = "host_uri"
226
+ elif key == "appId":
227
+ suggest = "app_id"
228
+ elif key == "appInstallationId":
229
+ suggest = "app_installation_id"
230
+ elif key == "appSlug":
231
+ suggest = "app_slug"
232
+ elif key == "installationUri":
233
+ suggest = "installation_uri"
234
+ elif key == "privateKeySecretVersion":
235
+ suggest = "private_key_secret_version"
236
+ elif key == "serverVersion":
237
+ suggest = "server_version"
238
+ elif key == "serviceDirectoryConfig":
239
+ suggest = "service_directory_config"
240
+ elif key == "sslCaCertificate":
241
+ suggest = "ssl_ca_certificate"
242
+ elif key == "webhookSecretSecretVersion":
243
+ suggest = "webhook_secret_secret_version"
244
+
245
+ if suggest:
246
+ pulumi.log.warn(f"Key '{key}' not found in ConnectionGithubEnterpriseConfig. Access the value via the '{suggest}' property getter instead.")
247
+
248
+ def __getitem__(self, key: str) -> Any:
249
+ ConnectionGithubEnterpriseConfig.__key_warning(key)
250
+ return super().__getitem__(key)
251
+
252
+ def get(self, key: str, default = None) -> Any:
253
+ ConnectionGithubEnterpriseConfig.__key_warning(key)
254
+ return super().get(key, default)
255
+
256
+ def __init__(__self__, *,
257
+ host_uri: str,
258
+ app_id: Optional[str] = None,
259
+ app_installation_id: Optional[str] = None,
260
+ app_slug: Optional[str] = None,
261
+ installation_uri: Optional[str] = None,
262
+ private_key_secret_version: Optional[str] = None,
263
+ server_version: Optional[str] = None,
264
+ service_directory_config: Optional['outputs.ConnectionGithubEnterpriseConfigServiceDirectoryConfig'] = None,
265
+ ssl_ca_certificate: Optional[str] = None,
266
+ webhook_secret_secret_version: Optional[str] = None):
267
+ """
268
+ :param str host_uri: Required. The URI of the GitHub Enterprise host this connection is for.
269
+ :param str app_id: Optional. ID of the GitHub App created from the manifest.
270
+ :param str app_installation_id: Optional. ID of the installation of the GitHub App.
271
+ :param str app_slug: (Output)
272
+ Output only. The URL-friendly name of the GitHub App.
273
+ :param str installation_uri: (Output)
274
+ Output only. The URI to navigate to in order to manage the installation associated
275
+ with this GitHubEnterpriseConfig.
276
+ :param str private_key_secret_version: Optional. SecretManager resource containing the private key of the GitHub App,
277
+ formatted as `projects/*/secrets/*/versions/*`.
278
+ :param str server_version: (Output)
279
+ Output only. GitHub Enterprise version installed at the host_uri.
280
+ :param 'ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs' service_directory_config: ServiceDirectoryConfig represents Service Directory configuration for a
281
+ connection.
282
+ Structure is documented below.
283
+ :param str ssl_ca_certificate: Optional. SSL certificate to use for requests to GitHub Enterprise.
284
+ :param str webhook_secret_secret_version: Optional. SecretManager resource containing the webhook secret of the GitHub App,
285
+ formatted as `projects/*/secrets/*/versions/*`.
286
+ """
287
+ pulumi.set(__self__, "host_uri", host_uri)
288
+ if app_id is not None:
289
+ pulumi.set(__self__, "app_id", app_id)
290
+ if app_installation_id is not None:
291
+ pulumi.set(__self__, "app_installation_id", app_installation_id)
292
+ if app_slug is not None:
293
+ pulumi.set(__self__, "app_slug", app_slug)
294
+ if installation_uri is not None:
295
+ pulumi.set(__self__, "installation_uri", installation_uri)
296
+ if private_key_secret_version is not None:
297
+ pulumi.set(__self__, "private_key_secret_version", private_key_secret_version)
298
+ if server_version is not None:
299
+ pulumi.set(__self__, "server_version", server_version)
300
+ if service_directory_config is not None:
301
+ pulumi.set(__self__, "service_directory_config", service_directory_config)
302
+ if ssl_ca_certificate is not None:
303
+ pulumi.set(__self__, "ssl_ca_certificate", ssl_ca_certificate)
304
+ if webhook_secret_secret_version is not None:
305
+ pulumi.set(__self__, "webhook_secret_secret_version", webhook_secret_secret_version)
306
+
307
+ @property
308
+ @pulumi.getter(name="hostUri")
309
+ def host_uri(self) -> str:
310
+ """
311
+ Required. The URI of the GitHub Enterprise host this connection is for.
312
+ """
313
+ return pulumi.get(self, "host_uri")
314
+
315
+ @property
316
+ @pulumi.getter(name="appId")
317
+ def app_id(self) -> Optional[str]:
318
+ """
319
+ Optional. ID of the GitHub App created from the manifest.
320
+ """
321
+ return pulumi.get(self, "app_id")
322
+
323
+ @property
324
+ @pulumi.getter(name="appInstallationId")
325
+ def app_installation_id(self) -> Optional[str]:
326
+ """
327
+ Optional. ID of the installation of the GitHub App.
328
+ """
329
+ return pulumi.get(self, "app_installation_id")
330
+
331
+ @property
332
+ @pulumi.getter(name="appSlug")
333
+ def app_slug(self) -> Optional[str]:
334
+ """
335
+ (Output)
336
+ Output only. The URL-friendly name of the GitHub App.
337
+ """
338
+ return pulumi.get(self, "app_slug")
339
+
340
+ @property
341
+ @pulumi.getter(name="installationUri")
342
+ def installation_uri(self) -> Optional[str]:
343
+ """
344
+ (Output)
345
+ Output only. The URI to navigate to in order to manage the installation associated
346
+ with this GitHubEnterpriseConfig.
347
+ """
348
+ return pulumi.get(self, "installation_uri")
349
+
350
+ @property
351
+ @pulumi.getter(name="privateKeySecretVersion")
352
+ def private_key_secret_version(self) -> Optional[str]:
353
+ """
354
+ Optional. SecretManager resource containing the private key of the GitHub App,
355
+ formatted as `projects/*/secrets/*/versions/*`.
356
+ """
357
+ return pulumi.get(self, "private_key_secret_version")
358
+
359
+ @property
360
+ @pulumi.getter(name="serverVersion")
361
+ def server_version(self) -> Optional[str]:
362
+ """
363
+ (Output)
364
+ Output only. GitHub Enterprise version installed at the host_uri.
365
+ """
366
+ return pulumi.get(self, "server_version")
367
+
368
+ @property
369
+ @pulumi.getter(name="serviceDirectoryConfig")
370
+ def service_directory_config(self) -> Optional['outputs.ConnectionGithubEnterpriseConfigServiceDirectoryConfig']:
371
+ """
372
+ ServiceDirectoryConfig represents Service Directory configuration for a
373
+ connection.
374
+ Structure is documented below.
375
+ """
376
+ return pulumi.get(self, "service_directory_config")
377
+
378
+ @property
379
+ @pulumi.getter(name="sslCaCertificate")
380
+ def ssl_ca_certificate(self) -> Optional[str]:
381
+ """
382
+ Optional. SSL certificate to use for requests to GitHub Enterprise.
383
+ """
384
+ return pulumi.get(self, "ssl_ca_certificate")
385
+
386
+ @property
387
+ @pulumi.getter(name="webhookSecretSecretVersion")
388
+ def webhook_secret_secret_version(self) -> Optional[str]:
389
+ """
390
+ Optional. SecretManager resource containing the webhook secret of the GitHub App,
391
+ formatted as `projects/*/secrets/*/versions/*`.
392
+ """
393
+ return pulumi.get(self, "webhook_secret_secret_version")
394
+
395
+
396
+ @pulumi.output_type
397
+ class ConnectionGithubEnterpriseConfigServiceDirectoryConfig(dict):
398
+ def __init__(__self__, *,
399
+ service: str):
400
+ """
401
+ :param str service: Required. The Service Directory service name.
402
+ Format:
403
+ projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
404
+ """
405
+ pulumi.set(__self__, "service", service)
406
+
407
+ @property
408
+ @pulumi.getter
409
+ def service(self) -> str:
410
+ """
411
+ Required. The Service Directory service name.
412
+ Format:
413
+ projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
414
+ """
415
+ return pulumi.get(self, "service")
416
+
417
+
418
+ @pulumi.output_type
419
+ class ConnectionGitlabConfig(dict):
420
+ @staticmethod
421
+ def __key_warning(key: str):
422
+ suggest = None
423
+ if key == "authorizerCredential":
424
+ suggest = "authorizer_credential"
425
+ elif key == "readAuthorizerCredential":
426
+ suggest = "read_authorizer_credential"
427
+ elif key == "webhookSecretSecretVersion":
428
+ suggest = "webhook_secret_secret_version"
429
+
430
+ if suggest:
431
+ pulumi.log.warn(f"Key '{key}' not found in ConnectionGitlabConfig. Access the value via the '{suggest}' property getter instead.")
432
+
433
+ def __getitem__(self, key: str) -> Any:
434
+ ConnectionGitlabConfig.__key_warning(key)
435
+ return super().__getitem__(key)
436
+
437
+ def get(self, key: str, default = None) -> Any:
438
+ ConnectionGitlabConfig.__key_warning(key)
439
+ return super().get(key, default)
440
+
441
+ def __init__(__self__, *,
442
+ authorizer_credential: 'outputs.ConnectionGitlabConfigAuthorizerCredential',
443
+ read_authorizer_credential: 'outputs.ConnectionGitlabConfigReadAuthorizerCredential',
444
+ webhook_secret_secret_version: str):
445
+ """
446
+ :param 'ConnectionGitlabConfigAuthorizerCredentialArgs' authorizer_credential: Represents a personal access token that authorized the Connection,
447
+ and associated metadata.
448
+ Structure is documented below.
449
+ :param 'ConnectionGitlabConfigReadAuthorizerCredentialArgs' read_authorizer_credential: Represents a personal access token that authorized the Connection,
450
+ and associated metadata.
451
+ Structure is documented below.
452
+ :param str webhook_secret_secret_version: Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
453
+ formatted as `projects/*/secrets/*/versions/*`. This is used to validate
454
+ webhooks.
455
+ """
456
+ pulumi.set(__self__, "authorizer_credential", authorizer_credential)
457
+ pulumi.set(__self__, "read_authorizer_credential", read_authorizer_credential)
458
+ pulumi.set(__self__, "webhook_secret_secret_version", webhook_secret_secret_version)
459
+
460
+ @property
461
+ @pulumi.getter(name="authorizerCredential")
462
+ def authorizer_credential(self) -> 'outputs.ConnectionGitlabConfigAuthorizerCredential':
463
+ """
464
+ Represents a personal access token that authorized the Connection,
465
+ and associated metadata.
466
+ Structure is documented below.
467
+ """
468
+ return pulumi.get(self, "authorizer_credential")
469
+
470
+ @property
471
+ @pulumi.getter(name="readAuthorizerCredential")
472
+ def read_authorizer_credential(self) -> 'outputs.ConnectionGitlabConfigReadAuthorizerCredential':
473
+ """
474
+ Represents a personal access token that authorized the Connection,
475
+ and associated metadata.
476
+ Structure is documented below.
477
+ """
478
+ return pulumi.get(self, "read_authorizer_credential")
479
+
480
+ @property
481
+ @pulumi.getter(name="webhookSecretSecretVersion")
482
+ def webhook_secret_secret_version(self) -> str:
483
+ """
484
+ Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
485
+ formatted as `projects/*/secrets/*/versions/*`. This is used to validate
486
+ webhooks.
487
+ """
488
+ return pulumi.get(self, "webhook_secret_secret_version")
489
+
490
+
491
+ @pulumi.output_type
492
+ class ConnectionGitlabConfigAuthorizerCredential(dict):
493
+ @staticmethod
494
+ def __key_warning(key: str):
495
+ suggest = None
496
+ if key == "userTokenSecretVersion":
497
+ suggest = "user_token_secret_version"
498
+
499
+ if suggest:
500
+ pulumi.log.warn(f"Key '{key}' not found in ConnectionGitlabConfigAuthorizerCredential. Access the value via the '{suggest}' property getter instead.")
501
+
502
+ def __getitem__(self, key: str) -> Any:
503
+ ConnectionGitlabConfigAuthorizerCredential.__key_warning(key)
504
+ return super().__getitem__(key)
505
+
506
+ def get(self, key: str, default = None) -> Any:
507
+ ConnectionGitlabConfigAuthorizerCredential.__key_warning(key)
508
+ return super().get(key, default)
509
+
510
+ def __init__(__self__, *,
511
+ user_token_secret_version: str,
512
+ username: Optional[str] = None):
513
+ """
514
+ :param str user_token_secret_version: Required. A SecretManager resource containing the user token that authorizes
515
+ the Developer Connect connection. Format:
516
+ `projects/*/secrets/*/versions/*`.
517
+ :param str username: (Output)
518
+ Output only. The username associated with this token.
519
+ """
520
+ pulumi.set(__self__, "user_token_secret_version", user_token_secret_version)
521
+ if username is not None:
522
+ pulumi.set(__self__, "username", username)
523
+
524
+ @property
525
+ @pulumi.getter(name="userTokenSecretVersion")
526
+ def user_token_secret_version(self) -> str:
527
+ """
528
+ Required. A SecretManager resource containing the user token that authorizes
529
+ the Developer Connect connection. Format:
530
+ `projects/*/secrets/*/versions/*`.
531
+ """
532
+ return pulumi.get(self, "user_token_secret_version")
533
+
534
+ @property
535
+ @pulumi.getter
536
+ def username(self) -> Optional[str]:
537
+ """
538
+ (Output)
539
+ Output only. The username associated with this token.
540
+ """
541
+ return pulumi.get(self, "username")
542
+
543
+
544
+ @pulumi.output_type
545
+ class ConnectionGitlabConfigReadAuthorizerCredential(dict):
546
+ @staticmethod
547
+ def __key_warning(key: str):
548
+ suggest = None
549
+ if key == "userTokenSecretVersion":
550
+ suggest = "user_token_secret_version"
551
+
552
+ if suggest:
553
+ pulumi.log.warn(f"Key '{key}' not found in ConnectionGitlabConfigReadAuthorizerCredential. Access the value via the '{suggest}' property getter instead.")
554
+
555
+ def __getitem__(self, key: str) -> Any:
556
+ ConnectionGitlabConfigReadAuthorizerCredential.__key_warning(key)
557
+ return super().__getitem__(key)
558
+
559
+ def get(self, key: str, default = None) -> Any:
560
+ ConnectionGitlabConfigReadAuthorizerCredential.__key_warning(key)
561
+ return super().get(key, default)
562
+
563
+ def __init__(__self__, *,
564
+ user_token_secret_version: str,
565
+ username: Optional[str] = None):
566
+ """
567
+ :param str user_token_secret_version: Required. A SecretManager resource containing the user token that authorizes
568
+ the Developer Connect connection. Format:
569
+ `projects/*/secrets/*/versions/*`.
570
+ :param str username: (Output)
571
+ Output only. The username associated with this token.
572
+ """
573
+ pulumi.set(__self__, "user_token_secret_version", user_token_secret_version)
574
+ if username is not None:
575
+ pulumi.set(__self__, "username", username)
576
+
577
+ @property
578
+ @pulumi.getter(name="userTokenSecretVersion")
579
+ def user_token_secret_version(self) -> str:
580
+ """
581
+ Required. A SecretManager resource containing the user token that authorizes
582
+ the Developer Connect connection. Format:
583
+ `projects/*/secrets/*/versions/*`.
584
+ """
585
+ return pulumi.get(self, "user_token_secret_version")
586
+
587
+ @property
588
+ @pulumi.getter
589
+ def username(self) -> Optional[str]:
590
+ """
591
+ (Output)
592
+ Output only. The username associated with this token.
593
+ """
594
+ return pulumi.get(self, "username")
595
+
596
+
597
+ @pulumi.output_type
598
+ class ConnectionGitlabEnterpriseConfig(dict):
599
+ @staticmethod
600
+ def __key_warning(key: str):
601
+ suggest = None
602
+ if key == "authorizerCredential":
603
+ suggest = "authorizer_credential"
604
+ elif key == "hostUri":
605
+ suggest = "host_uri"
606
+ elif key == "readAuthorizerCredential":
607
+ suggest = "read_authorizer_credential"
608
+ elif key == "webhookSecretSecretVersion":
609
+ suggest = "webhook_secret_secret_version"
610
+ elif key == "serverVersion":
611
+ suggest = "server_version"
612
+ elif key == "serviceDirectoryConfig":
613
+ suggest = "service_directory_config"
614
+ elif key == "sslCaCertificate":
615
+ suggest = "ssl_ca_certificate"
616
+
617
+ if suggest:
618
+ pulumi.log.warn(f"Key '{key}' not found in ConnectionGitlabEnterpriseConfig. Access the value via the '{suggest}' property getter instead.")
619
+
620
+ def __getitem__(self, key: str) -> Any:
621
+ ConnectionGitlabEnterpriseConfig.__key_warning(key)
622
+ return super().__getitem__(key)
623
+
624
+ def get(self, key: str, default = None) -> Any:
625
+ ConnectionGitlabEnterpriseConfig.__key_warning(key)
626
+ return super().get(key, default)
627
+
628
+ def __init__(__self__, *,
629
+ authorizer_credential: 'outputs.ConnectionGitlabEnterpriseConfigAuthorizerCredential',
630
+ host_uri: str,
631
+ read_authorizer_credential: 'outputs.ConnectionGitlabEnterpriseConfigReadAuthorizerCredential',
632
+ webhook_secret_secret_version: str,
633
+ server_version: Optional[str] = None,
634
+ service_directory_config: Optional['outputs.ConnectionGitlabEnterpriseConfigServiceDirectoryConfig'] = None,
635
+ ssl_ca_certificate: Optional[str] = None):
636
+ """
637
+ :param 'ConnectionGitlabEnterpriseConfigAuthorizerCredentialArgs' authorizer_credential: Represents a personal access token that authorized the Connection,
638
+ and associated metadata.
639
+ Structure is documented below.
640
+ :param str host_uri: Required. The URI of the GitLab Enterprise host this connection is for.
641
+ :param 'ConnectionGitlabEnterpriseConfigReadAuthorizerCredentialArgs' read_authorizer_credential: Represents a personal access token that authorized the Connection,
642
+ and associated metadata.
643
+ Structure is documented below.
644
+ :param str webhook_secret_secret_version: Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
645
+ formatted as `projects/*/secrets/*/versions/*`. This is used to validate
646
+ webhooks.
647
+ :param str server_version: (Output)
648
+ Output only. Version of the GitLab Enterprise server running on the `host_uri`.
649
+ :param 'ConnectionGitlabEnterpriseConfigServiceDirectoryConfigArgs' service_directory_config: ServiceDirectoryConfig represents Service Directory configuration for a
650
+ connection.
651
+ Structure is documented below.
652
+ :param str ssl_ca_certificate: Optional. SSL Certificate Authority certificate to use for requests to GitLab
653
+ Enterprise instance.
654
+ """
655
+ pulumi.set(__self__, "authorizer_credential", authorizer_credential)
656
+ pulumi.set(__self__, "host_uri", host_uri)
657
+ pulumi.set(__self__, "read_authorizer_credential", read_authorizer_credential)
658
+ pulumi.set(__self__, "webhook_secret_secret_version", webhook_secret_secret_version)
659
+ if server_version is not None:
660
+ pulumi.set(__self__, "server_version", server_version)
661
+ if service_directory_config is not None:
662
+ pulumi.set(__self__, "service_directory_config", service_directory_config)
663
+ if ssl_ca_certificate is not None:
664
+ pulumi.set(__self__, "ssl_ca_certificate", ssl_ca_certificate)
665
+
666
+ @property
667
+ @pulumi.getter(name="authorizerCredential")
668
+ def authorizer_credential(self) -> 'outputs.ConnectionGitlabEnterpriseConfigAuthorizerCredential':
669
+ """
670
+ Represents a personal access token that authorized the Connection,
671
+ and associated metadata.
672
+ Structure is documented below.
673
+ """
674
+ return pulumi.get(self, "authorizer_credential")
675
+
676
+ @property
677
+ @pulumi.getter(name="hostUri")
678
+ def host_uri(self) -> str:
679
+ """
680
+ Required. The URI of the GitLab Enterprise host this connection is for.
681
+ """
682
+ return pulumi.get(self, "host_uri")
683
+
684
+ @property
685
+ @pulumi.getter(name="readAuthorizerCredential")
686
+ def read_authorizer_credential(self) -> 'outputs.ConnectionGitlabEnterpriseConfigReadAuthorizerCredential':
687
+ """
688
+ Represents a personal access token that authorized the Connection,
689
+ and associated metadata.
690
+ Structure is documented below.
691
+ """
692
+ return pulumi.get(self, "read_authorizer_credential")
693
+
694
+ @property
695
+ @pulumi.getter(name="webhookSecretSecretVersion")
696
+ def webhook_secret_secret_version(self) -> str:
697
+ """
698
+ Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
699
+ formatted as `projects/*/secrets/*/versions/*`. This is used to validate
700
+ webhooks.
701
+ """
702
+ return pulumi.get(self, "webhook_secret_secret_version")
703
+
704
+ @property
705
+ @pulumi.getter(name="serverVersion")
706
+ def server_version(self) -> Optional[str]:
707
+ """
708
+ (Output)
709
+ Output only. Version of the GitLab Enterprise server running on the `host_uri`.
710
+ """
711
+ return pulumi.get(self, "server_version")
712
+
713
+ @property
714
+ @pulumi.getter(name="serviceDirectoryConfig")
715
+ def service_directory_config(self) -> Optional['outputs.ConnectionGitlabEnterpriseConfigServiceDirectoryConfig']:
716
+ """
717
+ ServiceDirectoryConfig represents Service Directory configuration for a
718
+ connection.
719
+ Structure is documented below.
720
+ """
721
+ return pulumi.get(self, "service_directory_config")
722
+
723
+ @property
724
+ @pulumi.getter(name="sslCaCertificate")
725
+ def ssl_ca_certificate(self) -> Optional[str]:
726
+ """
727
+ Optional. SSL Certificate Authority certificate to use for requests to GitLab
728
+ Enterprise instance.
729
+ """
730
+ return pulumi.get(self, "ssl_ca_certificate")
731
+
732
+
733
+ @pulumi.output_type
734
+ class ConnectionGitlabEnterpriseConfigAuthorizerCredential(dict):
735
+ @staticmethod
736
+ def __key_warning(key: str):
737
+ suggest = None
738
+ if key == "userTokenSecretVersion":
739
+ suggest = "user_token_secret_version"
740
+
741
+ if suggest:
742
+ pulumi.log.warn(f"Key '{key}' not found in ConnectionGitlabEnterpriseConfigAuthorizerCredential. Access the value via the '{suggest}' property getter instead.")
743
+
744
+ def __getitem__(self, key: str) -> Any:
745
+ ConnectionGitlabEnterpriseConfigAuthorizerCredential.__key_warning(key)
746
+ return super().__getitem__(key)
747
+
748
+ def get(self, key: str, default = None) -> Any:
749
+ ConnectionGitlabEnterpriseConfigAuthorizerCredential.__key_warning(key)
750
+ return super().get(key, default)
751
+
752
+ def __init__(__self__, *,
753
+ user_token_secret_version: str,
754
+ username: Optional[str] = None):
755
+ """
756
+ :param str user_token_secret_version: Required. A SecretManager resource containing the user token that authorizes
757
+ the Developer Connect connection. Format:
758
+ `projects/*/secrets/*/versions/*`.
759
+ :param str username: (Output)
760
+ Output only. The username associated with this token.
761
+ """
762
+ pulumi.set(__self__, "user_token_secret_version", user_token_secret_version)
763
+ if username is not None:
764
+ pulumi.set(__self__, "username", username)
765
+
766
+ @property
767
+ @pulumi.getter(name="userTokenSecretVersion")
768
+ def user_token_secret_version(self) -> str:
769
+ """
770
+ Required. A SecretManager resource containing the user token that authorizes
771
+ the Developer Connect connection. Format:
772
+ `projects/*/secrets/*/versions/*`.
773
+ """
774
+ return pulumi.get(self, "user_token_secret_version")
775
+
776
+ @property
777
+ @pulumi.getter
778
+ def username(self) -> Optional[str]:
779
+ """
780
+ (Output)
781
+ Output only. The username associated with this token.
782
+ """
783
+ return pulumi.get(self, "username")
784
+
785
+
786
+ @pulumi.output_type
787
+ class ConnectionGitlabEnterpriseConfigReadAuthorizerCredential(dict):
788
+ @staticmethod
789
+ def __key_warning(key: str):
790
+ suggest = None
791
+ if key == "userTokenSecretVersion":
792
+ suggest = "user_token_secret_version"
793
+
794
+ if suggest:
795
+ pulumi.log.warn(f"Key '{key}' not found in ConnectionGitlabEnterpriseConfigReadAuthorizerCredential. Access the value via the '{suggest}' property getter instead.")
796
+
797
+ def __getitem__(self, key: str) -> Any:
798
+ ConnectionGitlabEnterpriseConfigReadAuthorizerCredential.__key_warning(key)
799
+ return super().__getitem__(key)
800
+
801
+ def get(self, key: str, default = None) -> Any:
802
+ ConnectionGitlabEnterpriseConfigReadAuthorizerCredential.__key_warning(key)
803
+ return super().get(key, default)
804
+
805
+ def __init__(__self__, *,
806
+ user_token_secret_version: str,
807
+ username: Optional[str] = None):
808
+ """
809
+ :param str user_token_secret_version: Required. A SecretManager resource containing the user token that authorizes
810
+ the Developer Connect connection. Format:
811
+ `projects/*/secrets/*/versions/*`.
812
+ :param str username: (Output)
813
+ Output only. The username associated with this token.
814
+ """
815
+ pulumi.set(__self__, "user_token_secret_version", user_token_secret_version)
816
+ if username is not None:
817
+ pulumi.set(__self__, "username", username)
818
+
819
+ @property
820
+ @pulumi.getter(name="userTokenSecretVersion")
821
+ def user_token_secret_version(self) -> str:
822
+ """
823
+ Required. A SecretManager resource containing the user token that authorizes
824
+ the Developer Connect connection. Format:
825
+ `projects/*/secrets/*/versions/*`.
826
+ """
827
+ return pulumi.get(self, "user_token_secret_version")
828
+
829
+ @property
830
+ @pulumi.getter
831
+ def username(self) -> Optional[str]:
832
+ """
833
+ (Output)
834
+ Output only. The username associated with this token.
835
+ """
836
+ return pulumi.get(self, "username")
837
+
838
+
839
+ @pulumi.output_type
840
+ class ConnectionGitlabEnterpriseConfigServiceDirectoryConfig(dict):
841
+ def __init__(__self__, *,
842
+ service: str):
843
+ """
844
+ :param str service: Required. The Service Directory service name.
845
+ Format:
846
+ projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
847
+ """
848
+ pulumi.set(__self__, "service", service)
849
+
850
+ @property
851
+ @pulumi.getter
852
+ def service(self) -> str:
853
+ """
854
+ Required. The Service Directory service name.
855
+ Format:
856
+ projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
857
+ """
858
+ return pulumi.get(self, "service")
859
+
860
+
172
861
  @pulumi.output_type
173
862
  class ConnectionInstallationState(dict):
174
863
  @staticmethod
@@ -193,10 +882,10 @@ class ConnectionInstallationState(dict):
193
882
  message: Optional[str] = None,
194
883
  stage: Optional[str] = None):
195
884
  """
196
- :param str action_uri: Output only. Link to follow for next action. Empty string if the
197
- installation is already complete.
198
- :param str message: Output only. Message of what the user should do next to continue
199
- the installation.Empty string if the installation is already complete.
885
+ :param str action_uri: Output only. Link to follow for next action. Empty string if the installation is already
886
+ complete.
887
+ :param str message: Output only. Message of what the user should do next to continue the installation.
888
+ Empty string if the installation is already complete.
200
889
  :param str stage: (Output)
201
890
  Output only. Current step of the installation process.
202
891
  Possible values:
@@ -217,8 +906,8 @@ class ConnectionInstallationState(dict):
217
906
  @pulumi.getter(name="actionUri")
218
907
  def action_uri(self) -> Optional[str]:
219
908
  """
220
- Output only. Link to follow for next action. Empty string if the
221
- installation is already complete.
909
+ Output only. Link to follow for next action. Empty string if the installation is already
910
+ complete.
222
911
  """
223
912
  return pulumi.get(self, "action_uri")
224
913
 
@@ -226,8 +915,8 @@ class ConnectionInstallationState(dict):
226
915
  @pulumi.getter
227
916
  def message(self) -> Optional[str]:
228
917
  """
229
- Output only. Message of what the user should do next to continue
230
- the installation.Empty string if the installation is already complete.
918
+ Output only. Message of what the user should do next to continue the installation.
919
+ Empty string if the installation is already complete.
231
920
  """
232
921
  return pulumi.get(self, "message")
233
922