@pulumi/confluentcloud 1.36.0 → 1.37.0-alpha.1710332918
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.
- package/apiKey.d.ts +26 -10
- package/apiKey.js +26 -10
- package/apiKey.js.map +1 -1
- package/businessMetadata.d.ts +4 -4
- package/businessMetadata.js +4 -4
- package/businessMetadataBinding.d.ts +4 -4
- package/businessMetadataBinding.js +4 -4
- package/byokKey.d.ts +11 -4
- package/byokKey.js +11 -4
- package/byokKey.js.map +1 -1
- package/clusterLink.d.ts +19 -18
- package/clusterLink.js +19 -18
- package/clusterLink.js.map +1 -1
- package/connector.d.ts +15 -2
- package/connector.js +15 -2
- package/connector.js.map +1 -1
- package/customConnectorPlugin.d.ts +5 -3
- package/customConnectorPlugin.js +5 -3
- package/customConnectorPlugin.js.map +1 -1
- package/dnsForwarder.d.ts +6 -4
- package/dnsForwarder.js +6 -4
- package/dnsForwarder.js.map +1 -1
- package/environment.d.ts +4 -27
- package/environment.js +4 -27
- package/environment.js.map +1 -1
- package/flinkComputePool.d.ts +5 -3
- package/flinkComputePool.js +5 -3
- package/flinkComputePool.js.map +1 -1
- package/flinkStatement.d.ts +10 -10
- package/flinkStatement.js +10 -10
- package/getByokKey.d.ts +6 -2
- package/getByokKey.js +6 -2
- package/getByokKey.js.map +1 -1
- package/getEnvironment.d.ts +6 -2
- package/getEnvironment.js +6 -2
- package/getEnvironment.js.map +1 -1
- package/getEnvironments.d.ts +6 -2
- package/getEnvironments.js +6 -2
- package/getEnvironments.js.map +1 -1
- package/getFlinkComputePool.d.ts +6 -2
- package/getFlinkComputePool.js +6 -2
- package/getFlinkComputePool.js.map +1 -1
- package/getFlinkRegion.d.ts +6 -2
- package/getFlinkRegion.js +6 -2
- package/getFlinkRegion.js.map +1 -1
- package/getGroupMapping.d.ts +6 -2
- package/getGroupMapping.js +6 -2
- package/getGroupMapping.js.map +1 -1
- package/getIdentityPool.d.ts +6 -2
- package/getIdentityPool.js +6 -2
- package/getIdentityPool.js.map +1 -1
- package/getIdentityProvider.d.ts +6 -2
- package/getIdentityProvider.js +6 -2
- package/getIdentityProvider.js.map +1 -1
- package/getInvitation.d.ts +6 -2
- package/getInvitation.js +6 -2
- package/getInvitation.js.map +1 -1
- package/getIpAddresses.d.ts +6 -2
- package/getIpAddresses.js +6 -2
- package/getIpAddresses.js.map +1 -1
- package/getKafkaClientQuota.d.ts +6 -2
- package/getKafkaClientQuota.js +6 -2
- package/getKafkaClientQuota.js.map +1 -1
- package/getKafkaCluster.d.ts +6 -2
- package/getKafkaCluster.js +6 -2
- package/getKafkaCluster.js.map +1 -1
- package/getKsqlCluster.d.ts +6 -2
- package/getKsqlCluster.js +6 -2
- package/getKsqlCluster.js.map +1 -1
- package/getNetwork.d.ts +4 -0
- package/getNetwork.js +4 -0
- package/getNetwork.js.map +1 -1
- package/getNetworkLinkEndpoint.d.ts +6 -2
- package/getNetworkLinkEndpoint.js +6 -2
- package/getNetworkLinkEndpoint.js.map +1 -1
- package/getNetworkLinkService.d.ts +6 -2
- package/getNetworkLinkService.js +6 -2
- package/getNetworkLinkService.js.map +1 -1
- package/getOrganization.d.ts +6 -2
- package/getOrganization.js +6 -2
- package/getOrganization.js.map +1 -1
- package/getPeering.d.ts +6 -2
- package/getPeering.js +6 -2
- package/getPeering.js.map +1 -1
- package/getPrivateLinkAccess.d.ts +6 -2
- package/getPrivateLinkAccess.js +6 -2
- package/getPrivateLinkAccess.js.map +1 -1
- package/getPrivateLinkAttachment.d.ts +6 -2
- package/getPrivateLinkAttachment.js +6 -2
- package/getPrivateLinkAttachment.js.map +1 -1
- package/getPrivateLinkAttachmentConnection.d.ts +6 -2
- package/getPrivateLinkAttachmentConnection.js +6 -2
- package/getPrivateLinkAttachmentConnection.js.map +1 -1
- package/getRoleBinding.d.ts +6 -2
- package/getRoleBinding.js +6 -2
- package/getRoleBinding.js.map +1 -1
- package/getSchema.d.ts +24 -0
- package/getSchema.js +2 -0
- package/getSchema.js.map +1 -1
- package/getSchemaRegistryCluster.d.ts +6 -2
- package/getSchemaRegistryCluster.js +6 -2
- package/getSchemaRegistryCluster.js.map +1 -1
- package/getSchemaRegistryClusters.d.ts +6 -2
- package/getSchemaRegistryClusters.js +6 -2
- package/getSchemaRegistryClusters.js.map +1 -1
- package/getSchemaRegistryDek.d.ts +43 -0
- package/getSchemaRegistryDek.js.map +1 -1
- package/getSchemaRegistryKek.d.ts +40 -0
- package/getSchemaRegistryKek.js.map +1 -1
- package/getSchemaRegistryRegion.d.ts +6 -2
- package/getSchemaRegistryRegion.js +6 -2
- package/getSchemaRegistryRegion.js.map +1 -1
- package/getServiceAccount.d.ts +6 -2
- package/getServiceAccount.js +6 -2
- package/getServiceAccount.js.map +1 -1
- package/getTransitGatewayAttachment.d.ts +6 -2
- package/getTransitGatewayAttachment.js +6 -2
- package/getTransitGatewayAttachment.js.map +1 -1
- package/getUser.d.ts +6 -2
- package/getUser.js +6 -2
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +6 -2
- package/getUsers.js +6 -2
- package/getUsers.js.map +1 -1
- package/groupMapping.d.ts +6 -4
- package/groupMapping.js +6 -4
- package/groupMapping.js.map +1 -1
- package/identityPool.d.ts +11 -4
- package/identityPool.js +11 -4
- package/identityPool.js.map +1 -1
- package/identityProvider.d.ts +11 -4
- package/identityProvider.js +11 -4
- package/identityProvider.js.map +1 -1
- package/invitation.d.ts +6 -4
- package/invitation.js +6 -4
- package/invitation.js.map +1 -1
- package/kafkaAcl.d.ts +8 -8
- package/kafkaAcl.js +8 -8
- package/kafkaClientQuota.d.ts +5 -3
- package/kafkaClientQuota.js +5 -3
- package/kafkaClientQuota.js.map +1 -1
- package/kafkaCluster.d.ts +13 -3
- package/kafkaCluster.js +13 -3
- package/kafkaCluster.js.map +1 -1
- package/kafkaClusterConfig.d.ts +6 -6
- package/kafkaClusterConfig.js +6 -6
- package/kafkaMirrorTopic.d.ts +7 -4
- package/kafkaMirrorTopic.js +7 -4
- package/kafkaMirrorTopic.js.map +1 -1
- package/kafkaTopic.d.ts +34 -68
- package/kafkaTopic.js +34 -68
- package/kafkaTopic.js.map +1 -1
- package/ksqlCluster.d.ts +4 -12
- package/ksqlCluster.js +4 -12
- package/ksqlCluster.js.map +1 -1
- package/network.d.ts +16 -3
- package/network.js +16 -3
- package/network.js.map +1 -1
- package/networkLinkEndpoint.d.ts +6 -3
- package/networkLinkEndpoint.js +6 -3
- package/networkLinkEndpoint.js.map +1 -1
- package/networkLinkService.d.ts +7 -3
- package/networkLinkService.js +7 -3
- package/networkLinkService.js.map +1 -1
- package/package.json +1 -1
- package/peering.d.ts +9 -15
- package/peering.js +9 -15
- package/peering.js.map +1 -1
- package/privateLinkAccess.d.ts +13 -3
- package/privateLinkAccess.js +13 -3
- package/privateLinkAccess.js.map +1 -1
- package/privateLinkAttachment.d.ts +6 -4
- package/privateLinkAttachment.js +6 -4
- package/privateLinkAttachment.js.map +1 -1
- package/privateLinkAttachmentConnection.d.ts +6 -4
- package/privateLinkAttachmentConnection.js +6 -4
- package/privateLinkAttachmentConnection.js.map +1 -1
- package/roleBinding.d.ts +4 -18
- package/roleBinding.js +4 -18
- package/roleBinding.js.map +1 -1
- package/schema.d.ts +35 -11
- package/schema.js +15 -11
- package/schema.js.map +1 -1
- package/schemaExporter.d.ts +4 -4
- package/schemaExporter.js +4 -4
- package/schemaRegistryCluster.d.ts +5 -3
- package/schemaRegistryCluster.js +5 -3
- package/schemaRegistryCluster.js.map +1 -1
- package/schemaRegistryClusterConfig.d.ts +4 -4
- package/schemaRegistryClusterConfig.js +4 -4
- package/schemaRegistryClusterMode.d.ts +4 -4
- package/schemaRegistryClusterMode.js +4 -4
- package/schemaRegistryDek.d.ts +71 -6
- package/schemaRegistryDek.js +17 -0
- package/schemaRegistryDek.js.map +1 -1
- package/schemaRegistryKek.d.ts +84 -7
- package/schemaRegistryKek.js +17 -0
- package/schemaRegistryKek.js.map +1 -1
- package/serviceAccount.d.ts +7 -4
- package/serviceAccount.js +7 -4
- package/serviceAccount.js.map +1 -1
- package/subjectConfig.d.ts +4 -4
- package/subjectConfig.js +4 -4
- package/subjectMode.d.ts +4 -4
- package/subjectMode.js +4 -4
- package/tag.d.ts +4 -4
- package/tag.js +4 -4
- package/tagBinding.d.ts +4 -4
- package/tagBinding.js +4 -4
- package/tfImporter.d.ts +3 -0
- package/tfImporter.js +3 -0
- package/tfImporter.js.map +1 -1
- package/transitGatewayAttachment.d.ts +7 -3
- package/transitGatewayAttachment.js +7 -3
- package/transitGatewayAttachment.js.map +1 -1
- package/types/input.d.ts +390 -20
- package/types/output.d.ts +264 -15
package/types/output.d.ts
CHANGED
|
@@ -904,6 +904,32 @@ export interface GetSchemaCredentials {
|
|
|
904
904
|
*/
|
|
905
905
|
secret: string;
|
|
906
906
|
}
|
|
907
|
+
export interface GetSchemaMetadata {
|
|
908
|
+
/**
|
|
909
|
+
* (Optional Map) The custom properties to set:
|
|
910
|
+
*/
|
|
911
|
+
properties: {
|
|
912
|
+
[key: string]: string;
|
|
913
|
+
};
|
|
914
|
+
/**
|
|
915
|
+
* (Optional List of Strings) A list of metadata properties to be encrypted.
|
|
916
|
+
*/
|
|
917
|
+
sensitives: string[];
|
|
918
|
+
/**
|
|
919
|
+
* (Optional String List) The tags to which the rule applies, if any.
|
|
920
|
+
*/
|
|
921
|
+
tags: outputs.GetSchemaMetadataTag[];
|
|
922
|
+
}
|
|
923
|
+
export interface GetSchemaMetadataTag {
|
|
924
|
+
/**
|
|
925
|
+
* The Schema Registry API Key.
|
|
926
|
+
*/
|
|
927
|
+
key: string;
|
|
928
|
+
/**
|
|
929
|
+
* (Required List of Strings) The list of tags.
|
|
930
|
+
*/
|
|
931
|
+
values: string[];
|
|
932
|
+
}
|
|
907
933
|
export interface GetSchemaRegistryClusterConfigCredentials {
|
|
908
934
|
/**
|
|
909
935
|
* The Schema Registry API Key.
|
|
@@ -1006,39 +1032,134 @@ export interface GetSchemaRegistryClustersClusterRegion {
|
|
|
1006
1032
|
}
|
|
1007
1033
|
export interface GetSchemaRegistryDekCredentials {
|
|
1008
1034
|
/**
|
|
1009
|
-
* The
|
|
1035
|
+
* The Schema Registry API Key.
|
|
1010
1036
|
*/
|
|
1011
1037
|
key: string;
|
|
1012
1038
|
/**
|
|
1013
|
-
* The
|
|
1039
|
+
* The Schema Registry API Secret.
|
|
1014
1040
|
*/
|
|
1015
1041
|
secret: string;
|
|
1016
1042
|
}
|
|
1017
1043
|
export interface GetSchemaRegistryDekSchemaRegistryCluster {
|
|
1018
1044
|
/**
|
|
1019
|
-
* The Schema Registry cluster
|
|
1045
|
+
* The ID of the Schema Registry cluster, for example, `lsrc-abc123`.
|
|
1020
1046
|
*/
|
|
1021
1047
|
id: string;
|
|
1022
1048
|
}
|
|
1023
1049
|
export interface GetSchemaRegistryKekCredentials {
|
|
1024
1050
|
/**
|
|
1025
|
-
* The
|
|
1051
|
+
* The Schema Registry API Key.
|
|
1026
1052
|
*/
|
|
1027
1053
|
key: string;
|
|
1028
1054
|
/**
|
|
1029
|
-
* The
|
|
1055
|
+
* The Schema Registry API Secret.
|
|
1030
1056
|
*/
|
|
1031
1057
|
secret: string;
|
|
1032
1058
|
}
|
|
1033
1059
|
export interface GetSchemaRegistryKekSchemaRegistryCluster {
|
|
1034
1060
|
/**
|
|
1035
|
-
* The Schema Registry cluster
|
|
1061
|
+
* The ID of the Schema Registry cluster, for example, `lsrc-abc123`.
|
|
1036
1062
|
*/
|
|
1037
1063
|
id: string;
|
|
1038
1064
|
}
|
|
1065
|
+
export interface GetSchemaRuleset {
|
|
1066
|
+
/**
|
|
1067
|
+
* (Optional List of Blocks) supports the following:
|
|
1068
|
+
*/
|
|
1069
|
+
domainRules: outputs.GetSchemaRulesetDomainRule[];
|
|
1070
|
+
migrationRules: outputs.GetSchemaRulesetMigrationRule[];
|
|
1071
|
+
}
|
|
1072
|
+
export interface GetSchemaRulesetDomainRule {
|
|
1073
|
+
/**
|
|
1074
|
+
* (Optional String) An optional description.
|
|
1075
|
+
*/
|
|
1076
|
+
doc: string;
|
|
1077
|
+
/**
|
|
1078
|
+
* (Optional String) The body of the rule, which is optional.
|
|
1079
|
+
*/
|
|
1080
|
+
expr: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* (Optional String) Either `CONDITION` or `TRANSFORM`.
|
|
1083
|
+
*/
|
|
1084
|
+
kind: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* (Optional String) The mode of the rule.
|
|
1087
|
+
*/
|
|
1088
|
+
mode: string;
|
|
1089
|
+
/**
|
|
1090
|
+
* (Optional String) A user-defined name that can be used to reference the rule.
|
|
1091
|
+
*/
|
|
1092
|
+
name: string;
|
|
1093
|
+
/**
|
|
1094
|
+
* (Optional String) An optional action to execute if the rule fails, otherwise the built-in action type ERROR is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, as mentioned above.
|
|
1095
|
+
*/
|
|
1096
|
+
onFailure: string;
|
|
1097
|
+
/**
|
|
1098
|
+
* (Optional String) An optional action to execute if the rule succeeds, otherwise the built-in action type NONE is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, such as “NONE,ERROR” for a WRITEREAD rule. In this case NONE applies to WRITE and ERROR applies to READ.
|
|
1099
|
+
*/
|
|
1100
|
+
onSuccess: string;
|
|
1101
|
+
/**
|
|
1102
|
+
* (Optional Configuration Block) A set of static parameters for the rule, which is optional. These are key-value pairs that are passed to the rule.
|
|
1103
|
+
*/
|
|
1104
|
+
params: {
|
|
1105
|
+
[key: string]: string;
|
|
1106
|
+
};
|
|
1107
|
+
/**
|
|
1108
|
+
* (Optional String List) The tags to which the rule applies, if any.
|
|
1109
|
+
*/
|
|
1110
|
+
tags: string[];
|
|
1111
|
+
/**
|
|
1112
|
+
* (Optional String) The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
|
|
1113
|
+
*/
|
|
1114
|
+
type: string;
|
|
1115
|
+
}
|
|
1116
|
+
export interface GetSchemaRulesetMigrationRule {
|
|
1117
|
+
/**
|
|
1118
|
+
* (Optional String) An optional description.
|
|
1119
|
+
*/
|
|
1120
|
+
doc: string;
|
|
1121
|
+
/**
|
|
1122
|
+
* (Optional String) The body of the rule, which is optional.
|
|
1123
|
+
*/
|
|
1124
|
+
expr: string;
|
|
1125
|
+
/**
|
|
1126
|
+
* (Optional String) Either `CONDITION` or `TRANSFORM`.
|
|
1127
|
+
*/
|
|
1128
|
+
kind: string;
|
|
1129
|
+
/**
|
|
1130
|
+
* (Optional String) The mode of the rule.
|
|
1131
|
+
*/
|
|
1132
|
+
mode: string;
|
|
1133
|
+
/**
|
|
1134
|
+
* (Optional String) A user-defined name that can be used to reference the rule.
|
|
1135
|
+
*/
|
|
1136
|
+
name: string;
|
|
1137
|
+
/**
|
|
1138
|
+
* (Optional String) An optional action to execute if the rule fails, otherwise the built-in action type ERROR is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, as mentioned above.
|
|
1139
|
+
*/
|
|
1140
|
+
onFailure: string;
|
|
1141
|
+
/**
|
|
1142
|
+
* (Optional String) An optional action to execute if the rule succeeds, otherwise the built-in action type NONE is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, such as “NONE,ERROR” for a WRITEREAD rule. In this case NONE applies to WRITE and ERROR applies to READ.
|
|
1143
|
+
*/
|
|
1144
|
+
onSuccess: string;
|
|
1145
|
+
/**
|
|
1146
|
+
* (Optional Configuration Block) A set of static parameters for the rule, which is optional. These are key-value pairs that are passed to the rule.
|
|
1147
|
+
*/
|
|
1148
|
+
params: {
|
|
1149
|
+
[key: string]: string;
|
|
1150
|
+
};
|
|
1151
|
+
/**
|
|
1152
|
+
* (Optional String List) The tags to which the rule applies, if any.
|
|
1153
|
+
*/
|
|
1154
|
+
tags: string[];
|
|
1155
|
+
/**
|
|
1156
|
+
* (Optional String) The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
|
|
1157
|
+
*/
|
|
1158
|
+
type: string;
|
|
1159
|
+
}
|
|
1039
1160
|
export interface GetSchemaSchemaReference {
|
|
1040
1161
|
/**
|
|
1041
|
-
* (
|
|
1162
|
+
* (Optional String) A user-defined name that can be used to reference the rule.
|
|
1042
1163
|
*/
|
|
1043
1164
|
name: string;
|
|
1044
1165
|
/**
|
|
@@ -1709,7 +1830,7 @@ export interface PrivateLinkAttachmentGcp {
|
|
|
1709
1830
|
}
|
|
1710
1831
|
export interface SchemaCredentials {
|
|
1711
1832
|
/**
|
|
1712
|
-
* The
|
|
1833
|
+
* The setting name.
|
|
1713
1834
|
*/
|
|
1714
1835
|
key: string;
|
|
1715
1836
|
/**
|
|
@@ -1750,6 +1871,32 @@ export interface SchemaExporterSchemaRegistryCluster {
|
|
|
1750
1871
|
*/
|
|
1751
1872
|
id: string;
|
|
1752
1873
|
}
|
|
1874
|
+
export interface SchemaMetadata {
|
|
1875
|
+
/**
|
|
1876
|
+
* The custom properties to set:
|
|
1877
|
+
*/
|
|
1878
|
+
properties: {
|
|
1879
|
+
[key: string]: string;
|
|
1880
|
+
};
|
|
1881
|
+
/**
|
|
1882
|
+
* A list of metadata properties to be encrypted.
|
|
1883
|
+
*/
|
|
1884
|
+
sensitives: string[];
|
|
1885
|
+
/**
|
|
1886
|
+
* The tags to which the rule applies, if any.
|
|
1887
|
+
*/
|
|
1888
|
+
tags: outputs.SchemaMetadataTag[];
|
|
1889
|
+
}
|
|
1890
|
+
export interface SchemaMetadataTag {
|
|
1891
|
+
/**
|
|
1892
|
+
* The setting name.
|
|
1893
|
+
*/
|
|
1894
|
+
key: string;
|
|
1895
|
+
/**
|
|
1896
|
+
* The list of tags.
|
|
1897
|
+
*/
|
|
1898
|
+
values: string[];
|
|
1899
|
+
}
|
|
1753
1900
|
export interface SchemaRegistryClusterConfigCredentials {
|
|
1754
1901
|
/**
|
|
1755
1902
|
* The Schema Registry API Key.
|
|
@@ -1796,39 +1943,141 @@ export interface SchemaRegistryClusterRegion {
|
|
|
1796
1943
|
}
|
|
1797
1944
|
export interface SchemaRegistryDekCredentials {
|
|
1798
1945
|
/**
|
|
1799
|
-
* The
|
|
1946
|
+
* The Schema Registry API Key.
|
|
1800
1947
|
*/
|
|
1801
1948
|
key: string;
|
|
1802
1949
|
/**
|
|
1803
|
-
* The
|
|
1950
|
+
* The Schema Registry API Secret.
|
|
1804
1951
|
*/
|
|
1805
1952
|
secret: string;
|
|
1806
1953
|
}
|
|
1807
1954
|
export interface SchemaRegistryDekSchemaRegistryCluster {
|
|
1808
1955
|
/**
|
|
1809
|
-
* The Schema Registry cluster
|
|
1956
|
+
* The ID of the Schema Registry cluster, for example, `lsrc-abc123`.
|
|
1810
1957
|
*/
|
|
1811
1958
|
id: string;
|
|
1812
1959
|
}
|
|
1813
1960
|
export interface SchemaRegistryKekCredentials {
|
|
1814
1961
|
/**
|
|
1815
|
-
* The
|
|
1962
|
+
* The Schema Registry API Key.
|
|
1816
1963
|
*/
|
|
1817
1964
|
key: string;
|
|
1818
1965
|
/**
|
|
1819
|
-
* The
|
|
1966
|
+
* The Schema Registry API Secret.
|
|
1820
1967
|
*/
|
|
1821
1968
|
secret: string;
|
|
1822
1969
|
}
|
|
1823
1970
|
export interface SchemaRegistryKekSchemaRegistryCluster {
|
|
1824
1971
|
/**
|
|
1825
|
-
* The Schema Registry cluster
|
|
1972
|
+
* The ID of the Schema Registry cluster, for example, `lsrc-abc123`.
|
|
1826
1973
|
*/
|
|
1827
1974
|
id: string;
|
|
1828
1975
|
}
|
|
1976
|
+
export interface SchemaRuleset {
|
|
1977
|
+
domainRules: outputs.SchemaRulesetDomainRule[];
|
|
1978
|
+
migrationRules: outputs.SchemaRulesetMigrationRule[];
|
|
1979
|
+
}
|
|
1980
|
+
export interface SchemaRulesetDomainRule {
|
|
1981
|
+
/**
|
|
1982
|
+
* An optional description of the rule.
|
|
1983
|
+
*/
|
|
1984
|
+
doc: string;
|
|
1985
|
+
/**
|
|
1986
|
+
* The body of the rule, which is optional.
|
|
1987
|
+
*/
|
|
1988
|
+
expr: string;
|
|
1989
|
+
/**
|
|
1990
|
+
* The kind of the rule. Accepted values are `CONDITION` and `TRANSFORM`.
|
|
1991
|
+
*/
|
|
1992
|
+
kind: string;
|
|
1993
|
+
/**
|
|
1994
|
+
* The mode of the rule. Accepted values are `UPGRADE`, `DOWNGRADE`, `UPDOWN`, `WRITE`, `READ`, and `WRITEREAD`.
|
|
1995
|
+
*/
|
|
1996
|
+
mode: string;
|
|
1997
|
+
/**
|
|
1998
|
+
* A user-defined name that can be used to reference the rule.
|
|
1999
|
+
*/
|
|
2000
|
+
name: string;
|
|
2001
|
+
/**
|
|
2002
|
+
* An optional action to execute if the rule fails, otherwise the built-in action type ERROR is used. For `UPDOWN` and `WRITEREAD` rules, one can specify two actions separated by commas, as mentioned above.
|
|
2003
|
+
*/
|
|
2004
|
+
onFailure: string;
|
|
2005
|
+
/**
|
|
2006
|
+
* An optional action to execute if the rule succeeds, otherwise the built-in action type NONE is used. For `UPDOWN` and `WRITEREAD` rules, one can specify two actions separated by commas, such as "NONE,ERROR" for a `WRITEREAD` rule. In this case `NONE` applies to `WRITE` and `ERROR` applies to `READ`.
|
|
2007
|
+
*/
|
|
2008
|
+
onSuccess: string;
|
|
2009
|
+
/**
|
|
2010
|
+
* A set of static parameters for the rule, which is optional. These are key-value pairs that are passed to the rule.
|
|
2011
|
+
*
|
|
2012
|
+
* > **Note:** Schema rules (`ruleset`) are only available with the [Stream Governance Advanced package](https://docs.confluent.io/cloud/current/stream-governance/packages.html#packages).
|
|
2013
|
+
*
|
|
2014
|
+
* > **Note:** `ruleset` and `metadata` attributes are available in **Preview** for early adopters. Preview features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.
|
|
2015
|
+
* **Preview** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Preview features. Preview features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Preview features at any time in Confluent’s sole discretion.
|
|
2016
|
+
*/
|
|
2017
|
+
params: {
|
|
2018
|
+
[key: string]: string;
|
|
2019
|
+
};
|
|
2020
|
+
/**
|
|
2021
|
+
* The tags to which the rule applies, if any.
|
|
2022
|
+
*/
|
|
2023
|
+
tags: string[];
|
|
2024
|
+
/**
|
|
2025
|
+
* The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
|
|
2026
|
+
*/
|
|
2027
|
+
type: string;
|
|
2028
|
+
}
|
|
2029
|
+
export interface SchemaRulesetMigrationRule {
|
|
2030
|
+
/**
|
|
2031
|
+
* An optional description of the rule.
|
|
2032
|
+
*/
|
|
2033
|
+
doc: string;
|
|
2034
|
+
/**
|
|
2035
|
+
* The body of the rule, which is optional.
|
|
2036
|
+
*/
|
|
2037
|
+
expr: string;
|
|
2038
|
+
/**
|
|
2039
|
+
* The kind of the rule. Accepted values are `CONDITION` and `TRANSFORM`.
|
|
2040
|
+
*/
|
|
2041
|
+
kind: string;
|
|
2042
|
+
/**
|
|
2043
|
+
* The mode of the rule. Accepted values are `UPGRADE`, `DOWNGRADE`, `UPDOWN`, `WRITE`, `READ`, and `WRITEREAD`.
|
|
2044
|
+
*/
|
|
2045
|
+
mode: string;
|
|
2046
|
+
/**
|
|
2047
|
+
* A user-defined name that can be used to reference the rule.
|
|
2048
|
+
*/
|
|
2049
|
+
name: string;
|
|
2050
|
+
/**
|
|
2051
|
+
* An optional action to execute if the rule fails, otherwise the built-in action type ERROR is used. For `UPDOWN` and `WRITEREAD` rules, one can specify two actions separated by commas, as mentioned above.
|
|
2052
|
+
*/
|
|
2053
|
+
onFailure: string;
|
|
2054
|
+
/**
|
|
2055
|
+
* An optional action to execute if the rule succeeds, otherwise the built-in action type NONE is used. For `UPDOWN` and `WRITEREAD` rules, one can specify two actions separated by commas, such as "NONE,ERROR" for a `WRITEREAD` rule. In this case `NONE` applies to `WRITE` and `ERROR` applies to `READ`.
|
|
2056
|
+
*/
|
|
2057
|
+
onSuccess: string;
|
|
2058
|
+
/**
|
|
2059
|
+
* A set of static parameters for the rule, which is optional. These are key-value pairs that are passed to the rule.
|
|
2060
|
+
*
|
|
2061
|
+
* > **Note:** Schema rules (`ruleset`) are only available with the [Stream Governance Advanced package](https://docs.confluent.io/cloud/current/stream-governance/packages.html#packages).
|
|
2062
|
+
*
|
|
2063
|
+
* > **Note:** `ruleset` and `metadata` attributes are available in **Preview** for early adopters. Preview features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.
|
|
2064
|
+
* **Preview** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Preview features. Preview features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Preview features at any time in Confluent’s sole discretion.
|
|
2065
|
+
*/
|
|
2066
|
+
params: {
|
|
2067
|
+
[key: string]: string;
|
|
2068
|
+
};
|
|
2069
|
+
/**
|
|
2070
|
+
* The tags to which the rule applies, if any.
|
|
2071
|
+
*/
|
|
2072
|
+
tags: string[];
|
|
2073
|
+
/**
|
|
2074
|
+
* The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
|
|
2075
|
+
*/
|
|
2076
|
+
type: string;
|
|
2077
|
+
}
|
|
1829
2078
|
export interface SchemaSchemaReference {
|
|
1830
2079
|
/**
|
|
1831
|
-
*
|
|
2080
|
+
* A user-defined name that can be used to reference the rule.
|
|
1832
2081
|
*/
|
|
1833
2082
|
name: string;
|
|
1834
2083
|
/**
|