@databricks/sdk-warehouses 0.54.2 → 0.54.4
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/dist/package.js +1 -1
- package/dist/v1/client.d.ts +1 -1
- package/dist/v1/client.d.ts.map +1 -1
- package/dist/v1/client.js +18 -35
- package/dist/v1/client.js.map +1 -1
- package/dist/v1/model.d.ts +132 -46
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js.map +1 -1
- package/dist/v1/transport.d.ts +4 -2
- package/dist/v1/transport.d.ts.map +1 -1
- package/dist/v1/transport.js +15 -5
- package/dist/v1/transport.js.map +1 -1
- package/package.json +2 -2
package/dist/v1/model.d.ts
CHANGED
|
@@ -545,7 +545,15 @@ declare const EndpointHealth_Status: {
|
|
|
545
545
|
type EndpointHealth_Status = (typeof EndpointHealth_Status)[keyof typeof EndpointHealth_Status] | (string & {});
|
|
546
546
|
/** Configures the channel name and DBSQL version of the warehouse. CHANNEL_NAME_CUSTOM should be chosen only when `dbsql_version` is specified. */
|
|
547
547
|
interface Channel {
|
|
548
|
+
/**
|
|
549
|
+
* Channel to follow. CHANNEL_NAME_CURRENT is the default, and CHANNEL_NAME_PREVIEW
|
|
550
|
+
* carries the upcoming Databricks SQL release for testing.
|
|
551
|
+
*/
|
|
548
552
|
name?: ChannelName | undefined;
|
|
553
|
+
/**
|
|
554
|
+
* Databricks SQL version to pin to. Set it if and only if name is
|
|
555
|
+
* CHANNEL_NAME_CUSTOM.
|
|
556
|
+
*/
|
|
549
557
|
dbsqlVersion?: string | undefined;
|
|
550
558
|
}
|
|
551
559
|
/** Request message for CreateDefaultWarehouseOverride. */
|
|
@@ -562,11 +570,11 @@ interface CreateDefaultWarehouseOverrideRequest {
|
|
|
562
570
|
/** Creates a new SQL warehouse. */
|
|
563
571
|
interface CreateWarehouseRequest {
|
|
564
572
|
/**
|
|
565
|
-
* Logical name for the
|
|
573
|
+
* Logical name for the warehouse.
|
|
566
574
|
*
|
|
567
575
|
* Supported values:
|
|
568
576
|
* - Must be unique within an org.
|
|
569
|
-
* - Must be
|
|
577
|
+
* - Must be 1 to 100 characters.
|
|
570
578
|
*/
|
|
571
579
|
name?: string | undefined;
|
|
572
580
|
/**
|
|
@@ -625,7 +633,10 @@ interface CreateWarehouseRequest {
|
|
|
625
633
|
* Defaults to 120 mins
|
|
626
634
|
*/
|
|
627
635
|
autoStopMins?: number | undefined;
|
|
628
|
-
/**
|
|
636
|
+
/**
|
|
637
|
+
* Name of the user who created the warehouse. Set by the server and ignored in
|
|
638
|
+
* requests.
|
|
639
|
+
*/
|
|
629
640
|
creatorName?: string | undefined;
|
|
630
641
|
/** Deprecated. Instance profile used to pass IAM role to the cluster */
|
|
631
642
|
instanceProfileArn?: string | undefined;
|
|
@@ -637,7 +648,11 @@ interface CreateWarehouseRequest {
|
|
|
637
648
|
* - Number of tags < 45.
|
|
638
649
|
*/
|
|
639
650
|
tags?: EndpointTags | undefined;
|
|
640
|
-
/**
|
|
651
|
+
/**
|
|
652
|
+
* Configures whether the warehouse should use spot instances. COST_OPTIMIZED uses
|
|
653
|
+
* spot instances where the cloud provider supports them, and RELIABILITY_OPTIMIZED
|
|
654
|
+
* uses on-demand instances only.
|
|
655
|
+
*/
|
|
641
656
|
spotInstancePolicy?: EndpointSpotInstancePolicy | undefined;
|
|
642
657
|
/**
|
|
643
658
|
* Configures whether the warehouse should use Photon optimized clusters.
|
|
@@ -645,7 +660,7 @@ interface CreateWarehouseRequest {
|
|
|
645
660
|
* Defaults to true.
|
|
646
661
|
*/
|
|
647
662
|
enablePhoton?: boolean | undefined;
|
|
648
|
-
/** Channel
|
|
663
|
+
/** Channel that determines which Databricks SQL version the warehouse runs. */
|
|
649
664
|
channel?: Channel | undefined;
|
|
650
665
|
/** Configures whether the warehouse should use serverless compute */
|
|
651
666
|
enableServerlessCompute?: boolean | undefined;
|
|
@@ -654,7 +669,12 @@ interface CreateWarehouseRequest {
|
|
|
654
669
|
* you must set to `PRO` and also set the field `enable_serverless_compute` to `true`.
|
|
655
670
|
*/
|
|
656
671
|
warehouseType?: WarehouseType | undefined;
|
|
657
|
-
/**
|
|
672
|
+
/**
|
|
673
|
+
* Maximum time in seconds that a statement can run on this warehouse before it is
|
|
674
|
+
* cancelled. Set to 0 to remove the warehouse-level timeout. Changing the value of a
|
|
675
|
+
* running warehouse restarts it. See
|
|
676
|
+
* https://docs.databricks.com/aws/en/sql/language-manual/parameters/statement_timeout.
|
|
677
|
+
*/
|
|
658
678
|
statementTimeout?: number | undefined;
|
|
659
679
|
/**
|
|
660
680
|
* Cluster size multiplier for Reyden warehouses. Scales the effective compute
|
|
@@ -725,11 +745,11 @@ interface EditWarehouseRequest {
|
|
|
725
745
|
/** Required. Id of the warehouse to configure. */
|
|
726
746
|
id?: string | undefined;
|
|
727
747
|
/**
|
|
728
|
-
* Logical name for the
|
|
748
|
+
* Logical name for the warehouse.
|
|
729
749
|
*
|
|
730
750
|
* Supported values:
|
|
731
751
|
* - Must be unique within an org.
|
|
732
|
-
* - Must be
|
|
752
|
+
* - Must be 1 to 100 characters.
|
|
733
753
|
*/
|
|
734
754
|
name?: string | undefined;
|
|
735
755
|
/**
|
|
@@ -788,7 +808,10 @@ interface EditWarehouseRequest {
|
|
|
788
808
|
* Defaults to 120 mins
|
|
789
809
|
*/
|
|
790
810
|
autoStopMins?: number | undefined;
|
|
791
|
-
/**
|
|
811
|
+
/**
|
|
812
|
+
* Name of the user who created the warehouse. Set by the server and ignored in
|
|
813
|
+
* requests.
|
|
814
|
+
*/
|
|
792
815
|
creatorName?: string | undefined;
|
|
793
816
|
/** Deprecated. Instance profile used to pass IAM role to the cluster */
|
|
794
817
|
instanceProfileArn?: string | undefined;
|
|
@@ -800,7 +823,11 @@ interface EditWarehouseRequest {
|
|
|
800
823
|
* - Number of tags < 45.
|
|
801
824
|
*/
|
|
802
825
|
tags?: EndpointTags | undefined;
|
|
803
|
-
/**
|
|
826
|
+
/**
|
|
827
|
+
* Configures whether the warehouse should use spot instances. COST_OPTIMIZED uses
|
|
828
|
+
* spot instances where the cloud provider supports them, and RELIABILITY_OPTIMIZED
|
|
829
|
+
* uses on-demand instances only.
|
|
830
|
+
*/
|
|
804
831
|
spotInstancePolicy?: EndpointSpotInstancePolicy | undefined;
|
|
805
832
|
/**
|
|
806
833
|
* Configures whether the warehouse should use Photon optimized clusters.
|
|
@@ -808,7 +835,7 @@ interface EditWarehouseRequest {
|
|
|
808
835
|
* Defaults to true.
|
|
809
836
|
*/
|
|
810
837
|
enablePhoton?: boolean | undefined;
|
|
811
|
-
/** Channel
|
|
838
|
+
/** Channel that determines which Databricks SQL version the warehouse runs. */
|
|
812
839
|
channel?: Channel | undefined;
|
|
813
840
|
/** Configures whether the warehouse should use serverless compute */
|
|
814
841
|
enableServerlessCompute?: boolean | undefined;
|
|
@@ -817,7 +844,12 @@ interface EditWarehouseRequest {
|
|
|
817
844
|
* you must set to `PRO` and also set the field `enable_serverless_compute` to `true`.
|
|
818
845
|
*/
|
|
819
846
|
warehouseType?: WarehouseType | undefined;
|
|
820
|
-
/**
|
|
847
|
+
/**
|
|
848
|
+
* Maximum time in seconds that a statement can run on this warehouse before it is
|
|
849
|
+
* cancelled. Set to 0 to remove the warehouse-level timeout. Changing the value of a
|
|
850
|
+
* running warehouse restarts it. See
|
|
851
|
+
* https://docs.databricks.com/aws/en/sql/language-manual/parameters/statement_timeout.
|
|
852
|
+
*/
|
|
821
853
|
statementTimeout?: number | undefined;
|
|
822
854
|
/**
|
|
823
855
|
* Cluster size multiplier for Reyden warehouses. Scales the effective compute
|
|
@@ -842,7 +874,9 @@ interface EditWarehouseRequest {
|
|
|
842
874
|
}
|
|
843
875
|
interface EditWarehouseResponse {}
|
|
844
876
|
interface EndpointConfPair {
|
|
877
|
+
/** Name of the configuration parameter. */
|
|
845
878
|
key?: string | undefined;
|
|
879
|
+
/** Value of the configuration parameter. */
|
|
846
880
|
value?: string | undefined;
|
|
847
881
|
}
|
|
848
882
|
interface EndpointHealth {
|
|
@@ -858,14 +892,14 @@ interface EndpointHealth {
|
|
|
858
892
|
details?: string | undefined;
|
|
859
893
|
}
|
|
860
894
|
interface EndpointInfo {
|
|
861
|
-
/**
|
|
895
|
+
/** Unique identifier of the warehouse. */
|
|
862
896
|
id?: string | undefined;
|
|
863
897
|
/**
|
|
864
|
-
* Logical name for the
|
|
898
|
+
* Logical name for the warehouse.
|
|
865
899
|
*
|
|
866
900
|
* Supported values:
|
|
867
901
|
* - Must be unique within an org.
|
|
868
|
-
* - Must be
|
|
902
|
+
* - Must be 1 to 100 characters.
|
|
869
903
|
*/
|
|
870
904
|
name?: string | undefined;
|
|
871
905
|
/**
|
|
@@ -924,7 +958,10 @@ interface EndpointInfo {
|
|
|
924
958
|
* Defaults to 120 mins
|
|
925
959
|
*/
|
|
926
960
|
autoStopMins?: number | undefined;
|
|
927
|
-
/**
|
|
961
|
+
/**
|
|
962
|
+
* Name of the user who created the warehouse. Set by the server and ignored in
|
|
963
|
+
* requests.
|
|
964
|
+
*/
|
|
928
965
|
creatorName?: string | undefined;
|
|
929
966
|
/** Deprecated. Instance profile used to pass IAM role to the cluster */
|
|
930
967
|
instanceProfileArn?: string | undefined;
|
|
@@ -936,7 +973,11 @@ interface EndpointInfo {
|
|
|
936
973
|
* - Number of tags < 45.
|
|
937
974
|
*/
|
|
938
975
|
tags?: EndpointTags | undefined;
|
|
939
|
-
/**
|
|
976
|
+
/**
|
|
977
|
+
* Configures whether the warehouse should use spot instances. COST_OPTIMIZED uses
|
|
978
|
+
* spot instances where the cloud provider supports them, and RELIABILITY_OPTIMIZED
|
|
979
|
+
* uses on-demand instances only.
|
|
980
|
+
*/
|
|
940
981
|
spotInstancePolicy?: EndpointSpotInstancePolicy | undefined;
|
|
941
982
|
/**
|
|
942
983
|
* Configures whether the warehouse should use Photon optimized clusters.
|
|
@@ -944,7 +985,7 @@ interface EndpointInfo {
|
|
|
944
985
|
* Defaults to true.
|
|
945
986
|
*/
|
|
946
987
|
enablePhoton?: boolean | undefined;
|
|
947
|
-
/** Channel
|
|
988
|
+
/** Channel that determines which Databricks SQL version the warehouse runs. */
|
|
948
989
|
channel?: Channel | undefined;
|
|
949
990
|
/** Configures whether the warehouse should use serverless compute */
|
|
950
991
|
enableServerlessCompute?: boolean | undefined;
|
|
@@ -953,7 +994,12 @@ interface EndpointInfo {
|
|
|
953
994
|
* you must set to `PRO` and also set the field `enable_serverless_compute` to `true`.
|
|
954
995
|
*/
|
|
955
996
|
warehouseType?: WarehouseType | undefined;
|
|
956
|
-
/**
|
|
997
|
+
/**
|
|
998
|
+
* Maximum time in seconds that a statement can run on this warehouse before it is
|
|
999
|
+
* cancelled. Set to 0 to remove the warehouse-level timeout. Changing the value of a
|
|
1000
|
+
* running warehouse restarts it. See
|
|
1001
|
+
* https://docs.databricks.com/aws/en/sql/language-manual/parameters/statement_timeout.
|
|
1002
|
+
*/
|
|
957
1003
|
statementTimeout?: number | undefined;
|
|
958
1004
|
/**
|
|
959
1005
|
* Cluster size multiplier for Reyden warehouses. Scales the effective compute
|
|
@@ -975,13 +1021,16 @@ interface EndpointInfo {
|
|
|
975
1021
|
* than the configured DBU limit. Actual capacity may be below this ceiling.
|
|
976
1022
|
*/
|
|
977
1023
|
maxDbu?: number | undefined;
|
|
978
|
-
/**
|
|
1024
|
+
/**
|
|
1025
|
+
* Number of clusters currently allocated to the warehouse, including clusters that
|
|
1026
|
+
* are still starting.
|
|
1027
|
+
*/
|
|
979
1028
|
numClusters?: number | undefined;
|
|
980
1029
|
/** Deprecated. current number of active sessions for the warehouse */
|
|
981
1030
|
numActiveSessions?: bigint | undefined;
|
|
982
|
-
/** state of the
|
|
1031
|
+
/** Current state of the warehouse. */
|
|
983
1032
|
state?: EndpointState | undefined;
|
|
984
|
-
/**
|
|
1033
|
+
/** JDBC connection string for the warehouse. */
|
|
985
1034
|
jdbcUrl?: string | undefined;
|
|
986
1035
|
/** ODBC parameters for the SQL warehouse */
|
|
987
1036
|
odbcParams?: OdbcParams | undefined;
|
|
@@ -989,10 +1038,16 @@ interface EndpointInfo {
|
|
|
989
1038
|
health?: EndpointHealth | undefined;
|
|
990
1039
|
}
|
|
991
1040
|
interface EndpointTagPair {
|
|
1041
|
+
/**
|
|
1042
|
+
* Tag key. Keys must be unique within the warehouse and cannot use the keys that
|
|
1043
|
+
* Databricks reserves for the tags it sets automatically.
|
|
1044
|
+
*/
|
|
992
1045
|
key?: string | undefined;
|
|
1046
|
+
/** Tag value. Keys and values must follow the tagging rules of the cloud provider. */
|
|
993
1047
|
value?: string | undefined;
|
|
994
1048
|
}
|
|
995
1049
|
interface EndpointTags {
|
|
1050
|
+
/** User-defined tags, applied in addition to the tags Databricks sets automatically. */
|
|
996
1051
|
customTags?: EndpointTagPair[] | undefined;
|
|
997
1052
|
}
|
|
998
1053
|
/** Request message for GetDefaultWarehouseOverride. */
|
|
@@ -1010,14 +1065,14 @@ interface GetWarehouseRequest {
|
|
|
1010
1065
|
id?: string | undefined;
|
|
1011
1066
|
}
|
|
1012
1067
|
interface GetWarehouseResponse {
|
|
1013
|
-
/**
|
|
1068
|
+
/** Unique identifier of the warehouse. */
|
|
1014
1069
|
id?: string | undefined;
|
|
1015
1070
|
/**
|
|
1016
|
-
* Logical name for the
|
|
1071
|
+
* Logical name for the warehouse.
|
|
1017
1072
|
*
|
|
1018
1073
|
* Supported values:
|
|
1019
1074
|
* - Must be unique within an org.
|
|
1020
|
-
* - Must be
|
|
1075
|
+
* - Must be 1 to 100 characters.
|
|
1021
1076
|
*/
|
|
1022
1077
|
name?: string | undefined;
|
|
1023
1078
|
/**
|
|
@@ -1076,7 +1131,10 @@ interface GetWarehouseResponse {
|
|
|
1076
1131
|
* Defaults to 120 mins
|
|
1077
1132
|
*/
|
|
1078
1133
|
autoStopMins?: number | undefined;
|
|
1079
|
-
/**
|
|
1134
|
+
/**
|
|
1135
|
+
* Name of the user who created the warehouse. Set by the server and ignored in
|
|
1136
|
+
* requests.
|
|
1137
|
+
*/
|
|
1080
1138
|
creatorName?: string | undefined;
|
|
1081
1139
|
/** Deprecated. Instance profile used to pass IAM role to the cluster */
|
|
1082
1140
|
instanceProfileArn?: string | undefined;
|
|
@@ -1088,7 +1146,11 @@ interface GetWarehouseResponse {
|
|
|
1088
1146
|
* - Number of tags < 45.
|
|
1089
1147
|
*/
|
|
1090
1148
|
tags?: EndpointTags | undefined;
|
|
1091
|
-
/**
|
|
1149
|
+
/**
|
|
1150
|
+
* Configures whether the warehouse should use spot instances. COST_OPTIMIZED uses
|
|
1151
|
+
* spot instances where the cloud provider supports them, and RELIABILITY_OPTIMIZED
|
|
1152
|
+
* uses on-demand instances only.
|
|
1153
|
+
*/
|
|
1092
1154
|
spotInstancePolicy?: EndpointSpotInstancePolicy | undefined;
|
|
1093
1155
|
/**
|
|
1094
1156
|
* Configures whether the warehouse should use Photon optimized clusters.
|
|
@@ -1096,7 +1158,7 @@ interface GetWarehouseResponse {
|
|
|
1096
1158
|
* Defaults to true.
|
|
1097
1159
|
*/
|
|
1098
1160
|
enablePhoton?: boolean | undefined;
|
|
1099
|
-
/** Channel
|
|
1161
|
+
/** Channel that determines which Databricks SQL version the warehouse runs. */
|
|
1100
1162
|
channel?: Channel | undefined;
|
|
1101
1163
|
/** Configures whether the warehouse should use serverless compute */
|
|
1102
1164
|
enableServerlessCompute?: boolean | undefined;
|
|
@@ -1105,7 +1167,12 @@ interface GetWarehouseResponse {
|
|
|
1105
1167
|
* you must set to `PRO` and also set the field `enable_serverless_compute` to `true`.
|
|
1106
1168
|
*/
|
|
1107
1169
|
warehouseType?: WarehouseType | undefined;
|
|
1108
|
-
/**
|
|
1170
|
+
/**
|
|
1171
|
+
* Maximum time in seconds that a statement can run on this warehouse before it is
|
|
1172
|
+
* cancelled. Set to 0 to remove the warehouse-level timeout. Changing the value of a
|
|
1173
|
+
* running warehouse restarts it. See
|
|
1174
|
+
* https://docs.databricks.com/aws/en/sql/language-manual/parameters/statement_timeout.
|
|
1175
|
+
*/
|
|
1109
1176
|
statementTimeout?: number | undefined;
|
|
1110
1177
|
/**
|
|
1111
1178
|
* Cluster size multiplier for Reyden warehouses. Scales the effective compute
|
|
@@ -1127,13 +1194,16 @@ interface GetWarehouseResponse {
|
|
|
1127
1194
|
* than the configured DBU limit. Actual capacity may be below this ceiling.
|
|
1128
1195
|
*/
|
|
1129
1196
|
maxDbu?: number | undefined;
|
|
1130
|
-
/**
|
|
1197
|
+
/**
|
|
1198
|
+
* Number of clusters currently allocated to the warehouse, including clusters that
|
|
1199
|
+
* are still starting.
|
|
1200
|
+
*/
|
|
1131
1201
|
numClusters?: number | undefined;
|
|
1132
1202
|
/** Deprecated. current number of active sessions for the warehouse */
|
|
1133
1203
|
numActiveSessions?: bigint | undefined;
|
|
1134
|
-
/** state of the
|
|
1204
|
+
/** Current state of the warehouse. */
|
|
1135
1205
|
state?: EndpointState | undefined;
|
|
1136
|
-
/**
|
|
1206
|
+
/** JDBC connection string for the warehouse. */
|
|
1137
1207
|
jdbcUrl?: string | undefined;
|
|
1138
1208
|
/** ODBC parameters for the SQL warehouse */
|
|
1139
1209
|
odbcParams?: OdbcParams | undefined;
|
|
@@ -1149,8 +1219,10 @@ interface GetWorkspaceWarehouseConfigResponse {
|
|
|
1149
1219
|
/** Security policy for warehouses */
|
|
1150
1220
|
securityPolicy?: EndpointSecurityPolicy | undefined;
|
|
1151
1221
|
/**
|
|
1152
|
-
* Spark
|
|
1153
|
-
*
|
|
1222
|
+
* Spark configuration applied to every warehouse in the workspace, for example to
|
|
1223
|
+
* connect to an external Hive metastore or to configure access to cloud storage.
|
|
1224
|
+
* Only allowlisted keys are accepted, and the JSON-serialized size must be at most
|
|
1225
|
+
* 512 KB. See https://docs.databricks.com/aws/en/admin/sql/data-access-configuration.
|
|
1154
1226
|
*/
|
|
1155
1227
|
dataAccessConfig?: EndpointConfPair[] | undefined;
|
|
1156
1228
|
/**
|
|
@@ -1167,11 +1239,15 @@ interface GetWorkspaceWarehouseConfigResponse {
|
|
|
1167
1239
|
globalParam?: RepeatedEndpointConfPairs | undefined;
|
|
1168
1240
|
/** Deprecated: Use sql_configuration_parameters */
|
|
1169
1241
|
configParam?: RepeatedEndpointConfPairs | undefined;
|
|
1170
|
-
/**
|
|
1242
|
+
/**
|
|
1243
|
+
* SQL configuration parameters applied to every warehouse in the workspace. Only
|
|
1244
|
+
* parameters that can be set at the workspace scope are accepted. See
|
|
1245
|
+
* https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-parameters.
|
|
1246
|
+
*/
|
|
1171
1247
|
sqlConfigurationParameters?: RepeatedEndpointConfPairs | undefined;
|
|
1172
1248
|
/**
|
|
1173
|
-
* GCP only: Google
|
|
1174
|
-
* Cloud Storage
|
|
1249
|
+
* GCP only: Google service account that the warehouse clusters use to access Google
|
|
1250
|
+
* Cloud Storage.
|
|
1175
1251
|
*/
|
|
1176
1252
|
googleServiceAccount?: string | undefined;
|
|
1177
1253
|
/**
|
|
@@ -1180,8 +1256,7 @@ interface GetWorkspaceWarehouseConfigResponse {
|
|
|
1180
1256
|
* cannot be disabled, they don't need to be specified
|
|
1181
1257
|
* in SetWorkspaceWarehouseConfig.
|
|
1182
1258
|
* Note: Disabling a type may cause existing warehouses to be converted to
|
|
1183
|
-
* another type.
|
|
1184
|
-
* warehouse create and edit form UI.
|
|
1259
|
+
* another type.
|
|
1185
1260
|
*/
|
|
1186
1261
|
enabledWarehouseTypes?: WarehouseTypePair[] | undefined;
|
|
1187
1262
|
}
|
|
@@ -1223,14 +1298,19 @@ interface ListWarehousesResponse {
|
|
|
1223
1298
|
nextPageToken?: string | undefined;
|
|
1224
1299
|
}
|
|
1225
1300
|
interface OdbcParams {
|
|
1301
|
+
/** Hostname of the workspace to connect to. */
|
|
1226
1302
|
hostname?: string | undefined;
|
|
1303
|
+
/** HTTP path of the warehouse. */
|
|
1227
1304
|
path?: string | undefined;
|
|
1305
|
+
/** The transport protocol is always https. */
|
|
1228
1306
|
protocol?: string | undefined;
|
|
1307
|
+
/** The connection port is always 443. */
|
|
1229
1308
|
port?: number | undefined;
|
|
1230
1309
|
}
|
|
1231
1310
|
interface RepeatedEndpointConfPairs {
|
|
1232
1311
|
/** Deprecated: Use configuration_pairs */
|
|
1233
1312
|
configPair?: EndpointConfPair[] | undefined;
|
|
1313
|
+
/** Configuration parameters, each a key-value pair. */
|
|
1234
1314
|
configurationPairs?: EndpointConfPair[] | undefined;
|
|
1235
1315
|
}
|
|
1236
1316
|
/**
|
|
@@ -1242,8 +1322,10 @@ interface SetWorkspaceWarehouseConfigRequest {
|
|
|
1242
1322
|
/** Security policy for warehouses */
|
|
1243
1323
|
securityPolicy?: EndpointSecurityPolicy | undefined;
|
|
1244
1324
|
/**
|
|
1245
|
-
* Spark
|
|
1246
|
-
*
|
|
1325
|
+
* Spark configuration applied to every warehouse in the workspace, for example to
|
|
1326
|
+
* connect to an external Hive metastore or to configure access to cloud storage.
|
|
1327
|
+
* Only allowlisted keys are accepted, and the JSON-serialized size must be at most
|
|
1328
|
+
* 512 KB. See https://docs.databricks.com/aws/en/admin/sql/data-access-configuration.
|
|
1247
1329
|
*/
|
|
1248
1330
|
dataAccessConfig?: EndpointConfPair[] | undefined;
|
|
1249
1331
|
/**
|
|
@@ -1260,11 +1342,15 @@ interface SetWorkspaceWarehouseConfigRequest {
|
|
|
1260
1342
|
globalParam?: RepeatedEndpointConfPairs | undefined;
|
|
1261
1343
|
/** Deprecated: Use sql_configuration_parameters */
|
|
1262
1344
|
configParam?: RepeatedEndpointConfPairs | undefined;
|
|
1263
|
-
/**
|
|
1345
|
+
/**
|
|
1346
|
+
* SQL configuration parameters applied to every warehouse in the workspace. Only
|
|
1347
|
+
* parameters that can be set at the workspace scope are accepted. See
|
|
1348
|
+
* https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-parameters.
|
|
1349
|
+
*/
|
|
1264
1350
|
sqlConfigurationParameters?: RepeatedEndpointConfPairs | undefined;
|
|
1265
1351
|
/**
|
|
1266
|
-
* GCP only: Google
|
|
1267
|
-
* Cloud Storage
|
|
1352
|
+
* GCP only: Google service account that the warehouse clusters use to access Google
|
|
1353
|
+
* Cloud Storage.
|
|
1268
1354
|
*/
|
|
1269
1355
|
googleServiceAccount?: string | undefined;
|
|
1270
1356
|
/**
|
|
@@ -1273,8 +1359,7 @@ interface SetWorkspaceWarehouseConfigRequest {
|
|
|
1273
1359
|
* cannot be disabled, they don't need to be specified
|
|
1274
1360
|
* in SetWorkspaceWarehouseConfig.
|
|
1275
1361
|
* Note: Disabling a type may cause existing warehouses to be converted to
|
|
1276
|
-
* another type.
|
|
1277
|
-
* warehouse create and edit form UI.
|
|
1362
|
+
* another type.
|
|
1278
1363
|
*/
|
|
1279
1364
|
enabledWarehouseTypes?: WarehouseTypePair[] | undefined;
|
|
1280
1365
|
}
|
|
@@ -1317,6 +1402,7 @@ interface UpdateDefaultWarehouseOverrideRequest {
|
|
|
1317
1402
|
* types in the workspace.
|
|
1318
1403
|
*/
|
|
1319
1404
|
interface WarehouseTypePair {
|
|
1405
|
+
/** Warehouse type that this entry enables or disables. */
|
|
1320
1406
|
warehouseType?: WarehouseType | undefined;
|
|
1321
1407
|
/**
|
|
1322
1408
|
* If set to false the specific warehouse type will not be allowed as a
|
package/dist/v1/model.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","names":[],"sources":["../../src/v1/model.ts"],"mappings":";;;;cAOa,WAAA;EAAA;;;;;;KAOD,WAAA,WACA,WAAA,eAA0B,WAAA;;cAKzB,4BAAA;;2CANU;EAAA;;KAeX,4BAAA,WACA,4BAAA,eAA2C,4BAAA;AAVvD;AAAA,cAea,sBAAA;;;;;KAQD,sBAAA,WACA,sBAAA,eAAqC,sBAAA;;;;;AATjD;;;;;;;;cAyBa,0BAAA;EAjBD;;;;;AAiBZ;;;;;;;;;AA2BA;;;;;AASA;EArDY;;;;KA4CA,0BAAA,WACA,0BAAA,eAAyC,0BAAA;;;;;cAQxC,aAAA;EAcY,+FACb;EAAA,6BAKC;EAAA;;;;;KAND,aA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