@pulumi/databricks 1.8.0 → 1.10.0-alpha.1678903612
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/clusterPolicy.d.ts +2 -2
- package/clusterPolicy.js +2 -2
- package/config/vars.d.ts +1 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/dbfsFile.d.ts +3 -3
- package/dbfsFile.js +1 -1
- package/directory.d.ts +1 -1
- package/directory.js +1 -1
- package/externalLocation.d.ts +3 -3
- package/getAwsBucketPolicy.d.ts +2 -2
- package/getAwsBucketPolicy.js +2 -2
- package/getCluster.d.ts +2 -2
- package/getCluster.js +2 -2
- package/getClusters.d.ts +2 -2
- package/getClusters.js +2 -2
- package/getDbfsFile.d.ts +2 -2
- package/getDbfsFile.js +2 -2
- package/getDbfsFilePaths.d.ts +2 -2
- package/getDbfsFilePaths.js +2 -2
- package/getNodeType.d.ts +11 -6
- package/getNodeType.js +3 -3
- package/getNodeType.js.map +1 -1
- package/getServicePrincipal.d.ts +2 -2
- package/getServicePrincipal.js +2 -2
- package/getServicePrincipals.d.ts +2 -2
- package/getServicePrincipals.js +2 -2
- package/getSparkVersion.d.ts +2 -2
- package/getSparkVersion.js +2 -2
- package/getUser.d.ts +2 -2
- package/getUser.js +2 -2
- package/gitCredential.d.ts +4 -4
- package/gitCredential.js +1 -9
- package/gitCredential.js.map +1 -1
- package/index.d.ts +6 -0
- package/index.js +12 -2
- package/index.js.map +1 -1
- package/metastoreDataAccess.d.ts +3 -0
- package/metastoreDataAccess.js +2 -0
- package/metastoreDataAccess.js.map +1 -1
- package/mlflowModel.d.ts +2 -1
- package/mlflowModel.js +2 -1
- package/mlflowModel.js.map +1 -1
- package/modelServing.d.ts +121 -0
- package/modelServing.js +113 -0
- package/modelServing.js.map +1 -0
- package/mwsNetworks.d.ts +3 -3
- package/mwsPrivateAccessSettings.d.ts +12 -12
- package/mwsVpcEndpoint.d.ts +27 -13
- package/mwsVpcEndpoint.js +2 -6
- package/mwsVpcEndpoint.js.map +1 -1
- package/mwsWorkspaces.d.ts +21 -12
- package/mwsWorkspaces.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/provider.d.ts +2 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/repo.d.ts +3 -3
- package/sqlAlert.d.ts +112 -0
- package/sqlAlert.js +77 -0
- package/sqlAlert.js.map +1 -0
- package/sqlQuery.d.ts +9 -0
- package/sqlQuery.js.map +1 -1
- package/storageCredential.d.ts +20 -15
- package/storageCredential.js +19 -15
- package/storageCredential.js.map +1 -1
- package/types/input.d.ts +139 -1
- package/types/output.d.ts +127 -1
package/sqlAlert.js
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.SqlAlert = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource allows you to manage [Databricks SQL Alerts](https://docs.databricks.com/sql/user/queries/index.html).
|
|
10
|
+
*
|
|
11
|
+
* **Note:** To manage [SQLA resources](https://docs.databricks.com/sql/get-started/concepts.html) you must have `databricksSqlAccess` on your databricks.Group or databricks_user.
|
|
12
|
+
*
|
|
13
|
+
* ## Related Resources
|
|
14
|
+
*
|
|
15
|
+
* The following resources are often used in the same context:
|
|
16
|
+
*
|
|
17
|
+
* * End to end workspace management guide.
|
|
18
|
+
* * databricks.SqlQuery to manage Databricks SQL [Queries](https://docs.databricks.com/sql/user/queries/index.html).
|
|
19
|
+
* * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html).
|
|
20
|
+
* * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html).
|
|
21
|
+
*/
|
|
22
|
+
class SqlAlert extends pulumi.CustomResource {
|
|
23
|
+
/**
|
|
24
|
+
* Get an existing SqlAlert resource's state with the given name, ID, and optional extra
|
|
25
|
+
* properties used to qualify the lookup.
|
|
26
|
+
*
|
|
27
|
+
* @param name The _unique_ name of the resulting resource.
|
|
28
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
29
|
+
* @param state Any extra arguments used during the lookup.
|
|
30
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
31
|
+
*/
|
|
32
|
+
static get(name, id, state, opts) {
|
|
33
|
+
return new SqlAlert(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Returns true if the given object is an instance of SqlAlert. This is designed to work even
|
|
37
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
38
|
+
*/
|
|
39
|
+
static isInstance(obj) {
|
|
40
|
+
if (obj === undefined || obj === null) {
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
return obj['__pulumiType'] === SqlAlert.__pulumiType;
|
|
44
|
+
}
|
|
45
|
+
constructor(name, argsOrState, opts) {
|
|
46
|
+
let resourceInputs = {};
|
|
47
|
+
opts = opts || {};
|
|
48
|
+
if (opts.id) {
|
|
49
|
+
const state = argsOrState;
|
|
50
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
51
|
+
resourceInputs["options"] = state ? state.options : undefined;
|
|
52
|
+
resourceInputs["parent"] = state ? state.parent : undefined;
|
|
53
|
+
resourceInputs["queryId"] = state ? state.queryId : undefined;
|
|
54
|
+
resourceInputs["rearm"] = state ? state.rearm : undefined;
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
const args = argsOrState;
|
|
58
|
+
if ((!args || args.options === undefined) && !opts.urn) {
|
|
59
|
+
throw new Error("Missing required property 'options'");
|
|
60
|
+
}
|
|
61
|
+
if ((!args || args.queryId === undefined) && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'queryId'");
|
|
63
|
+
}
|
|
64
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
65
|
+
resourceInputs["options"] = args ? args.options : undefined;
|
|
66
|
+
resourceInputs["parent"] = args ? args.parent : undefined;
|
|
67
|
+
resourceInputs["queryId"] = args ? args.queryId : undefined;
|
|
68
|
+
resourceInputs["rearm"] = args ? args.rearm : undefined;
|
|
69
|
+
}
|
|
70
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
71
|
+
super(SqlAlert.__pulumiType, name, resourceInputs, opts);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.SqlAlert = SqlAlert;
|
|
75
|
+
/** @internal */
|
|
76
|
+
SqlAlert.__pulumiType = 'databricks:index/sqlAlert:SqlAlert';
|
|
77
|
+
//# sourceMappingURL=sqlAlert.js.map
|
package/sqlAlert.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlAlert.js","sourceRoot":"","sources":["../sqlAlert.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,K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,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAnFL,4BAoFC;AAtEG,gBAAgB;AACO,qBAAY,GAAG,oCAAoC,CAAC"}
|
package/sqlQuery.d.ts
CHANGED
|
@@ -33,6 +33,9 @@ export declare class SqlQuery extends pulumi.CustomResource {
|
|
|
33
33
|
readonly parent: pulumi.Output<string | undefined>;
|
|
34
34
|
readonly query: pulumi.Output<string>;
|
|
35
35
|
readonly runAsRole: pulumi.Output<string | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* @deprecated Operations on `databricks_sql_query` schedules are deprecated. Please use `databricks_job` resource to schedule a `sql_task`.
|
|
38
|
+
*/
|
|
36
39
|
readonly schedule: pulumi.Output<outputs.SqlQuerySchedule | undefined>;
|
|
37
40
|
readonly tags: pulumi.Output<string[] | undefined>;
|
|
38
41
|
/**
|
|
@@ -55,6 +58,9 @@ export interface SqlQueryState {
|
|
|
55
58
|
parent?: pulumi.Input<string>;
|
|
56
59
|
query?: pulumi.Input<string>;
|
|
57
60
|
runAsRole?: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* @deprecated Operations on `databricks_sql_query` schedules are deprecated. Please use `databricks_job` resource to schedule a `sql_task`.
|
|
63
|
+
*/
|
|
58
64
|
schedule?: pulumi.Input<inputs.SqlQuerySchedule>;
|
|
59
65
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
60
66
|
}
|
|
@@ -69,6 +75,9 @@ export interface SqlQueryArgs {
|
|
|
69
75
|
parent?: pulumi.Input<string>;
|
|
70
76
|
query: pulumi.Input<string>;
|
|
71
77
|
runAsRole?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* @deprecated Operations on `databricks_sql_query` schedules are deprecated. Please use `databricks_job` resource to schedule a `sql_task`.
|
|
80
|
+
*/
|
|
72
81
|
schedule?: pulumi.Input<inputs.SqlQuerySchedule>;
|
|
73
82
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
74
83
|
}
|
package/sqlQuery.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sqlQuery.js","sourceRoot":"","sources":["../sqlQuery.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;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AC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAnFL,4BAoFC;AAtEG,gBAAgB;AACO,qBAAY,GAAG,oCAAoC,CAAC"}
|
package/storageCredential.d.ts
CHANGED
|
@@ -34,25 +34,11 @@ import * as outputs from "./types/output";
|
|
|
34
34
|
*
|
|
35
35
|
* ```typescript
|
|
36
36
|
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
-
* import * as azure from "@pulumi/azure";
|
|
38
37
|
* import * as databricks from "@pulumi/databricks";
|
|
39
38
|
*
|
|
40
|
-
* const this = azure.core.getResourceGroup({
|
|
41
|
-
* name: "example-rg",
|
|
42
|
-
* });
|
|
43
|
-
* const example = new azure.databricks.AccessConnector("example", {
|
|
44
|
-
* resourceGroupName: azurerm_resource_group["this"].name,
|
|
45
|
-
* location: azurerm_resource_group["this"].location,
|
|
46
|
-
* identity: {
|
|
47
|
-
* type: "SystemAssigned",
|
|
48
|
-
* },
|
|
49
|
-
* tags: {
|
|
50
|
-
* Environment: "Production",
|
|
51
|
-
* },
|
|
52
|
-
* });
|
|
53
39
|
* const externalMi = new databricks.StorageCredential("externalMi", {
|
|
54
40
|
* azureManagedIdentity: {
|
|
55
|
-
* accessConnectorId: example.id,
|
|
41
|
+
* accessConnectorId: azurerm_databricks_access_connector.example.id,
|
|
56
42
|
* },
|
|
57
43
|
* comment: "Managed identity credential managed by TF",
|
|
58
44
|
* });
|
|
@@ -65,6 +51,22 @@ import * as outputs from "./types/output";
|
|
|
65
51
|
* });
|
|
66
52
|
* ```
|
|
67
53
|
*
|
|
54
|
+
* For GCP
|
|
55
|
+
*
|
|
56
|
+
* ```typescript
|
|
57
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
+
* import * as databricks from "@pulumi/databricks";
|
|
59
|
+
*
|
|
60
|
+
* const external = new databricks.StorageCredential("external", {databricksGcpServiceAccount: {}});
|
|
61
|
+
* const externalCreds = new databricks.Grants("externalCreds", {
|
|
62
|
+
* storageCredential: external.id,
|
|
63
|
+
* grants: [{
|
|
64
|
+
* principal: "Data Engineers",
|
|
65
|
+
* privileges: ["CREATE_TABLE"],
|
|
66
|
+
* }],
|
|
67
|
+
* });
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
68
70
|
* ## Import
|
|
69
71
|
*
|
|
70
72
|
* This resource can be imported by namebash
|
|
@@ -93,6 +95,7 @@ export declare class StorageCredential extends pulumi.CustomResource {
|
|
|
93
95
|
readonly azureManagedIdentity: pulumi.Output<outputs.StorageCredentialAzureManagedIdentity | undefined>;
|
|
94
96
|
readonly azureServicePrincipal: pulumi.Output<outputs.StorageCredentialAzureServicePrincipal | undefined>;
|
|
95
97
|
readonly comment: pulumi.Output<string | undefined>;
|
|
98
|
+
readonly databricksGcpServiceAccount: pulumi.Output<outputs.StorageCredentialDatabricksGcpServiceAccount>;
|
|
96
99
|
readonly gcpServiceAccountKey: pulumi.Output<outputs.StorageCredentialGcpServiceAccountKey | undefined>;
|
|
97
100
|
readonly metastoreId: pulumi.Output<string>;
|
|
98
101
|
/**
|
|
@@ -120,6 +123,7 @@ export interface StorageCredentialState {
|
|
|
120
123
|
azureManagedIdentity?: pulumi.Input<inputs.StorageCredentialAzureManagedIdentity>;
|
|
121
124
|
azureServicePrincipal?: pulumi.Input<inputs.StorageCredentialAzureServicePrincipal>;
|
|
122
125
|
comment?: pulumi.Input<string>;
|
|
126
|
+
databricksGcpServiceAccount?: pulumi.Input<inputs.StorageCredentialDatabricksGcpServiceAccount>;
|
|
123
127
|
gcpServiceAccountKey?: pulumi.Input<inputs.StorageCredentialGcpServiceAccountKey>;
|
|
124
128
|
metastoreId?: pulumi.Input<string>;
|
|
125
129
|
/**
|
|
@@ -139,6 +143,7 @@ export interface StorageCredentialArgs {
|
|
|
139
143
|
azureManagedIdentity?: pulumi.Input<inputs.StorageCredentialAzureManagedIdentity>;
|
|
140
144
|
azureServicePrincipal?: pulumi.Input<inputs.StorageCredentialAzureServicePrincipal>;
|
|
141
145
|
comment?: pulumi.Input<string>;
|
|
146
|
+
databricksGcpServiceAccount?: pulumi.Input<inputs.StorageCredentialDatabricksGcpServiceAccount>;
|
|
142
147
|
gcpServiceAccountKey?: pulumi.Input<inputs.StorageCredentialGcpServiceAccountKey>;
|
|
143
148
|
metastoreId?: pulumi.Input<string>;
|
|
144
149
|
/**
|
package/storageCredential.js
CHANGED
|
@@ -38,25 +38,11 @@ const utilities = require("./utilities");
|
|
|
38
38
|
*
|
|
39
39
|
* ```typescript
|
|
40
40
|
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
-
* import * as azure from "@pulumi/azure";
|
|
42
41
|
* import * as databricks from "@pulumi/databricks";
|
|
43
42
|
*
|
|
44
|
-
* const this = azure.core.getResourceGroup({
|
|
45
|
-
* name: "example-rg",
|
|
46
|
-
* });
|
|
47
|
-
* const example = new azure.databricks.AccessConnector("example", {
|
|
48
|
-
* resourceGroupName: azurerm_resource_group["this"].name,
|
|
49
|
-
* location: azurerm_resource_group["this"].location,
|
|
50
|
-
* identity: {
|
|
51
|
-
* type: "SystemAssigned",
|
|
52
|
-
* },
|
|
53
|
-
* tags: {
|
|
54
|
-
* Environment: "Production",
|
|
55
|
-
* },
|
|
56
|
-
* });
|
|
57
43
|
* const externalMi = new databricks.StorageCredential("externalMi", {
|
|
58
44
|
* azureManagedIdentity: {
|
|
59
|
-
* accessConnectorId: example.id,
|
|
45
|
+
* accessConnectorId: azurerm_databricks_access_connector.example.id,
|
|
60
46
|
* },
|
|
61
47
|
* comment: "Managed identity credential managed by TF",
|
|
62
48
|
* });
|
|
@@ -69,6 +55,22 @@ const utilities = require("./utilities");
|
|
|
69
55
|
* });
|
|
70
56
|
* ```
|
|
71
57
|
*
|
|
58
|
+
* For GCP
|
|
59
|
+
*
|
|
60
|
+
* ```typescript
|
|
61
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
+
* import * as databricks from "@pulumi/databricks";
|
|
63
|
+
*
|
|
64
|
+
* const external = new databricks.StorageCredential("external", {databricksGcpServiceAccount: {}});
|
|
65
|
+
* const externalCreds = new databricks.Grants("externalCreds", {
|
|
66
|
+
* storageCredential: external.id,
|
|
67
|
+
* grants: [{
|
|
68
|
+
* principal: "Data Engineers",
|
|
69
|
+
* privileges: ["CREATE_TABLE"],
|
|
70
|
+
* }],
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
72
74
|
* ## Import
|
|
73
75
|
*
|
|
74
76
|
* This resource can be imported by namebash
|
|
@@ -109,6 +111,7 @@ class StorageCredential extends pulumi.CustomResource {
|
|
|
109
111
|
resourceInputs["azureManagedIdentity"] = state ? state.azureManagedIdentity : undefined;
|
|
110
112
|
resourceInputs["azureServicePrincipal"] = state ? state.azureServicePrincipal : undefined;
|
|
111
113
|
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
114
|
+
resourceInputs["databricksGcpServiceAccount"] = state ? state.databricksGcpServiceAccount : undefined;
|
|
112
115
|
resourceInputs["gcpServiceAccountKey"] = state ? state.gcpServiceAccountKey : undefined;
|
|
113
116
|
resourceInputs["metastoreId"] = state ? state.metastoreId : undefined;
|
|
114
117
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
@@ -120,6 +123,7 @@ class StorageCredential extends pulumi.CustomResource {
|
|
|
120
123
|
resourceInputs["azureManagedIdentity"] = args ? args.azureManagedIdentity : undefined;
|
|
121
124
|
resourceInputs["azureServicePrincipal"] = args ? args.azureServicePrincipal : undefined;
|
|
122
125
|
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
126
|
+
resourceInputs["databricksGcpServiceAccount"] = args ? args.databricksGcpServiceAccount : undefined;
|
|
123
127
|
resourceInputs["gcpServiceAccountKey"] = args ? args.gcpServiceAccountKey : undefined;
|
|
124
128
|
resourceInputs["metastoreId"] = args ? args.metastoreId : undefined;
|
|
125
129
|
resourceInputs["name"] = args ? args.name : undefined;
|
package/storageCredential.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storageCredential.js","sourceRoot":"","sources":["../storageCredential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"storageCredential.js","sourceRoot":"","sources":["../storageCredential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAhFL,8CAiFC;AAnEG,gBAAgB;AACO,8BAAY,GAAG,sDAAsD,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -486,19 +486,43 @@ export interface GetClusterClusterInfoGcpAttributesArgs {
|
|
|
486
486
|
zoneId?: pulumi.Input<string>;
|
|
487
487
|
}
|
|
488
488
|
export interface GetClusterClusterInfoInitScript {
|
|
489
|
+
abfss?: inputs.GetClusterClusterInfoInitScriptAbfss;
|
|
489
490
|
dbfs?: inputs.GetClusterClusterInfoInitScriptDbfs;
|
|
491
|
+
file?: inputs.GetClusterClusterInfoInitScriptFile;
|
|
492
|
+
gcs?: inputs.GetClusterClusterInfoInitScriptGcs;
|
|
490
493
|
s3?: inputs.GetClusterClusterInfoInitScriptS3;
|
|
491
494
|
}
|
|
492
495
|
export interface GetClusterClusterInfoInitScriptArgs {
|
|
496
|
+
abfss?: pulumi.Input<inputs.GetClusterClusterInfoInitScriptAbfssArgs>;
|
|
493
497
|
dbfs?: pulumi.Input<inputs.GetClusterClusterInfoInitScriptDbfsArgs>;
|
|
498
|
+
file?: pulumi.Input<inputs.GetClusterClusterInfoInitScriptFileArgs>;
|
|
499
|
+
gcs?: pulumi.Input<inputs.GetClusterClusterInfoInitScriptGcsArgs>;
|
|
494
500
|
s3?: pulumi.Input<inputs.GetClusterClusterInfoInitScriptS3Args>;
|
|
495
501
|
}
|
|
502
|
+
export interface GetClusterClusterInfoInitScriptAbfss {
|
|
503
|
+
destination?: string;
|
|
504
|
+
}
|
|
505
|
+
export interface GetClusterClusterInfoInitScriptAbfssArgs {
|
|
506
|
+
destination?: pulumi.Input<string>;
|
|
507
|
+
}
|
|
496
508
|
export interface GetClusterClusterInfoInitScriptDbfs {
|
|
497
509
|
destination: string;
|
|
498
510
|
}
|
|
499
511
|
export interface GetClusterClusterInfoInitScriptDbfsArgs {
|
|
500
512
|
destination: pulumi.Input<string>;
|
|
501
513
|
}
|
|
514
|
+
export interface GetClusterClusterInfoInitScriptFile {
|
|
515
|
+
destination?: string;
|
|
516
|
+
}
|
|
517
|
+
export interface GetClusterClusterInfoInitScriptFileArgs {
|
|
518
|
+
destination?: pulumi.Input<string>;
|
|
519
|
+
}
|
|
520
|
+
export interface GetClusterClusterInfoInitScriptGcs {
|
|
521
|
+
destination?: string;
|
|
522
|
+
}
|
|
523
|
+
export interface GetClusterClusterInfoInitScriptGcsArgs {
|
|
524
|
+
destination?: pulumi.Input<string>;
|
|
525
|
+
}
|
|
502
526
|
export interface GetClusterClusterInfoInitScriptS3 {
|
|
503
527
|
cannedAcl?: string;
|
|
504
528
|
destination: string;
|
|
@@ -3044,7 +3068,16 @@ export interface MetastoreDataAccessAzureServicePrincipal {
|
|
|
3044
3068
|
*/
|
|
3045
3069
|
directoryId: pulumi.Input<string>;
|
|
3046
3070
|
}
|
|
3071
|
+
export interface MetastoreDataAccessDatabricksGcpServiceAccount {
|
|
3072
|
+
/**
|
|
3073
|
+
* The email of the GCP service account created, to be granted access to relevant buckets.
|
|
3074
|
+
*/
|
|
3075
|
+
email?: pulumi.Input<string>;
|
|
3076
|
+
}
|
|
3047
3077
|
export interface MetastoreDataAccessGcpServiceAccountKey {
|
|
3078
|
+
/**
|
|
3079
|
+
* The email of the GCP service account created, to be granted access to relevant buckets.
|
|
3080
|
+
*/
|
|
3048
3081
|
email: pulumi.Input<string>;
|
|
3049
3082
|
privateKey: pulumi.Input<string>;
|
|
3050
3083
|
privateKeyId: pulumi.Input<string>;
|
|
@@ -3085,6 +3118,54 @@ export interface MlflowWebhookJobSpec {
|
|
|
3085
3118
|
*/
|
|
3086
3119
|
workspaceUrl?: pulumi.Input<string>;
|
|
3087
3120
|
}
|
|
3121
|
+
export interface ModelServingConfig {
|
|
3122
|
+
/**
|
|
3123
|
+
* Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models.
|
|
3124
|
+
*/
|
|
3125
|
+
servedModels: pulumi.Input<pulumi.Input<inputs.ModelServingConfigServedModel>[]>;
|
|
3126
|
+
/**
|
|
3127
|
+
* A single block represents the traffic split configuration amongst the served models.
|
|
3128
|
+
*/
|
|
3129
|
+
trafficConfig?: pulumi.Input<inputs.ModelServingConfigTrafficConfig>;
|
|
3130
|
+
}
|
|
3131
|
+
export interface ModelServingConfigServedModel {
|
|
3132
|
+
/**
|
|
3133
|
+
* The name of the model in Databricks Model Registry to be served.
|
|
3134
|
+
*/
|
|
3135
|
+
modelName: pulumi.Input<string>;
|
|
3136
|
+
/**
|
|
3137
|
+
* The version of the model in Databricks Model Registry to be served.
|
|
3138
|
+
*/
|
|
3139
|
+
modelVersion: pulumi.Input<string>;
|
|
3140
|
+
/**
|
|
3141
|
+
* The name of a served model. It must be unique across an endpoint. If not specified, this field will default to `modelname-modelversion`. A served model name can consist of alphanumeric characters, dashes, and underscores.
|
|
3142
|
+
*/
|
|
3143
|
+
name?: pulumi.Input<string>;
|
|
3144
|
+
/**
|
|
3145
|
+
* Whether the compute resources for the served model should scale down to zero. If scale-to-zero is enabled, the lower bound of the provisioned concurrency for each workload size will be 0. The default value is `true`.
|
|
3146
|
+
*/
|
|
3147
|
+
scaleToZeroEnabled?: pulumi.Input<boolean>;
|
|
3148
|
+
/**
|
|
3149
|
+
* The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are "Small" (4 - 4 provisioned concurrency), "Medium" (8 - 16 provisioned concurrency), and "Large" (16 - 64 provisioned concurrency).
|
|
3150
|
+
*/
|
|
3151
|
+
workloadSize: pulumi.Input<string>;
|
|
3152
|
+
}
|
|
3153
|
+
export interface ModelServingConfigTrafficConfig {
|
|
3154
|
+
/**
|
|
3155
|
+
* Each block represents a route that defines traffic to each served model. Each `servedModels` block needs to have a corresponding `routes` block
|
|
3156
|
+
*/
|
|
3157
|
+
routes?: pulumi.Input<pulumi.Input<inputs.ModelServingConfigTrafficConfigRoute>[]>;
|
|
3158
|
+
}
|
|
3159
|
+
export interface ModelServingConfigTrafficConfigRoute {
|
|
3160
|
+
/**
|
|
3161
|
+
* The name of the served model this route configures traffic for. This needs to match the name of a `servedModels` block
|
|
3162
|
+
*/
|
|
3163
|
+
servedModelName: pulumi.Input<string>;
|
|
3164
|
+
/**
|
|
3165
|
+
* The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive.
|
|
3166
|
+
*/
|
|
3167
|
+
trafficPercentage: pulumi.Input<number>;
|
|
3168
|
+
}
|
|
3088
3169
|
export interface MountAbfs {
|
|
3089
3170
|
clientId: pulumi.Input<string>;
|
|
3090
3171
|
clientSecretKey: pulumi.Input<string>;
|
|
@@ -3171,6 +3252,28 @@ export interface MwsNetworksVpcEndpoints {
|
|
|
3171
3252
|
dataplaneRelays: pulumi.Input<pulumi.Input<string>[]>;
|
|
3172
3253
|
restApis: pulumi.Input<pulumi.Input<string>[]>;
|
|
3173
3254
|
}
|
|
3255
|
+
export interface MwsVpcEndpointGcpVpcEndpointInfo {
|
|
3256
|
+
/**
|
|
3257
|
+
* Region of the PSC endpoint.
|
|
3258
|
+
*/
|
|
3259
|
+
endpointRegion: pulumi.Input<string>;
|
|
3260
|
+
/**
|
|
3261
|
+
* The Google Cloud project ID of the VPC network where the PSC connection resides.
|
|
3262
|
+
*/
|
|
3263
|
+
projectId: pulumi.Input<string>;
|
|
3264
|
+
/**
|
|
3265
|
+
* The unique ID of this PSC connection.
|
|
3266
|
+
*/
|
|
3267
|
+
pscConnectionId?: pulumi.Input<string>;
|
|
3268
|
+
/**
|
|
3269
|
+
* The name of the PSC endpoint in the Google Cloud project.
|
|
3270
|
+
*/
|
|
3271
|
+
pscEndpointName: pulumi.Input<string>;
|
|
3272
|
+
/**
|
|
3273
|
+
* The service attachment this PSC connection connects to.
|
|
3274
|
+
*/
|
|
3275
|
+
serviceAttachmentId?: pulumi.Input<string>;
|
|
3276
|
+
}
|
|
3174
3277
|
export interface MwsWorkspacesCloudResourceContainer {
|
|
3175
3278
|
/**
|
|
3176
3279
|
* A block that consists of the following field:
|
|
@@ -3195,7 +3298,7 @@ export interface MwsWorkspacesGcpManagedNetworkConfig {
|
|
|
3195
3298
|
}
|
|
3196
3299
|
export interface MwsWorkspacesGkeConfig {
|
|
3197
3300
|
/**
|
|
3198
|
-
* Specifies the network connectivity types for the GKE nodes and the GKE master network. Possible values are: `PRIVATE_NODE_PUBLIC_MASTER`, `PUBLIC_NODE_PUBLIC_MASTER
|
|
3301
|
+
* Specifies the network connectivity types for the GKE nodes and the GKE master network. Possible values are: `PRIVATE_NODE_PUBLIC_MASTER`, `PUBLIC_NODE_PUBLIC_MASTER`.
|
|
3199
3302
|
*/
|
|
3200
3303
|
connectivityType: pulumi.Input<string>;
|
|
3201
3304
|
/**
|
|
@@ -3425,6 +3528,32 @@ export interface ShareObjectPartitionValue {
|
|
|
3425
3528
|
*/
|
|
3426
3529
|
value?: pulumi.Input<string>;
|
|
3427
3530
|
}
|
|
3531
|
+
export interface SqlAlertOptions {
|
|
3532
|
+
/**
|
|
3533
|
+
* Name of column in the query result to compare in alert evaluation.
|
|
3534
|
+
*/
|
|
3535
|
+
column: pulumi.Input<string>;
|
|
3536
|
+
/**
|
|
3537
|
+
* Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions.
|
|
3538
|
+
*/
|
|
3539
|
+
customBody?: pulumi.Input<string>;
|
|
3540
|
+
/**
|
|
3541
|
+
* Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions.
|
|
3542
|
+
*/
|
|
3543
|
+
customSubject?: pulumi.Input<string>;
|
|
3544
|
+
/**
|
|
3545
|
+
* Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered.
|
|
3546
|
+
*/
|
|
3547
|
+
muted?: pulumi.Input<boolean>;
|
|
3548
|
+
/**
|
|
3549
|
+
* Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`)
|
|
3550
|
+
*/
|
|
3551
|
+
op: pulumi.Input<string>;
|
|
3552
|
+
/**
|
|
3553
|
+
* Value used to compare in alert evaluation.
|
|
3554
|
+
*/
|
|
3555
|
+
value: pulumi.Input<string>;
|
|
3556
|
+
}
|
|
3428
3557
|
export interface SqlEndpointChannel {
|
|
3429
3558
|
/**
|
|
3430
3559
|
* Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`.
|
|
@@ -3591,7 +3720,16 @@ export interface StorageCredentialAzureServicePrincipal {
|
|
|
3591
3720
|
*/
|
|
3592
3721
|
directoryId: pulumi.Input<string>;
|
|
3593
3722
|
}
|
|
3723
|
+
export interface StorageCredentialDatabricksGcpServiceAccount {
|
|
3724
|
+
/**
|
|
3725
|
+
* The email of the GCP service account created, to be granted access to relevant buckets.
|
|
3726
|
+
*/
|
|
3727
|
+
email?: pulumi.Input<string>;
|
|
3728
|
+
}
|
|
3594
3729
|
export interface StorageCredentialGcpServiceAccountKey {
|
|
3730
|
+
/**
|
|
3731
|
+
* The email of the GCP service account created, to be granted access to relevant buckets.
|
|
3732
|
+
*/
|
|
3595
3733
|
email: pulumi.Input<string>;
|
|
3596
3734
|
privateKey: pulumi.Input<string>;
|
|
3597
3735
|
privateKeyId: pulumi.Input<string>;
|
package/types/output.d.ts
CHANGED
|
@@ -300,12 +300,24 @@ export interface GetClusterClusterInfoGcpAttributes {
|
|
|
300
300
|
zoneId?: string;
|
|
301
301
|
}
|
|
302
302
|
export interface GetClusterClusterInfoInitScript {
|
|
303
|
+
abfss?: outputs.GetClusterClusterInfoInitScriptAbfss;
|
|
303
304
|
dbfs?: outputs.GetClusterClusterInfoInitScriptDbfs;
|
|
305
|
+
file?: outputs.GetClusterClusterInfoInitScriptFile;
|
|
306
|
+
gcs?: outputs.GetClusterClusterInfoInitScriptGcs;
|
|
304
307
|
s3?: outputs.GetClusterClusterInfoInitScriptS3;
|
|
305
308
|
}
|
|
309
|
+
export interface GetClusterClusterInfoInitScriptAbfss {
|
|
310
|
+
destination?: string;
|
|
311
|
+
}
|
|
306
312
|
export interface GetClusterClusterInfoInitScriptDbfs {
|
|
307
313
|
destination: string;
|
|
308
314
|
}
|
|
315
|
+
export interface GetClusterClusterInfoInitScriptFile {
|
|
316
|
+
destination?: string;
|
|
317
|
+
}
|
|
318
|
+
export interface GetClusterClusterInfoInitScriptGcs {
|
|
319
|
+
destination?: string;
|
|
320
|
+
}
|
|
309
321
|
export interface GetClusterClusterInfoInitScriptS3 {
|
|
310
322
|
cannedAcl?: string;
|
|
311
323
|
destination: string;
|
|
@@ -2068,7 +2080,16 @@ export interface MetastoreDataAccessAzureServicePrincipal {
|
|
|
2068
2080
|
*/
|
|
2069
2081
|
directoryId: string;
|
|
2070
2082
|
}
|
|
2083
|
+
export interface MetastoreDataAccessDatabricksGcpServiceAccount {
|
|
2084
|
+
/**
|
|
2085
|
+
* The email of the GCP service account created, to be granted access to relevant buckets.
|
|
2086
|
+
*/
|
|
2087
|
+
email: string;
|
|
2088
|
+
}
|
|
2071
2089
|
export interface MetastoreDataAccessGcpServiceAccountKey {
|
|
2090
|
+
/**
|
|
2091
|
+
* The email of the GCP service account created, to be granted access to relevant buckets.
|
|
2092
|
+
*/
|
|
2072
2093
|
email: string;
|
|
2073
2094
|
privateKey: string;
|
|
2074
2095
|
privateKeyId: string;
|
|
@@ -2109,6 +2130,54 @@ export interface MlflowWebhookJobSpec {
|
|
|
2109
2130
|
*/
|
|
2110
2131
|
workspaceUrl?: string;
|
|
2111
2132
|
}
|
|
2133
|
+
export interface ModelServingConfig {
|
|
2134
|
+
/**
|
|
2135
|
+
* Each block represents a served model for the endpoint to serve. A model serving endpoint can have up to 10 served models.
|
|
2136
|
+
*/
|
|
2137
|
+
servedModels: outputs.ModelServingConfigServedModel[];
|
|
2138
|
+
/**
|
|
2139
|
+
* A single block represents the traffic split configuration amongst the served models.
|
|
2140
|
+
*/
|
|
2141
|
+
trafficConfig?: outputs.ModelServingConfigTrafficConfig;
|
|
2142
|
+
}
|
|
2143
|
+
export interface ModelServingConfigServedModel {
|
|
2144
|
+
/**
|
|
2145
|
+
* The name of the model in Databricks Model Registry to be served.
|
|
2146
|
+
*/
|
|
2147
|
+
modelName: string;
|
|
2148
|
+
/**
|
|
2149
|
+
* The version of the model in Databricks Model Registry to be served.
|
|
2150
|
+
*/
|
|
2151
|
+
modelVersion: string;
|
|
2152
|
+
/**
|
|
2153
|
+
* The name of a served model. It must be unique across an endpoint. If not specified, this field will default to `modelname-modelversion`. A served model name can consist of alphanumeric characters, dashes, and underscores.
|
|
2154
|
+
*/
|
|
2155
|
+
name: string;
|
|
2156
|
+
/**
|
|
2157
|
+
* Whether the compute resources for the served model should scale down to zero. If scale-to-zero is enabled, the lower bound of the provisioned concurrency for each workload size will be 0. The default value is `true`.
|
|
2158
|
+
*/
|
|
2159
|
+
scaleToZeroEnabled?: boolean;
|
|
2160
|
+
/**
|
|
2161
|
+
* The workload size of the served model. The workload size corresponds to a range of provisioned concurrency that the compute will autoscale between. A single unit of provisioned concurrency can process one request at a time. Valid workload sizes are "Small" (4 - 4 provisioned concurrency), "Medium" (8 - 16 provisioned concurrency), and "Large" (16 - 64 provisioned concurrency).
|
|
2162
|
+
*/
|
|
2163
|
+
workloadSize: string;
|
|
2164
|
+
}
|
|
2165
|
+
export interface ModelServingConfigTrafficConfig {
|
|
2166
|
+
/**
|
|
2167
|
+
* Each block represents a route that defines traffic to each served model. Each `servedModels` block needs to have a corresponding `routes` block
|
|
2168
|
+
*/
|
|
2169
|
+
routes?: outputs.ModelServingConfigTrafficConfigRoute[];
|
|
2170
|
+
}
|
|
2171
|
+
export interface ModelServingConfigTrafficConfigRoute {
|
|
2172
|
+
/**
|
|
2173
|
+
* The name of the served model this route configures traffic for. This needs to match the name of a `servedModels` block
|
|
2174
|
+
*/
|
|
2175
|
+
servedModelName: string;
|
|
2176
|
+
/**
|
|
2177
|
+
* The percentage of endpoint traffic to send to this route. It must be an integer between 0 and 100 inclusive.
|
|
2178
|
+
*/
|
|
2179
|
+
trafficPercentage: number;
|
|
2180
|
+
}
|
|
2112
2181
|
export interface MountAbfs {
|
|
2113
2182
|
clientId: string;
|
|
2114
2183
|
clientSecretKey: string;
|
|
@@ -2195,6 +2264,28 @@ export interface MwsNetworksVpcEndpoints {
|
|
|
2195
2264
|
dataplaneRelays: string[];
|
|
2196
2265
|
restApis: string[];
|
|
2197
2266
|
}
|
|
2267
|
+
export interface MwsVpcEndpointGcpVpcEndpointInfo {
|
|
2268
|
+
/**
|
|
2269
|
+
* Region of the PSC endpoint.
|
|
2270
|
+
*/
|
|
2271
|
+
endpointRegion: string;
|
|
2272
|
+
/**
|
|
2273
|
+
* The Google Cloud project ID of the VPC network where the PSC connection resides.
|
|
2274
|
+
*/
|
|
2275
|
+
projectId: string;
|
|
2276
|
+
/**
|
|
2277
|
+
* The unique ID of this PSC connection.
|
|
2278
|
+
*/
|
|
2279
|
+
pscConnectionId: string;
|
|
2280
|
+
/**
|
|
2281
|
+
* The name of the PSC endpoint in the Google Cloud project.
|
|
2282
|
+
*/
|
|
2283
|
+
pscEndpointName: string;
|
|
2284
|
+
/**
|
|
2285
|
+
* The service attachment this PSC connection connects to.
|
|
2286
|
+
*/
|
|
2287
|
+
serviceAttachmentId: string;
|
|
2288
|
+
}
|
|
2198
2289
|
export interface MwsWorkspacesCloudResourceContainer {
|
|
2199
2290
|
/**
|
|
2200
2291
|
* A block that consists of the following field:
|
|
@@ -2219,7 +2310,7 @@ export interface MwsWorkspacesGcpManagedNetworkConfig {
|
|
|
2219
2310
|
}
|
|
2220
2311
|
export interface MwsWorkspacesGkeConfig {
|
|
2221
2312
|
/**
|
|
2222
|
-
* Specifies the network connectivity types for the GKE nodes and the GKE master network. Possible values are: `PRIVATE_NODE_PUBLIC_MASTER`, `PUBLIC_NODE_PUBLIC_MASTER
|
|
2313
|
+
* Specifies the network connectivity types for the GKE nodes and the GKE master network. Possible values are: `PRIVATE_NODE_PUBLIC_MASTER`, `PUBLIC_NODE_PUBLIC_MASTER`.
|
|
2223
2314
|
*/
|
|
2224
2315
|
connectivityType: string;
|
|
2225
2316
|
/**
|
|
@@ -2449,6 +2540,32 @@ export interface ShareObjectPartitionValue {
|
|
|
2449
2540
|
*/
|
|
2450
2541
|
value?: string;
|
|
2451
2542
|
}
|
|
2543
|
+
export interface SqlAlertOptions {
|
|
2544
|
+
/**
|
|
2545
|
+
* Name of column in the query result to compare in alert evaluation.
|
|
2546
|
+
*/
|
|
2547
|
+
column: string;
|
|
2548
|
+
/**
|
|
2549
|
+
* Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions.
|
|
2550
|
+
*/
|
|
2551
|
+
customBody?: string;
|
|
2552
|
+
/**
|
|
2553
|
+
* Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/sql/user/alerts/index.html) for custom templating instructions.
|
|
2554
|
+
*/
|
|
2555
|
+
customSubject?: string;
|
|
2556
|
+
/**
|
|
2557
|
+
* Whether or not the alert is muted. If an alert is muted, it will not notify users and alert destinations when triggered.
|
|
2558
|
+
*/
|
|
2559
|
+
muted?: boolean;
|
|
2560
|
+
/**
|
|
2561
|
+
* Operator used to compare in alert evaluation. (Enum: `>`, `>=`, `<`, `<=`, `==`, `!=`)
|
|
2562
|
+
*/
|
|
2563
|
+
op: string;
|
|
2564
|
+
/**
|
|
2565
|
+
* Value used to compare in alert evaluation.
|
|
2566
|
+
*/
|
|
2567
|
+
value: string;
|
|
2568
|
+
}
|
|
2452
2569
|
export interface SqlEndpointChannel {
|
|
2453
2570
|
/**
|
|
2454
2571
|
* Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`.
|
|
@@ -2615,7 +2732,16 @@ export interface StorageCredentialAzureServicePrincipal {
|
|
|
2615
2732
|
*/
|
|
2616
2733
|
directoryId: string;
|
|
2617
2734
|
}
|
|
2735
|
+
export interface StorageCredentialDatabricksGcpServiceAccount {
|
|
2736
|
+
/**
|
|
2737
|
+
* The email of the GCP service account created, to be granted access to relevant buckets.
|
|
2738
|
+
*/
|
|
2739
|
+
email: string;
|
|
2740
|
+
}
|
|
2618
2741
|
export interface StorageCredentialGcpServiceAccountKey {
|
|
2742
|
+
/**
|
|
2743
|
+
* The email of the GCP service account created, to be granted access to relevant buckets.
|
|
2744
|
+
*/
|
|
2619
2745
|
email: string;
|
|
2620
2746
|
privateKey: string;
|
|
2621
2747
|
privateKeyId: string;
|