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.
@@ -446,6 +446,120 @@ class Schema(pulumi.CustomResource):
446
446
  """
447
447
  ## Example Usage
448
448
 
449
+ ### Option #1: Manage multiple Schema Registry clusters in the same Pulumi Stack
450
+
451
+ ```python
452
+ import pulumi
453
+ import pulumi_confluentcloud as confluentcloud
454
+ import pulumi_std as std
455
+
456
+ avro_purchase = confluentcloud.Schema("avro-purchase",
457
+ schema_registry_cluster={
458
+ "id": essentials["id"],
459
+ },
460
+ rest_endpoint=essentials["restEndpoint"],
461
+ subject_name="avro-purchase-value",
462
+ format="AVRO",
463
+ schema=std.index.file(input="./schemas/avro/purchase.avsc")["result"],
464
+ credentials={
465
+ "key": "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
466
+ "secret": "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
467
+ })
468
+ ```
469
+
470
+ ### Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack
471
+
472
+ ```python
473
+ import pulumi
474
+ import pulumi_confluentcloud as confluentcloud
475
+ import pulumi_std as std
476
+
477
+ avro_purchase = confluentcloud.Schema("avro-purchase",
478
+ subject_name="avro-purchase-value",
479
+ format="AVRO",
480
+ schema=std.index.file(input="./schemas/avro/purchase.avsc")["result"])
481
+ ```
482
+
483
+ ## Getting Started
484
+
485
+ The following end-to-end examples might help to get started with `Schema` resource:
486
+ * single-event-types-avro-schema
487
+ * single-event-types-proto-schema
488
+ * single-event-types-proto-schema-with-alias
489
+ * multiple-event-types-avro-schema
490
+ * multiple-event-types-proto-schema
491
+ * field-level-encryption-schema
492
+
493
+ ## Additional Examples
494
+
495
+ ### Default Option A: Manage the latest schema version only. The resource instance always points to the latest schema version by supporting in-place updates
496
+
497
+ ```python
498
+ import pulumi
499
+ import pulumi_confluentcloud as confluentcloud
500
+ import pulumi_std as std
501
+
502
+ # confluent_schema.avro-purchase points to v1.
503
+ avro_purchase = confluentcloud.Schema("avro-purchase",
504
+ subject_name="avro-purchase-value",
505
+ format="AVRO",
506
+ schema=std.index.file(input="./schemas/avro/purchase.avsc")["result"],
507
+ metadata={
508
+ "properties": {
509
+ "owner": "Bob Jones",
510
+ "email": "bob@acme.com",
511
+ },
512
+ "sensitives": [
513
+ "s1",
514
+ "s2",
515
+ ],
516
+ "tags": [
517
+ {
518
+ "key": "tag1",
519
+ "values": ["PII"],
520
+ },
521
+ {
522
+ "key": "tag2",
523
+ "values": ["PIIIII"],
524
+ },
525
+ ],
526
+ },
527
+ ruleset={
528
+ "domain_rules": [
529
+ {
530
+ "name": "encryptPII",
531
+ "kind": "TRANSFORM",
532
+ "type": "ENCRYPT",
533
+ "mode": "WRITEREAD",
534
+ "tags": ["PII"],
535
+ "params": {
536
+ "encrypt.kek.name": "testkek2",
537
+ },
538
+ },
539
+ {
540
+ "name": "encrypt",
541
+ "kind": "TRANSFORM",
542
+ "type": "ENCRYPT",
543
+ "mode": "WRITEREAD",
544
+ "tags": ["PIIIII"],
545
+ "params": {
546
+ "encrypt.kek.name": "testkek2",
547
+ },
548
+ },
549
+ ],
550
+ "migration_rules": [{
551
+ "name": "encrypt",
552
+ "kind": "TRANSFORM",
553
+ "type": "ENCRYPT",
554
+ "mode": "WRITEREAD",
555
+ "tags": ["PIM"],
556
+ "params": {
557
+ "encrypt.kek.name": "testkekM",
558
+ },
559
+ }],
560
+ })
561
+ ```
562
+
449
563
  ## Import
450
564
 
451
565
  You can import a Schema by using the Schema Registry cluster ID, Subject name, and unique identifier (or `latest` when `recreate_on_update = false`) of the Schema in the format `<Schema Registry cluster ID>/<Subject name>/<Schema identifier>`, for example:
@@ -498,6 +612,120 @@ class Schema(pulumi.CustomResource):
498
612
  """
