@pulumi/confluentcloud 1.37.0-alpha.1710156163 → 1.37.0
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/flinkStatement.d.ts +2 -2
- package/flinkStatement.js +2 -2
- package/getSchema.d.ts +24 -0
- package/getSchema.js +2 -0
- package/getSchema.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/package.json +1 -1
- package/schema.d.ts +24 -0
- package/schema.js +4 -0
- package/schema.js.map +1 -1
- 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/types/input.d.ts +390 -20
- package/types/output.d.ts +264 -15
package/types/input.d.ts
CHANGED
|
@@ -814,6 +814,58 @@ export interface GetSchemaCredentialsArgs {
|
|
|
814
814
|
*/
|
|
815
815
|
secret: pulumi.Input<string>;
|
|
816
816
|
}
|
|
817
|
+
export interface GetSchemaMetadata {
|
|
818
|
+
/**
|
|
819
|
+
* (Optional Map) The custom properties to set:
|
|
820
|
+
*/
|
|
821
|
+
properties?: {
|
|
822
|
+
[key: string]: string;
|
|
823
|
+
};
|
|
824
|
+
/**
|
|
825
|
+
* (Optional List of Strings) A list of metadata properties to be encrypted.
|
|
826
|
+
*/
|
|
827
|
+
sensitives?: string[];
|
|
828
|
+
/**
|
|
829
|
+
* (Optional String List) The tags to which the rule applies, if any.
|
|
830
|
+
*/
|
|
831
|
+
tags?: inputs.GetSchemaMetadataTag[];
|
|
832
|
+
}
|
|
833
|
+
export interface GetSchemaMetadataArgs {
|
|
834
|
+
/**
|
|
835
|
+
* (Optional Map) The custom properties to set:
|
|
836
|
+
*/
|
|
837
|
+
properties?: pulumi.Input<{
|
|
838
|
+
[key: string]: pulumi.Input<string>;
|
|
839
|
+
}>;
|
|
840
|
+
/**
|
|
841
|
+
* (Optional List of Strings) A list of metadata properties to be encrypted.
|
|
842
|
+
*/
|
|
843
|
+
sensitives?: pulumi.Input<pulumi.Input<string>[]>;
|
|
844
|
+
/**
|
|
845
|
+
* (Optional String List) The tags to which the rule applies, if any.
|
|
846
|
+
*/
|
|
847
|
+
tags?: pulumi.Input<pulumi.Input<inputs.GetSchemaMetadataTagArgs>[]>;
|
|
848
|
+
}
|
|
849
|
+
export interface GetSchemaMetadataTag {
|
|
850
|
+
/**
|
|
851
|
+
* The Schema Registry API Key.
|
|
852
|
+
*/
|
|
853
|
+
key?: string;
|
|
854
|
+
/**
|
|
855
|
+
* (Required List of Strings) The list of tags.
|
|
856
|
+
*/
|
|
857
|
+
values?: string[];
|
|
858
|
+
}
|
|
859
|
+
export interface GetSchemaMetadataTagArgs {
|
|
860
|
+
/**
|
|
861
|
+
* The Schema Registry API Key.
|
|
862
|
+
*/
|
|
863
|
+
key?: pulumi.Input<string>;
|
|
864
|
+
/**
|
|
865
|
+
* (Required List of Strings) The list of tags.
|
|
866
|
+
*/
|
|
867
|
+
values?: pulumi.Input<pulumi.Input<string>[]>;
|
|
868
|
+
}
|
|
817
869
|
export interface GetSchemaRegistryClusterConfigCredentials {
|
|
818
870
|
/**
|
|
819
871
|
* The Schema Registry API Key.
|
|
@@ -900,68 +952,258 @@ export interface GetSchemaRegistryClusterModeSchemaRegistryClusterArgs {
|
|
|
900
952
|
}
|
|
901
953
|
export interface GetSchemaRegistryDekCredentials {
|
|
902
954
|
/**
|
|
903
|
-
* The
|
|
955
|
+
* The Schema Registry API Key.
|
|
904
956
|
*/
|
|
905
957
|
key: string;
|
|
906
958
|
/**
|
|
907
|
-
* The
|
|
959
|
+
* The Schema Registry API Secret.
|
|
908
960
|
*/
|
|
909
961
|
secret: string;
|
|
910
962
|
}
|
|
911
963
|
export interface GetSchemaRegistryDekCredentialsArgs {
|
|
912
964
|
/**
|
|
913
|
-
* The
|
|
965
|
+
* The Schema Registry API Key.
|
|
914
966
|
*/
|
|
915
967
|
key: pulumi.Input<string>;
|
|
916
968
|
/**
|
|
917
|
-
* The
|
|
969
|
+
* The Schema Registry API Secret.
|
|
918
970
|
*/
|
|
919
971
|
secret: pulumi.Input<string>;
|
|
920
972
|
}
|
|
921
973
|
export interface GetSchemaRegistryDekSchemaRegistryCluster {
|
|
922
974
|
/**
|
|
923
|
-
* The Schema Registry cluster
|
|
975
|
+
* The ID of the Schema Registry cluster, for example, `lsrc-abc123`.
|
|
924
976
|
*/
|
|
925
977
|
id: string;
|
|
926
978
|
}
|
|
927
979
|
export interface GetSchemaRegistryDekSchemaRegistryClusterArgs {
|
|
928
980
|
/**
|
|
929
|
-
* The Schema Registry cluster
|
|
981
|
+
* The ID of the Schema Registry cluster, for example, `lsrc-abc123`.
|
|
930
982
|
*/
|
|
931
983
|
id: pulumi.Input<string>;
|
|
932
984
|
}
|
|
933
985
|
export interface GetSchemaRegistryKekCredentials {
|
|
934
986
|
/**
|
|
935
|
-
* The
|
|
987
|
+
* The Schema Registry API Key.
|
|
936
988
|
*/
|
|
937
989
|
key: string;
|
|
938
990
|
/**
|
|
939
|
-
* The
|
|
991
|
+
* The Schema Registry API Secret.
|
|
940
992
|
*/
|
|
941
993
|
secret: string;
|
|
942
994
|
}
|
|
943
995
|
export interface GetSchemaRegistryKekCredentialsArgs {
|
|
944
996
|
/**
|
|
945
|
-
* The
|
|
997
|
+
* The Schema Registry API Key.
|
|
946
998
|
*/
|
|
947
999
|
key: pulumi.Input<string>;
|
|
948
1000
|
/**
|
|
949
|
-
* The
|
|
1001
|
+
* The Schema Registry API Secret.
|
|
950
1002
|
*/
|
|
951
1003
|
secret: pulumi.Input<string>;
|
|
952
1004
|
}
|
|
953
1005
|
export interface GetSchemaRegistryKekSchemaRegistryCluster {
|
|
954
1006
|
/**
|
|
955
|
-
* The Schema Registry cluster
|
|
1007
|
+
* The ID of the Schema Registry cluster, for example, `lsrc-abc123`.
|
|
956
1008
|
*/
|
|
957
1009
|
id: string;
|
|
958
1010
|
}
|
|
959
1011
|
export interface GetSchemaRegistryKekSchemaRegistryClusterArgs {
|
|
960
1012
|
/**
|
|
961
|
-
* The Schema Registry cluster
|
|
1013
|
+
* The ID of the Schema Registry cluster, for example, `lsrc-abc123`.
|
|
962
1014
|
*/
|
|
963
1015
|
id: pulumi.Input<string>;
|
|
964
1016
|
}
|
|
1017
|
+
export interface GetSchemaRuleset {
|
|
1018
|
+
/**
|
|
1019
|
+
* (Optional List of Blocks) supports the following:
|
|
1020
|
+
*/
|
|
1021
|
+
domainRules?: inputs.GetSchemaRulesetDomainRule[];
|
|
1022
|
+
migrationRules?: inputs.GetSchemaRulesetMigrationRule[];
|
|
1023
|
+
}
|
|
1024
|
+
export interface GetSchemaRulesetArgs {
|
|
1025
|
+
/**
|
|
1026
|
+
* (Optional List of Blocks) supports the following:
|
|
1027
|
+
*/
|
|
1028
|
+
domainRules?: pulumi.Input<pulumi.Input<inputs.GetSchemaRulesetDomainRuleArgs>[]>;
|
|
1029
|
+
migrationRules?: pulumi.Input<pulumi.Input<inputs.GetSchemaRulesetMigrationRuleArgs>[]>;
|
|
1030
|
+
}
|
|
1031
|
+
export interface GetSchemaRulesetDomainRule {
|
|
1032
|
+
/**
|
|
1033
|
+
* (Optional String) An optional description.
|
|
1034
|
+
*/
|
|
1035
|
+
doc?: string;
|
|
1036
|
+
/**
|
|
1037
|
+
* (Optional String) The body of the rule, which is optional.
|
|
1038
|
+
*/
|
|
1039
|
+
expr?: string;
|
|
1040
|
+
/**
|
|
1041
|
+
* (Optional String) Either `CONDITION` or `TRANSFORM`.
|
|
1042
|
+
*/
|
|
1043
|
+
kind?: string;
|
|
1044
|
+
/**
|
|
1045
|
+
* (Optional String) The mode of the rule.
|
|
1046
|
+
*/
|
|
1047
|
+
mode?: string;
|
|
1048
|
+
/**
|
|
1049
|
+
* (Optional String) A user-defined name that can be used to reference the rule.
|
|
1050
|
+
*/
|
|
1051
|
+
name?: string;
|
|
1052
|
+
/**
|
|
1053
|
+
* (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.
|
|
1054
|
+
*/
|
|
1055
|
+
onFailure?: string;
|
|
1056
|
+
/**
|
|
1057
|
+
* (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.
|
|
1058
|
+
*/
|
|
1059
|
+
onSuccess?: string;
|
|
1060
|
+
/**
|
|
1061
|
+
* (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.
|
|
1062
|
+
*/
|
|
1063
|
+
params?: {
|
|
1064
|
+
[key: string]: string;
|
|
1065
|
+
};
|
|
1066
|
+
/**
|
|
1067
|
+
* (Optional String List) The tags to which the rule applies, if any.
|
|
1068
|
+
*/
|
|
1069
|
+
tags?: string[];
|
|
1070
|
+
/**
|
|
1071
|
+
* (Optional String) The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
|
|
1072
|
+
*/
|
|
1073
|
+
type?: string;
|
|
1074
|
+
}
|
|
1075
|
+
export interface GetSchemaRulesetDomainRuleArgs {
|
|
1076
|
+
/**
|
|
1077
|
+
* (Optional String) An optional description.
|
|
1078
|
+
*/
|
|
1079
|
+
doc?: pulumi.Input<string>;
|
|
1080
|
+
/**
|
|
1081
|
+
* (Optional String) The body of the rule, which is optional.
|
|
1082
|
+
*/
|
|
1083
|
+
expr?: pulumi.Input<string>;
|
|
1084
|
+
/**
|
|
1085
|
+
* (Optional String) Either `CONDITION` or `TRANSFORM`.
|
|
1086
|
+
*/
|
|
1087
|
+
kind?: pulumi.Input<string>;
|
|
1088
|
+
/**
|
|
1089
|
+
* (Optional String) The mode of the rule.
|
|
1090
|
+
*/
|
|
1091
|
+
mode?: pulumi.Input<string>;
|
|
1092
|
+
/**
|
|
1093
|
+
* (Optional String) A user-defined name that can be used to reference the rule.
|
|
1094
|
+
*/
|
|
1095
|
+
name?: pulumi.Input<string>;
|
|
1096
|
+
/**
|
|
1097
|
+
* (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.
|
|
1098
|
+
*/
|
|
1099
|
+
onFailure?: pulumi.Input<string>;
|
|
1100
|
+
/**
|
|
1101
|
+
* (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.
|
|
1102
|
+
*/
|
|
1103
|
+
onSuccess?: pulumi.Input<string>;
|
|
1104
|
+
/**
|
|
1105
|
+
* (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.
|
|
1106
|
+
*/
|
|
1107
|
+
params?: pulumi.Input<{
|
|
1108
|
+
[key: string]: pulumi.Input<string>;
|
|
1109
|
+
}>;
|
|
1110
|
+
/**
|
|
1111
|
+
* (Optional String List) The tags to which the rule applies, if any.
|
|
1112
|
+
*/
|
|
1113
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1114
|
+
/**
|
|
1115
|
+
* (Optional String) The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
|
|
1116
|
+
*/
|
|
1117
|
+
type?: pulumi.Input<string>;
|
|
1118
|
+
}
|
|
1119
|
+
export interface GetSchemaRulesetMigrationRule {
|
|
1120
|
+
/**
|
|
1121
|
+
* (Optional String) An optional description.
|
|
1122
|
+
*/
|
|
1123
|
+
doc?: string;
|
|
1124
|
+
/**
|
|
1125
|
+
* (Optional String) The body of the rule, which is optional.
|
|
1126
|
+
*/
|
|
1127
|
+
expr?: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* (Optional String) Either `CONDITION` or `TRANSFORM`.
|
|
1130
|
+
*/
|
|
1131
|
+
kind?: string;
|
|
1132
|
+
/**
|
|
1133
|
+
* (Optional String) The mode of the rule.
|
|
1134
|
+
*/
|
|
1135
|
+
mode?: string;
|
|
1136
|
+
/**
|
|
1137
|
+
* (Optional String) A user-defined name that can be used to reference the rule.
|
|
1138
|
+
*/
|
|
1139
|
+
name?: string;
|
|
1140
|
+
/**
|
|
1141
|
+
* (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.
|
|
1142
|
+
*/
|
|
1143
|
+
onFailure?: string;
|
|
1144
|
+
/**
|
|
1145
|
+
* (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.
|
|
1146
|
+
*/
|
|
1147
|
+
onSuccess?: string;
|
|
1148
|
+
/**
|
|
1149
|
+
* (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.
|
|
1150
|
+
*/
|
|
1151
|
+
params?: {
|
|
1152
|
+
[key: string]: string;
|
|
1153
|
+
};
|
|
1154
|
+
/**
|
|
1155
|
+
* (Optional String List) The tags to which the rule applies, if any.
|
|
1156
|
+
*/
|
|
1157
|
+
tags?: string[];
|
|
1158
|
+
/**
|
|
1159
|
+
* (Optional String) The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
|
|
1160
|
+
*/
|
|
1161
|
+
type?: string;
|
|
1162
|
+
}
|
|
1163
|
+
export interface GetSchemaRulesetMigrationRuleArgs {
|
|
1164
|
+
/**
|
|
1165
|
+
* (Optional String) An optional description.
|
|
1166
|
+
*/
|
|
1167
|
+
doc?: pulumi.Input<string>;
|
|
1168
|
+
/**
|
|
1169
|
+
* (Optional String) The body of the rule, which is optional.
|
|
1170
|
+
*/
|
|
1171
|
+
expr?: pulumi.Input<string>;
|
|
1172
|
+
/**
|
|
1173
|
+
* (Optional String) Either `CONDITION` or `TRANSFORM`.
|
|
1174
|
+
*/
|
|
1175
|
+
kind?: pulumi.Input<string>;
|
|
1176
|
+
/**
|
|
1177
|
+
* (Optional String) The mode of the rule.
|
|
1178
|
+
*/
|
|
1179
|
+
mode?: pulumi.Input<string>;
|
|
1180
|
+
/**
|
|
1181
|
+
* (Optional String) A user-defined name that can be used to reference the rule.
|
|
1182
|
+
*/
|
|
1183
|
+
name?: pulumi.Input<string>;
|
|
1184
|
+
/**
|
|
1185
|
+
* (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.
|
|
1186
|
+
*/
|
|
1187
|
+
onFailure?: pulumi.Input<string>;
|
|
1188
|
+
/**
|
|
1189
|
+
* (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.
|
|
1190
|
+
*/
|
|
1191
|
+
onSuccess?: pulumi.Input<string>;
|
|
1192
|
+
/**
|
|
1193
|
+
* (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.
|
|
1194
|
+
*/
|
|
1195
|
+
params?: pulumi.Input<{
|
|
1196
|
+
[key: string]: pulumi.Input<string>;
|
|
1197
|
+
}>;
|
|
1198
|
+
/**
|
|
1199
|
+
* (Optional String List) The tags to which the rule applies, if any.
|
|
1200
|
+
*/
|
|
1201
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1202
|
+
/**
|
|
1203
|
+
* (Optional String) The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
|
|
1204
|
+
*/
|
|
1205
|
+
type?: pulumi.Input<string>;
|
|
1206
|
+
}
|
|
965
1207
|
export interface GetSchemaSchemaRegistryCluster {
|
|
966
1208
|
/**
|
|
967
1209
|
* The ID of the Schema Registry cluster, for example, `lsrc-abc123`.
|
|
@@ -1663,7 +1905,7 @@ export interface PrivateLinkAttachmentGcp {
|
|
|
1663
1905
|
}
|
|
1664
1906
|
export interface SchemaCredentials {
|
|
1665
1907
|
/**
|
|
1666
|
-
* The
|
|
1908
|
+
* The setting name.
|
|
1667
1909
|
*/
|
|
1668
1910
|
key: pulumi.Input<string>;
|
|
1669
1911
|
/**
|
|
@@ -1704,6 +1946,32 @@ export interface SchemaExporterSchemaRegistryCluster {
|
|
|
1704
1946
|
*/
|
|
1705
1947
|
id: pulumi.Input<string>;
|
|
1706
1948
|
}
|
|
1949
|
+
export interface SchemaMetadata {
|
|
1950
|
+
/**
|
|
1951
|
+
* The custom properties to set:
|
|
1952
|
+
*/
|
|
1953
|
+
properties?: pulumi.Input<{
|
|
1954
|
+
[key: string]: pulumi.Input<string>;
|
|
1955
|
+
}>;
|
|
1956
|
+
/**
|
|
1957
|
+
* A list of metadata properties to be encrypted.
|
|
1958
|
+
*/
|
|
1959
|
+
sensitives?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1960
|
+
/**
|
|
1961
|
+
* The tags to which the rule applies, if any.
|
|
1962
|
+
*/
|
|
1963
|
+
tags?: pulumi.Input<pulumi.Input<inputs.SchemaMetadataTag>[]>;
|
|
1964
|
+
}
|
|
1965
|
+
export interface SchemaMetadataTag {
|
|
1966
|
+
/**
|
|
1967
|
+
* The setting name.
|
|
1968
|
+
*/
|
|
1969
|
+
key?: pulumi.Input<string>;
|
|
1970
|
+
/**
|
|
1971
|
+
* The list of tags.
|
|
1972
|
+
*/
|
|
1973
|
+
values?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1974
|
+
}
|
|
1707
1975
|
export interface SchemaRegistryClusterConfigCredentials {
|
|
1708
1976
|
/**
|
|
1709
1977
|
* The Schema Registry API Key.
|
|
@@ -1750,39 +2018,141 @@ export interface SchemaRegistryClusterRegion {
|
|
|
1750
2018
|
}
|
|
1751
2019
|
export interface SchemaRegistryDekCredentials {
|
|
1752
2020
|
/**
|
|
1753
|
-
* The
|
|
2021
|
+
* The Schema Registry API Key.
|
|
1754
2022
|
*/
|
|
1755
2023
|
key: pulumi.Input<string>;
|
|
1756
2024
|
/**
|
|
1757
|
-
* The
|
|
2025
|
+
* The Schema Registry API Secret.
|
|
1758
2026
|
*/
|
|
1759
2027
|
secret: pulumi.Input<string>;
|
|
1760
2028
|
}
|
|
1761
2029
|
export interface SchemaRegistryDekSchemaRegistryCluster {
|
|
1762
2030
|
/**
|
|
1763
|
-
* The Schema Registry cluster
|
|
2031
|
+
* The ID of the Schema Registry cluster, for example, `lsrc-abc123`.
|
|
1764
2032
|
*/
|
|
1765
2033
|
id: pulumi.Input<string>;
|
|
1766
2034
|
}
|
|
1767
2035
|
export interface SchemaRegistryKekCredentials {
|
|
1768
2036
|
/**
|
|
1769
|
-
* The
|
|
2037
|
+
* The Schema Registry API Key.
|
|
1770
2038
|
*/
|
|
1771
2039
|
key: pulumi.Input<string>;
|
|
1772
2040
|
/**
|
|
1773
|
-
* The
|
|
2041
|
+
* The Schema Registry API Secret.
|
|
1774
2042
|
*/
|
|
1775
2043
|
secret: pulumi.Input<string>;
|
|
1776
2044
|
}
|
|
1777
2045
|
export interface SchemaRegistryKekSchemaRegistryCluster {
|
|
1778
2046
|
/**
|
|
1779
|
-
* The Schema Registry cluster
|
|
2047
|
+
* The ID of the Schema Registry cluster, for example, `lsrc-abc123`.
|
|
1780
2048
|
*/
|
|
1781
2049
|
id: pulumi.Input<string>;
|
|
1782
2050
|
}
|
|
2051
|
+
export interface SchemaRuleset {
|
|
2052
|
+
domainRules?: pulumi.Input<pulumi.Input<inputs.SchemaRulesetDomainRule>[]>;
|
|
2053
|
+
migrationRules?: pulumi.Input<pulumi.Input<inputs.SchemaRulesetMigrationRule>[]>;
|
|
2054
|
+
}
|
|
2055
|
+
export interface SchemaRulesetDomainRule {
|
|
2056
|
+
/**
|
|
2057
|
+
* An optional description of the rule.
|
|
2058
|
+
*/
|
|
2059
|
+
doc?: pulumi.Input<string>;
|
|
2060
|
+
/**
|
|
2061
|
+
* The body of the rule, which is optional.
|
|
2062
|
+
*/
|
|
2063
|
+
expr?: pulumi.Input<string>;
|
|
2064
|
+
/**
|
|
2065
|
+
* The kind of the rule. Accepted values are `CONDITION` and `TRANSFORM`.
|
|
2066
|
+
*/
|
|
2067
|
+
kind?: pulumi.Input<string>;
|
|
2068
|
+
/**
|
|
2069
|
+
* The mode of the rule. Accepted values are `UPGRADE`, `DOWNGRADE`, `UPDOWN`, `WRITE`, `READ`, and `WRITEREAD`.
|
|
2070
|
+
*/
|
|
2071
|
+
mode?: pulumi.Input<string>;
|
|
2072
|
+
/**
|
|
2073
|
+
* A user-defined name that can be used to reference the rule.
|
|
2074
|
+
*/
|
|
2075
|
+
name?: pulumi.Input<string>;
|
|
2076
|
+
/**
|
|
2077
|
+
* 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.
|
|
2078
|
+
*/
|
|
2079
|
+
onFailure?: pulumi.Input<string>;
|
|
2080
|
+
/**
|
|
2081
|
+
* 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`.
|
|
2082
|
+
*/
|
|
2083
|
+
onSuccess?: pulumi.Input<string>;
|
|
2084
|
+
/**
|
|
2085
|
+
* A set of static parameters for the rule, which is optional. These are key-value pairs that are passed to the rule.
|
|
2086
|
+
*
|
|
2087
|
+
* > **Note:** Schema rules (`ruleset`) are only available with the [Stream Governance Advanced package](https://docs.confluent.io/cloud/current/stream-governance/packages.html#packages).
|
|
2088
|
+
*
|
|
2089
|
+
* > **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.
|
|
2090
|
+
* **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.
|
|
2091
|
+
*/
|
|
2092
|
+
params?: pulumi.Input<{
|
|
2093
|
+
[key: string]: pulumi.Input<string>;
|
|
2094
|
+
}>;
|
|
2095
|
+
/**
|
|
2096
|
+
* The tags to which the rule applies, if any.
|
|
2097
|
+
*/
|
|
2098
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2099
|
+
/**
|
|
2100
|
+
* The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
|
|
2101
|
+
*/
|
|
2102
|
+
type?: pulumi.Input<string>;
|
|
2103
|
+
}
|
|
2104
|
+
export interface SchemaRulesetMigrationRule {
|
|
2105
|
+
/**
|
|
2106
|
+
* An optional description of the rule.
|
|
2107
|
+
*/
|
|
2108
|
+
doc?: pulumi.Input<string>;
|
|
2109
|
+
/**
|
|
2110
|
+
* The body of the rule, which is optional.
|
|
2111
|
+
*/
|
|
2112
|
+
expr?: pulumi.Input<string>;
|
|
2113
|
+
/**
|
|
2114
|
+
* The kind of the rule. Accepted values are `CONDITION` and `TRANSFORM`.
|
|
2115
|
+
*/
|
|
2116
|
+
kind?: pulumi.Input<string>;
|
|
2117
|
+
/**
|
|
2118
|
+
* The mode of the rule. Accepted values are `UPGRADE`, `DOWNGRADE`, `UPDOWN`, `WRITE`, `READ`, and `WRITEREAD`.
|
|
2119
|
+
*/
|
|
2120
|
+
mode?: pulumi.Input<string>;
|
|
2121
|
+
/**
|
|
2122
|
+
* A user-defined name that can be used to reference the rule.
|
|
2123
|
+
*/
|
|
2124
|
+
name?: pulumi.Input<string>;
|
|
2125
|
+
/**
|
|
2126
|
+
* 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.
|
|
2127
|
+
*/
|
|
2128
|
+
onFailure?: pulumi.Input<string>;
|
|
2129
|
+
/**
|
|
2130
|
+
* 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`.
|
|
2131
|
+
*/
|
|
2132
|
+
onSuccess?: pulumi.Input<string>;
|
|
2133
|
+
/**
|
|
2134
|
+
* A set of static parameters for the rule, which is optional. These are key-value pairs that are passed to the rule.
|
|
2135
|
+
*
|
|
2136
|
+
* > **Note:** Schema rules (`ruleset`) are only available with the [Stream Governance Advanced package](https://docs.confluent.io/cloud/current/stream-governance/packages.html#packages).
|
|
2137
|
+
*
|
|
2138
|
+
* > **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.
|
|
2139
|
+
* **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.
|
|
2140
|
+
*/
|
|
2141
|
+
params?: pulumi.Input<{
|
|
2142
|
+
[key: string]: pulumi.Input<string>;
|
|
2143
|
+
}>;
|
|
2144
|
+
/**
|
|
2145
|
+
* The tags to which the rule applies, if any.
|
|
2146
|
+
*/
|
|
2147
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2148
|
+
/**
|
|
2149
|
+
* The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
|
|
2150
|
+
*/
|
|
2151
|
+
type?: pulumi.Input<string>;
|
|
2152
|
+
}
|
|
1783
2153
|
export interface SchemaSchemaReference {
|
|
1784
2154
|
/**
|
|
1785
|
-
*
|
|
2155
|
+
* A user-defined name that can be used to reference the rule.
|
|
1786
2156
|
*/
|
|
1787
2157
|
name: pulumi.Input<string>;
|
|
1788
2158
|
/**
|