pulumi-confluentcloud 2.49.0a1761362905__py3-none-any.whl → 2.50.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.
@@ -54,6 +54,7 @@ from .get_ip_filter import *
54
54
  from .get_ip_group import *
55
55
  from .get_kafka_client_quota import *
56
56
  from .get_kafka_cluster import *
57
+ from .get_kafka_clusters import *
57
58
  from .get_kafka_topic import *
58
59
  from .get_ksql_cluster import *
59
60
  from .get_network import *
@@ -65,6 +66,8 @@ from .get_private_link_access import *
65
66
  from .get_private_link_attachment import *
66
67
  from .get_private_link_attachment_connection import *
67
68
  from .get_provider_integration import *
69
+ from .get_provider_integration_authorization import *
70
+ from .get_provider_integration_setup import *
68
71
  from .get_role_binding import *
69
72
  from .get_schema import *
70
73
  from .get_schema_registry_cluster import *
@@ -106,6 +109,8 @@ from .private_link_attachment import *
106
109
  from .private_link_attachment_connection import *
107
110
  from .provider import *
108
111
  from .provider_integration import *
112
+ from .provider_integration_authorization import *
113
+ from .provider_integration_setup import *
109
114
  from .role_binding import *
110
115
  from .schema import *
111
116
  from .schema_exporter import *
@@ -486,6 +491,22 @@ _utilities.register(
486
491
  "confluentcloud:index/providerIntegration:ProviderIntegration": "ProviderIntegration"
487
492
  }
488
493
  },