499
613
  ## Example Usage
500
614
 
615
+ ### Option #1: Manage multiple Schema Registry clusters in the same Pulumi Stack
616
+
617
+ ```python
618
+ import pulumi
619
+ import pulumi_confluentcloud as confluentcloud
620
+ import pulumi_std as std
621
+
622
+ avro_purchase = confluentcloud.Schema("avro-purchase",
623
+ schema_registry_cluster={
624
+ "id": essentials["id"],
625
+ },
626
+ rest_endpoint=essentials["restEndpoint"],
627
+ subject_name="avro-purchase-value",
628
+ format="AVRO",
629
+ schema=std.index.file(input="./schemas/avro/purchase.avsc")["result"],
630
+ credentials={
631
+ "key": "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
632
+ "secret": "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
633
+ })
634
+ ```
635
+
636
+ ### Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack
637
+
638
+ ```python
639
+ import pulumi
640
+ import pulumi_confluentcloud as confluentcloud
641
+ import pulumi_std as std
642
+
643
+ avro_purchase = confluentcloud.Schema("avro-purchase",
644
+ subject_name="avro-purchase-value",
645
+ format="AVRO",
646
+ schema=std.index.file(input="./schemas/avro/purchase.avsc")["result"])
647
+ ```
648
+
649
+ ## Getting Started
650
+
651
+ The following end-to-end examples might help to get started with `Schema` resource:
652
+ * single-event-types-avro-schema
653
+ * single-event-types-proto-schema
654
+ * single-event-types-proto-schema-with-alias
655
+ * multiple-event-types-avro-schema
656
+ * multiple-event-types-proto-schema
657
+ * field-level-encryption-schema
658
+
659
+ ## Additional Examples
660
+
661
+ ### Default Option A: Manage the latest schema version only. The resource instance always points to the latest schema version by supporting in-place updates
662
+
663
+ ```python
664
+ import pulumi
665
+ import pulumi_confluentcloud as confluentcloud
666
+ import pulumi_std as std
667
+
668
+ # confluent_schema.avro-purchase points to v1.
669
+ avro_purchase = confluentcloud.Schema("avro-purchase",
670
+ subject_name="avro-purchase-value",
671
+ format="AVRO",
672
+ schema=std.index.file(input="./schemas/avro/purchase.avsc")["result"],
673
+ metadata={
674
+ "properties": {
675
+ "owner": "Bob Jones",
676
+ "email": "bob@acme.com",
677
+ },
678
+ "sensitives": [
679
+ "s1",
680
+ "s2",
681
+ ],
682
+ "tags": [
683
+ {
684
+ "key": "tag1",
685
+ "values": ["PII"],
686
+ },
687
+ {
688
+ "key": "tag2",
689
+ "values": ["PIIIII"],
690
+ },
691
+ ],
692
+ },
693
+ ruleset={
694
+ "domain_rules": [
695
+ {
696
+ "name": "encryptPII",
697
+ "kind": "TRANSFORM",
698
+ "type": "ENCRYPT",
699
+ "mode": "WRITEREAD",
700
+ "tags": ["PII"],
701
+ "params": {
702
+ "encrypt.kek.name": "testkek2",
703
+ },
704
+ },
705
+ {
706
+ "name": "encrypt",
707
+ "kind": "TRANSFORM",
708
+ "type": "ENCRYPT",
709
+ "mode": "WRITEREAD",
710
+ "tags": ["PIIIII"],
711
+ "params": {
712
+ "encrypt.kek.name": "testkek2",
713
+ },
714
+ },
715
+ ],
716
+ "migration_rules": [{
717
+ "name": "encrypt",
718
+ "kind": "TRANSFORM",
719
+ "type": "ENCRYPT",
720
+ "mode": "WRITEREAD",
721
+ "tags": ["PIM"],
722
+ "params": {
723
+ "encrypt.kek.name": "testkekM",
724
+ },
725
+ }],
726
+ })
727
+ ```
728
+
501
729
  ## Import
