@pulumi/databricks 0.4.1 → 1.1.0-alpha.1658419539
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/catalog.d.ts +3 -3
- package/cluster.d.ts +12 -12
- package/externalLocation.d.ts +3 -3
- package/getAwsCrossAccountPolicy.d.ts +1 -1
- package/getAwsCrossAccountPolicy.js +1 -1
- package/getCurrentUser.d.ts +1 -0
- package/getCurrentUser.js +1 -0
- package/getCurrentUser.js.map +1 -1
- package/getNodeType.d.ts +3 -0
- package/getNodeType.js +1 -0
- package/getNodeType.js.map +1 -1
- package/getServicePrincipal.d.ts +117 -0
- package/getServicePrincipal.js +43 -0
- package/getServicePrincipal.js.map +1 -0
- package/getServicePrincipals.d.ts +57 -0
- package/getServicePrincipals.js +38 -0
- package/getServicePrincipals.js.map +1 -0
- package/getUser.d.ts +1 -0
- package/getUser.js.map +1 -1
- package/gitCredential.d.ts +0 -9
- package/gitCredential.js.map +1 -1
- package/grants.d.ts +3 -0
- package/grants.js +2 -0
- package/grants.js.map +1 -1
- package/index.d.ts +2 -4
- package/index.js +2 -20
- package/index.js.map +1 -1
- package/instanceProfile.d.ts +2 -2
- package/instanceProfile.js +2 -2
- package/ipAccessList.d.ts +3 -3
- package/library.d.ts +3 -3
- package/library.js +3 -3
- package/metastore.d.ts +60 -3
- package/metastore.js +20 -0
- package/metastore.js.map +1 -1
- package/metastoreDataAccess.d.ts +3 -0
- package/metastoreDataAccess.js +2 -0
- package/metastoreDataAccess.js.map +1 -1
- package/mlflowWebhook.d.ts +3 -3
- package/mwsLogDelivery.d.ts +12 -1
- package/mwsLogDelivery.js +3 -1
- package/mwsLogDelivery.js.map +1 -1
- package/mwsNetworks.d.ts +3 -3
- package/oboToken.d.ts +3 -16
- package/oboToken.js +0 -13
- package/oboToken.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/permissions.d.ts +86 -2
- package/permissions.js +22 -2
- package/permissions.js.map +1 -1
- package/pipeline.d.ts +60 -16
- package/pipeline.js +8 -7
- package/pipeline.js.map +1 -1
- package/repo.d.ts +6 -6
- package/schema.d.ts +3 -3
- package/sqlDashboard.d.ts +5 -1
- package/sqlDashboard.js +5 -1
- package/sqlDashboard.js.map +1 -1
- package/sqlEndpoint.d.ts +3 -3
- package/sqlGlobalConfig.d.ts +1 -1
- package/sqlGlobalConfig.js +1 -1
- package/sqlQuery.d.ts +5 -1
- package/sqlQuery.js +5 -1
- package/sqlQuery.js.map +1 -1
- package/sqlVisualization.d.ts +5 -1
- package/sqlVisualization.js +5 -1
- package/sqlVisualization.js.map +1 -1
- package/sqlWidget.d.ts +5 -1
- package/sqlWidget.js +5 -1
- package/sqlWidget.js.map +1 -1
- package/storageCredential.d.ts +15 -3
- package/storageCredential.js +13 -3
- package/storageCredential.js.map +1 -1
- package/table.d.ts +3 -3
- package/token.d.ts +1 -1
- package/token.js +1 -1
- package/types/input.d.ts +55 -5
- package/types/output.d.ts +55 -5
- package/user.d.ts +1 -1
- package/user.js +1 -1
- package/userInstanceProfile.d.ts +1 -1
- package/userInstanceProfile.js +1 -1
- package/userRole.d.ts +1 -1
- package/userRole.js +1 -1
- package/workspaceConf.d.ts +3 -3
- package/awsS3Mount.d.ts +0 -50
- package/awsS3Mount.js +0 -63
- package/awsS3Mount.js.map +0 -1
- package/azureAdlsGen1Mount.d.ts +0 -65
- package/azureAdlsGen1Mount.js +0 -85
- package/azureAdlsGen1Mount.js.map +0 -1
- package/azureAdlsGen2Mount.d.ts +0 -68
- package/azureAdlsGen2Mount.js +0 -93
- package/azureAdlsGen2Mount.js.map +0 -1
- package/azureBlobMount.d.ts +0 -62
- package/azureBlobMount.js +0 -83
- package/azureBlobMount.js.map +0 -1
package/mwsNetworks.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export declare class MwsNetworks extends pulumi.CustomResource {
|
|
|
32
32
|
*/
|
|
33
33
|
readonly networkId: pulumi.Output<string>;
|
|
34
34
|
/**
|
|
35
|
-
* name under which this network is
|
|
35
|
+
* name under which this network is registered
|
|
36
36
|
*/
|
|
37
37
|
readonly networkName: pulumi.Output<string>;
|
|
38
38
|
readonly securityGroupIds: pulumi.Output<string[]>;
|
|
@@ -74,7 +74,7 @@ export interface MwsNetworksState {
|
|
|
74
74
|
*/
|
|
75
75
|
networkId?: pulumi.Input<string>;
|
|
76
76
|
/**
|
|
77
|
-
* name under which this network is
|
|
77
|
+
* name under which this network is registered
|
|
78
78
|
*/
|
|
79
79
|
networkName?: pulumi.Input<string>;
|
|
80
80
|
securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
@@ -108,7 +108,7 @@ export interface MwsNetworksArgs {
|
|
|
108
108
|
*/
|
|
109
109
|
networkId?: pulumi.Input<string>;
|
|
110
110
|
/**
|
|
111
|
-
* name under which this network is
|
|
111
|
+
* name under which this network is registered
|
|
112
112
|
*/
|
|
113
113
|
networkName: pulumi.Input<string>;
|
|
114
114
|
securityGroupIds: pulumi.Input<pulumi.Input<string>[]>;
|
package/oboToken.d.ts
CHANGED
|
@@ -1,18 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* This resource creates [On-Behalf-Of tokens](https://docs.databricks.com/administration-guide/users-groups/service-principals.html#manage-personal-access-tokens-for-a-service-principal) for a databricks.ServicePrincipal in Databricks workspaces on AWS. It is very useful, when you want to provision resources within a workspace through narrowly-scoped service principal, that has no access to other workspaces within the same Databricks Account.
|
|
4
|
-
*
|
|
5
|
-
* ## Related Resources
|
|
6
|
-
*
|
|
7
|
-
* The following resources are often used in the same context:
|
|
8
|
-
*
|
|
9
|
-
* * End to end workspace management guide.
|
|
10
|
-
* * databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
|
|
11
|
-
* * databricksGroupMember to attach users and groups as group members.
|
|
12
|
-
* * databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.
|
|
13
|
-
* * databricks.ServicePrincipal to manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to databricks.Group within workspace.
|
|
14
|
-
* * databricks.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and [more](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html).
|
|
15
|
-
*
|
|
16
3
|
* ## Import
|
|
17
4
|
*
|
|
18
5
|
* -> **Note** Importing this resource is not currently supported.
|
|
@@ -34,7 +21,7 @@ export declare class OboToken extends pulumi.CustomResource {
|
|
|
34
21
|
*/
|
|
35
22
|
static isInstance(obj: any): obj is OboToken;
|
|
36
23
|
/**
|
|
37
|
-
* Application ID of databricks.ServicePrincipal to create PAT token for.
|
|
24
|
+
* Application ID of databricks.ServicePrincipal to create a PAT token for.
|
|
38
25
|
*/
|
|
39
26
|
readonly applicationId: pulumi.Output<string>;
|
|
40
27
|
/**
|
|
@@ -63,7 +50,7 @@ export declare class OboToken extends pulumi.CustomResource {
|
|
|
63
50
|
*/
|
|
64
51
|
export interface OboTokenState {
|
|
65
52
|
/**
|
|
66
|
-
* Application ID of databricks.ServicePrincipal to create PAT token for.
|
|
53
|
+
* Application ID of databricks.ServicePrincipal to create a PAT token for.
|
|
67
54
|
*/
|
|
68
55
|
applicationId?: pulumi.Input<string>;
|
|
69
56
|
/**
|
|
@@ -84,7 +71,7 @@ export interface OboTokenState {
|
|
|
84
71
|
*/
|
|
85
72
|
export interface OboTokenArgs {
|
|
86
73
|
/**
|
|
87
|
-
* Application ID of databricks.ServicePrincipal to create PAT token for.
|
|
74
|
+
* Application ID of databricks.ServicePrincipal to create a PAT token for.
|
|
88
75
|
*/
|
|
89
76
|
applicationId: pulumi.Input<string>;
|
|
90
77
|
/**
|
package/oboToken.js
CHANGED
|
@@ -6,19 +6,6 @@ exports.OboToken = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* This resource creates [On-Behalf-Of tokens](https://docs.databricks.com/administration-guide/users-groups/service-principals.html#manage-personal-access-tokens-for-a-service-principal) for a databricks.ServicePrincipal in Databricks workspaces on AWS. It is very useful, when you want to provision resources within a workspace through narrowly-scoped service principal, that has no access to other workspaces within the same Databricks Account.
|
|
10
|
-
*
|
|
11
|
-
* ## Related Resources
|
|
12
|
-
*
|
|
13
|
-
* The following resources are often used in the same context:
|
|
14
|
-
*
|
|
15
|
-
* * End to end workspace management guide.
|
|
16
|
-
* * databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
|
|
17
|
-
* * databricksGroupMember to attach users and groups as group members.
|
|
18
|
-
* * databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.
|
|
19
|
-
* * databricks.ServicePrincipal to manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to databricks.Group within workspace.
|
|
20
|
-
* * databricks.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and [more](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html).
|
|
21
|
-
*
|
|
22
9
|
* ## Import
|
|
23
10
|
*
|
|
24
11
|
* -> **Note** Importing this resource is not currently supported.
|
package/oboToken.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oboToken.js","sourceRoot":"","sources":["../oboToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"oboToken.js","sourceRoot":"","sources":["../oboToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAqD/C,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE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,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;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;IA/ED;;;;;;;;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,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BAiFC;AAnEG,gBAAgB;AACO,qBAAY,GAAG,oCAAoC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/databricks",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "v1.1.0-alpha.1658419539+37c92634",
|
|
4
4
|
"description": "A Pulumi package for creating and managing databricks cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource databricks
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource databricks v1.1.0-alpha.1658419539+37c92634"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/databricks",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "v1.1.0-alpha.1658419539+37c92634",
|
|
4
4
|
"description": "A Pulumi package for creating and managing databricks cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource databricks
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource databricks v1.1.0-alpha.1658419539+37c92634"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pulumi/pulumi": "^3.0.0"
|
package/permissions.d.ts
CHANGED
|
@@ -3,10 +3,28 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
3
3
|
/**
|
|
4
4
|
* ## Import
|
|
5
5
|
*
|
|
6
|
-
*
|
|
6
|
+
* ### Import Example Configuration filehcl resource "databricks_mlflow_model" "model" {
|
|
7
|
+
*
|
|
8
|
+
* name
|
|
9
|
+
*
|
|
10
|
+
* = "example_model"
|
|
11
|
+
*
|
|
12
|
+
* description = "MLflow registered model" } resource "databricks_permissions" "model_usage" {
|
|
13
|
+
*
|
|
14
|
+
* registered_model_id = databricks_mlflow_model.model.registered_model_id
|
|
15
|
+
*
|
|
16
|
+
* access_control {
|
|
17
|
+
*
|
|
18
|
+
* group_name
|
|
19
|
+
*
|
|
20
|
+
* = "users"
|
|
21
|
+
*
|
|
22
|
+
* permission_level = "CAN_READ"
|
|
23
|
+
*
|
|
24
|
+
* } } Import commandbash
|
|
7
25
|
*
|
|
8
26
|
* ```sh
|
|
9
|
-
* $ pulumi import databricks:index/permissions:Permissions
|
|
27
|
+
* $ pulumi import databricks:index/permissions:Permissions model_usage /registered-models/<registered_model_id>
|
|
10
28
|
* ```
|
|
11
29
|
*/
|
|
12
30
|
export declare class Permissions extends pulumi.CustomResource {
|
|
@@ -46,6 +64,9 @@ export declare class Permissions extends pulumi.CustomResource {
|
|
|
46
64
|
* path of directory
|
|
47
65
|
*/
|
|
48
66
|
readonly directoryPath: pulumi.Output<string | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* MLflow experiment id
|
|
69
|
+
*/
|
|
49
70
|
readonly experimentId: pulumi.Output<string | undefined>;
|
|
50
71
|
/**
|
|
51
72
|
* instance pool id
|
|
@@ -67,6 +88,13 @@ export declare class Permissions extends pulumi.CustomResource {
|
|
|
67
88
|
* type of permissions.
|
|
68
89
|
*/
|
|
69
90
|
readonly objectType: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* pipeline id
|
|
93
|
+
*/
|
|
94
|
+
readonly pipelineId: pulumi.Output<string | undefined>;
|
|
95
|
+
/**
|
|
96
|
+
* MLflow registered model id
|
|
97
|
+
*/
|
|
70
98
|
readonly registeredModelId: pulumi.Output<string | undefined>;
|
|
71
99
|
/**
|
|
72
100
|
* repo id
|
|
@@ -76,9 +104,21 @@ export declare class Permissions extends pulumi.CustomResource {
|
|
|
76
104
|
* path of databricks repo directory(`/Repos/<username>/...`)
|
|
77
105
|
*/
|
|
78
106
|
readonly repoPath: pulumi.Output<string | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* [SQL alert](https://docs.databricks.com/sql/user/security/access-control/alert-acl.html) id
|
|
109
|
+
*/
|
|
79
110
|
readonly sqlAlertId: pulumi.Output<string | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* SQL dashboard id
|
|
113
|
+
*/
|
|
80
114
|
readonly sqlDashboardId: pulumi.Output<string | undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* SQL endpoint id
|
|
117
|
+
*/
|
|
81
118
|
readonly sqlEndpointId: pulumi.Output<string | undefined>;
|
|
119
|
+
/**
|
|
120
|
+
* SQL query id
|
|
121
|
+
*/
|
|
82
122
|
readonly sqlQueryId: pulumi.Output<string | undefined>;
|
|
83
123
|
/**
|
|
84
124
|
* Create a Permissions resource with the given unique name, arguments, and options.
|
|
@@ -114,6 +154,9 @@ export interface PermissionsState {
|
|
|
114
154
|
* path of directory
|
|
115
155
|
*/
|
|
116
156
|
directoryPath?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* MLflow experiment id
|
|
159
|
+
*/
|
|
117
160
|
experimentId?: pulumi.Input<string>;
|
|
118
161
|
/**
|
|
119
162
|
* instance pool id
|
|
@@ -135,6 +178,13 @@ export interface PermissionsState {
|
|
|
135
178
|
* type of permissions.
|
|
136
179
|
*/
|
|
137
180
|
objectType?: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* pipeline id
|
|
183
|
+
*/
|
|
184
|
+
pipelineId?: pulumi.Input<string>;
|
|
185
|
+
/**
|
|
186
|
+
* MLflow registered model id
|
|
187
|
+
*/
|
|
138
188
|
registeredModelId?: pulumi.Input<string>;
|
|
139
189
|
/**
|
|
140
190
|
* repo id
|
|
@@ -144,9 +194,21 @@ export interface PermissionsState {
|
|
|
144
194
|
* path of databricks repo directory(`/Repos/<username>/...`)
|
|
145
195
|
*/
|
|
146
196
|
repoPath?: pulumi.Input<string>;
|
|
197
|
+
/**
|
|
198
|
+
* [SQL alert](https://docs.databricks.com/sql/user/security/access-control/alert-acl.html) id
|
|
199
|
+
*/
|
|
147
200
|
sqlAlertId?: pulumi.Input<string>;
|
|
201
|
+
/**
|
|
202
|
+
* SQL dashboard id
|
|
203
|
+
*/
|
|
148
204
|
sqlDashboardId?: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* SQL endpoint id
|
|
207
|
+
*/
|
|
149
208
|
sqlEndpointId?: pulumi.Input<string>;
|
|
209
|
+
/**
|
|
210
|
+
* SQL query id
|
|
211
|
+
*/
|
|
150
212
|
sqlQueryId?: pulumi.Input<string>;
|
|
151
213
|
}
|
|
152
214
|
/**
|
|
@@ -174,6 +236,9 @@ export interface PermissionsArgs {
|
|
|
174
236
|
* path of directory
|
|
175
237
|
*/
|
|
176
238
|
directoryPath?: pulumi.Input<string>;
|
|
239
|
+
/**
|
|
240
|
+
* MLflow experiment id
|
|
241
|
+
*/
|
|
177
242
|
experimentId?: pulumi.Input<string>;
|
|
178
243
|
/**
|
|
179
244
|
* instance pool id
|
|
@@ -195,6 +260,13 @@ export interface PermissionsArgs {
|
|
|
195
260
|
* type of permissions.
|
|
196
261
|
*/
|
|
197
262
|
objectType?: pulumi.Input<string>;
|
|
263
|
+
/**
|
|
264
|
+
* pipeline id
|
|
265
|
+
*/
|
|
266
|
+
pipelineId?: pulumi.Input<string>;
|
|
267
|
+
/**
|
|
268
|
+
* MLflow registered model id
|
|
269
|
+
*/
|
|
198
270
|
registeredModelId?: pulumi.Input<string>;
|
|
199
271
|
/**
|
|
200
272
|
* repo id
|
|
@@ -204,8 +276,20 @@ export interface PermissionsArgs {
|
|
|
204
276
|
* path of databricks repo directory(`/Repos/<username>/...`)
|
|
205
277
|
*/
|
|
206
278
|
repoPath?: pulumi.Input<string>;
|
|
279
|
+
/**
|
|
280
|
+
* [SQL alert](https://docs.databricks.com/sql/user/security/access-control/alert-acl.html) id
|
|
281
|
+
*/
|
|
207
282
|
sqlAlertId?: pulumi.Input<string>;
|
|
283
|
+
/**
|
|
284
|
+
* SQL dashboard id
|
|
285
|
+
*/
|
|
208
286
|
sqlDashboardId?: pulumi.Input<string>;
|
|
287
|
+
/**
|
|
288
|
+
* SQL endpoint id
|
|
289
|
+
*/
|
|
209
290
|
sqlEndpointId?: pulumi.Input<string>;
|
|
291
|
+
/**
|
|
292
|
+
* SQL query id
|
|
293
|
+
*/
|
|
210
294
|
sqlQueryId?: pulumi.Input<string>;
|
|
211
295
|
}
|
package/permissions.js
CHANGED
|
@@ -8,10 +8,28 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Import
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* ### Import Example Configuration filehcl resource "databricks_mlflow_model" "model" {
|
|
12
|
+
*
|
|
13
|
+
* name
|
|
14
|
+
*
|
|
15
|
+
* = "example_model"
|
|
16
|
+
*
|
|
17
|
+
* description = "MLflow registered model" } resource "databricks_permissions" "model_usage" {
|
|
18
|
+
*
|
|
19
|
+
* registered_model_id = databricks_mlflow_model.model.registered_model_id
|
|
20
|
+
*
|
|
21
|
+
* access_control {
|
|
22
|
+
*
|
|
23
|
+
* group_name
|
|
24
|
+
*
|
|
25
|
+
* = "users"
|
|
26
|
+
*
|
|
27
|
+
* permission_level = "CAN_READ"
|
|
28
|
+
*
|
|
29
|
+
* } } Import commandbash
|
|
12
30
|
*
|
|
13
31
|
* ```sh
|
|
14
|
-
* $ pulumi import databricks:index/permissions:Permissions
|
|
32
|
+
* $ pulumi import databricks:index/permissions:Permissions model_usage /registered-models/<registered_model_id>
|
|
15
33
|
* ```
|
|
16
34
|
*/
|
|
17
35
|
class Permissions extends pulumi.CustomResource {
|
|
@@ -32,6 +50,7 @@ class Permissions extends pulumi.CustomResource {
|
|
|
32
50
|
resourceInputs["notebookId"] = state ? state.notebookId : undefined;
|
|
33
51
|
resourceInputs["notebookPath"] = state ? state.notebookPath : undefined;
|
|
34
52
|
resourceInputs["objectType"] = state ? state.objectType : undefined;
|
|
53
|
+
resourceInputs["pipelineId"] = state ? state.pipelineId : undefined;
|
|
35
54
|
resourceInputs["registeredModelId"] = state ? state.registeredModelId : undefined;
|
|
36
55
|
resourceInputs["repoId"] = state ? state.repoId : undefined;
|
|
37
56
|
resourceInputs["repoPath"] = state ? state.repoPath : undefined;
|
|
@@ -57,6 +76,7 @@ class Permissions extends pulumi.CustomResource {
|
|
|
57
76
|
resourceInputs["notebookId"] = args ? args.notebookId : undefined;
|
|
58
77
|
resourceInputs["notebookPath"] = args ? args.notebookPath : undefined;
|
|
59
78
|
resourceInputs["objectType"] = args ? args.objectType : undefined;
|
|
79
|
+
resourceInputs["pipelineId"] = args ? args.pipelineId : undefined;
|
|
60
80
|
resourceInputs["registeredModelId"] = args ? args.registeredModelId : undefined;
|
|
61
81
|
resourceInputs["repoId"] = args ? args.repoId : undefined;
|
|
62
82
|
resourceInputs["repoPath"] = args ? args.repoPath : undefined;
|
package/permissions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permissions.js","sourceRoot":"","sources":["../permissions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"permissions.js","sourceRoot":"","sources":["../permissions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAkHlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,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;;AA1BL,kCAwKC;AA1JG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
package/pipeline.d.ts
CHANGED
|
@@ -38,10 +38,6 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
38
38
|
* path: dltDemo.id,
|
|
39
39
|
* },
|
|
40
40
|
* }],
|
|
41
|
-
* filters: {
|
|
42
|
-
* includes: ["com.databricks.include"],
|
|
43
|
-
* excludes: ["com.databricks.exclude"],
|
|
44
|
-
* },
|
|
45
41
|
* continuous: false,
|
|
46
42
|
* });
|
|
47
43
|
* ```
|
|
@@ -80,7 +76,11 @@ export declare class Pipeline extends pulumi.CustomResource {
|
|
|
80
76
|
static isInstance(obj: any): obj is Pipeline;
|
|
81
77
|
readonly allowDuplicateNames: pulumi.Output<boolean | undefined>;
|
|
82
78
|
/**
|
|
83
|
-
*
|
|
79
|
+
* optional name of the release channel for Spark version used by DLT pipeline. Supported values are: `current` (default) and `preview`.
|
|
80
|
+
*/
|
|
81
|
+
readonly channel: pulumi.Output<string | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* blocks - Clusters to run the pipeline. If none is specified, pipelines will automatically select a default cluster configuration for the pipeline. *Please note that DLT pipeline clusters are supporting only subset of attributes as described in [documentation](https://docs.databricks.com/data-engineering/delta-live-tables/delta-live-tables-api-guide.html#pipelinesnewcluster).*
|
|
84
84
|
*/
|
|
85
85
|
readonly clusters: pulumi.Output<outputs.PipelineCluster[] | undefined>;
|
|
86
86
|
/**
|
|
@@ -93,9 +93,17 @@ export declare class Pipeline extends pulumi.CustomResource {
|
|
|
93
93
|
* A flag indicating whether to run the pipeline continuously. The default value is `false`.
|
|
94
94
|
*/
|
|
95
95
|
readonly continuous: pulumi.Output<boolean | undefined>;
|
|
96
|
-
readonly filters: pulumi.Output<outputs.PipelineFilters>;
|
|
97
96
|
/**
|
|
98
|
-
*
|
|
97
|
+
* A flag indicating whether to run the pipeline in development mode. The default value is `false`.
|
|
98
|
+
*/
|
|
99
|
+
readonly development: pulumi.Output<boolean | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* optional name of the [product edition](https://docs.databricks.com/data-engineering/delta-live-tables/delta-live-tables-concepts.html#editions). Supported values are: `core`, `pro`, `advanced` (default).
|
|
102
|
+
*/
|
|
103
|
+
readonly edition: pulumi.Output<string | undefined>;
|
|
104
|
+
readonly filters: pulumi.Output<outputs.PipelineFilters | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* blocks - Specifies pipeline code and required artifacts. Syntax resembles library configuration block with the addition of a special `notebook` type of library that should have the `path` attribute. *Right now only the `notebook` type is supported.*
|
|
99
107
|
*/
|
|
100
108
|
readonly libraries: pulumi.Output<outputs.PipelineLibrary[] | undefined>;
|
|
101
109
|
/**
|
|
@@ -103,7 +111,11 @@ export declare class Pipeline extends pulumi.CustomResource {
|
|
|
103
111
|
*/
|
|
104
112
|
readonly name: pulumi.Output<string>;
|
|
105
113
|
/**
|
|
106
|
-
* A
|
|
114
|
+
* A flag indicating whether to use Photon engine. The default value is `false`.
|
|
115
|
+
*/
|
|
116
|
+
readonly photon: pulumi.Output<boolean | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* A location on DBFS or cloud storage where output data and metadata required for pipeline execution are stored. By default, tables are stored in a subdirectory of this location. *Change of this parameter forces recreation of the pipeline.*
|
|
107
119
|
*/
|
|
108
120
|
readonly storage: pulumi.Output<string | undefined>;
|
|
109
121
|
/**
|
|
@@ -118,7 +130,7 @@ export declare class Pipeline extends pulumi.CustomResource {
|
|
|
118
130
|
* @param args The arguments to use to populate this resource's properties.
|
|
119
131
|
* @param opts A bag of options that control this resource's behavior.
|
|
120
132
|
*/
|
|
121
|
-
constructor(name: string, args
|
|
133
|
+
constructor(name: string, args?: PipelineArgs, opts?: pulumi.CustomResourceOptions);
|
|
122
134
|
}
|
|
123
135
|
/**
|
|
124
136
|
* Input properties used for looking up and filtering Pipeline resources.
|
|
@@ -126,7 +138,11 @@ export declare class Pipeline extends pulumi.CustomResource {
|
|
|
126
138
|
export interface PipelineState {
|
|
127
139
|
allowDuplicateNames?: pulumi.Input<boolean>;
|
|
128
140
|
/**
|
|
129
|
-
*
|
|
141
|
+
* optional name of the release channel for Spark version used by DLT pipeline. Supported values are: `current` (default) and `preview`.
|
|
142
|
+
*/
|
|
143
|
+
channel?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* blocks - Clusters to run the pipeline. If none is specified, pipelines will automatically select a default cluster configuration for the pipeline. *Please note that DLT pipeline clusters are supporting only subset of attributes as described in [documentation](https://docs.databricks.com/data-engineering/delta-live-tables/delta-live-tables-api-guide.html#pipelinesnewcluster).*
|
|
130
146
|
*/
|
|
131
147
|
clusters?: pulumi.Input<pulumi.Input<inputs.PipelineCluster>[]>;
|
|
132
148
|
/**
|
|
@@ -139,9 +155,17 @@ export interface PipelineState {
|
|
|
139
155
|
* A flag indicating whether to run the pipeline continuously. The default value is `false`.
|
|
140
156
|
*/
|
|
141
157
|
continuous?: pulumi.Input<boolean>;
|
|
158
|
+
/**
|
|
159
|
+
* A flag indicating whether to run the pipeline in development mode. The default value is `false`.
|
|
160
|
+
*/
|
|
161
|
+
development?: pulumi.Input<boolean>;
|
|
162
|
+
/**
|
|
163
|
+
* optional name of the [product edition](https://docs.databricks.com/data-engineering/delta-live-tables/delta-live-tables-concepts.html#editions). Supported values are: `core`, `pro`, `advanced` (default).
|
|
164
|
+
*/
|
|
165
|
+
edition?: pulumi.Input<string>;
|
|
142
166
|
filters?: pulumi.Input<inputs.PipelineFilters>;
|
|
143
167
|
/**
|
|
144
|
-
* blocks - Specifies pipeline code and required artifacts. Syntax resembles library configuration block with the addition of a special `notebook` type of library that should have `path` attribute.
|
|
168
|
+
* blocks - Specifies pipeline code and required artifacts. Syntax resembles library configuration block with the addition of a special `notebook` type of library that should have the `path` attribute. *Right now only the `notebook` type is supported.*
|
|
145
169
|
*/
|
|
146
170
|
libraries?: pulumi.Input<pulumi.Input<inputs.PipelineLibrary>[]>;
|
|
147
171
|
/**
|
|
@@ -149,7 +173,11 @@ export interface PipelineState {
|
|
|
149
173
|
*/
|
|
150
174
|
name?: pulumi.Input<string>;
|
|
151
175
|
/**
|
|
152
|
-
* A
|
|
176
|
+
* A flag indicating whether to use Photon engine. The default value is `false`.
|
|
177
|
+
*/
|
|
178
|
+
photon?: pulumi.Input<boolean>;
|
|
179
|
+
/**
|
|
180
|
+
* A location on DBFS or cloud storage where output data and metadata required for pipeline execution are stored. By default, tables are stored in a subdirectory of this location. *Change of this parameter forces recreation of the pipeline.*
|
|
153
181
|
*/
|
|
154
182
|
storage?: pulumi.Input<string>;
|
|
155
183
|
/**
|
|
@@ -164,7 +192,11 @@ export interface PipelineState {
|
|
|
164
192
|
export interface PipelineArgs {
|
|
165
193
|
allowDuplicateNames?: pulumi.Input<boolean>;
|
|
166
194
|
/**
|
|
167
|
-
*
|
|
195
|
+
* optional name of the release channel for Spark version used by DLT pipeline. Supported values are: `current` (default) and `preview`.
|
|
196
|
+
*/
|
|
197
|
+
channel?: pulumi.Input<string>;
|
|
198
|
+
/**
|
|
199
|
+
* blocks - Clusters to run the pipeline. If none is specified, pipelines will automatically select a default cluster configuration for the pipeline. *Please note that DLT pipeline clusters are supporting only subset of attributes as described in [documentation](https://docs.databricks.com/data-engineering/delta-live-tables/delta-live-tables-api-guide.html#pipelinesnewcluster).*
|
|
168
200
|
*/
|
|
169
201
|
clusters?: pulumi.Input<pulumi.Input<inputs.PipelineCluster>[]>;
|
|
170
202
|
/**
|
|
@@ -177,9 +209,17 @@ export interface PipelineArgs {
|
|
|
177
209
|
* A flag indicating whether to run the pipeline continuously. The default value is `false`.
|
|
178
210
|
*/
|
|
179
211
|
continuous?: pulumi.Input<boolean>;
|
|
180
|
-
filters: pulumi.Input<inputs.PipelineFilters>;
|
|
181
212
|
/**
|
|
182
|
-
*
|
|
213
|
+
* A flag indicating whether to run the pipeline in development mode. The default value is `false`.
|
|
214
|
+
*/
|
|
215
|
+
development?: pulumi.Input<boolean>;
|
|
216
|
+
/**
|
|
217
|
+
* optional name of the [product edition](https://docs.databricks.com/data-engineering/delta-live-tables/delta-live-tables-concepts.html#editions). Supported values are: `core`, `pro`, `advanced` (default).
|
|
218
|
+
*/
|
|
219
|
+
edition?: pulumi.Input<string>;
|
|
220
|
+
filters?: pulumi.Input<inputs.PipelineFilters>;
|
|
221
|
+
/**
|
|
222
|
+
* blocks - Specifies pipeline code and required artifacts. Syntax resembles library configuration block with the addition of a special `notebook` type of library that should have the `path` attribute. *Right now only the `notebook` type is supported.*
|
|
183
223
|
*/
|
|
184
224
|
libraries?: pulumi.Input<pulumi.Input<inputs.PipelineLibrary>[]>;
|
|
185
225
|
/**
|
|
@@ -187,7 +227,11 @@ export interface PipelineArgs {
|
|
|
187
227
|
*/
|
|
188
228
|
name?: pulumi.Input<string>;
|
|
189
229
|
/**
|
|
190
|
-
* A
|
|
230
|
+
* A flag indicating whether to use Photon engine. The default value is `false`.
|
|
231
|
+
*/
|
|
232
|
+
photon?: pulumi.Input<boolean>;
|
|
233
|
+
/**
|
|
234
|
+
* A location on DBFS or cloud storage where output data and metadata required for pipeline execution are stored. By default, tables are stored in a subdirectory of this location. *Change of this parameter forces recreation of the pipeline.*
|
|
191
235
|
*/
|
|
192
236
|
storage?: pulumi.Input<string>;
|
|
193
237
|
/**
|
package/pipeline.js
CHANGED
|
@@ -43,10 +43,6 @@ const utilities = require("./utilities");
|
|
|
43
43
|
* path: dltDemo.id,
|
|
44
44
|
* },
|
|
45
45
|
* }],
|
|
46
|
-
* filters: {
|
|
47
|
-
* includes: ["com.databricks.include"],
|
|
48
|
-
* excludes: ["com.databricks.exclude"],
|
|
49
|
-
* },
|
|
50
46
|
* continuous: false,
|
|
51
47
|
* });
|
|
52
48
|
* ```
|
|
@@ -74,28 +70,33 @@ class Pipeline extends pulumi.CustomResource {
|
|
|
74
70
|
if (opts.id) {
|
|
75
71
|
const state = argsOrState;
|
|
76
72
|
resourceInputs["allowDuplicateNames"] = state ? state.allowDuplicateNames : undefined;
|
|
73
|
+
resourceInputs["channel"] = state ? state.channel : undefined;
|
|
77
74
|
resourceInputs["clusters"] = state ? state.clusters : undefined;
|
|
78
75
|
resourceInputs["configuration"] = state ? state.configuration : undefined;
|
|
79
76
|
resourceInputs["continuous"] = state ? state.continuous : undefined;
|
|
77
|
+
resourceInputs["development"] = state ? state.development : undefined;
|
|
78
|
+
resourceInputs["edition"] = state ? state.edition : undefined;
|
|
80
79
|
resourceInputs["filters"] = state ? state.filters : undefined;
|
|
81
80
|
resourceInputs["libraries"] = state ? state.libraries : undefined;
|
|
82
81
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
82
|
+
resourceInputs["photon"] = state ? state.photon : undefined;
|
|
83
83
|
resourceInputs["storage"] = state ? state.storage : undefined;
|
|
84
84
|
resourceInputs["target"] = state ? state.target : undefined;
|
|
85
85
|
resourceInputs["url"] = state ? state.url : undefined;
|
|
86
86
|
}
|
|
87
87
|
else {
|
|
88
88
|
const args = argsOrState;
|
|
89
|
-
if ((!args || args.filters === undefined) && !opts.urn) {
|
|
90
|
-
throw new Error("Missing required property 'filters'");
|
|
91
|
-
}
|
|
92
89
|
resourceInputs["allowDuplicateNames"] = args ? args.allowDuplicateNames : undefined;
|
|
90
|
+
resourceInputs["channel"] = args ? args.channel : undefined;
|
|
93
91
|
resourceInputs["clusters"] = args ? args.clusters : undefined;
|
|
94
92
|
resourceInputs["configuration"] = args ? args.configuration : undefined;
|
|
95
93
|
resourceInputs["continuous"] = args ? args.continuous : undefined;
|
|
94
|
+
resourceInputs["development"] = args ? args.development : undefined;
|
|
95
|
+
resourceInputs["edition"] = args ? args.edition : undefined;
|
|
96
96
|
resourceInputs["filters"] = args ? args.filters : undefined;
|
|
97
97
|
resourceInputs["libraries"] = args ? args.libraries : undefined;
|
|
98
98
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
99
|
+
resourceInputs["photon"] = args ? args.photon : undefined;
|
|
99
100
|
resourceInputs["storage"] = args ? args.storage : undefined;
|
|
100
101
|
resourceInputs["target"] = args ? args.target : undefined;
|
|
101
102
|
resourceInputs["url"] = undefined /*out*/;
|
package/pipeline.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../pipeline.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../pipeline.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAoF/C,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,C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