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.
- pulumi_confluentcloud/__init__.py +102 -1
- pulumi_confluentcloud/_inputs.py +4870 -2499
- pulumi_confluentcloud/_utilities.py +9 -5
- pulumi_confluentcloud/access_point.py +188 -33
- pulumi_confluentcloud/api_key.py +178 -144
- pulumi_confluentcloud/business_metadata.py +76 -73
- pulumi_confluentcloud/business_metadata_binding.py +101 -98
- pulumi_confluentcloud/byok_key.py +12 -11
- pulumi_confluentcloud/catalog_entity_attributes.py +133 -92
- pulumi_confluentcloud/catalog_integration.py +544 -0
- pulumi_confluentcloud/certificate_authority.py +158 -157
- pulumi_confluentcloud/certificate_pool.py +76 -75
- pulumi_confluentcloud/cluster_link.py +168 -91
- pulumi_confluentcloud/config/__init__.py +2 -1
- pulumi_confluentcloud/config/__init__.pyi +23 -2
- pulumi_confluentcloud/config/outputs.py +110 -0
- pulumi_confluentcloud/config/vars.py +50 -21
- pulumi_confluentcloud/connect_artifact.py +478 -0
- pulumi_confluentcloud/connector.py +399 -87
- pulumi_confluentcloud/custom_connector_plugin.py +142 -141
- pulumi_confluentcloud/custom_connector_plugin_version.py +614 -0
- pulumi_confluentcloud/dns_forwarder.py +136 -45
- pulumi_confluentcloud/dns_record.py +46 -45
- pulumi_confluentcloud/environment.py +74 -73
- pulumi_confluentcloud/flink_artifact.py +254 -198
- pulumi_confluentcloud/flink_compute_pool.py +101 -100
- pulumi_confluentcloud/flink_connection.py +935 -0
- pulumi_confluentcloud/flink_statement.py +218 -124
- pulumi_confluentcloud/gateway.py +88 -28
- pulumi_confluentcloud/get_access_point.py +51 -17
- pulumi_confluentcloud/get_business_metadata.py +27 -25
- pulumi_confluentcloud/get_business_metadata_binding.py +36 -34
- pulumi_confluentcloud/get_byok_key.py +13 -13
- pulumi_confluentcloud/get_catalog_integration.py +248 -0
- pulumi_confluentcloud/get_certificate_authority.py +42 -42
- pulumi_confluentcloud/get_certificate_pool.py +21 -21
- pulumi_confluentcloud/get_cluster_link.py +274 -0
- pulumi_confluentcloud/get_connect_artifact.py +191 -0
- pulumi_confluentcloud/get_dns_record.py +17 -17
- pulumi_confluentcloud/get_environment.py +19 -19
- pulumi_confluentcloud/get_environments.py +8 -8
- pulumi_confluentcloud/get_flink_artifact.py +61 -43
- pulumi_confluentcloud/get_flink_compute_pool.py +29 -29
- pulumi_confluentcloud/get_flink_connection.py +267 -0
- pulumi_confluentcloud/get_flink_region.py +26 -26
- pulumi_confluentcloud/get_gateway.py +60 -18
- pulumi_confluentcloud/get_group_mapping.py +20 -20
- pulumi_confluentcloud/get_identity_pool.py +23 -23
- pulumi_confluentcloud/get_identity_provider.py +37 -23
- pulumi_confluentcloud/get_invitation.py +22 -22
- pulumi_confluentcloud/get_ip_addresses.py +8 -8
- pulumi_confluentcloud/get_ip_filter.py +175 -0
- pulumi_confluentcloud/get_ip_group.py +133 -0
- pulumi_confluentcloud/get_kafka_client_quota.py +19 -19
- pulumi_confluentcloud/get_kafka_cluster.py +57 -43
- pulumi_confluentcloud/get_kafka_clusters.py +136 -0
- pulumi_confluentcloud/get_kafka_topic.py +24 -24
- pulumi_confluentcloud/get_ksql_cluster.py +35 -35
- pulumi_confluentcloud/get_network.py +56 -42
- pulumi_confluentcloud/get_network_link_endpoint.py +19 -19
- pulumi_confluentcloud/get_network_link_service.py +25 -19
- pulumi_confluentcloud/get_organization.py +8 -8
- pulumi_confluentcloud/get_peering.py +21 -21
- pulumi_confluentcloud/get_private_link_access.py +21 -21
- pulumi_confluentcloud/get_private_link_attachment.py +31 -29
- pulumi_confluentcloud/get_private_link_attachment_connection.py +26 -23
- pulumi_confluentcloud/get_provider_integration.py +30 -20
- pulumi_confluentcloud/get_provider_integration_authorization.py +142 -0
- pulumi_confluentcloud/get_provider_integration_setup.py +270 -0
- pulumi_confluentcloud/get_role_binding.py +16 -16
- pulumi_confluentcloud/get_schema.py +42 -42
- pulumi_confluentcloud/get_schema_registry_cluster.py +53 -38
- pulumi_confluentcloud/get_schema_registry_cluster_config.py +31 -17
- pulumi_confluentcloud/get_schema_registry_cluster_mode.py +16 -16
- pulumi_confluentcloud/get_schema_registry_clusters.py +8 -8
- pulumi_confluentcloud/get_schema_registry_dek.py +44 -44
- pulumi_confluentcloud/get_schema_registry_kek.py +32 -32
- pulumi_confluentcloud/get_schemas.py +16 -16
- pulumi_confluentcloud/get_service_account.py +22 -22
- pulumi_confluentcloud/get_subject_config.py +37 -23
- pulumi_confluentcloud/get_subject_mode.py +22 -22
- pulumi_confluentcloud/get_tableflow_topic.py +374 -0
- pulumi_confluentcloud/get_tag.py +28 -26
- pulumi_confluentcloud/get_tag_binding.py +34 -32
- pulumi_confluentcloud/get_transit_gateway_attachment.py +19 -19
- pulumi_confluentcloud/get_user.py +26 -26
- pulumi_confluentcloud/get_users.py +8 -8
- pulumi_confluentcloud/group_mapping.py +54 -53
- pulumi_confluentcloud/identity_pool.py +74 -73
- pulumi_confluentcloud/identity_provider.py +138 -76
- pulumi_confluentcloud/invitation.py +81 -80
- pulumi_confluentcloud/ip_filter.py +420 -0
- pulumi_confluentcloud/ip_group.py +264 -0
- pulumi_confluentcloud/kafka_acl.py +173 -172
- pulumi_confluentcloud/kafka_client_quota.py +63 -62
- pulumi_confluentcloud/kafka_cluster.py +227 -207
- pulumi_confluentcloud/kafka_cluster_config.py +43 -42
- pulumi_confluentcloud/kafka_mirror_topic.py +46 -45
- pulumi_confluentcloud/kafka_topic.py +132 -131
- pulumi_confluentcloud/ksql_cluster.py +117 -120
- pulumi_confluentcloud/network.py +235 -198
- pulumi_confluentcloud/network_link_endpoint.py +62 -68
- pulumi_confluentcloud/network_link_service.py +62 -68
- pulumi_confluentcloud/outputs.py +4735 -2224
- pulumi_confluentcloud/peering.py +128 -48
- pulumi_confluentcloud/plugin.py +428 -0
- pulumi_confluentcloud/private_link_access.py +54 -60
- pulumi_confluentcloud/private_link_attachment.py +93 -88
- pulumi_confluentcloud/private_link_attachment_connection.py +70 -47
- pulumi_confluentcloud/provider.py +318 -192
- pulumi_confluentcloud/provider_integration.py +45 -34
- pulumi_confluentcloud/provider_integration_authorization.py +320 -0
- pulumi_confluentcloud/provider_integration_setup.py +448 -0
- pulumi_confluentcloud/pulumi-plugin.json +1 -1
- pulumi_confluentcloud/role_binding.py +153 -56
- pulumi_confluentcloud/schema.py +416 -212
- pulumi_confluentcloud/schema_exporter.py +217 -164
- pulumi_confluentcloud/schema_registry_cluster_config.py +96 -44
- pulumi_confluentcloud/schema_registry_cluster_mode.py +90 -42
- pulumi_confluentcloud/schema_registry_dek.py +140 -146
- pulumi_confluentcloud/schema_registry_kek.py +148 -154
- pulumi_confluentcloud/service_account.py +97 -96
- pulumi_confluentcloud/subject_config.py +142 -62
- pulumi_confluentcloud/subject_mode.py +107 -59
- pulumi_confluentcloud/tableflow_topic.py +883 -0
- pulumi_confluentcloud/tag.py +82 -79
- pulumi_confluentcloud/tag_binding.py +121 -84
- pulumi_confluentcloud/tf_importer.py +39 -36
- pulumi_confluentcloud/transit_gateway_attachment.py +38 -44
- {pulumi_confluentcloud-2.10.0a1731389320.dist-info → pulumi_confluentcloud-2.54.0a1766503424.dist-info}/METADATA +7 -7
- pulumi_confluentcloud-2.54.0a1766503424.dist-info/RECORD +134 -0
- {pulumi_confluentcloud-2.10.0a1731389320.dist-info → pulumi_confluentcloud-2.54.0a1766503424.dist-info}/WHEEL +1 -1
- pulumi_confluentcloud-2.10.0a1731389320.dist-info/RECORD +0 -113
- {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
|
|
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
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -21,19 +21,27 @@ __all__ = ['SubjectConfigArgs', 'SubjectConfig']
|
|
|
21
21
|
@pulumi.input_type
|
|
22
22
|
class SubjectConfigArgs:
|
|
23
23
|
def __init__(__self__, *,
|
|
24
|
-
subject_name: pulumi.Input[str],
|
|
25
|
-
|
|
24
|
+
subject_name: pulumi.Input[_builtins.str],
|
|
25
|
+
compatibility_group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
compatibility_level: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
27
|
credentials: Optional[pulumi.Input['SubjectConfigCredentialsArgs']] = None,
|
|
27
|
-
rest_endpoint: Optional[pulumi.Input[str]] = None,
|
|
28
|
+
rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
29
|
schema_registry_cluster: Optional[pulumi.Input['SubjectConfigSchemaRegistryClusterArgs']] = None):
|
|
29
30
|
"""
|
|
30
31
|
The set of arguments for constructing a SubjectConfig resource.
|
|
31
|
-
:param pulumi.Input[str] subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
|
|
32
|
-
|
|
32
|
+
:param pulumi.Input[_builtins.str] subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
|
|
33
|
+
|
|
34
|
+
> **Note:** If you want to reference the subject that is located in a custom context, use the following naming pattern: `:.contextName:subjectName`. For example, use `subject_name = ":.context1:test-subject"` to reference the subject named `test-subject` in the `context1` context, and use `subject_name = "test-subject"` to reference the subject named `test-subject` in the `default` context.
|
|
35
|
+
|
|
36
|
+
> **Note:** To configure a config at the context level, affecting all subjects created within that context, use the following naming pattern: `:.contextName:`. For example, to set the global configuration for the `context1` context, use `subject_name = ":.context1:"`.
|
|
37
|
+
:param pulumi.Input[_builtins.str] compatibility_group: The Compatibility Group of the specified subject.
|
|
38
|
+
:param pulumi.Input[_builtins.str] compatibility_level: The Compatibility Level of the specified subject. 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
39
|
:param pulumi.Input['SubjectConfigCredentialsArgs'] 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`).
|
|
40
|
+
: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
41
|
"""
|
|
36
42
|
pulumi.set(__self__, "subject_name", subject_name)
|
|
43
|
+
if compatibility_group is not None:
|
|
44
|
+
pulumi.set(__self__, "compatibility_group", compatibility_group)
|
|
37
45
|
if compatibility_level is not None:
|
|
38
46
|
pulumi.set(__self__, "compatibility_level", compatibility_level)
|
|
39
47
|
if credentials is not None:
|
|
@@ -43,31 +51,47 @@ class SubjectConfigArgs:
|
|
|
43
51
|
if schema_registry_cluster is not None:
|
|
44
52
|
pulumi.set(__self__, "schema_registry_cluster", schema_registry_cluster)
|
|
45
53
|
|
|
46
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
47
55
|
@pulumi.getter(name="subjectName")
|
|
48
|
-
def subject_name(self) -> pulumi.Input[str]:
|
|
56
|
+
def subject_name(self) -> pulumi.Input[_builtins.str]:
|
|
49
57
|
"""
|
|
50
58
|
The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
|
|
59
|
+
|
|
60
|
+
> **Note:** If you want to reference the subject that is located in a custom context, use the following naming pattern: `:.contextName:subjectName`. For example, use `subject_name = ":.context1:test-subject"` to reference the subject named `test-subject` in the `context1` context, and use `subject_name = "test-subject"` to reference the subject named `test-subject` in the `default` context.
|
|
61
|
+
|
|
62
|
+
> **Note:** To configure a config at the context level, affecting all subjects created within that context, use the following naming pattern: `:.contextName:`. For example, to set the global configuration for the `context1` context, use `subject_name = ":.context1:"`.
|
|
51
63
|
"""
|
|
52
64
|
return pulumi.get(self, "subject_name")
|
|
53
65
|
|
|
54
66
|
@subject_name.setter
|
|
55
|
-
def subject_name(self, value: pulumi.Input[str]):
|
|
67
|
+
def subject_name(self, value: pulumi.Input[_builtins.str]):
|
|
56
68
|
pulumi.set(self, "subject_name", value)
|
|
57
69
|
|
|
58
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
71
|
+
@pulumi.getter(name="compatibilityGroup")
|
|
72
|
+
def compatibility_group(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
73
|
+
"""
|
|
74
|
+
The Compatibility Group of the specified subject.
|
|
75
|
+
"""
|
|
76
|
+
return pulumi.get(self, "compatibility_group")
|
|
77
|
+
|
|
78
|
+
@compatibility_group.setter
|
|
79
|
+
def compatibility_group(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
80
|
+
pulumi.set(self, "compatibility_group", value)
|
|
81
|
+
|
|
82
|
+
@_builtins.property
|
|
59
83
|
@pulumi.getter(name="compatibilityLevel")
|
|
60
|
-
def compatibility_level(self) -> Optional[pulumi.Input[str]]:
|
|
84
|
+
def compatibility_level(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
61
85
|
"""
|
|
62
86
|
The Compatibility Level of the specified subject. 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.
|
|
63
87
|
"""
|
|
64
88
|
return pulumi.get(self, "compatibility_level")
|
|
65
89
|
|
|
66
90
|
@compatibility_level.setter
|
|
67
|
-
def compatibility_level(self, value: Optional[pulumi.Input[str]]):
|
|
91
|
+
def compatibility_level(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
68
92
|
pulumi.set(self, "compatibility_level", value)
|
|
69
93
|
|
|
70
|
-
@property
|
|
94
|
+
@_builtins.property
|
|
71
95
|
@pulumi.getter
|
|
72
96
|
def credentials(self) -> Optional[pulumi.Input['SubjectConfigCredentialsArgs']]:
|
|
73
97
|
"""
|
|
@@ -79,19 +103,19 @@ class SubjectConfigArgs:
|
|
|
79
103
|
def credentials(self, value: Optional[pulumi.Input['SubjectConfigCredentialsArgs']]):
|
|
80
104
|
pulumi.set(self, "credentials", value)
|
|
81
105
|
|
|
82
|
-
@property
|
|
106
|
+
@_builtins.property
|
|
83
107
|
@pulumi.getter(name="restEndpoint")
|
|
84
|
-
def rest_endpoint(self) -> Optional[pulumi.Input[str]]:
|
|
108
|
+
def rest_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
85
109
|
"""
|
|
86
110
|
The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
87
111
|
"""
|
|
88
112
|
return pulumi.get(self, "rest_endpoint")
|
|
89
113
|
|
|
90
114
|
@rest_endpoint.setter
|
|
91
|
-
def rest_endpoint(self, value: Optional[pulumi.Input[str]]):
|
|
115
|
+
def rest_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
92
116
|
pulumi.set(self, "rest_endpoint", value)
|
|
93
117
|
|
|
94
|
-
@property
|
|
118
|
+
@_builtins.property
|
|
95
119
|
@pulumi.getter(name="schemaRegistryCluster")
|
|
96
120
|
def schema_registry_cluster(self) -> Optional[pulumi.Input['SubjectConfigSchemaRegistryClusterArgs']]:
|
|
97
121
|
return pulumi.get(self, "schema_registry_cluster")
|
|
@@ -104,18 +128,26 @@ class SubjectConfigArgs:
|
|
|
104
128
|
@pulumi.input_type
|
|
105
129
|
class _SubjectConfigState:
|
|
106
130
|
def __init__(__self__, *,
|
|
107
|
-
|
|
131
|
+
compatibility_group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
132
|
+
compatibility_level: Optional[pulumi.Input[_builtins.str]] = None,
|
|
108
133
|
credentials: Optional[pulumi.Input['SubjectConfigCredentialsArgs']] = None,
|
|
109
|
-
rest_endpoint: Optional[pulumi.Input[str]] = None,
|
|
134
|
+
rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
110
135
|
schema_registry_cluster: Optional[pulumi.Input['SubjectConfigSchemaRegistryClusterArgs']] = None,
|
|
111
|
-
subject_name: Optional[pulumi.Input[str]] = None):
|
|
136
|
+
subject_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
112
137
|
"""
|
|
113
138
|
Input properties used for looking up and filtering SubjectConfig resources.
|
|
114
|
-
:param pulumi.Input[str]
|
|
139
|
+
:param pulumi.Input[_builtins.str] compatibility_group: The Compatibility Group of the specified subject.
|
|
140
|
+
:param pulumi.Input[_builtins.str] compatibility_level: The Compatibility Level of the specified subject. 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
141
|
:param pulumi.Input['SubjectConfigCredentialsArgs'] credentials: The Cluster API Credentials.
|
|
116
|
-
: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`).
|
|
117
|
-
:param pulumi.Input[str] subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
|
|
118
|
-
|
|
142
|
+
: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`).
|
|
143
|
+
:param pulumi.Input[_builtins.str] subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
|
|
144
|
+
|
|
145
|
+
> **Note:** If you want to reference the subject that is located in a custom context, use the following naming pattern: `:.contextName:subjectName`. For example, use `subject_name = ":.context1:test-subject"` to reference the subject named `test-subject` in the `context1` context, and use `subject_name = "test-subject"` to reference the subject named `test-subject` in the `default` context.
|
|
146
|
+
|
|
147
|
+
> **Note:** To configure a config at the context level, affecting all subjects created within that context, use the following naming pattern: `:.contextName:`. For example, to set the global configuration for the `context1` context, use `subject_name = ":.context1:"`.
|
|
148
|
+
"""
|
|
149
|
+
if compatibility_group is not None:
|
|
150
|
+
pulumi.set(__self__, "compatibility_group", compatibility_group)
|
|
119
151
|
if compatibility_level is not None:
|
|
120
152
|
pulumi.set(__self__, "compatibility_level", compatibility_level)
|
|
121
153
|
if credentials is not None:
|
|
@@ -127,19 +159,31 @@ class _SubjectConfigState:
|
|
|
127
159
|
if subject_name is not None:
|
|
128
160
|
pulumi.set(__self__, "subject_name", subject_name)
|
|
129
161
|
|
|
130
|
-
@property
|
|
162
|
+
@_builtins.property
|
|
163
|
+
@pulumi.getter(name="compatibilityGroup")
|
|
164
|
+
def compatibility_group(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
165
|
+
"""
|
|
166
|
+
The Compatibility Group of the specified subject.
|
|
167
|
+
"""
|
|
168
|
+
return pulumi.get(self, "compatibility_group")
|
|
169
|
+
|
|
170
|
+
@compatibility_group.setter
|
|
171
|
+
def compatibility_group(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
172
|
+
pulumi.set(self, "compatibility_group", value)
|
|
173
|
+
|
|
174
|
+
@_builtins.property
|
|
131
175
|
@pulumi.getter(name="compatibilityLevel")
|
|
132
|
-
def compatibility_level(self) -> Optional[pulumi.Input[str]]:
|
|
176
|
+
def compatibility_level(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
133
177
|
"""
|
|
134
178
|
The Compatibility Level of the specified subject. 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.
|
|
135
179
|
"""
|
|
136
180
|
return pulumi.get(self, "compatibility_level")
|
|
137
181
|
|
|
138
182
|
@compatibility_level.setter
|
|
139
|
-
def compatibility_level(self, value: Optional[pulumi.Input[str]]):
|
|
183
|
+
def compatibility_level(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
140
184
|
pulumi.set(self, "compatibility_level", value)
|
|
141
185
|
|
|
142
|
-
@property
|
|
186
|
+
@_builtins.property
|
|
143
187
|
@pulumi.getter
|
|
144
188
|
def credentials(self) -> Optional[pulumi.Input['SubjectConfigCredentialsArgs']]:
|
|
145
189
|
"""
|
|
@@ -151,19 +195,19 @@ class _SubjectConfigState:
|
|
|
151
195
|
def credentials(self, value: Optional[pulumi.Input['SubjectConfigCredentialsArgs']]):
|
|
152
196
|
pulumi.set(self, "credentials", value)
|
|
153
197
|
|
|
154
|
-
@property
|
|
198
|
+
@_builtins.property
|
|
155
199
|
@pulumi.getter(name="restEndpoint")
|
|
156
|
-
def rest_endpoint(self) -> Optional[pulumi.Input[str]]:
|
|
200
|
+
def rest_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
157
201
|
"""
|
|
158
202
|
The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
159
203
|
"""
|
|
160
204
|
return pulumi.get(self, "rest_endpoint")
|
|
161
205
|
|
|
162
206
|
@rest_endpoint.setter
|
|
163
|
-
def rest_endpoint(self, value: Optional[pulumi.Input[str]]):
|
|
207
|
+
def rest_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
164
208
|
pulumi.set(self, "rest_endpoint", value)
|
|
165
209
|
|
|
166
|
-
@property
|
|
210
|
+
@_builtins.property
|
|
167
211
|
@pulumi.getter(name="schemaRegistryCluster")
|
|
168
212
|
def schema_registry_cluster(self) -> Optional[pulumi.Input['SubjectConfigSchemaRegistryClusterArgs']]:
|
|
169
213
|
return pulumi.get(self, "schema_registry_cluster")
|
|
@@ -172,29 +216,35 @@ class _SubjectConfigState:
|
|
|
172
216
|
def schema_registry_cluster(self, value: Optional[pulumi.Input['SubjectConfigSchemaRegistryClusterArgs']]):
|
|
173
217
|
pulumi.set(self, "schema_registry_cluster", value)
|
|
174
218
|
|
|
175
|
-
@property
|
|
219
|
+
@_builtins.property
|
|
176
220
|
@pulumi.getter(name="subjectName")
|
|
177
|
-
def subject_name(self) -> Optional[pulumi.Input[str]]:
|
|
221
|
+
def subject_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
178
222
|
"""
|
|
179
223
|
The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
|
|
224
|
+
|
|
225
|
+
> **Note:** If you want to reference the subject that is located in a custom context, use the following naming pattern: `:.contextName:subjectName`. For example, use `subject_name = ":.context1:test-subject"` to reference the subject named `test-subject` in the `context1` context, and use `subject_name = "test-subject"` to reference the subject named `test-subject` in the `default` context.
|
|
226
|
+
|
|
227
|
+
> **Note:** To configure a config at the context level, affecting all subjects created within that context, use the following naming pattern: `:.contextName:`. For example, to set the global configuration for the `context1` context, use `subject_name = ":.context1:"`.
|
|
180
228
|
"""
|
|
181
229
|
return pulumi.get(self, "subject_name")
|
|
182
230
|
|
|
183
231
|
@subject_name.setter
|
|
184
|
-
def subject_name(self, value: Optional[pulumi.Input[str]]):
|
|
232
|
+
def subject_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
185
233
|
pulumi.set(self, "subject_name", value)
|
|
186
234
|
|
|
187
235
|
|
|
236
|
+
@pulumi.type_token("confluentcloud:index/subjectConfig:SubjectConfig")
|
|
188
237
|
class SubjectConfig(pulumi.CustomResource):
|
|
189
238
|
@overload
|
|
190
239
|
def __init__(__self__,
|
|
191
240
|
resource_name: str,
|
|
192
241
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
193
|
-
|
|
242
|
+
compatibility_group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
243
|
+
compatibility_level: Optional[pulumi.Input[_builtins.str]] = None,
|
|
194
244
|
credentials: Optional[pulumi.Input[Union['SubjectConfigCredentialsArgs', 'SubjectConfigCredentialsArgsDict']]] = None,
|
|
195
|
-
rest_endpoint: Optional[pulumi.Input[str]] = None,
|
|
245
|
+
rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
196
246
|
schema_registry_cluster: Optional[pulumi.Input[Union['SubjectConfigSchemaRegistryClusterArgs', 'SubjectConfigSchemaRegistryClusterArgsDict']]] = None,
|
|
197
|
-
subject_name: Optional[pulumi.Input[str]] = None,
|
|
247
|
+
subject_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
198
248
|
__props__=None):
|
|
199
249
|
"""
|
|
200
250
|
## Example Usage
|
|
@@ -212,6 +262,7 @@ class SubjectConfig(pulumi.CustomResource):
|
|
|
212
262
|
rest_endpoint=essentials_confluent_schema_registry_cluster["restEndpoint"],
|
|
213
263
|
subject_name="proto-purchase-value",
|
|
214
264
|
compatibility_level="BACKWARD",
|
|
265
|
+
compatibility_group="abc.cg.version",
|
|
215
266
|
credentials={
|
|
216
267
|
"key": "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
|
|
217
268
|
"secret": "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
|
|
@@ -226,7 +277,8 @@ class SubjectConfig(pulumi.CustomResource):
|
|
|
226
277
|
|
|
227
278
|
example = confluentcloud.SubjectConfig("example",
|
|
228
279
|
subject_name="proto-purchase-value",
|
|
229
|
-
compatibility_level="BACKWARD"
|
|
280
|
+
compatibility_level="BACKWARD",
|
|
281
|
+
compatibility_group="abc.cg.version")
|
|
230
282
|
```
|
|
231
283
|
|
|
232
284
|
## Import
|
|
@@ -247,10 +299,15 @@ class SubjectConfig(pulumi.CustomResource):
|
|
|
247
299
|
|
|
248
300
|
:param str resource_name: The name of the resource.
|
|
249
301
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
250
|
-
:param pulumi.Input[str]
|
|
302
|
+
:param pulumi.Input[_builtins.str] compatibility_group: The Compatibility Group of the specified subject.
|
|
303
|
+
:param pulumi.Input[_builtins.str] compatibility_level: The Compatibility Level of the specified subject. 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
304
|
:param pulumi.Input[Union['SubjectConfigCredentialsArgs', 'SubjectConfigCredentialsArgsDict']] credentials: The Cluster API Credentials.
|
|
252
|
-
: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`).
|
|
253
|
-
:param pulumi.Input[str] subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
|
|
305
|
+
: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`).
|
|
306
|
+
:param pulumi.Input[_builtins.str] subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
|
|
307
|
+
|
|
308
|
+
> **Note:** If you want to reference the subject that is located in a custom context, use the following naming pattern: `:.contextName:subjectName`. For example, use `subject_name = ":.context1:test-subject"` to reference the subject named `test-subject` in the `context1` context, and use `subject_name = "test-subject"` to reference the subject named `test-subject` in the `default` context.
|
|
309
|
+
|
|
310
|
+
> **Note:** To configure a config at the context level, affecting all subjects created within that context, use the following naming pattern: `:.contextName:`. For example, to set the global configuration for the `context1` context, use `subject_name = ":.context1:"`.
|
|
254
311
|
"""
|
|
255
312
|
...
|
|
256
313
|
@overload
|
|
@@ -274,6 +331,7 @@ class SubjectConfig(pulumi.CustomResource):
|
|
|
274
331
|
rest_endpoint=essentials_confluent_schema_registry_cluster["restEndpoint"],
|
|
275
332
|
subject_name="proto-purchase-value",
|
|
276
333
|
compatibility_level="BACKWARD",
|
|
334
|
+
compatibility_group="abc.cg.version",
|
|
277
335
|
credentials={
|
|
278
336
|
"key": "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
|
|
279
337
|
"secret": "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
|
|
@@ -288,7 +346,8 @@ class SubjectConfig(pulumi.CustomResource):
|
|
|
288
346
|
|
|
289
347
|
example = confluentcloud.SubjectConfig("example",
|
|
290
348
|
subject_name="proto-purchase-value",
|
|
291
|
-
compatibility_level="BACKWARD"
|
|
349
|
+
compatibility_level="BACKWARD",
|
|
350
|
+
compatibility_group="abc.cg.version")
|
|
292
351
|
```
|
|
293
352
|
|
|
294
353
|
## Import
|
|
@@ -322,11 +381,12 @@ class SubjectConfig(pulumi.CustomResource):
|
|
|
322
381
|
def _internal_init(__self__,
|
|
323
382
|
resource_name: str,
|
|
324
383
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
325
|
-
|
|
384
|
+
compatibility_group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
385
|
+
compatibility_level: Optional[pulumi.Input[_builtins.str]] = None,
|
|
326
386
|
credentials: Optional[pulumi.Input[Union['SubjectConfigCredentialsArgs', 'SubjectConfigCredentialsArgsDict']]] = None,
|
|
327
|
-
rest_endpoint: Optional[pulumi.Input[str]] = None,
|
|
387
|
+
rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
328
388
|
schema_registry_cluster: Optional[pulumi.Input[Union['SubjectConfigSchemaRegistryClusterArgs', 'SubjectConfigSchemaRegistryClusterArgsDict']]] = None,
|
|
329
|
-
subject_name: Optional[pulumi.Input[str]] = None,
|
|
389
|
+
subject_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
330
390
|
__props__=None):
|
|
331
391
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
332
392
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -336,6 +396,7 @@ class SubjectConfig(pulumi.CustomResource):
|
|
|
336
396
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
337
397
|
__props__ = SubjectConfigArgs.__new__(SubjectConfigArgs)
|
|
338
398
|
|
|
399
|
+
__props__.__dict__["compatibility_group"] = compatibility_group
|
|
339
400
|
__props__.__dict__["compatibility_level"] = compatibility_level
|
|
340
401
|
__props__.__dict__["credentials"] = None if credentials is None else pulumi.Output.secret(credentials)
|
|
341
402
|
__props__.__dict__["rest_endpoint"] = rest_endpoint
|
|
@@ -355,11 +416,12 @@ class SubjectConfig(pulumi.CustomResource):
|
|
|
355
416
|
def get(resource_name: str,
|
|
356
417
|
id: pulumi.Input[str],
|
|
357
418
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
358
|
-
|
|
419
|
+
compatibility_group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
420
|
+
compatibility_level: Optional[pulumi.Input[_builtins.str]] = None,
|
|
359
421
|
credentials: Optional[pulumi.Input[Union['SubjectConfigCredentialsArgs', 'SubjectConfigCredentialsArgsDict']]] = None,
|
|
360
|
-
rest_endpoint: Optional[pulumi.Input[str]] = None,
|
|
422
|
+
rest_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
361
423
|
schema_registry_cluster: Optional[pulumi.Input[Union['SubjectConfigSchemaRegistryClusterArgs', 'SubjectConfigSchemaRegistryClusterArgsDict']]] = None,
|
|
362
|
-
subject_name: Optional[pulumi.Input[str]] = None) -> 'SubjectConfig':
|
|
424
|
+
subject_name: Optional[pulumi.Input[_builtins.str]] = None) -> 'SubjectConfig':
|
|
363
425
|
"""
|
|
364
426
|
Get an existing SubjectConfig resource's state with the given name, id, and optional extra
|
|
365
427
|
properties used to qualify the lookup.
|
|
@@ -367,15 +429,21 @@ class SubjectConfig(pulumi.CustomResource):
|
|
|
367
429
|
:param str resource_name: The unique name of the resulting resource.
|
|
368
430
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
369
431
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
370
|
-
:param pulumi.Input[str]
|
|
432
|
+
:param pulumi.Input[_builtins.str] compatibility_group: The Compatibility Group of the specified subject.
|
|
433
|
+
:param pulumi.Input[_builtins.str] compatibility_level: The Compatibility Level of the specified subject. 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.
|
|
371
434
|
:param pulumi.Input[Union['SubjectConfigCredentialsArgs', 'SubjectConfigCredentialsArgsDict']] credentials: The Cluster API Credentials.
|
|
372
|
-
: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`).
|
|
373
|
-
:param pulumi.Input[str] subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
|
|
435
|
+
: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`).
|
|
436
|
+
:param pulumi.Input[_builtins.str] subject_name: The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
|
|
437
|
+
|
|
438
|
+
> **Note:** If you want to reference the subject that is located in a custom context, use the following naming pattern: `:.contextName:subjectName`. For example, use `subject_name = ":.context1:test-subject"` to reference the subject named `test-subject` in the `context1` context, and use `subject_name = "test-subject"` to reference the subject named `test-subject` in the `default` context.
|
|
439
|
+
|
|
440
|
+
> **Note:** To configure a config at the context level, affecting all subjects created within that context, use the following naming pattern: `:.contextName:`. For example, to set the global configuration for the `context1` context, use `subject_name = ":.context1:"`.
|
|
374
441
|
"""
|
|
375
442
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
376
443
|
|
|
377
444
|
__props__ = _SubjectConfigState.__new__(_SubjectConfigState)
|
|
378
445
|
|
|
446
|
+
__props__.__dict__["compatibility_group"] = compatibility_group
|
|
379
447
|
__props__.__dict__["compatibility_level"] = compatibility_level
|
|
380
448
|
__props__.__dict__["credentials"] = credentials
|
|
381
449
|
__props__.__dict__["rest_endpoint"] = rest_endpoint
|
|
@@ -383,15 +451,23 @@ class SubjectConfig(pulumi.CustomResource):
|
|
|
383
451
|
__props__.__dict__["subject_name"] = subject_name
|
|
384
452
|
return SubjectConfig(resource_name, opts=opts, __props__=__props__)
|
|
385
453
|
|
|
386
|
-
@property
|
|
454
|
+
@_builtins.property
|
|
455
|
+
@pulumi.getter(name="compatibilityGroup")
|
|
456
|
+
def compatibility_group(self) -> pulumi.Output[_builtins.str]:
|
|
457
|
+
"""
|
|
458
|
+
The Compatibility Group of the specified subject.
|
|
459
|
+
"""
|
|
460
|
+
return pulumi.get(self, "compatibility_group")
|
|
461
|
+
|
|
462
|
+
@_builtins.property
|
|
387
463
|
@pulumi.getter(name="compatibilityLevel")
|
|
388
|
-
def compatibility_level(self) -> pulumi.Output[str]:
|
|
464
|
+
def compatibility_level(self) -> pulumi.Output[_builtins.str]:
|
|
389
465
|
"""
|
|
390
466
|
The Compatibility Level of the specified subject. 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.
|
|
391
467
|
"""
|
|
392
468
|
return pulumi.get(self, "compatibility_level")
|
|
393
469
|
|
|
394
|
-
@property
|
|
470
|
+
@_builtins.property
|
|
395
471
|
@pulumi.getter
|
|
396
472
|
def credentials(self) -> pulumi.Output[Optional['outputs.SubjectConfigCredentials']]:
|
|
397
473
|
"""
|
|
@@ -399,24 +475,28 @@ class SubjectConfig(pulumi.CustomResource):
|
|
|
399
475
|
"""
|
|
400
476
|
return pulumi.get(self, "credentials")
|
|
401
477
|
|
|
402
|
-
@property
|
|
478
|
+
@_builtins.property
|
|
403
479
|
@pulumi.getter(name="restEndpoint")
|
|
404
|
-
def rest_endpoint(self) -> pulumi.Output[Optional[str]]:
|
|
480
|
+
def rest_endpoint(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
405
481
|
"""
|
|
406
482
|
The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
|
|
407
483
|
"""
|
|
408
484
|
return pulumi.get(self, "rest_endpoint")
|
|
409
485
|
|
|
410
|
-
@property
|
|
486
|
+
@_builtins.property
|
|
411
487
|
@pulumi.getter(name="schemaRegistryCluster")
|
|
412
488
|
def schema_registry_cluster(self) -> pulumi.Output[Optional['outputs.SubjectConfigSchemaRegistryCluster']]:
|
|
413
489
|
return pulumi.get(self, "schema_registry_cluster")
|
|
414
490
|
|
|
415
|
-
@property
|
|
491
|
+
@_builtins.property
|
|
416
492
|
@pulumi.getter(name="subjectName")
|
|
417
|
-
def subject_name(self) -> pulumi.Output[str]:
|
|
493
|
+
def subject_name(self) -> pulumi.Output[_builtins.str]:
|
|
418
494
|
"""
|
|
419
495
|
The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
|
|
496
|
+
|
|
497
|
+
> **Note:** If you want to reference the subject that is located in a custom context, use the following naming pattern: `:.contextName:subjectName`. For example, use `subject_name = ":.context1:test-subject"` to reference the subject named `test-subject` in the `context1` context, and use `subject_name = "test-subject"` to reference the subject named `test-subject` in the `default` context.
|
|
498
|
+
|
|
499
|
+
> **Note:** To configure a config at the context level, affecting all subjects created within that context, use the following naming pattern: `:.contextName:`. For example, to set the global configuration for the `context1` context, use `subject_name = ":.context1:"`.
|
|
420
500
|
"""
|
|
421
501
|
return pulumi.get(self, "subject_name")
|
|
422
502
|
|