502
730
 
503
731
  You can import a Schema by using the Schema Registry cluster ID, Subject name, and unique identifier (or `latest` when `recreate_on_update = false`) of the Schema in the format `<Schema Registry cluster ID>/<Subject name>/<Schema identifier>`, for example:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi_confluentcloud
3
- Version: 2.49.0a1761362905
3
+ Version: 2.50.0
4
4
  Summary: A Pulumi package for creating and managing Confluent cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://www.pulumi.com
@@ -1,8 +1,8 @@
1
- pulumi_confluentcloud/__init__.py,sha256=kOwNfz5DblrFq6m5-J913KrPPjoA5mJNMUBX75pFPmg,16039
2
- pulumi_confluentcloud/_inputs.py,sha256=N-XIGcY5jKNKnpEDwZSU-SwIbydQJ2H955XBI_Oi2ck,464805
1
+ pulumi_confluentcloud/__init__.py,sha256=njoOocldDmVmxvwjY0h3gDa9vLDo_vpJsKmu8LK1Uks,16765
2
+ pulumi_confluentcloud/_inputs.py,sha256=3saWgVNL2700CGB6W2Jhshc_jEwLEnINGZz4MWURJC0,475774
3
3
  pulumi_confluentcloud/_utilities.py,sha256=66uLGQDI1oMFOI3Fe5igAphtexWhcSLDyuVW50jW3ik,10789
4
4
  pulumi_confluentcloud/access_point.py,sha256=EWjw5oS5Zvch3deV4n8oUv9AV73aYy7qUrEJ6ji0Db0,32976
5
- pulumi_confluentcloud/api_key.py,sha256=CkQiXMQOINtH2Kn2gvVhIdv95R_HEjcT8sSlDwL3miw,30526
5
+ pulumi_confluentcloud/api_key.py,sha256=-jTRJ8ztmZQoqb3T9IzR7bhBdV9PxwUHDj8sG4O93Dc,36850
6
6
  pulumi_confluentcloud/business_metadata.py,sha256=QuEJvOtBECP1kwVjixRLNrQmgmIjNHVTPdve2wzouLQ,27965
7
7
  pulumi_confluentcloud/business_metadata_binding.py,sha256=HHtROR2Pfh9USiZPYqg9wLkzki-z-u86QvVa0S_TYDk,33282
8
8
  pulumi_confluentcloud/byok_key.py,sha256=Y8vJYOdmH_nNIJpBTU73n_OGTnR-VkyRQH9QvWIFO88,14838
@@ -15,7 +15,7 @@ pulumi_confluentcloud/connect_artifact.py,sha256=xAECaIVBozyLB6JwjsXZtVeRMFeu9sb
15
15
  pulumi_confluentcloud/connector.py,sha256=ZaPMoFuqYQDGiFLV3KSGVBKHxU_EZMEbzlWA7JBs1yE,54960
16
16
  pulumi_confluentcloud/custom_connector_plugin.py,sha256=B97Lj1fD1ZFbUxrcn1XO5XpKuD_JyIP5JS6jUfNnJ54,32935
17
17
  pulumi_confluentcloud/custom_connector_plugin_version.py,sha256=TTvKTE6Qtgf7CoYH2EkdEh3j2Ia4pBEKiVZwRFdmP1w,39138