494
+ {
495
+ "pkg": "confluentcloud",
496
+ "mod": "index/providerIntegrationAuthorization",
497
+ "fqn": "pulumi_confluentcloud",
498
+ "classes": {
499
+ "confluentcloud:index/providerIntegrationAuthorization:ProviderIntegrationAuthorization": "ProviderIntegrationAuthorization"
500
+ }
501
+ },
502
+ {
503
+ "pkg": "confluentcloud",
504
+ "mod": "index/providerIntegrationSetup",
505
+ "fqn": "pulumi_confluentcloud",
506
+ "classes": {
507
+ "confluentcloud:index/providerIntegrationSetup:ProviderIntegrationSetup": "ProviderIntegrationSetup"
508
+ }
509
+ },
489
510
  {
490
511
  "pkg": "confluentcloud",
491
512
  "mod": "index/roleBinding",
@@ -265,10 +265,18 @@ __all__ = [
265
265
  'PrivateLinkAttachmentEnvironmentArgsDict',
266
266
  'PrivateLinkAttachmentGcpArgs',
267
267
  'PrivateLinkAttachmentGcpArgsDict',
268
+ 'ProviderIntegrationAuthorizationAzureArgs',
269
+ 'ProviderIntegrationAuthorizationAzureArgsDict',
270
+ 'ProviderIntegrationAuthorizationEnvironmentArgs',
271
+ 'ProviderIntegrationAuthorizationEnvironmentArgsDict',
272
+ 'ProviderIntegrationAuthorizationGcpArgs',
273
+ 'ProviderIntegrationAuthorizationGcpArgsDict',
268
274
  'ProviderIntegrationAwsArgs',
269
275
  'ProviderIntegrationAwsArgsDict',
270
276
  'ProviderIntegrationEnvironmentArgs',
271
277
  'ProviderIntegrationEnvironmentArgsDict',
278
+ 'ProviderIntegrationSetupEnvironmentArgs',
279
+ 'ProviderIntegrationSetupEnvironmentArgsDict',
272
280
  'ProviderOauthArgs',
273
281
  'ProviderOauthArgsDict',
274
282
  'SchemaCredentialsArgs',
@@ -407,6 +415,8 @@ __all__ = [
407
415
  'GetKafkaClusterFreightArgsDict',
408
416
  'GetKafkaClusterStandardArgs',
409
417
  'GetKafkaClusterStandardArgsDict',
418
+ 'GetKafkaClustersEnvironmentArgs',
419
+ 'GetKafkaClustersEnvironmentArgsDict',
410
420
  'GetKafkaTopicCredentialsArgs',
411
421
  'GetKafkaTopicCredentialsArgsDict',
412
422
  'GetKafkaTopicKafkaClusterArgs',
@@ -437,8 +447,12 @@ __all__ = [
437
447
  'GetPrivateLinkAttachmentConnectionEnvironmentArgsDict',
438
448
  'GetPrivateLinkAttachmentEnvironmentArgs',
439
449
  'GetPrivateLinkAttachmentEnvironmentArgsDict',
450
+ 'GetProviderIntegrationAuthorizationEnvironmentArgs',
451
+ 'GetProviderIntegrationAuthorizationEnvironmentArgsDict',
440
452
  'GetProviderIntegrationEnvironmentArgs',
441
453
  'GetProviderIntegrationEnvironmentArgsDict',
454
+ 'GetProviderIntegrationSetupEnvironmentArgs',
455
+ 'GetProviderIntegrationSetupEnvironmentArgsDict',
442
456
  'GetSchemaCredentialsArgs',
443
457
  'GetSchemaCredentialsArgsDict',
444
458
  'GetSchemaMetadataArgs',
@@ -6109,6 +6123,145 @@ class PrivateLinkAttachmentGcpArgs:
6109
6123
  pulumi.set(self, "private_service_connect_service_attachment", value)
6110
6124
 
6111
6125
 
6126
+ if not MYPY:
6127
+ class ProviderIntegrationAuthorizationAzureArgsDict(TypedDict):
6128
+ customer_azure_tenant_id: pulumi.Input[_builtins.str]
6129
+ """
6130
+ Customer's Azure Tenant ID.
6131
+ """
6132
+ confluent_multi_tenant_app_id: NotRequired[pulumi.Input[_builtins.str]]
6133
+ """
6134
+ (Computed String) Confluent Multi-Tenant App ID used to access customer Azure resources.
6135
+ """
6136
+ elif False:
6137
+ ProviderIntegrationAuthorizationAzureArgsDict: TypeAlias = Mapping[str, Any]
6138
+
6139
+ @pulumi.input_type
6140
+ class ProviderIntegrationAuthorizationAzureArgs:
6141
+ def __init__(__self__, *,
6142
+ customer_azure_tenant_id: pulumi.Input[_builtins.str],
6143
+ confluent_multi_tenant_app_id: Optional[pulumi.Input[_builtins.str]] = None):
6144
+ """
6145
+ :param pulumi.Input[_builtins.str] customer_azure_tenant_id: Customer's Azure Tenant ID.
6146
+ :param pulumi.Input[_builtins.str] confluent_multi_tenant_app_id: (Computed String) Confluent Multi-Tenant App ID used to access customer Azure resources.
6147
+ """
6148
+ pulumi.set(__self__, "customer_azure_tenant_id", customer_azure_tenant_id)
6149
+ if confluent_multi_tenant_app_id is not None:
6150
+ pulumi.set(__self__, "confluent_multi_tenant_app_id", confluent_multi_tenant_app_id)
6151
+
6152
+ @_builtins.property
6153
+ @pulumi.getter(name="customerAzureTenantId")
6154
+ def customer_azure_tenant_id(self) -> pulumi.Input[_builtins.str]:
6155
+ """
6156
+ Customer's Azure Tenant ID.
6157
+ """
6158
+ return pulumi.get(self, "customer_azure_tenant_id")
6159
+
6160
+ @customer_azure_tenant_id.setter
6161
+ def customer_azure_tenant_id(self, value: pulumi.Input[_builtins.str]):
6162
+ pulumi.set(self, "customer_azure_tenant_id", value)
6163
+
6164
+ @_builtins.property
6165
+ @pulumi.getter(name="confluentMultiTenantAppId")
6166
+ def confluent_multi_tenant_app_id(self) -> Optional[pulumi.Input[_builtins.str]]:
6167
+ """
6168
+ (Computed String) Confluent Multi-Tenant App ID used to access customer Azure resources.
6169
+ """
6170
+ return pulumi.get(self, "confluent_multi_tenant_app_id")
6171
+
6172
+ @confluent_multi_tenant_app_id.setter
6173
+ def confluent_multi_tenant_app_id(self, value: Optional[pulumi.Input[_builtins.str]]):
6174
+ pulumi.set(self, "confluent_multi_tenant_app_id", value)
6175
+
6176
+
6177
+ if not MYPY:
6178
+ class ProviderIntegrationAuthorizationEnvironmentArgsDict(TypedDict):
6179
+ id: pulumi.Input[_builtins.str]
6180
+ """
6181
+ The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
6182
+ """
6183
+ elif False:
6184
+ ProviderIntegrationAuthorizationEnvironmentArgsDict: TypeAlias = Mapping[str, Any]
6185
+
6186
+ @pulumi.input_type
6187
+ class ProviderIntegrationAuthorizationEnvironmentArgs:
6188
+ def __init__(__self__, *,
6189
+ id: pulumi.Input[_builtins.str]):
6190
+ """
6191
+ :param pulumi.Input[_builtins.str] id: The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
6192
+ """
6193
+ pulumi.set(__self__, "id", id)
6194
+
6195
+ @_builtins.property
6196
+ @pulumi.getter
6197
+ def id(self) -> pulumi.Input[_builtins.str]:
6198
+ """
6199
+ The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
6200
+ """
6201
+ return pulumi.get(self, "id")
6202
+
6203
+ @id.setter
6204
+ def id(self, value: pulumi.Input[_builtins.str]):
6205
+ pulumi.set(self, "id", value)
6206
+
6207
+
6208
+ if not MYPY:
6209
+ class ProviderIntegrationAuthorizationGcpArgsDict(TypedDict):
6210
+ customer_google_service_account: pulumi.Input[_builtins.str]
6211
+ """
6212
+ Customer's Google Service Account that Confluent Cloud impersonates.
6213
+
6214
+ > **Note:** Exactly one of `azure` or `gcp` configuration blocks must be provided, matching the cloud provider of the associated provider integration.
6215
+ """
6216
+ google_service_account: NotRequired[pulumi.Input[_builtins.str]]
6217
+ """
6218
+ (Computed String) Google Service Account that Confluent Cloud uses for impersonation.
6219
+ """
6220
+ elif False:
6221
+ ProviderIntegrationAuthorizationGcpArgsDict: TypeAlias = Mapping[str, Any]
6222
+
6223
+ @pulumi.input_type
6224
+ class ProviderIntegrationAuthorizationGcpArgs:
6225
+ def __init__(__self__, *,
6226
+ customer_google_service_account: pulumi.Input[_builtins.str],
6227
+ google_service_account: Optional[pulumi.Input[_builtins.str]] = None):
6228
+ """
6229
+ :param pulumi.Input[_builtins.str] customer_google_service_account: Customer's Google Service Account that Confluent Cloud impersonates.
6230
+
6231
+ > **Note:** Exactly one of `azure` or `gcp` configuration blocks must be provided, matching the cloud provider of the associated provider integration.
6232
+ :param pulumi.Input[_builtins.str] google_service_account: (Computed String) Google Service Account that Confluent Cloud uses for impersonation.
6233
+ """
6234
+ pulumi.set(__self__, "customer_google_service_account", customer_google_service_account)
6235
+ if google_service_account is not None:
6236
+ pulumi.set(__self__, "google_service_account", google_service_account)
6237
+
6238
+ @_builtins.property
6239
+ @pulumi.getter(name="customerGoogleServiceAccount")
6240
+ def customer_google_service_account(self) -> pulumi.Input[_builtins.str]:
6241
+ """
6242
+ Customer's Google Service Account that Confluent Cloud impersonates.
6243
+
6244
+ > **Note:** Exactly one of `azure` or `gcp` configuration blocks must be provided, matching the cloud provider of the associated provider integration.
6245
+ """
6246
+ return pulumi.get(self, "customer_google_service_account")
6247
+
6248
+ @customer_google_service_account.setter
6249
+ def customer_google_service_account(self, value: pulumi.Input[_builtins.str]):
6250
+ pulumi.set(self, "customer_google_service_account", value)
6251
+
6252
+ @_builtins.property
6253
+ @pulumi.getter(name="googleServiceAccount")
6254
+ def google_service_account(self) -> Optional[pulumi.Input[_builtins.str]]:
6255
+ """
6256
+ (Computed String) Google Service Account that Confluent Cloud uses for impersonation.
6257
+ """
6258
+ return pulumi.get(self, "google_service_account")
6259
+
6260
+ @google_service_account.setter
6261
+ def google_service_account(self, value: Optional[pulumi.Input[_builtins.str]]):
6262
+ pulumi.set(self, "google_service_account", value)
6263
+
6264
+
6112
6265
  if not MYPY:
6113
6266
  class ProviderIntegrationAwsArgsDict(TypedDict):
6114
6267
  customer_role_arn: pulumi.Input[_builtins.str]
@@ -6223,6 +6376,37 @@ class ProviderIntegrationEnvironmentArgs:
6223
6376
  pulumi.set(self, "id", value)
6224
6377
 
6225
6378
 
6379
+ if not MYPY:
6380
+ class ProviderIntegrationSetupEnvironmentArgsDict(TypedDict):
6381
+ id: pulumi.Input[_builtins.str]
6382
+ """
6383
+ The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
6384
+ """
6385
+ elif False:
6386
+ ProviderIntegrationSetupEnvironmentArgsDict: TypeAlias = Mapping[str, Any]
6387
+
6388
+ @pulumi.input_type
6389
+ class ProviderIntegrationSetupEnvironmentArgs:
6390
+ def __init__(__self__, *,
6391
+ id: pulumi.Input[_builtins.str]):
6392
+ """
6393
+ :param pulumi.Input[_builtins.str] id: The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
6394
+ """
6395
+ pulumi.set(__self__, "id", id)
6396
+
6397
+ @_builtins.property
6398
+ @pulumi.getter
6399
+ def id(self) -> pulumi.Input[_builtins.str]:
6400
+ """
6401
+ The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
6402
+ """
6403
+ return pulumi.get(self, "id")
6404
+
6405
+ @id.setter
6406
+ def id(self, value: pulumi.Input[_builtins.str]):
6407
+ pulumi.set(self, "id", value)
6408
+
6409
+
6226
6410
  if not MYPY:
6227
6411
  class ProviderOauthArgsDict(TypedDict):
6228
6412
  oauth_identity_pool_id: pulumi.Input[_builtins.str]
@@ -9430,6 +9614,37 @@ class GetKafkaClusterStandardArgs:
9430
9614
  pass
9431
9615
 
9432
9616
 
9617
+ if not MYPY:
9618
+ class GetKafkaClustersEnvironmentArgsDict(TypedDict):
9619
+ id: _builtins.str
9620
+ """
9621
+ The ID of the Environment that the Kafka clusters belongs to, for example, `env-xyz456`.
9622
+ """
9623
+ elif False:
9624
+ GetKafkaClustersEnvironmentArgsDict: TypeAlias = Mapping[str, Any]
9625
+
9626
+ @pulumi.input_type
9627
+ class GetKafkaClustersEnvironmentArgs:
9628
+ def __init__(__self__, *,
9629
+ id: _builtins.str):
9630
+ """
9631
+ :param _builtins.str id: The ID of the Environment that the Kafka clusters belongs to, for example, `env-xyz456`.
9632
+ """
9633
+ pulumi.set(__self__, "id", id)
9634
+
9635
+ @_builtins.property
9636
+ @pulumi.getter
9637
+ def id(self) -> _builtins.str:
9638
+ """
9639
+ The ID of the Environment that the Kafka clusters belongs to, for example, `env-xyz456`.
9640
+ """
9641
+ return pulumi.get(self, "id")
9642
+
9643
+ @id.setter
9644
+ def id(self, value: _builtins.str):
9645
+ pulumi.set(self, "id", value)
9646
+
9647
+
9433
9648
  if not MYPY:
9434
9649
  class GetKafkaTopicCredentialsArgsDict(TypedDict):
9435
9650
  key: _builtins.str
@@ -10045,6 +10260,37 @@ class GetPrivateLinkAttachmentEnvironmentArgs:
10045
10260
  pulumi.set(self, "id", value)
10046
10261
 
10047
10262
 
10263
+ if not MYPY:
10264
+ class GetProviderIntegrationAuthorizationEnvironmentArgsDict(TypedDict):
10265
+ id: _builtins.str
10266
+ """
10267
+ The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
10268
+ """
10269
+ elif False:
10270
+ GetProviderIntegrationAuthorizationEnvironmentArgsDict: TypeAlias = Mapping[str, Any]
10271
+
10272
+ @pulumi.input_type
10273
+ class GetProviderIntegrationAuthorizationEnvironmentArgs:
10274
+ def __init__(__self__, *,
10275
+ id: _builtins.str):
10276
+ """
10277
+ :param _builtins.str id: The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
10278
+ """
10279
+ pulumi.set(__self__, "id", id)
10280
+
10281
+ @_builtins.property
10282
+ @pulumi.getter
10283
+ def id(self) -> _builtins.str:
10284
+ """
10285
+ The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
10286
+ """
10287
+ return pulumi.get(self, "id")
10288
+
10289
+ @id.setter
10290
+ def id(self, value: _builtins.str):
10291
+ pulumi.set(self, "id", value)
10292
+
10293
+
10048
10294
  if not MYPY:
10049
10295
  class GetProviderIntegrationEnvironmentArgsDict(TypedDict):
10050
10296
  id: _builtins.str
@@ -10082,6 +10328,37 @@ class GetProviderIntegrationEnvironmentArgs:
10082
10328
  pulumi.set(self, "id", value)
10083
10329
 
10084
10330
 
10331
+ if not MYPY:
10332
+ class GetProviderIntegrationSetupEnvironmentArgsDict(TypedDict):
10333
+ id: _builtins.str
10334
+ """
10335
+ The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
10336
+ """
10337
+ elif False:
10338
+ GetProviderIntegrationSetupEnvironmentArgsDict: TypeAlias = Mapping[str, Any]
10339
+
10340
+ @pulumi.input_type
10341
+ class GetProviderIntegrationSetupEnvironmentArgs:
10342
+ def __init__(__self__, *,
10343
+ id: _builtins.str):
10344
+ """
10345
+ :param _builtins.str id: The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
10346
+ """
10347
+ pulumi.set(__self__, "id", id)
10348
+
10349
+ @_builtins.property
10350
+ @pulumi.getter
10351
+ def id(self) -> _builtins.str:
10352
+ """
10353
+ The ID of the Environment that the Provider Integration belongs to, for example, `env-abc123`.
10354
+ """
10355
+ return pulumi.get(self, "id")
10356
+
10357
+ @id.setter
10358
+ def id(self, value: _builtins.str):
10359
+ pulumi.set(self, "id", value)
10360
+
10361
+
10085
10362
  if not MYPY:
10086
10363
  class GetSchemaCredentialsArgsDict(TypedDict):
10087
10364
  key: _builtins.str
@@ -225,12 +225,96 @@ class ApiKey(pulumi.CustomResource):
225
225
  ## Example Usage
226
226
 
227
227
  ### Example Kafka API Key
228
+ ```python
229
+ import pulumi
230
+ import pulumi_confluentcloud as confluentcloud
231
+
232
+ app_manager_kafka_api_key = confluentcloud.ApiKey("app-manager-kafka-api-key",
233
+ display_name="app-manager-kafka-api-key",
234
+ description="Kafka API Key that is owned by 'app-manager' service account",
235
+ owner={
236
+ "id": app_manager["id"],
237
+ "api_version": app_manager["apiVersion"],
238
+ "kind": app_manager["kind"],
239
+ },
240
+ managed_resource={
241
+ "id": basic["id"],
242
+ "api_version": basic["apiVersion"],
243
+ "kind": basic["kind"],
244
+ "environments": [{
245
+ "id": staging["id"],
246
+ }],
247
+ })
248
+ ```
228
249
 
229
250
  ### Example ksqlDB API Key
251
+ ```python
252
+ import pulumi
253
+ import pulumi_confluentcloud as confluentcloud
254
+
255
+ ksqldb_api_key = confluentcloud.ApiKey("ksqldb-api-key",
256
+ display_name="ksqldb-api-key",
257
+ description="KsqlDB API Key that is owned by 'app-manager' service account",
258
+ owner={
259
+ "id": app_manager["id"],
260
+ "api_version": app_manager["apiVersion"],
261
+ "kind": app_manager["kind"],
262
+ },
263
+ managed_resource={
264
+ "id": main["id"],
265
+ "api_version": main["apiVersion"],
266
+ "kind": main["kind"],
267
+ "environments": [{
268
+ "id": staging["id"],
269
+ }],
270
+ })
271
+ ```
230
272
 
231
273
  ### Example Schema Registry API Key
274
+ ```python
275
+ import pulumi
276
+ import pulumi_confluentcloud as confluentcloud
277
+
278
+ env_manager_schema_registry_api_key = confluentcloud.ApiKey("env-manager-schema-registry-api-key",
279
+ display_name="env-manager-schema-registry-api-key",
280
+ description="Schema Registry API Key that is owned by 'env-manager' service account",
281
+ owner={
282
+ "id": env_manager["id"],
283
+ "api_version": env_manager["apiVersion"],
284
+ "kind": env_manager["kind"],
285
+ },
286
+ managed_resource={
287
+ "id": essentials["id"],
288
+ "api_version": essentials["apiVersion"],
289
+ "kind": essentials["kind"],
290
+ "environments": [{
291
+ "id": staging["id"],
292
+ }],
293
+ })
294
+ ```
232
295
 
233
296
  ### Example Flink API Key
297
+ ```python
298
+ import pulumi
299
+ import pulumi_confluentcloud as confluentcloud
300
+
301
+ env_manager_flink_api_key = confluentcloud.ApiKey("env-manager-flink-api-key",
302
+ display_name="env-manager-flink-api-key",
303
+ description="Flink API Key that is owned by 'env-manager' service account",
304
+ owner={
305
+ "id": env_manager["id"],
306
+ "api_version": env_manager["apiVersion"],
307
+ "kind": env_manager["kind"],
308
+ },
309
+ managed_resource={
310
+ "id": example["id"],
311
+ "api_version": example["apiVersion"],
312
+ "kind": example["kind"],
313
+ "environments": [{
314
+ "id": staging["id"],
315
+ }],
316
+ })
317
+ ```
234
318
 
235
319
  ### Example Tableflow API Key
236
320
  ```python
@@ -342,12 +426,96 @@ class ApiKey(pulumi.CustomResource):
342
426
  ## Example Usage
343
427
 
344
428
  ### Example Kafka API Key
429
+ ```python
430
+ import pulumi
431
+ import pulumi_confluentcloud as confluentcloud
432
+
433
+ app_manager_kafka_api_key = confluentcloud.ApiKey("app-manager-kafka-api-key",
434
+ display_name="app-manager-kafka-api-key",
435
+ description="Kafka API Key that is owned by 'app-manager' service account",
436
+ owner={
437
+ "id": app_manager["id"],
438
+ "api_version": app_manager["apiVersion"],
439
+ "kind": app_manager["kind"],
440
+ },
441
+ managed_resource={
442
+ "id": basic["id"],
443
+ "api_version": basic["apiVersion"],
444
+ "kind": basic["kind"],
445
+ "environments": [{
446
+ "id": staging["id"],
447
+ }],
448
+ })
449
+ ```
345
450
 
346
451
  ### Example ksqlDB API Key
452
+ ```python
453
+ import pulumi
454
+ import pulumi_confluentcloud as confluentcloud
455
+
456
+ ksqldb_api_key = confluentcloud.ApiKey("ksqldb-api-key",
457
+ display_name="ksqldb-api-key",
458
+ description="KsqlDB API Key that is owned by 'app-manager' service account",
459
+ owner={
460
+ "id": app_manager["id"],
461
+ "api_version": app_manager["apiVersion"],
462
+ "kind": app_manager["kind"],
463
+ },
464
+ managed_resource={
465
+ "id": main["id"],
466
+ "api_version": main["apiVersion"],
467
+ "kind": main["kind"],
468
+ "environments": [{
469
+ "id": staging["id"],
470
+ }],
471
+ })
472
+ ```
347
473
 
348
474
  ### Example Schema Registry API Key
475
+ ```python
476
+ import pulumi
477
+ import pulumi_confluentcloud as confluentcloud
478
+
479
+ env_manager_schema_registry_api_key = confluentcloud.ApiKey("env-manager-schema-registry-api-key",
480
+ display_name="env-manager-schema-registry-api-key",
481
+ description="Schema Registry API Key that is owned by 'env-manager' service account",
482
+ owner={
483
+ "id": env_manager["id"],
484
+ "api_version": env_manager["apiVersion"],
485
+ "kind": env_manager["kind"],
486
+ },
487
+ managed_resource={
488
+ "id": essentials["id"],
489
+ "api_version": essentials["apiVersion"],
490
+ "kind": essentials["kind"],
491
+ "environments": [{
492
+ "id": staging["id"],
493
+ }],
494
+ })
495
+ ```
349
496
 
350
497
  ### Example Flink API Key
498
+ ```python
499
+ import pulumi
500
+ import pulumi_confluentcloud as confluentcloud
501
+
502
+ env_manager_flink_api_key = confluentcloud.ApiKey("env-manager-flink-api-key",
503
+ display_name="env-manager-flink-api-key",
504
+ description="Flink API Key that is owned by 'env-manager' service account",
505
+ owner={
506
+ "id": env_manager["id"],
507
+ "api_version": env_manager["apiVersion"],
508
+ "kind": env_manager["kind"],
509
+ },
510
+ managed_resource={
511
+ "id": example["id"],
512
+ "api_version": example["apiVersion"],
513
+ "kind": example["kind"],
514
+ "environments": [{
515
+ "id": staging["id"],
516
+ }],
517
+ })
518
+ ```
351
519
 
352
520
  ### Example Tableflow API Key
353
521
  ```python
@@ -248,6 +248,30 @@ class DnsForwarder(pulumi.CustomResource):
248
248
 
249
249
  ### Option #2: Create using ForwardViaGcpDnsZones method
250
250
 
251
+ ```python
252
+ import pulumi
253
+ import pulumi_confluentcloud as confluentcloud
254
+
255
+ development = confluentcloud.Environment("development", display_name="Development")
256
+ main = confluentcloud.DnsForwarder("main",
257
+ display_name="dns_forwarder",
258
+ environment={
259
+ "id": development.id,
260
+ },
261
+ domains=[
262
+ "example.com",
263
+ "domainname.com",
264
+ ],
265
+ gateway={
266
+ "id": main_confluent_network["gateway"][0]["id"],
267
+ },
268
+ forward_via_gcp_zones=[{
269
+ "domainMappings": {
270
+ "example.com": "zone-1,project-1",
271
+ },
272
+ }])
273
+ ```
274
+
251
275
  ## Import
252
276
 
253
277
  You can import a DNS Forwarder by using Environment ID and DNS Forwarder ID, in the format `<Environment ID>/<DNS Forwarder ID>`. The following example shows how to import a DNS Forwarder:
@@ -310,6 +334,30 @@ class DnsForwarder(pulumi.CustomResource):
310
334
 
311
335
  ### Option #2: Create using ForwardViaGcpDnsZones method
312
336
 
337
+ ```python
338
+ import pulumi
339
+ import pulumi_confluentcloud as confluentcloud
340
+
341
+ development = confluentcloud.Environment("development", display_name="Development")
342
+ main = confluentcloud.DnsForwarder("main",
343
+ display_name="dns_forwarder",
344
+ environment={
345
+ "id": development.id,
346
+ },
347
+ domains=[
348
+ "example.com",
349
+ "domainname.com",
350
+ ],
351
+ gateway={
352
+ "id": main_confluent_network["gateway"][0]["id"],
353
+ },
354
+ forward_via_gcp_zones=[{
355
+ "domainMappings": {
356
+ "example.com": "zone-1,project-1",
357
+ },
358
+ }])
359
+ ```
360
+
313
361
  ## Import
314
362
 
315
363
  You can import a DNS Forwarder by using Environment ID and DNS Forwarder ID, in the format `<Environment ID>/<DNS Forwarder ID>`. The following example shows how to import a DNS Forwarder: