pulumi-confluentcloud 2.10.0a1731389320__py3-none-any.whl → 2.54.0a1766503424__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 (134) hide show
  1. pulumi_confluentcloud/__init__.py +102 -1
  2. pulumi_confluentcloud/_inputs.py +4870 -2499
  3. pulumi_confluentcloud/_utilities.py +9 -5
  4. pulumi_confluentcloud/access_point.py +188 -33
  5. pulumi_confluentcloud/api_key.py +178 -144
  6. pulumi_confluentcloud/business_metadata.py +76 -73
  7. pulumi_confluentcloud/business_metadata_binding.py +101 -98
  8. pulumi_confluentcloud/byok_key.py +12 -11
  9. pulumi_confluentcloud/catalog_entity_attributes.py +133 -92
  10. pulumi_confluentcloud/catalog_integration.py +544 -0
  11. pulumi_confluentcloud/certificate_authority.py +158 -157
  12. pulumi_confluentcloud/certificate_pool.py +76 -75
  13. pulumi_confluentcloud/cluster_link.py +168 -91
  14. pulumi_confluentcloud/config/__init__.py +2 -1
  15. pulumi_confluentcloud/config/__init__.pyi +23 -2
  16. pulumi_confluentcloud/config/outputs.py +110 -0
  17. pulumi_confluentcloud/config/vars.py +50 -21
  18. pulumi_confluentcloud/connect_artifact.py +478 -0
  19. pulumi_confluentcloud/connector.py +399 -87
  20. pulumi_confluentcloud/custom_connector_plugin.py +142 -141
  21. pulumi_confluentcloud/custom_connector_plugin_version.py +614 -0
  22. pulumi_confluentcloud/dns_forwarder.py +136 -45
  23. pulumi_confluentcloud/dns_record.py +46 -45
  24. pulumi_confluentcloud/environment.py +74 -73
  25. pulumi_confluentcloud/flink_artifact.py +254 -198
  26. pulumi_confluentcloud/flink_compute_pool.py +101 -100
  27. pulumi_confluentcloud/flink_connection.py +935 -0
  28. pulumi_confluentcloud/flink_statement.py +218 -124
  29. pulumi_confluentcloud/gateway.py +88 -28
  30. pulumi_confluentcloud/get_access_point.py +51 -17
  31. pulumi_confluentcloud/get_business_metadata.py +27 -25
  32. pulumi_confluentcloud/get_business_metadata_binding.py +36 -34
  33. pulumi_confluentcloud/get_byok_key.py +13 -13
  34. pulumi_confluentcloud/get_catalog_integration.py +248 -0
  35. pulumi_confluentcloud/get_certificate_authority.py +42 -42
  36. pulumi_confluentcloud/get_certificate_pool.py +21 -21
  37. pulumi_confluentcloud/get_cluster_link.py +274 -0
  38. pulumi_confluentcloud/get_connect_artifact.py +191 -0
  39. pulumi_confluentcloud/get_dns_record.py +17 -17
  40. pulumi_confluentcloud/get_environment.py +19 -19
  41. pulumi_confluentcloud/get_environments.py +8 -8
  42. pulumi_confluentcloud/get_flink_artifact.py +61 -43
  43. pulumi_confluentcloud/get_flink_compute_pool.py +29 -29
  44. pulumi_confluentcloud/get_flink_connection.py +267 -0
  45. pulumi_confluentcloud/get_flink_region.py +26 -26
  46. pulumi_confluentcloud/get_gateway.py +60 -18
  47. pulumi_confluentcloud/get_group_mapping.py +20 -20
  48. pulumi_confluentcloud/get_identity_pool.py +23 -23
  49. pulumi_confluentcloud/get_identity_provider.py +37 -23
  50. pulumi_confluentcloud/get_invitation.py +22 -22
  51. pulumi_confluentcloud/get_ip_addresses.py +8 -8
  52. pulumi_confluentcloud/get_ip_filter.py +175 -0
  53. pulumi_confluentcloud/get_ip_group.py +133 -0
  54. pulumi_confluentcloud/get_kafka_client_quota.py +19 -19
  55. pulumi_confluentcloud/get_kafka_cluster.py +57 -43
  56. pulumi_confluentcloud/get_kafka_clusters.py +136 -0
  57. pulumi_confluentcloud/get_kafka_topic.py +24 -24
  58. pulumi_confluentcloud/get_ksql_cluster.py +35 -35
  59. pulumi_confluentcloud/get_network.py +56 -42
  60. pulumi_confluentcloud/get_network_link_endpoint.py +19 -19
  61. pulumi_confluentcloud/get_network_link_service.py +25 -19
  62. pulumi_confluentcloud/get_organization.py +8 -8
  63. pulumi_confluentcloud/get_peering.py +21 -21
  64. pulumi_confluentcloud/get_private_link_access.py +21 -21
  65. pulumi_confluentcloud/get_private_link_attachment.py +31 -29
  66. pulumi_confluentcloud/get_private_link_attachment_connection.py +26 -23
  67. pulumi_confluentcloud/get_provider_integration.py +30 -20
  68. pulumi_confluentcloud/get_provider_integration_authorization.py +142 -0
  69. pulumi_confluentcloud/get_provider_integration_setup.py +270 -0
  70. pulumi_confluentcloud/get_role_binding.py +16 -16
  71. pulumi_confluentcloud/get_schema.py +42 -42
  72. pulumi_confluentcloud/get_schema_registry_cluster.py +53 -38
  73. pulumi_confluentcloud/get_schema_registry_cluster_config.py +31 -17
  74. pulumi_confluentcloud/get_schema_registry_cluster_mode.py +16 -16
  75. pulumi_confluentcloud/get_schema_registry_clusters.py +8 -8
  76. pulumi_confluentcloud/get_schema_registry_dek.py +44 -44
  77. pulumi_confluentcloud/get_schema_registry_kek.py +32 -32
  78. pulumi_confluentcloud/get_schemas.py +16 -16
  79. pulumi_confluentcloud/get_service_account.py +22 -22
  80. pulumi_confluentcloud/get_subject_config.py +37 -23
  81. pulumi_confluentcloud/get_subject_mode.py +22 -22
  82. pulumi_confluentcloud/get_tableflow_topic.py +374 -0
  83. pulumi_confluentcloud/get_tag.py +28 -26
  84. pulumi_confluentcloud/get_tag_binding.py +34 -32
  85. pulumi_confluentcloud/get_transit_gateway_attachment.py +19 -19
  86. pulumi_confluentcloud/get_user.py +26 -26
  87. pulumi_confluentcloud/get_users.py +8 -8
  88. pulumi_confluentcloud/group_mapping.py +54 -53
  89. pulumi_confluentcloud/identity_pool.py +74 -73
  90. pulumi_confluentcloud/identity_provider.py +138 -76
  91. pulumi_confluentcloud/invitation.py +81 -80
  92. pulumi_confluentcloud/ip_filter.py +420 -0
  93. pulumi_confluentcloud/ip_group.py +264 -0
  94. pulumi_confluentcloud/kafka_acl.py +173 -172
  95. pulumi_confluentcloud/kafka_client_quota.py +63 -62
  96. pulumi_confluentcloud/kafka_cluster.py +227 -207
  97. pulumi_confluentcloud/kafka_cluster_config.py +43 -42
  98. pulumi_confluentcloud/kafka_mirror_topic.py +46 -45
  99. pulumi_confluentcloud/kafka_topic.py +132 -131
  100. pulumi_confluentcloud/ksql_cluster.py +117 -120
  101. pulumi_confluentcloud/network.py +235 -198
  102. pulumi_confluentcloud/network_link_endpoint.py +62 -68
  103. pulumi_confluentcloud/network_link_service.py +62 -68
  104. pulumi_confluentcloud/outputs.py +4735 -2224
  105. pulumi_confluentcloud/peering.py +128 -48
  106. pulumi_confluentcloud/plugin.py +428 -0
  107. pulumi_confluentcloud/private_link_access.py +54 -60
  108. pulumi_confluentcloud/private_link_attachment.py +93 -88
  109. pulumi_confluentcloud/private_link_attachment_connection.py +70 -47
  110. pulumi_confluentcloud/provider.py +318 -192
  111. pulumi_confluentcloud/provider_integration.py +45 -34
  112. pulumi_confluentcloud/provider_integration_authorization.py +320 -0
  113. pulumi_confluentcloud/provider_integration_setup.py +448 -0
  114. pulumi_confluentcloud/pulumi-plugin.json +1 -1
  115. pulumi_confluentcloud/role_binding.py +153 -56
  116. pulumi_confluentcloud/schema.py +416 -212
  117. pulumi_confluentcloud/schema_exporter.py +217 -164
  118. pulumi_confluentcloud/schema_registry_cluster_config.py +96 -44
  119. pulumi_confluentcloud/schema_registry_cluster_mode.py +90 -42
  120. pulumi_confluentcloud/schema_registry_dek.py +140 -146
  121. pulumi_confluentcloud/schema_registry_kek.py +148 -154
  122. pulumi_confluentcloud/service_account.py +97 -96
  123. pulumi_confluentcloud/subject_config.py +142 -62
  124. pulumi_confluentcloud/subject_mode.py +107 -59
  125. pulumi_confluentcloud/tableflow_topic.py +883 -0
  126. pulumi_confluentcloud/tag.py +82 -79
  127. pulumi_confluentcloud/tag_binding.py +121 -84
  128. pulumi_confluentcloud/tf_importer.py +39 -36
  129. pulumi_confluentcloud/transit_gateway_attachment.py +38 -44
  130. {pulumi_confluentcloud-2.10.0a1731389320.dist-info → pulumi_confluentcloud-2.54.0a1766503424.dist-info}/METADATA +7 -7
  131. pulumi_confluentcloud-2.54.0a1766503424.dist-info/RECORD +134 -0
  132. {pulumi_confluentcloud-2.10.0a1731389320.dist-info → pulumi_confluentcloud-2.54.0a1766503424.dist-info}/WHEEL +1 -1
  133. pulumi_confluentcloud-2.10.0a1731389320.dist-info/RECORD +0 -113
  134. {pulumi_confluentcloud-2.10.0a1731389320.dist-info → pulumi_confluentcloud-2.54.0a1766503424.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -21,16 +21,20 @@ __all__ = ['SchemaRegistryClusterConfigArgs', 'SchemaRegistryClusterConfig']
21
21
  @pulumi.input_type
22
22
  class SchemaRegistryClusterConfigArgs:
23
23
  def __init__(__self__, *,
24
- compatibility_level: Optional[pulumi.Input[str]] = None,
24
+ compatibility_group: Optional[pulumi.Input[_builtins.str]] = None,
25
+ compatibility_level: Optional[pulumi.Input[_builtins.str]] = None,
25
26
  credentials: Optional[pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs']] = None,
26
- rest_endpoint: Optional[pulumi.Input[str]] = None,
27
+ rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
27
28
  schema_registry_cluster: Optional[pulumi.Input['SchemaRegistryClusterConfigSchemaRegistryClusterArgs']] = None):
28
29
  """
29
30
  The set of arguments for constructing a SchemaRegistryClusterConfig resource.
30
- :param pulumi.Input[str] compatibility_level: The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.
31
+ :param pulumi.Input[_builtins.str] compatibility_group: The global Schema Registry compatibility group.
32
+ :param pulumi.Input[_builtins.str] compatibility_level: The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.
31
33
  :param pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs'] credentials: The Cluster API Credentials.
32
- :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
34
+ :param pulumi.Input[_builtins.str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
33
35
  """
36
+ if compatibility_group is not None:
37
+ pulumi.set(__self__, "compatibility_group", compatibility_group)
34
38
  if compatibility_level is not None:
35
39
  pulumi.set(__self__, "compatibility_level", compatibility_level)
36
40
  if credentials is not None:
@@ -40,19 +44,31 @@ class SchemaRegistryClusterConfigArgs:
40
44
  if schema_registry_cluster is not None:
41
45
  pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster)
42
46
 
43
- @property
47
+ @_builtins.property
48
+ @pulumi.getter(name="compatibilityGroup")
49
+ def compatibility_group(self) -> Optional[pulumi.Input[_builtins.str]]:
50
+ """
51
+ The global Schema Registry compatibility group.
52
+ """
53
+ return pulumi.get(self, "compatibility_group")
54
+
55
+ @compatibility_group.setter
56
+ def compatibility_group(self, value: Optional[pulumi.Input[_builtins.str]]):
57
+ pulumi.set(self, "compatibility_group", value)
58
+
59
+ @_builtins.property
44
60
  @pulumi.getter(name="compatibilityLevel")
45
- def compatibility_level(self) -> Optional[pulumi.Input[str]]:
61
+ def compatibility_level(self) -> Optional[pulumi.Input[_builtins.str]]:
46
62
  """
47
63
  The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.
48
64
  """
49
65
  return pulumi.get(self, "compatibility_level")
50
66
 
51
67
  @compatibility_level.setter
52
- def compatibility_level(self, value: Optional[pulumi.Input[str]]):
68
+ def compatibility_level(self, value: Optional[pulumi.Input[_builtins.str]]):
53
69
  pulumi.set(self, "compatibility_level", value)
54
70
 
55
- @property
71
+ @_builtins.property
56
72
  @pulumi.getter
57
73
  def credentials(self) -> Optional[pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs']]:
58
74
  """
@@ -64,19 +80,19 @@ class SchemaRegistryClusterConfigArgs:
64
80
  def credentials(self, value: Optional[pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs']]):
65
81
  pulumi.set(self, "credentials", value)
66
82
 
67
- @property
83
+ @_builtins.property
68
84
  @pulumi.getter(name="restEndpoint")
69
- def rest_endpoint(self) -> Optional[pulumi.Input[str]]:
85
+ def rest_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
70
86
  """
71
87
  The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
72
88
  """
73
89
  return pulumi.get(self, "rest_endpoint")
74
90
 
75
91
  @rest_endpoint.setter
76
- def rest_endpoint(self, value: Optional[pulumi.Input[str]]):
92
+ def rest_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
77
93
  pulumi.set(self, "rest_endpoint", value)
78
94
 
79
- @property
95
+ @_builtins.property
80
96
  @pulumi.getter(name="schemaRegistryCluster")
81
97
  def schema_registry_cluster(self) -> Optional[pulumi.Input['SchemaRegistryClusterConfigSchemaRegistryClusterArgs']]:
82
98
  return pulumi.get(self, "schema_registry_cluster")
@@ -89,16 +105,20 @@ class SchemaRegistryClusterConfigArgs:
89
105
  @pulumi.input_type
90
106
  class _SchemaRegistryClusterConfigState:
91
107
  def __init__(__self__, *,
92
- compatibility_level: Optional[pulumi.Input[str]] = None,
108
+ compatibility_group: Optional[pulumi.Input[_builtins.str]] = None,
109
+ compatibility_level: Optional[pulumi.Input[_builtins.str]] = None,
93
110
  credentials: Optional[pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs']] = None,
94
- rest_endpoint: Optional[pulumi.Input[str]] = None,
111
+ rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
95
112
  schema_registry_cluster: Optional[pulumi.Input['SchemaRegistryClusterConfigSchemaRegistryClusterArgs']] = None):
96
113
  """
97
114
  Input properties used for looking up and filtering SchemaRegistryClusterConfig resources.
98
- :param pulumi.Input[str] compatibility_level: The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.
115
+ :param pulumi.Input[_builtins.str] compatibility_group: The global Schema Registry compatibility group.
116
+ :param pulumi.Input[_builtins.str] compatibility_level: The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.
99
117
  :param pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs'] credentials: The Cluster API Credentials.
100
- :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
118
+ :param pulumi.Input[_builtins.str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
101
119
  """
120
+ if compatibility_group is not None:
121
+ pulumi.set(__self__, "compatibility_group", compatibility_group)
102
122
  if compatibility_level is not None:
103
123
  pulumi.set(__self__, "compatibility_level", compatibility_level)
104
124
  if credentials is not None:
@@ -108,19 +128,31 @@ class _SchemaRegistryClusterConfigState:
108
128
  if schema_registry_cluster is not None:
109
129
  pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster)
110
130
 
111
- @property
131
+ @_builtins.property
132
+ @pulumi.getter(name="compatibilityGroup")
133
+ def compatibility_group(self) -> Optional[pulumi.Input[_builtins.str]]:
134
+ """
135
+ The global Schema Registry compatibility group.
136
+ """
137
+ return pulumi.get(self, "compatibility_group")
138
+
139
+ @compatibility_group.setter
140
+ def compatibility_group(self, value: Optional[pulumi.Input[_builtins.str]]):
141
+ pulumi.set(self, "compatibility_group", value)
142
+
143
+ @_builtins.property
112
144
  @pulumi.getter(name="compatibilityLevel")
113
- def compatibility_level(self) -> Optional[pulumi.Input[str]]:
145
+ def compatibility_level(self) -> Optional[pulumi.Input[_builtins.str]]:
114
146
  """
115
147
  The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.
116
148
  """
117
149
  return pulumi.get(self, "compatibility_level")
118
150
 
119
151
  @compatibility_level.setter
120
- def compatibility_level(self, value: Optional[pulumi.Input[str]]):
152
+ def compatibility_level(self, value: Optional[pulumi.Input[_builtins.str]]):
121
153
  pulumi.set(self, "compatibility_level", value)
122
154
 
123
- @property
155
+ @_builtins.property
124
156
  @pulumi.getter
125
157
  def credentials(self) -> Optional[pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs']]:
126
158
  """
@@ -132,19 +164,19 @@ class _SchemaRegistryClusterConfigState:
132
164
  def credentials(self, value: Optional[pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs']]):
133
165
  pulumi.set(self, "credentials", value)
134
166
 
135
- @property
167
+ @_builtins.property
136
168
  @pulumi.getter(name="restEndpoint")
137
- def rest_endpoint(self) -> Optional[pulumi.Input[str]]:
169
+ def rest_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
138
170
  """
139
171
  The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
140
172
  """
141
173
  return pulumi.get(self, "rest_endpoint")
142
174
 
143
175
  @rest_endpoint.setter
144
- def rest_endpoint(self, value: Optional[pulumi.Input[str]]):
176
+ def rest_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
145
177
  pulumi.set(self, "rest_endpoint", value)
146
178
 
147
- @property
179
+ @_builtins.property
148
180
  @pulumi.getter(name="schemaRegistryCluster")
149
181
  def schema_registry_cluster(self) -> Optional[pulumi.Input['SchemaRegistryClusterConfigSchemaRegistryClusterArgs']]:
150
182
  return pulumi.get(self, "schema_registry_cluster")
@@ -154,14 +186,16 @@ class _SchemaRegistryClusterConfigState:
154
186
  pulumi.set(self, "schema_registry_cluster", value)
155
187
 
156
188
 
189
+ @pulumi.type_token("confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig")
157
190
  class SchemaRegistryClusterConfig(pulumi.CustomResource):
158
191
  @overload
159
192
  def __init__(__self__,
160
193
  resource_name: str,
161
194
  opts: Optional[pulumi.ResourceOptions] = None,
162
- compatibility_level: Optional[pulumi.Input[str]] = None,
195
+ compatibility_group: Optional[pulumi.Input[_builtins.str]] = None,
196
+ compatibility_level: Optional[pulumi.Input[_builtins.str]] = None,
163
197
  credentials: Optional[pulumi.Input[Union['SchemaRegistryClusterConfigCredentialsArgs', 'SchemaRegistryClusterConfigCredentialsArgsDict']]] = None,
164
- rest_endpoint: Optional[pulumi.Input[str]] = None,
198
+ rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
165
199
  schema_registry_cluster: Optional[pulumi.Input[Union['SchemaRegistryClusterConfigSchemaRegistryClusterArgs', 'SchemaRegistryClusterConfigSchemaRegistryClusterArgsDict']]] = None,
166
200
  __props__=None):
167
201
  """
@@ -191,7 +225,9 @@ class SchemaRegistryClusterConfig(pulumi.CustomResource):
191
225
  import pulumi
192
226
  import pulumi_confluentcloud as confluentcloud
193
227
 
194
- example = confluentcloud.SchemaRegistryClusterConfig("example", compatibility_level="FULL")
228
+ example = confluentcloud.SchemaRegistryClusterConfig("example",
229
+ compatibility_level="FULL",
230
+ compatibility_group="abc.cg.version")
195
231
  ```
196
232
 
197
233
  ## Import
@@ -212,9 +248,10 @@ class SchemaRegistryClusterConfig(pulumi.CustomResource):
212
248
 
213
249
  :param str resource_name: The name of the resource.
214
250
  :param pulumi.ResourceOptions opts: Options for the resource.
215
- :param pulumi.Input[str] compatibility_level: The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.
251
+ :param pulumi.Input[_builtins.str] compatibility_group: The global Schema Registry compatibility group.
252
+ :param pulumi.Input[_builtins.str] compatibility_level: The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.
216
253
  :param pulumi.Input[Union['SchemaRegistryClusterConfigCredentialsArgs', 'SchemaRegistryClusterConfigCredentialsArgsDict']] credentials: The Cluster API Credentials.
217
- :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
254
+ :param pulumi.Input[_builtins.str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
218
255
  """
219
256
  ...
220
257
  @overload
@@ -249,7 +286,9 @@ class SchemaRegistryClusterConfig(pulumi.CustomResource):
249
286
  import pulumi
250
287
  import pulumi_confluentcloud as confluentcloud
251
288
 
252
- example = confluentcloud.SchemaRegistryClusterConfig("example", compatibility_level="FULL")
289
+ example = confluentcloud.SchemaRegistryClusterConfig("example",
290
+ compatibility_level="FULL",
291
+ compatibility_group="abc.cg.version")
253
292
  ```
254
293
 
255
294
  ## Import
@@ -283,9 +322,10 @@ class SchemaRegistryClusterConfig(pulumi.CustomResource):
283
322
  def _internal_init(__self__,
284
323
  resource_name: str,
285
324
  opts: Optional[pulumi.ResourceOptions] = None,
286
- compatibility_level: Optional[pulumi.Input[str]] = None,
325
+ compatibility_group: Optional[pulumi.Input[_builtins.str]] = None,
326
+ compatibility_level: Optional[pulumi.Input[_builtins.str]] = None,
287
327
  credentials: Optional[pulumi.Input[Union['SchemaRegistryClusterConfigCredentialsArgs', 'SchemaRegistryClusterConfigCredentialsArgsDict']]] = None,
288
- rest_endpoint: Optional[pulumi.Input[str]] = None,
328
+ rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
289
329
  schema_registry_cluster: Optional[pulumi.Input[Union['SchemaRegistryClusterConfigSchemaRegistryClusterArgs', 'SchemaRegistryClusterConfigSchemaRegistryClusterArgsDict']]] = None,
290
330
  __props__=None):
291
331
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -296,6 +336,7 @@ class SchemaRegistryClusterConfig(pulumi.CustomResource):
296
336
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
297
337
  __props__ = SchemaRegistryClusterConfigArgs.__new__(SchemaRegistryClusterConfigArgs)
298
338
 
339
+ __props__.__dict__["compatibility_group"] = compatibility_group
299
340
  __props__.__dict__["compatibility_level"] = compatibility_level
300
341
  __props__.__dict__["credentials"] = None if credentials is None else pulumi.Output.secret(credentials)
301
342
  __props__.__dict__["rest_endpoint"] = rest_endpoint
@@ -312,9 +353,10 @@ class SchemaRegistryClusterConfig(pulumi.CustomResource):
312
353
  def get(resource_name: str,
313
354
  id: pulumi.Input[str],
314
355
  opts: Optional[pulumi.ResourceOptions] = None,
315
- compatibility_level: Optional[pulumi.Input[str]] = None,
356
+ compatibility_group: Optional[pulumi.Input[_builtins.str]] = None,
357
+ compatibility_level: Optional[pulumi.Input[_builtins.str]] = None,
316
358
  credentials: Optional[pulumi.Input[Union['SchemaRegistryClusterConfigCredentialsArgs', 'SchemaRegistryClusterConfigCredentialsArgsDict']]] = None,
317
- rest_endpoint: Optional[pulumi.Input[str]] = None,
359
+ rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
318
360
  schema_registry_cluster: Optional[pulumi.Input[Union['SchemaRegistryClusterConfigSchemaRegistryClusterArgs', 'SchemaRegistryClusterConfigSchemaRegistryClusterArgsDict']]] = None) -> 'SchemaRegistryClusterConfig':
319
361
  """
320
362
  Get an existing SchemaRegistryClusterConfig resource's state with the given name, id, and optional extra
@@ -323,29 +365,39 @@ class SchemaRegistryClusterConfig(pulumi.CustomResource):
323
365
  :param str resource_name: The unique name of the resulting resource.
324
366
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
325
367
  :param pulumi.ResourceOptions opts: Options for the resource.
326
- :param pulumi.Input[str] compatibility_level: The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.
368
+ :param pulumi.Input[_builtins.str] compatibility_group: The global Schema Registry compatibility group.
369
+ :param pulumi.Input[_builtins.str] compatibility_level: The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.
327
370
  :param pulumi.Input[Union['SchemaRegistryClusterConfigCredentialsArgs', 'SchemaRegistryClusterConfigCredentialsArgsDict']] credentials: The Cluster API Credentials.
328
- :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
371
+ :param pulumi.Input[_builtins.str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
329
372
  """
330
373
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
331
374
 
332
375
  __props__ = _SchemaRegistryClusterConfigState.__new__(_SchemaRegistryClusterConfigState)
333
376
 
377
+ __props__.__dict__["compatibility_group"] = compatibility_group
334
378
  __props__.__dict__["compatibility_level"] = compatibility_level
335
379
  __props__.__dict__["credentials"] = credentials
336
380
  __props__.__dict__["rest_endpoint"] = rest_endpoint
337
381
  __props__.__dict__["schema_registry_cluster"] = schema_registry_cluster
338
382
  return SchemaRegistryClusterConfig(resource_name, opts=opts, __props__=__props__)
339
383
 
340
- @property
384
+ @_builtins.property
385
+ @pulumi.getter(name="compatibilityGroup")
386
+ def compatibility_group(self) -> pulumi.Output[_builtins.str]:
387
+ """
388
+ The global Schema Registry compatibility group.
389
+ """
390
+ return pulumi.get(self, "compatibility_group")
391
+
392
+ @_builtins.property
341
393
  @pulumi.getter(name="compatibilityLevel")
342
- def compatibility_level(self) -> pulumi.Output[str]:
394
+ def compatibility_level(self) -> pulumi.Output[_builtins.str]:
343
395
  """
344
396
  The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.
345
397
  """
346
398
  return pulumi.get(self, "compatibility_level")
347
399
 
348
- @property
400
+ @_builtins.property
349
401
  @pulumi.getter
350
402
  def credentials(self) -> pulumi.Output[Optional['outputs.SchemaRegistryClusterConfigCredentials']]:
351
403
  """
@@ -353,15 +405,15 @@ class SchemaRegistryClusterConfig(pulumi.CustomResource):
353
405
  """
354
406
  return pulumi.get(self, "credentials")
355
407
 
356
- @property
408
+ @_builtins.property
357
409
  @pulumi.getter(name="restEndpoint")
358
- def rest_endpoint(self) -> pulumi.Output[Optional[str]]:
410
+ def rest_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]:
359
411
  """
360
412
  The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
361
413
  """
362
414
  return pulumi.get(self, "rest_endpoint")
363
415
 
364
- @property
416
+ @_builtins.property
365
417
  @pulumi.getter(name="schemaRegistryCluster")
366
418
  def schema_registry_cluster(self) -> pulumi.Output[Optional['outputs.SchemaRegistryClusterConfigSchemaRegistryCluster']]:
367
419
  return pulumi.get(self, "schema_registry_cluster")
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -22,17 +22,21 @@ __all__ = ['SchemaRegistryClusterModeArgs', 'SchemaRegistryClusterMode']
22
22
  class SchemaRegistryClusterModeArgs:
23
23
  def __init__(__self__, *,
24
24
  credentials: Optional[pulumi.Input['SchemaRegistryClusterModeCredentialsArgs']] = None,
25
- mode: Optional[pulumi.Input[str]] = None,
26
- rest_endpoint: Optional[pulumi.Input[str]] = None,
25
+ force: Optional[pulumi.Input[_builtins.bool]] = None,
26
+ mode: Optional[pulumi.Input[_builtins.str]] = None,
27
+ rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
27
28
  schema_registry_cluster: Optional[pulumi.Input['SchemaRegistryClusterModeSchemaRegistryClusterArgs']] = None):
28
29
  """
29
30
  The set of arguments for constructing a SchemaRegistryClusterMode resource.
30
31
  :param pulumi.Input['SchemaRegistryClusterModeCredentialsArgs'] credentials: The Cluster API Credentials.
31
- :param pulumi.Input[str] mode: The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.
32
- :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
32
+ :param pulumi.Input[_builtins.bool] force: An optional flag to force a mode change even if the Schema Registry has existing schemas. This can be useful in disaster recovery (DR) scenarios using [Schema Linking](https://docs.confluent.io/cloud/current/sr/schema-linking.html). Defaults to `false`, which does not allow a mode change to `IMPORT` if Schema Registry has registered schemas. Must be unset when importing.
33
+ :param pulumi.Input[_builtins.str] mode: The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.
34
+ :param pulumi.Input[_builtins.str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
33
35
  """
34
36
  if credentials is not None:
35
37
  pulumi.set(__self__, "credentials", credentials)
38
+ if force is not None:
39
+ pulumi.set(__self__, "force", force)
36
40
  if mode is not None:
37
41
  pulumi.set(__self__, "mode", mode)
38
42
  if rest_endpoint is not None:
@@ -40,7 +44,7 @@ class SchemaRegistryClusterModeArgs:
40
44
  if schema_registry_cluster is not None:
41
45
  pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster)
42
46
 
43
- @property
47
+ @_builtins.property
44
48
  @pulumi.getter
45
49
  def credentials(self) -> Optional[pulumi.Input['SchemaRegistryClusterModeCredentialsArgs']]:
46
50
  """
@@ -52,31 +56,43 @@ class SchemaRegistryClusterModeArgs:
52
56
  def credentials(self, value: Optional[pulumi.Input['SchemaRegistryClusterModeCredentialsArgs']]):
53
57
  pulumi.set(self, "credentials", value)
54
58
 
55
- @property
59
+ @_builtins.property
56
60
  @pulumi.getter
57
- def mode(self) -> Optional[pulumi.Input[str]]:
61
+ def force(self) -> Optional[pulumi.Input[_builtins.bool]]:
62
+ """
63
+ An optional flag to force a mode change even if the Schema Registry has existing schemas. This can be useful in disaster recovery (DR) scenarios using [Schema Linking](https://docs.confluent.io/cloud/current/sr/schema-linking.html). Defaults to `false`, which does not allow a mode change to `IMPORT` if Schema Registry has registered schemas. Must be unset when importing.
64
+ """
65
+ return pulumi.get(self, "force")
66
+
67
+ @force.setter
68
+ def force(self, value: Optional[pulumi.Input[_builtins.bool]]):
69
+ pulumi.set(self, "force", value)
70
+
71
+ @_builtins.property
72
+ @pulumi.getter
73
+ def mode(self) -> Optional[pulumi.Input[_builtins.str]]:
58
74
  """
59
75
  The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.
60
76
  """
61
77
  return pulumi.get(self, "mode")
62
78
 
63
79
  @mode.setter
64
- def mode(self, value: Optional[pulumi.Input[str]]):
80
+ def mode(self, value: Optional[pulumi.Input[_builtins.str]]):
65
81
  pulumi.set(self, "mode", value)
66
82
 
67
- @property
83
+ @_builtins.property
68
84
  @pulumi.getter(name="restEndpoint")
69
- def rest_endpoint(self) -> Optional[pulumi.Input[str]]:
85
+ def rest_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
70
86
  """
71
87
  The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
72
88
  """
73
89
  return pulumi.get(self, "rest_endpoint")
74
90
 
75
91
  @rest_endpoint.setter
76
- def rest_endpoint(self, value: Optional[pulumi.Input[str]]):
92
+ def rest_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
77
93
  pulumi.set(self, "rest_endpoint", value)
78
94
 
79
- @property
95
+ @_builtins.property
80
96
  @pulumi.getter(name="schemaRegistryCluster")
81
97
  def schema_registry_cluster(self) -> Optional[pulumi.Input['SchemaRegistryClusterModeSchemaRegistryClusterArgs']]:
82
98
  return pulumi.get(self, "schema_registry_cluster")
@@ -90,17 +106,21 @@ class SchemaRegistryClusterModeArgs:
90
106
  class _SchemaRegistryClusterModeState:
91
107
  def __init__(__self__, *,
92
108
  credentials: Optional[pulumi.Input['SchemaRegistryClusterModeCredentialsArgs']] = None,
93
- mode: Optional[pulumi.Input[str]] = None,
94
- rest_endpoint: Optional[pulumi.Input[str]] = None,
109
+ force: Optional[pulumi.Input[_builtins.bool]] = None,
110
+ mode: Optional[pulumi.Input[_builtins.str]] = None,
111
+ rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
95
112
  schema_registry_cluster: Optional[pulumi.Input['SchemaRegistryClusterModeSchemaRegistryClusterArgs']] = None):
96
113
  """
97
114
  Input properties used for looking up and filtering SchemaRegistryClusterMode resources.
98
115
  :param pulumi.Input['SchemaRegistryClusterModeCredentialsArgs'] credentials: The Cluster API Credentials.
99
- :param pulumi.Input[str] mode: The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.
100
- :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
116
+ :param pulumi.Input[_builtins.bool] force: An optional flag to force a mode change even if the Schema Registry has existing schemas. This can be useful in disaster recovery (DR) scenarios using [Schema Linking](https://docs.confluent.io/cloud/current/sr/schema-linking.html). Defaults to `false`, which does not allow a mode change to `IMPORT` if Schema Registry has registered schemas. Must be unset when importing.
117
+ :param pulumi.Input[_builtins.str] mode: The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.
118
+ :param pulumi.Input[_builtins.str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
101
119
  """
102
120
  if credentials is not None:
103
121
  pulumi.set(__self__, "credentials", credentials)
122
+ if force is not None:
123
+ pulumi.set(__self__, "force", force)
104
124
  if mode is not None:
105
125
  pulumi.set(__self__, "mode", mode)
106
126
  if rest_endpoint is not None:
@@ -108,7 +128,7 @@ class _SchemaRegistryClusterModeState:
108
128
  if schema_registry_cluster is not None:
109
129
  pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster)
110
130
 
111
- @property
131
+ @_builtins.property
112
132
  @pulumi.getter
113
133
  def credentials(self) -> Optional[pulumi.Input['SchemaRegistryClusterModeCredentialsArgs']]:
114
134
  """
@@ -120,31 +140,43 @@ class _SchemaRegistryClusterModeState:
120
140
  def credentials(self, value: Optional[pulumi.Input['SchemaRegistryClusterModeCredentialsArgs']]):
121
141
  pulumi.set(self, "credentials", value)
122
142
 
123
- @property
143
+ @_builtins.property
144
+ @pulumi.getter
145
+ def force(self) -> Optional[pulumi.Input[_builtins.bool]]:
146
+ """
147
+ An optional flag to force a mode change even if the Schema Registry has existing schemas. This can be useful in disaster recovery (DR) scenarios using [Schema Linking](https://docs.confluent.io/cloud/current/sr/schema-linking.html). Defaults to `false`, which does not allow a mode change to `IMPORT` if Schema Registry has registered schemas. Must be unset when importing.
148
+ """
149
+ return pulumi.get(self, "force")
150
+
151
+ @force.setter
152
+ def force(self, value: Optional[pulumi.Input[_builtins.bool]]):
153
+ pulumi.set(self, "force", value)
154
+
155
+ @_builtins.property
124
156
  @pulumi.getter
125
- def mode(self) -> Optional[pulumi.Input[str]]:
157
+ def mode(self) -> Optional[pulumi.Input[_builtins.str]]:
126
158
  """
127
159
  The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.
128
160
  """
129
161
  return pulumi.get(self, "mode")
130
162
 
131
163
  @mode.setter
132
- def mode(self, value: Optional[pulumi.Input[str]]):
164
+ def mode(self, value: Optional[pulumi.Input[_builtins.str]]):
133
165
  pulumi.set(self, "mode", value)
134
166
 
135
- @property
167
+ @_builtins.property
136
168
  @pulumi.getter(name="restEndpoint")
137
- def rest_endpoint(self) -> Optional[pulumi.Input[str]]:
169
+ def rest_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
138
170
  """
139
171
  The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
140
172
  """
141
173
  return pulumi.get(self, "rest_endpoint")
142
174
 
143
175
  @rest_endpoint.setter
144
- def rest_endpoint(self, value: Optional[pulumi.Input[str]]):
176
+ def rest_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
145
177
  pulumi.set(self, "rest_endpoint", value)
146
178
 
147
- @property
179
+ @_builtins.property
148
180
  @pulumi.getter(name="schemaRegistryCluster")
149
181
  def schema_registry_cluster(self) -> Optional[pulumi.Input['SchemaRegistryClusterModeSchemaRegistryClusterArgs']]:
150
182
  return pulumi.get(self, "schema_registry_cluster")
@@ -154,14 +186,16 @@ class _SchemaRegistryClusterModeState:
154
186
  pulumi.set(self, "schema_registry_cluster", value)
155
187
 
156
188
 
189
+ @pulumi.type_token("confluentcloud:index/schemaRegistryClusterMode:SchemaRegistryClusterMode")
157
190
  class SchemaRegistryClusterMode(pulumi.CustomResource):
158
191
  @overload
159
192
  def __init__(__self__,
160
193
  resource_name: str,
161
194
  opts: Optional[pulumi.ResourceOptions] = None,
162
195
  credentials: Optional[pulumi.Input[Union['SchemaRegistryClusterModeCredentialsArgs', 'SchemaRegistryClusterModeCredentialsArgsDict']]] = None,
163
- mode: Optional[pulumi.Input[str]] = None,
164
- rest_endpoint: Optional[pulumi.Input[str]] = None,
196
+ force: Optional[pulumi.Input[_builtins.bool]] = None,
197
+ mode: Optional[pulumi.Input[_builtins.str]] = None,
198
+ rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
165
199
  schema_registry_cluster: Optional[pulumi.Input[Union['SchemaRegistryClusterModeSchemaRegistryClusterArgs', 'SchemaRegistryClusterModeSchemaRegistryClusterArgsDict']]] = None,
166
200
  __props__=None):
167
201
  """
@@ -213,8 +247,9 @@ class SchemaRegistryClusterMode(pulumi.CustomResource):
213
247
  :param str resource_name: The name of the resource.
214
248
  :param pulumi.ResourceOptions opts: Options for the resource.
215
249
  :param pulumi.Input[Union['SchemaRegistryClusterModeCredentialsArgs', 'SchemaRegistryClusterModeCredentialsArgsDict']] credentials: The Cluster API Credentials.
216
- :param pulumi.Input[str] mode: The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.
217
- :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
250
+ :param pulumi.Input[_builtins.bool] force: An optional flag to force a mode change even if the Schema Registry has existing schemas. This can be useful in disaster recovery (DR) scenarios using [Schema Linking](https://docs.confluent.io/cloud/current/sr/schema-linking.html). Defaults to `false`, which does not allow a mode change to `IMPORT` if Schema Registry has registered schemas. Must be unset when importing.
251
+ :param pulumi.Input[_builtins.str] mode: The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.
252
+ :param pulumi.Input[_builtins.str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
218
253
  """
219
254
  ...
220
255
  @overload
@@ -284,8 +319,9 @@ class SchemaRegistryClusterMode(pulumi.CustomResource):
284
319
  resource_name: str,
285
320
  opts: Optional[pulumi.ResourceOptions] = None,
286
321
  credentials: Optional[pulumi.Input[Union['SchemaRegistryClusterModeCredentialsArgs', 'SchemaRegistryClusterModeCredentialsArgsDict']]] = None,
287
- mode: Optional[pulumi.Input[str]] = None,
288
- rest_endpoint: Optional[pulumi.Input[str]] = None,
322
+ force: Optional[pulumi.Input[_builtins.bool]] = None,
323
+ mode: Optional[pulumi.Input[_builtins.str]] = None,
324
+ rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
289
325
  schema_registry_cluster: Optional[pulumi.Input[Union['SchemaRegistryClusterModeSchemaRegistryClusterArgs', 'SchemaRegistryClusterModeSchemaRegistryClusterArgsDict']]] = None,
290
326
  __props__=None):
291
327
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -297,6 +333,7 @@ class SchemaRegistryClusterMode(pulumi.CustomResource):
297
333
  __props__ = SchemaRegistryClusterModeArgs.__new__(SchemaRegistryClusterModeArgs)
298
334
 
299
335
  __props__.__dict__["credentials"] = None if credentials is None else pulumi.Output.secret(credentials)
336
+ __props__.__dict__["force"] = force
300
337
  __props__.__dict__["mode"] = mode
301
338
  __props__.__dict__["rest_endpoint"] = rest_endpoint
302
339
  __props__.__dict__["schema_registry_cluster"] = schema_registry_cluster
@@ -313,8 +350,9 @@ class SchemaRegistryClusterMode(pulumi.CustomResource):
313
350
  id: pulumi.Input[str],
314
351
  opts: Optional[pulumi.ResourceOptions] = None,
315
352
  credentials: Optional[pulumi.Input[Union['SchemaRegistryClusterModeCredentialsArgs', 'SchemaRegistryClusterModeCredentialsArgsDict']]] = None,
316
- mode: Optional[pulumi.Input[str]] = None,
317
- rest_endpoint: Optional[pulumi.Input[str]] = None,
353
+ force: Optional[pulumi.Input[_builtins.bool]] = None,
354
+ mode: Optional[pulumi.Input[_builtins.str]] = None,
355
+ rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
318
356
  schema_registry_cluster: Optional[pulumi.Input[Union['SchemaRegistryClusterModeSchemaRegistryClusterArgs', 'SchemaRegistryClusterModeSchemaRegistryClusterArgsDict']]] = None) -> 'SchemaRegistryClusterMode':
319
357
  """
320
358
  Get an existing SchemaRegistryClusterMode resource's state with the given name, id, and optional extra
@@ -324,20 +362,22 @@ class SchemaRegistryClusterMode(pulumi.CustomResource):
324
362
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
325
363
  :param pulumi.ResourceOptions opts: Options for the resource.
326
364
  :param pulumi.Input[Union['SchemaRegistryClusterModeCredentialsArgs', 'SchemaRegistryClusterModeCredentialsArgsDict']] credentials: The Cluster API Credentials.
327
- :param pulumi.Input[str] mode: The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.
328
- :param pulumi.Input[str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
365
+ :param pulumi.Input[_builtins.bool] force: An optional flag to force a mode change even if the Schema Registry has existing schemas. This can be useful in disaster recovery (DR) scenarios using [Schema Linking](https://docs.confluent.io/cloud/current/sr/schema-linking.html). Defaults to `false`, which does not allow a mode change to `IMPORT` if Schema Registry has registered schemas. Must be unset when importing.
366
+ :param pulumi.Input[_builtins.str] mode: The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.
367
+ :param pulumi.Input[_builtins.str] rest_endpoint: The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
329
368
  """
330
369
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
331
370
 
332
371
  __props__ = _SchemaRegistryClusterModeState.__new__(_SchemaRegistryClusterModeState)
333
372
 
334
373
  __props__.__dict__["credentials"] = credentials
374
+ __props__.__dict__["force"] = force
335
375
  __props__.__dict__["mode"] = mode
336
376
  __props__.__dict__["rest_endpoint"] = rest_endpoint
337
377
  __props__.__dict__["schema_registry_cluster"] = schema_registry_cluster
338
378
  return SchemaRegistryClusterMode(resource_name, opts=opts, __props__=__props__)
339
379
 
340
- @property
380
+ @_builtins.property
341
381
  @pulumi.getter
342
382
  def credentials(self) -> pulumi.Output[Optional['outputs.SchemaRegistryClusterModeCredentials']]:
343
383
  """
@@ -345,23 +385,31 @@ class SchemaRegistryClusterMode(pulumi.CustomResource):
345
385
  """
346
386
  return pulumi.get(self, "credentials")
347
387
 
348
- @property
388
+ @_builtins.property
389
+ @pulumi.getter
390
+ def force(self) -> pulumi.Output[Optional[_builtins.bool]]:
391
+ """
392
+ An optional flag to force a mode change even if the Schema Registry has existing schemas. This can be useful in disaster recovery (DR) scenarios using [Schema Linking](https://docs.confluent.io/cloud/current/sr/schema-linking.html). Defaults to `false`, which does not allow a mode change to `IMPORT` if Schema Registry has registered schemas. Must be unset when importing.
393
+ """
394
+ return pulumi.get(self, "force")
395
+
396
+ @_builtins.property
349
397
  @pulumi.getter
350
- def mode(self) -> pulumi.Output[str]:
398
+ def mode(self) -> pulumi.Output[_builtins.str]:
351
399
  """
352
400
  The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.
353
401
  """
354
402
  return pulumi.get(self, "mode")
355
403
 
356
- @property
404
+ @_builtins.property
357
405
  @pulumi.getter(name="restEndpoint")
358
- def rest_endpoint(self) -> pulumi.Output[Optional[str]]:
406
+ def rest_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]:
359
407
  """
360
408
  The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
361
409
  """
362
410
  return pulumi.get(self, "rest_endpoint")
363
411
 
364
- @property
412
+ @_builtins.property
365
413
  @pulumi.getter(name="schemaRegistryCluster")
366
414
  def schema_registry_cluster(self) -> pulumi.Output[Optional['outputs.SchemaRegistryClusterModeSchemaRegistryCluster']]:
367
415
  return pulumi.get(self, "schema_registry_cluster")