18
- pulumi_confluentcloud/dns_forwarder.py,sha256=dWWzaaOg299dRrr4uT9_bCuIOwQVi0ZTmkTQvDqmwe8,20822
18
+ pulumi_confluentcloud/dns_forwarder.py,sha256=trZQYgORCHsig9yIpDN1vIvH1fVWIuw5JMXVpW9Kz0A,22304
19
19
  pulumi_confluentcloud/dns_record.py,sha256=fDie3oUm9qs8wYj6NI3CGOGs08R5F8FNuvQEuV75DG8,17843
20
20
  pulumi_confluentcloud/environment.py,sha256=imFxGTVuWMT4pGoZZN0zty78heMolgDUcMCszq11YMw,20012
21
21
  pulumi_confluentcloud/flink_artifact.py,sha256=SOqT9ST9sVdR-4HjW8a53YEp47VmjiTYWFdE2ldGLUQ,38140
@@ -27,7 +27,7 @@ pulumi_confluentcloud/get_access_point.py,sha256=rHLsdnw57GsQ4VOc3yu0mYGVtMdfA-y
27
27
  pulumi_confluentcloud/get_business_metadata.py,sha256=TbBaZw-14K-6kyVFXNbxb5aBjE9znBe0QlMfXMCK3h8,12259
28
28
  pulumi_confluentcloud/get_business_metadata_binding.py,sha256=Pgc2yJ74PYyGhN5VE4z6RaDRAgOB5clM5sZH9IAkHzk,14483
29
29
  pulumi_confluentcloud/get_byok_key.py,sha256=FAeu9-RScviJ3G5c6rrHyl6u9l32IUjIi-zGRaOz4L0,5161
30
- pulumi_confluentcloud/get_catalog_integration.py,sha256=7eH8a8kB6yGfO5-RxgNZv8QwQnfG5Byd9SnH1BPwceM,8830
30
+ pulumi_confluentcloud/get_catalog_integration.py,sha256=vSe2wKQofJ-_ZyUiKGAwbgiWKMfTJ0813s0ugEFP73o,10644
31
31
  pulumi_confluentcloud/get_certificate_authority.py,sha256=BNQddgCEq8j6ysTLTG3ybZwVo277QPdRo3o75c6AulY,12019
32
32
  pulumi_confluentcloud/get_certificate_pool.py,sha256=4R-TYCkr1VM7LxKqw6d8UIIPOwBp3JzWtf-8Ym0sxag,7876
33
33
  pulumi_confluentcloud/get_cluster_link.py,sha256=FJ3Wueo2lJamJAeY3oLYiq-o4ujRmmJ6yfW2vmGzJrU,11522
@@ -49,6 +49,7 @@ pulumi_confluentcloud/get_ip_filter.py,sha256=Szs27cMsUYmnXfV5Gye3flzRaBK8b6CAG1
49
49
  pulumi_confluentcloud/get_ip_group.py,sha256=-VvaBIOTt9PViJQLh39g-HP9wmlTm-XGQ8X2SKuSs98,5295
50
50
  pulumi_confluentcloud/get_kafka_client_quota.py,sha256=240n-60IfBvQUsGox8_a3JEFRXf-X9_yvH8CZldiGak,8278
51
51
  pulumi_confluentcloud/get_kafka_cluster.py,sha256=tGzsSOxU8K1jBPIJHOdPnf8HHBJBjs8GVNkZXNRkbsU,20868
52
+ pulumi_confluentcloud/get_kafka_clusters.py,sha256=24hLRYkoL6SLNqT8nov5E6T5x_DAGG8eyzu-MrzXMWs,5372
52
53
  pulumi_confluentcloud/get_kafka_topic.py,sha256=mML10ohsw5lEEhZl2SxLFHl8qfmIX6qp_OL9Re8NeQ8,10093
53
54
  pulumi_confluentcloud/get_ksql_cluster.py,sha256=wRRvea5BIe3p-wniKzx7toazrzh2md9rw7vi8-XgTw8,13040
54
55
  pulumi_confluentcloud/get_network.py,sha256=G7oZm419NTuyJsTLRM7HhaSfFLNsoQLIYZXYS670N0w,19619
