pulumi-confluentcloud 2.19.0a1741152525__py3-none-any.whl → 2.50.0a1762926155__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.

Potentially problematic release.


This version of pulumi-confluentcloud might be problematic. Click here for more details.

Files changed (129) hide show
  1. pulumi_confluentcloud/__init__.py +80 -1
  2. pulumi_confluentcloud/_inputs.py +3875 -2512
  3. pulumi_confluentcloud/_utilities.py +1 -1
  4. pulumi_confluentcloud/access_point.py +76 -37
  5. pulumi_confluentcloud/api_key.py +134 -124
  6. pulumi_confluentcloud/business_metadata.py +72 -71
  7. pulumi_confluentcloud/business_metadata_binding.py +97 -96
  8. pulumi_confluentcloud/byok_key.py +12 -11
  9. pulumi_confluentcloud/catalog_entity_attributes.py +125 -76
  10. pulumi_confluentcloud/catalog_integration.py +544 -0
  11. pulumi_confluentcloud/certificate_authority.py +156 -155
  12. pulumi_confluentcloud/certificate_pool.py +74 -73
  13. pulumi_confluentcloud/cluster_link.py +148 -99
  14. pulumi_confluentcloud/config/__init__.py +2 -1
  15. pulumi_confluentcloud/config/__init__.pyi +18 -2
  16. pulumi_confluentcloud/config/outputs.py +110 -0
  17. pulumi_confluentcloud/config/vars.py +44 -22
  18. pulumi_confluentcloud/connect_artifact.py +478 -0
  19. pulumi_confluentcloud/connector.py +95 -90
  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 +53 -48
  23. pulumi_confluentcloud/dns_record.py +46 -45
  24. pulumi_confluentcloud/environment.py +74 -73
  25. pulumi_confluentcloud/flink_artifact.py +190 -187
  26. pulumi_confluentcloud/flink_compute_pool.py +101 -100
  27. pulumi_confluentcloud/flink_connection.py +935 -0
  28. pulumi_confluentcloud/flink_statement.py +155 -140
  29. pulumi_confluentcloud/gateway.py +44 -31
  30. pulumi_confluentcloud/get_access_point.py +16 -16
  31. pulumi_confluentcloud/get_business_metadata.py +23 -23
  32. pulumi_confluentcloud/get_business_metadata_binding.py +32 -32
  33. pulumi_confluentcloud/get_byok_key.py +11 -11
  34. pulumi_confluentcloud/get_catalog_integration.py +188 -0
  35. pulumi_confluentcloud/get_certificate_authority.py +38 -38
  36. pulumi_confluentcloud/get_certificate_pool.py +17 -17
  37. pulumi_confluentcloud/get_cluster_link.py +52 -24
  38. pulumi_confluentcloud/get_connect_artifact.py +191 -0
  39. pulumi_confluentcloud/get_dns_record.py +15 -15
  40. pulumi_confluentcloud/get_environment.py +17 -17
  41. pulumi_confluentcloud/get_environments.py +6 -6
  42. pulumi_confluentcloud/get_flink_artifact.py +46 -46
  43. pulumi_confluentcloud/get_flink_compute_pool.py +27 -27
  44. pulumi_confluentcloud/get_flink_connection.py +267 -0
  45. pulumi_confluentcloud/get_flink_region.py +24 -24
  46. pulumi_confluentcloud/get_gateway.py +18 -18
  47. pulumi_confluentcloud/get_group_mapping.py +18 -18
  48. pulumi_confluentcloud/get_identity_pool.py +21 -21
  49. pulumi_confluentcloud/get_identity_provider.py +35 -21
  50. pulumi_confluentcloud/get_invitation.py +20 -20
  51. pulumi_confluentcloud/get_ip_addresses.py +6 -6
  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 +17 -17
  55. pulumi_confluentcloud/get_kafka_cluster.py +55 -41
  56. pulumi_confluentcloud/get_kafka_topic.py +22 -22
  57. pulumi_confluentcloud/get_ksql_cluster.py +33 -33
  58. pulumi_confluentcloud/get_network.py +54 -40
  59. pulumi_confluentcloud/get_network_link_endpoint.py +17 -17
  60. pulumi_confluentcloud/get_network_link_service.py +23 -17
  61. pulumi_confluentcloud/get_organization.py +6 -6
  62. pulumi_confluentcloud/get_peering.py +19 -19
  63. pulumi_confluentcloud/get_private_link_access.py +19 -19
  64. pulumi_confluentcloud/get_private_link_attachment.py +29 -27
  65. pulumi_confluentcloud/get_private_link_attachment_connection.py +24 -21
  66. pulumi_confluentcloud/get_provider_integration.py +28 -18
  67. pulumi_confluentcloud/get_role_binding.py +14 -14
  68. pulumi_confluentcloud/get_schema.py +40 -40
  69. pulumi_confluentcloud/get_schema_registry_cluster.py +50 -35
  70. pulumi_confluentcloud/get_schema_registry_cluster_config.py +16 -16
  71. pulumi_confluentcloud/get_schema_registry_cluster_mode.py +14 -14
  72. pulumi_confluentcloud/get_schema_registry_clusters.py +6 -6
  73. pulumi_confluentcloud/get_schema_registry_dek.py +42 -42
  74. pulumi_confluentcloud/get_schema_registry_kek.py +30 -30
  75. pulumi_confluentcloud/get_schemas.py +14 -14
  76. pulumi_confluentcloud/get_service_account.py +20 -20
  77. pulumi_confluentcloud/get_subject_config.py +22 -22
  78. pulumi_confluentcloud/get_subject_mode.py +20 -20
  79. pulumi_confluentcloud/get_tableflow_topic.py +360 -0
  80. pulumi_confluentcloud/get_tag.py +24 -24
  81. pulumi_confluentcloud/get_tag_binding.py +30 -30
  82. pulumi_confluentcloud/get_transit_gateway_attachment.py +17 -17
  83. pulumi_confluentcloud/get_user.py +24 -24
  84. pulumi_confluentcloud/get_users.py +6 -6
  85. pulumi_confluentcloud/group_mapping.py +54 -53
  86. pulumi_confluentcloud/identity_pool.py +74 -73
  87. pulumi_confluentcloud/identity_provider.py +138 -76
  88. pulumi_confluentcloud/invitation.py +81 -80
  89. pulumi_confluentcloud/ip_filter.py +420 -0
  90. pulumi_confluentcloud/ip_group.py +264 -0
  91. pulumi_confluentcloud/kafka_acl.py +173 -172
  92. pulumi_confluentcloud/kafka_client_quota.py +63 -62
  93. pulumi_confluentcloud/kafka_cluster.py +227 -201
  94. pulumi_confluentcloud/kafka_cluster_config.py +43 -42
  95. pulumi_confluentcloud/kafka_mirror_topic.py +46 -45
  96. pulumi_confluentcloud/kafka_topic.py +132 -131
  97. pulumi_confluentcloud/ksql_cluster.py +117 -120
  98. pulumi_confluentcloud/network.py +235 -198
  99. pulumi_confluentcloud/network_link_endpoint.py +62 -68
  100. pulumi_confluentcloud/network_link_service.py +62 -68
  101. pulumi_confluentcloud/outputs.py +3135 -2130
  102. pulumi_confluentcloud/peering.py +60 -66
  103. pulumi_confluentcloud/plugin.py +428 -0
  104. pulumi_confluentcloud/private_link_access.py +54 -60
  105. pulumi_confluentcloud/private_link_attachment.py +93 -88
  106. pulumi_confluentcloud/private_link_attachment_connection.py +70 -47
  107. pulumi_confluentcloud/provider.py +299 -201
  108. pulumi_confluentcloud/provider_integration.py +45 -34
  109. pulumi_confluentcloud/pulumi-plugin.json +1 -1
  110. pulumi_confluentcloud/role_binding.py +153 -56
  111. pulumi_confluentcloud/schema.py +188 -212
  112. pulumi_confluentcloud/schema_exporter.py +217 -164
  113. pulumi_confluentcloud/schema_registry_cluster_config.py +60 -59
  114. pulumi_confluentcloud/schema_registry_cluster_mode.py +90 -42
  115. pulumi_confluentcloud/schema_registry_dek.py +140 -146
  116. pulumi_confluentcloud/schema_registry_kek.py +148 -154
  117. pulumi_confluentcloud/service_account.py +97 -96
  118. pulumi_confluentcloud/subject_config.py +105 -76
  119. pulumi_confluentcloud/subject_mode.py +107 -59
  120. pulumi_confluentcloud/tableflow_topic.py +854 -0
  121. pulumi_confluentcloud/tag.py +78 -77
  122. pulumi_confluentcloud/tag_binding.py +117 -82
  123. pulumi_confluentcloud/tf_importer.py +37 -36
  124. pulumi_confluentcloud/transit_gateway_attachment.py +38 -44
  125. {pulumi_confluentcloud-2.19.0a1741152525.dist-info → pulumi_confluentcloud-2.50.0a1762926155.dist-info}/METADATA +4 -4
  126. pulumi_confluentcloud-2.50.0a1762926155.dist-info/RECORD +129 -0
  127. {pulumi_confluentcloud-2.19.0a1741152525.dist-info → pulumi_confluentcloud-2.50.0a1762926155.dist-info}/WHEEL +1 -1
  128. pulumi_confluentcloud-2.19.0a1741152525.dist-info/RECORD +0 -114
  129. {pulumi_confluentcloud-2.19.0a1741152525.dist-info → pulumi_confluentcloud-2.50.0a1762926155.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,17 +21,17 @@ __all__ = ['SchemaRegistryClusterConfigArgs', 'SchemaRegistryClusterConfig']
21
21
  @pulumi.input_type
22
22
  class SchemaRegistryClusterConfigArgs:
23
23
  def __init__(__self__, *,
24
- compatibility_group: Optional[pulumi.Input[str]] = None,
25
- 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,
26
26
  credentials: Optional[pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs']] = None,
27
- rest_endpoint: Optional[pulumi.Input[str]] = None,
27
+ rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
28
28
  schema_registry_cluster: Optional[pulumi.Input['SchemaRegistryClusterConfigSchemaRegistryClusterArgs']] = None):
29
29
  """
30
30
  The set of arguments for constructing a SchemaRegistryClusterConfig resource.
31
- :param pulumi.Input[str] compatibility_group: The global Schema Registry compatibility group.
32
- :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.
33
33
  :param pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs'] credentials: The Cluster API Credentials.
34
- :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`).
35
35
  """
36
36
  if compatibility_group is not None:
37
37
  pulumi.set(__self__, "compatibility_group", compatibility_group)
@@ -44,31 +44,31 @@ class SchemaRegistryClusterConfigArgs:
44
44
  if schema_registry_cluster is not None:
45
45
  pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster)
46
46
 
47
- @property
47
+ @_builtins.property
48
48
  @pulumi.getter(name="compatibilityGroup")
49
- def compatibility_group(self) -> Optional[pulumi.Input[str]]:
49
+ def compatibility_group(self) -> Optional[pulumi.Input[_builtins.str]]:
50
50
  """
51
51
  The global Schema Registry compatibility group.
52
52
  """
53
53
  return pulumi.get(self, "compatibility_group")
54
54
 
55
55
  @compatibility_group.setter
56
- def compatibility_group(self, value: Optional[pulumi.Input[str]]):
56
+ def compatibility_group(self, value: Optional[pulumi.Input[_builtins.str]]):
57
57
  pulumi.set(self, "compatibility_group", value)
58
58
 
59
- @property
59
+ @_builtins.property
60
60
  @pulumi.getter(name="compatibilityLevel")
61
- def compatibility_level(self) -> Optional[pulumi.Input[str]]:
61
+ def compatibility_level(self) -> Optional[pulumi.Input[_builtins.str]]:
62
62
  """
63
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.
64
64
  """
65
65
  return pulumi.get(self, "compatibility_level")
66
66
 
67
67
  @compatibility_level.setter
68
- def compatibility_level(self, value: Optional[pulumi.Input[str]]):
68
+ def compatibility_level(self, value: Optional[pulumi.Input[_builtins.str]]):
69
69
  pulumi.set(self, "compatibility_level", value)
70
70
 
71
- @property
71
+ @_builtins.property
72
72
  @pulumi.getter
73
73
  def credentials(self) -> Optional[pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs']]:
74
74
  """
@@ -80,19 +80,19 @@ class SchemaRegistryClusterConfigArgs:
80
80
  def credentials(self, value: Optional[pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs']]):
81
81
  pulumi.set(self, "credentials", value)
82
82
 
83
- @property
83
+ @_builtins.property
84
84
  @pulumi.getter(name="restEndpoint")
85
- def rest_endpoint(self) -> Optional[pulumi.Input[str]]:
85
+ def rest_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
86
86
  """
87
87
  The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
88
88
  """
89
89
  return pulumi.get(self, "rest_endpoint")
90
90
 
91
91
  @rest_endpoint.setter
92
- def rest_endpoint(self, value: Optional[pulumi.Input[str]]):
92
+ def rest_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
93
93
  pulumi.set(self, "rest_endpoint", value)
94
94
 
95
- @property
95
+ @_builtins.property
96
96
  @pulumi.getter(name="schemaRegistryCluster")
97
97
  def schema_registry_cluster(self) -> Optional[pulumi.Input['SchemaRegistryClusterConfigSchemaRegistryClusterArgs']]:
98
98
  return pulumi.get(self, "schema_registry_cluster")
@@ -105,17 +105,17 @@ class SchemaRegistryClusterConfigArgs:
105
105
  @pulumi.input_type
106
106
  class _SchemaRegistryClusterConfigState:
107
107
  def __init__(__self__, *,
108
- compatibility_group: Optional[pulumi.Input[str]] = None,
109
- 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,
110
110
  credentials: Optional[pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs']] = None,
111
- rest_endpoint: Optional[pulumi.Input[str]] = None,
111
+ rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
112
112
  schema_registry_cluster: Optional[pulumi.Input['SchemaRegistryClusterConfigSchemaRegistryClusterArgs']] = None):
113
113
  """
114
114
  Input properties used for looking up and filtering SchemaRegistryClusterConfig resources.
115
- :param pulumi.Input[str] compatibility_group: The global Schema Registry compatibility group.
116
- :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.
117
117
  :param pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs'] credentials: The Cluster API Credentials.
118
- :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`).
119
119
  """
120
120
  if compatibility_group is not None:
121
121
  pulumi.set(__self__, "compatibility_group", compatibility_group)
@@ -128,31 +128,31 @@ class _SchemaRegistryClusterConfigState:
128
128
  if schema_registry_cluster is not None:
129
129
  pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster)
130
130
 
131
- @property
131
+ @_builtins.property
132
132
  @pulumi.getter(name="compatibilityGroup")
133
- def compatibility_group(self) -> Optional[pulumi.Input[str]]:
133
+ def compatibility_group(self) -> Optional[pulumi.Input[_builtins.str]]:
134
134
  """
135
135
  The global Schema Registry compatibility group.
136
136
  """
137
137
  return pulumi.get(self, "compatibility_group")
138
138
 
139
139
  @compatibility_group.setter
140
- def compatibility_group(self, value: Optional[pulumi.Input[str]]):
140
+ def compatibility_group(self, value: Optional[pulumi.Input[_builtins.str]]):
141
141
  pulumi.set(self, "compatibility_group", value)
142
142
 
143
- @property
143
+ @_builtins.property
144
144
  @pulumi.getter(name="compatibilityLevel")
145
- def compatibility_level(self) -> Optional[pulumi.Input[str]]:
145
+ def compatibility_level(self) -> Optional[pulumi.Input[_builtins.str]]:
146
146
  """
147
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.
148
148
  """
149
149
  return pulumi.get(self, "compatibility_level")
150
150
 
151
151
  @compatibility_level.setter
152
- def compatibility_level(self, value: Optional[pulumi.Input[str]]):
152
+ def compatibility_level(self, value: Optional[pulumi.Input[_builtins.str]]):
153
153
  pulumi.set(self, "compatibility_level", value)
154
154
 
155
- @property
155
+ @_builtins.property
156
156
  @pulumi.getter
157
157
  def credentials(self) -> Optional[pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs']]:
158
158
  """
@@ -164,19 +164,19 @@ class _SchemaRegistryClusterConfigState:
164
164
  def credentials(self, value: Optional[pulumi.Input['SchemaRegistryClusterConfigCredentialsArgs']]):
165
165
  pulumi.set(self, "credentials", value)
166
166
 
167
- @property
167
+ @_builtins.property
168
168
  @pulumi.getter(name="restEndpoint")
169
- def rest_endpoint(self) -> Optional[pulumi.Input[str]]:
169
+ def rest_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
170
170
  """
171
171
  The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
172
172
  """
173
173
  return pulumi.get(self, "rest_endpoint")
174
174
 
175
175
  @rest_endpoint.setter
176
- def rest_endpoint(self, value: Optional[pulumi.Input[str]]):
176
+ def rest_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
177
177
  pulumi.set(self, "rest_endpoint", value)
178
178
 
179
- @property
179
+ @_builtins.property
180
180
  @pulumi.getter(name="schemaRegistryCluster")
181
181
  def schema_registry_cluster(self) -> Optional[pulumi.Input['SchemaRegistryClusterConfigSchemaRegistryClusterArgs']]:
182
182
  return pulumi.get(self, "schema_registry_cluster")
@@ -186,15 +186,16 @@ class _SchemaRegistryClusterConfigState:
186
186
  pulumi.set(self, "schema_registry_cluster", value)
187
187
 
188
188
 
189
+ @pulumi.type_token("confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig")
189
190
  class SchemaRegistryClusterConfig(pulumi.CustomResource):
190
191
  @overload
191
192
  def __init__(__self__,
192
193
  resource_name: str,
193
194
  opts: Optional[pulumi.ResourceOptions] = None,
194
- compatibility_group: Optional[pulumi.Input[str]] = None,
195
- 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,
196
197
  credentials: Optional[pulumi.Input[Union['SchemaRegistryClusterConfigCredentialsArgs', 'SchemaRegistryClusterConfigCredentialsArgsDict']]] = None,
197
- rest_endpoint: Optional[pulumi.Input[str]] = None,
198
+ rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
198
199
  schema_registry_cluster: Optional[pulumi.Input[Union['SchemaRegistryClusterConfigSchemaRegistryClusterArgs', 'SchemaRegistryClusterConfigSchemaRegistryClusterArgsDict']]] = None,
199
200
  __props__=None):
200
201
  """
@@ -247,10 +248,10 @@ class SchemaRegistryClusterConfig(pulumi.CustomResource):
247
248
 
248
249
  :param str resource_name: The name of the resource.
249
250
  :param pulumi.ResourceOptions opts: Options for the resource.
250
- :param pulumi.Input[str] compatibility_group: The global Schema Registry compatibility group.
251
- :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.
252
253
  :param pulumi.Input[Union['SchemaRegistryClusterConfigCredentialsArgs', 'SchemaRegistryClusterConfigCredentialsArgsDict']] credentials: The Cluster API Credentials.
253
- :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`).
254
255
  """
255
256
  ...
256
257
  @overload
@@ -321,10 +322,10 @@ class SchemaRegistryClusterConfig(pulumi.CustomResource):
321
322
  def _internal_init(__self__,
322
323
  resource_name: str,
323
324
  opts: Optional[pulumi.ResourceOptions] = None,
324
- compatibility_group: Optional[pulumi.Input[str]] = None,
325
- 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,
326
327
  credentials: Optional[pulumi.Input[Union['SchemaRegistryClusterConfigCredentialsArgs', 'SchemaRegistryClusterConfigCredentialsArgsDict']]] = None,
327
- rest_endpoint: Optional[pulumi.Input[str]] = None,
328
+ rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
328
329
  schema_registry_cluster: Optional[pulumi.Input[Union['SchemaRegistryClusterConfigSchemaRegistryClusterArgs', 'SchemaRegistryClusterConfigSchemaRegistryClusterArgsDict']]] = None,
329
330
  __props__=None):
330
331
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -352,10 +353,10 @@ class SchemaRegistryClusterConfig(pulumi.CustomResource):
352
353
  def get(resource_name: str,
353
354
  id: pulumi.Input[str],
354
355
  opts: Optional[pulumi.ResourceOptions] = None,
355
- compatibility_group: Optional[pulumi.Input[str]] = None,
356
- 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,
357
358
  credentials: Optional[pulumi.Input[Union['SchemaRegistryClusterConfigCredentialsArgs', 'SchemaRegistryClusterConfigCredentialsArgsDict']]] = None,
358
- rest_endpoint: Optional[pulumi.Input[str]] = None,
359
+ rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
359
360
  schema_registry_cluster: Optional[pulumi.Input[Union['SchemaRegistryClusterConfigSchemaRegistryClusterArgs', 'SchemaRegistryClusterConfigSchemaRegistryClusterArgsDict']]] = None) -> 'SchemaRegistryClusterConfig':
360
361
  """
361
362
  Get an existing SchemaRegistryClusterConfig resource's state with the given name, id, and optional extra
@@ -364,10 +365,10 @@ class SchemaRegistryClusterConfig(pulumi.CustomResource):
364
365
  :param str resource_name: The unique name of the resulting resource.
365
366
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
366
367
  :param pulumi.ResourceOptions opts: Options for the resource.
367
- :param pulumi.Input[str] compatibility_group: The global Schema Registry compatibility group.
368
- :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.
369
370
  :param pulumi.Input[Union['SchemaRegistryClusterConfigCredentialsArgs', 'SchemaRegistryClusterConfigCredentialsArgsDict']] credentials: The Cluster API Credentials.
370
- :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`).
371
372
  """
372
373
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
373
374
 
@@ -380,23 +381,23 @@ class SchemaRegistryClusterConfig(pulumi.CustomResource):
380
381
  __props__.__dict__["schema_registry_cluster"] = schema_registry_cluster
381
382
  return SchemaRegistryClusterConfig(resource_name, opts=opts, __props__=__props__)
382
383
 
383
- @property
384
+ @_builtins.property
384
385
  @pulumi.getter(name="compatibilityGroup")
385
- def compatibility_group(self) -> pulumi.Output[str]:
386
+ def compatibility_group(self) -> pulumi.Output[_builtins.str]:
386
387
  """
387
388
  The global Schema Registry compatibility group.
388
389
  """
389
390
  return pulumi.get(self, "compatibility_group")
390
391
 
391
- @property
392
+ @_builtins.property
392
393
  @pulumi.getter(name="compatibilityLevel")
393
- def compatibility_level(self) -> pulumi.Output[str]:
394
+ def compatibility_level(self) -> pulumi.Output[_builtins.str]:
394
395
  """
395
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.
396
397
  """
397
398
  return pulumi.get(self, "compatibility_level")
398
399
 
399
- @property
400
+ @_builtins.property
400
401
  @pulumi.getter
401
402
  def credentials(self) -> pulumi.Output[Optional['outputs.SchemaRegistryClusterConfigCredentials']]:
402
403
  """
@@ -404,15 +405,15 @@ class SchemaRegistryClusterConfig(pulumi.CustomResource):
404
405
  """
405
406
  return pulumi.get(self, "credentials")
406
407
 
407
- @property
408
+ @_builtins.property
408
409
  @pulumi.getter(name="restEndpoint")
409
- def rest_endpoint(self) -> pulumi.Output[Optional[str]]:
410
+ def rest_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]:
410
411
  """
411
412
  The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
412
413
  """
413
414
  return pulumi.get(self, "rest_endpoint")
414
415
 
415
- @property
416
+ @_builtins.property
416
417
  @pulumi.getter(name="schemaRegistryCluster")
417
418
  def schema_registry_cluster(self) -> pulumi.Output[Optional['outputs.SchemaRegistryClusterConfigSchemaRegistryCluster']]:
418
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")