@@ -60,6 +61,8 @@ pulumi_confluentcloud/get_private_link_access.py,sha256=LjIoJHR4IgUkENE7P0NJg4t4
60
61
  pulumi_confluentcloud/get_private_link_attachment.py,sha256=PHycDxRIvcpnP3JMgrhTfKhMW5CFECMdbLuSQOGXp_c,10866
61
62
  pulumi_confluentcloud/get_private_link_attachment_connection.py,sha256=BxSUuWyZxXrvWpP_XuoE6fwnqRcwBl5DNgYMIuz2fsQ,10541
62
63
  pulumi_confluentcloud/get_provider_integration.py,sha256=30UryTJfeAYuknyrcf4IUADsjK_pFcRCJzREt8dnilc,8822
64
+ pulumi_confluentcloud/get_provider_integration_authorization.py,sha256=PN-8zxmIwLiVxOdYHRsuTq_vAMKbu53yZoCpQuBlw48,7088
65
+ pulumi_confluentcloud/get_provider_integration_setup.py,sha256=fURUWzVmARpE5Lm8AfYWr_oLglcBgtnsk6T1n-G1bp4,11252
63
66
  pulumi_confluentcloud/get_role_binding.py,sha256=M-_XXL75KCQM7f111HXyq2-qp49GImi8FUCakhUVl5w,6248
64
67
  pulumi_confluentcloud/get_schema.py,sha256=kSUHpguZmPo_SJjdhpk27Kg2LHST3kUbrgswt20CS1U,19768
65
68
  pulumi_confluentcloud/get_schema_registry_cluster.py,sha256=N7te_5n5Zh2Qh38-2sovMWBfkASppzK4y_eqRyZB_bk,14801
@@ -94,7 +97,7 @@ pulumi_confluentcloud/ksql_cluster.py,sha256=2iHuwHft1nFCJHHUZ_OQ6za0Wwhc01VyfdV
94
97
  pulumi_confluentcloud/network.py,sha256=8CtwHx8oTbnbgX7F4WLcmyFHUR5v-d6mt4XtcYdGShw,65777
95
98
  pulumi_confluentcloud/network_link_endpoint.py,sha256=mIDIlsxhKa5wwaLJzBn9aMGGl_lYRcZvUDjLFEh5aYI,21019
96
99
  pulumi_confluentcloud/network_link_service.py,sha256=1EYvdSSxGVyf9EYUb9KQEGF_d7ct74B4BTQcy5VvTto,21597
97
- pulumi_confluentcloud/outputs.py,sha256=4gRn_OaaVU8kMNbHM3m4C6ii_tq63YO4zaYelgETo20,385279
100
+ pulumi_confluentcloud/outputs.py,sha256=JpWdKPjiDZ-saZ8ZfkZGWcfQr1KmPvLmX_2WZAQdRvY,416836
98
101
  pulumi_confluentcloud/peering.py,sha256=JLZhrSeVal5O2KcWqgKjcA_NVxm4jCgdmKkeVqEcLAI,26219
99
102
  pulumi_confluentcloud/plugin.py,sha256=CKzFzVS27r-z8IC6uQKg6JMTAY-58RfRp9WZfybQC9c,19241
100
103
  pulumi_confluentcloud/private_link_access.py,sha256=RXRS63n0MtU1rqscLqDiZXCPTyB6Agn4CwKu5BEg6BY,26465
@@ -102,10 +105,12 @@ pulumi_confluentcloud/private_link_attachment.py,sha256=cTulprHd5xC1O0pvXFUmSY8U
102
105
  pulumi_confluentcloud/private_link_attachment_connection.py,sha256=KpQR8PG9KpNkV5MCqYjzOWrVBXY8st6cDDTPBsfBz4k,27139
103
106
  pulumi_confluentcloud/provider.py,sha256=sN-VlTRE0cOeq78IKZopdjt1JLVRJpXA3LYYbYizrHg,34888
104
107
  pulumi_confluentcloud/provider_integration.py,sha256=RmBOJN9EFsKlRiBAEP2_hXl-LR0FMWA6_qC61HWocPQ,16497
105
- pulumi_confluentcloud/pulumi-plugin.json,sha256=cDqfwqdCVGqL6pm3oRiLzbV9E8gFFTnoBGMmmqFBlRg,91
108
+ pulumi_confluentcloud/provider_integration_authorization.py,sha256=iESH7OhbtppHB3wY8oBgpWAl9mrvp6Iar9vWtuXjHso,17537
109
+ pulumi_confluentcloud/provider_integration_setup.py,sha256=q06Qw844J2N0uoctoACyySDy9piyuqjHzAjZS_WsHIc,19706
110
+ pulumi_confluentcloud/pulumi-plugin.json,sha256=jnt2qCNafq-x9SS00qjrjbjJxi5XYRWVBqtn9pv2EKA,74
106
111
  pulumi_confluentcloud/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
107
112
  pulumi_confluentcloud/role_binding.py,sha256=MbeRwcuWNj_KSnNP2zEqNSthGBV1z1haBjbk97pvMZk,20463
108
- pulumi_confluentcloud/schema.py,sha256=TrAq7lGUxbNvgD-33fhRm602EIR9EXO8tFfwhRADmkk,40807
113
+ pulumi_confluentcloud/schema.py,sha256=CYdHdFIw-VYplimUSaTWGittfo5wUOEWuFYfD_kUbvI,49055
109
114
  pulumi_confluentcloud/schema_exporter.py,sha256=9_mmQqyYSUTCgXQhmWWB3tUzSD3OVOvYGEZwO8t7aXw,43297
110
115
  pulumi_confluentcloud/schema_registry_cluster_config.py,sha256=3RROySE3mpSECfpnlMv6AOgFmpUSaQdPjnX4ohpa5oY,22706
111
116
  pulumi_confluentcloud/schema_registry_cluster_mode.py,sha256=0L7mufKUUjeqyQs9rF4eJv29zyJP5dr9avMarhR80t4,22207
@@ -123,7 +128,7 @@ pulumi_confluentcloud/config/__init__.py,sha256=XWnQfVtc2oPapjSXXCdORFJvMpXt_SMJ
123
128
  pulumi_confluentcloud/config/__init__.pyi,sha256=wUpGQFTVXK9rFefT-KLKGEPtajQG_D4Due_TzbOT5jE,2151
124
129
  pulumi_confluentcloud/config/outputs.py,sha256=j9KabfxdzVhzLBDXzRsfQbM3kPvizCnfA4jT1GiYu7I,5369
125
130
  pulumi_confluentcloud/config/vars.py,sha256=a6jklkyhkLNyX1ZeL2snOeaA6uX4dqwUZl5fUDp3wMQ,4915
126
- pulumi_confluentcloud-2.49.0a1761362905.dist-info/METADATA,sha256=azCNe8xET-u0znBtGFJSEVXCc_wX14T29QvXfTHlg8g,2898
127
- pulumi_confluentcloud-2.49.0a1761362905.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
128
- pulumi_confluentcloud-2.49.0a1761362905.dist-info/top_level.txt,sha256=0spb6Wqsv3xa9v5poWmP3cWll3tbfOwOKwneN7S2DjM,22
129
- pulumi_confluentcloud-2.49.0a1761362905.dist-info/RECORD,,
131
+ pulumi_confluentcloud-2.50.0.dist-info/METADATA,sha256=kzatJfrQquT7-U2GCFvKY-UQUwjVWSOu8ymzSiH0yeQ,2887
132
+ pulumi_confluentcloud-2.50.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
133
+ pulumi_confluentcloud-2.50.0.dist-info/top_level.txt,sha256=0spb6Wqsv3xa9v5poWmP3cWll3tbfOwOKwneN7S2DjM,22
134
+ pulumi_confluentcloud-2.50.0.dist-info/RECORD,,