@pulumi/databricks 0.4.0 → 0.4.1-alpha.1654703020

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.
Files changed (65) hide show
  1. package/config/vars.d.ts +1 -0
  2. package/config/vars.js +6 -0
  3. package/config/vars.js.map +1 -1
  4. package/externalLocation.d.ts +13 -1
  5. package/externalLocation.js +3 -1
  6. package/externalLocation.js.map +1 -1
  7. package/getTables.d.ts +0 -14
  8. package/getTables.js +0 -14
  9. package/getTables.js.map +1 -1
  10. package/getViews.d.ts +61 -0
  11. package/getViews.js +33 -0
  12. package/getViews.js.map +1 -0
  13. package/gitCredential.d.ts +45 -0
  14. package/gitCredential.js +9 -0
  15. package/gitCredential.js.map +1 -1
  16. package/group.d.ts +3 -1
  17. package/group.js +3 -1
  18. package/group.js.map +1 -1
  19. package/index.d.ts +2 -0
  20. package/index.js +6 -0
  21. package/index.js.map +1 -1
  22. package/job.d.ts +18 -0
  23. package/job.js +2 -0
  24. package/job.js.map +1 -1
  25. package/metastore.d.ts +1 -1
  26. package/metastore.js +1 -1
  27. package/metastoreAssignment.d.ts +1 -1
  28. package/metastoreAssignment.js +1 -1
  29. package/metastoreDataAccess.d.ts +1 -1
  30. package/metastoreDataAccess.js +1 -1
  31. package/mwsCustomerManagedKeys.d.ts +5 -4
  32. package/mwsCustomerManagedKeys.js +5 -4
  33. package/mwsCustomerManagedKeys.js.map +1 -1
  34. package/mwsLogDelivery.d.ts +1 -1
  35. package/mwsLogDelivery.js +1 -1
  36. package/mwsStorageConfigurations.d.ts +0 -23
  37. package/mwsStorageConfigurations.js +0 -23
  38. package/mwsStorageConfigurations.js.map +1 -1
  39. package/mwsWorkspaces.d.ts +3 -3
  40. package/package.json +2 -2
  41. package/package.json.dev +2 -2
  42. package/provider.d.ts +2 -0
  43. package/provider.js +1 -0
  44. package/provider.js.map +1 -1
  45. package/repo.d.ts +12 -12
  46. package/schema.d.ts +1 -1
  47. package/schema.js +1 -1
  48. package/servicePrincipal.d.ts +18 -1
  49. package/servicePrincipal.js +7 -1
  50. package/servicePrincipal.js.map +1 -1
  51. package/servicePrincipalRole.d.ts +92 -0
  52. package/servicePrincipalRole.js +89 -0
  53. package/servicePrincipalRole.js.map +1 -0
  54. package/sqlPermissions.d.ts +0 -27
  55. package/sqlPermissions.js +0 -27
  56. package/sqlPermissions.js.map +1 -1
  57. package/storageCredential.d.ts +3 -3
  58. package/storageCredential.js +3 -3
  59. package/table.d.ts +1 -1
  60. package/table.js +1 -1
  61. package/types/input.d.ts +38 -4
  62. package/types/output.d.ts +38 -4
  63. package/user.d.ts +3 -1
  64. package/user.js +3 -1
  65. package/user.js.map +1 -1
@@ -0,0 +1,92 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * This resource allows you to attach a role or databricks.InstanceProfile (AWS) to a databricks_service_principal.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * Granting a service principal access to an instance profile
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as databricks from "@pulumi/databricks";
12
+ *
13
+ * const instanceProfile = new databricks.InstanceProfile("instanceProfile", {instanceProfileArn: "my_instance_profile_arn"});
14
+ * const _this = new databricks.ServicePrincipal("this", {displayName: "My Service Principal"});
15
+ * const myServicePrincipalInstanceProfile = new databricks.ServicePrincipalRole("myServicePrincipalInstanceProfile", {
16
+ * servicePrincipalId: _this.id,
17
+ * role: instanceProfile.id,
18
+ * });
19
+ * ```
20
+ * ## Related Resources
21
+ *
22
+ * The following resources are often used in the same context:
23
+ *
24
+ * * End to end workspace management guide.
25
+ * * databricks.UserRole to attach role or databricks.InstanceProfile (AWS) to databricks_user.
26
+ * * databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
27
+ * * databricksGroupMember to attach users and groups as group members.
28
+ * * databricks.InstanceProfile to manage AWS EC2 instance profiles that users can launch databricks.Cluster and access data, like databricks_mount.
29
+ *
30
+ * ## Import
31
+ *
32
+ * -> **Note** Importing this resource is not currently supported.
33
+ */
34
+ export declare class ServicePrincipalRole extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing ServicePrincipalRole resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServicePrincipalRoleState, opts?: pulumi.CustomResourceOptions): ServicePrincipalRole;
45
+ /**
46
+ * Returns true if the given object is an instance of ServicePrincipalRole. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj: any): obj is ServicePrincipalRole;
50
+ /**
51
+ * This is the id of the role or instance profile resource.
52
+ */
53
+ readonly role: pulumi.Output<string>;
54
+ /**
55
+ * This is the id of the service principal resource.
56
+ */
57
+ readonly servicePrincipalId: pulumi.Output<string>;
58
+ /**
59
+ * Create a ServicePrincipalRole resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name: string, args: ServicePrincipalRoleArgs, opts?: pulumi.CustomResourceOptions);
66
+ }
67
+ /**
68
+ * Input properties used for looking up and filtering ServicePrincipalRole resources.
69
+ */
70
+ export interface ServicePrincipalRoleState {
71
+ /**
72
+ * This is the id of the role or instance profile resource.
73
+ */
74
+ role?: pulumi.Input<string>;
75
+ /**
76
+ * This is the id of the service principal resource.
77
+ */
78
+ servicePrincipalId?: pulumi.Input<string>;
79
+ }
80
+ /**
81
+ * The set of arguments for constructing a ServicePrincipalRole resource.
82
+ */
83
+ export interface ServicePrincipalRoleArgs {
84
+ /**
85
+ * This is the id of the role or instance profile resource.
86
+ */
87
+ role: pulumi.Input<string>;
88
+ /**
89
+ * This is the id of the service principal resource.
90
+ */
91
+ servicePrincipalId: pulumi.Input<string>;
92
+ }
@@ -0,0 +1,89 @@
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.ServicePrincipalRole = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * This resource allows you to attach a role or databricks.InstanceProfile (AWS) to a databricks_service_principal.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * Granting a service principal access to an instance profile
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as databricks from "@pulumi/databricks";
18
+ *
19
+ * const instanceProfile = new databricks.InstanceProfile("instanceProfile", {instanceProfileArn: "my_instance_profile_arn"});
20
+ * const _this = new databricks.ServicePrincipal("this", {displayName: "My Service Principal"});
21
+ * const myServicePrincipalInstanceProfile = new databricks.ServicePrincipalRole("myServicePrincipalInstanceProfile", {
22
+ * servicePrincipalId: _this.id,
23
+ * role: instanceProfile.id,
24
+ * });
25
+ * ```
26
+ * ## Related Resources
27
+ *
28
+ * The following resources are often used in the same context:
29
+ *
30
+ * * End to end workspace management guide.
31
+ * * databricks.UserRole to attach role or databricks.InstanceProfile (AWS) to databricks_user.
32
+ * * databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
33
+ * * databricksGroupMember to attach users and groups as group members.
34
+ * * databricks.InstanceProfile to manage AWS EC2 instance profiles that users can launch databricks.Cluster and access data, like databricks_mount.
35
+ *
36
+ * ## Import
37
+ *
38
+ * -> **Note** Importing this resource is not currently supported.
39
+ */
40
+ class ServicePrincipalRole extends pulumi.CustomResource {
41
+ constructor(name, argsOrState, opts) {
42
+ let resourceInputs = {};
43
+ opts = opts || {};
44
+ if (opts.id) {
45
+ const state = argsOrState;
46
+ resourceInputs["role"] = state ? state.role : undefined;
47
+ resourceInputs["servicePrincipalId"] = state ? state.servicePrincipalId : undefined;
48
+ }
49
+ else {
50
+ const args = argsOrState;
51
+ if ((!args || args.role === undefined) && !opts.urn) {
52
+ throw new Error("Missing required property 'role'");
53
+ }
54
+ if ((!args || args.servicePrincipalId === undefined) && !opts.urn) {
55
+ throw new Error("Missing required property 'servicePrincipalId'");
56
+ }
57
+ resourceInputs["role"] = args ? args.role : undefined;
58
+ resourceInputs["servicePrincipalId"] = args ? args.servicePrincipalId : undefined;
59
+ }
60
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
61
+ super(ServicePrincipalRole.__pulumiType, name, resourceInputs, opts);
62
+ }
63
+ /**
64
+ * Get an existing ServicePrincipalRole resource's state with the given name, ID, and optional extra
65
+ * properties used to qualify the lookup.
66
+ *
67
+ * @param name The _unique_ name of the resulting resource.
68
+ * @param id The _unique_ provider ID of the resource to lookup.
69
+ * @param state Any extra arguments used during the lookup.
70
+ * @param opts Optional settings to control the behavior of the CustomResource.
71
+ */
72
+ static get(name, id, state, opts) {
73
+ return new ServicePrincipalRole(name, state, Object.assign(Object.assign({}, opts), { id: id }));
74
+ }
75
+ /**
76
+ * Returns true if the given object is an instance of ServicePrincipalRole. This is designed to work even
77
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
78
+ */
79
+ static isInstance(obj) {
80
+ if (obj === undefined || obj === null) {
81
+ return false;
82
+ }
83
+ return obj['__pulumiType'] === ServicePrincipalRole.__pulumiType;
84
+ }
85
+ }
86
+ exports.ServicePrincipalRole = ServicePrincipalRole;
87
+ /** @internal */
88
+ ServicePrincipalRole.__pulumiType = 'databricks:index/servicePrincipalRole:ServicePrincipalRole';
89
+ //# sourceMappingURL=servicePrincipalRole.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"servicePrincipalRole.js","sourceRoot":"","sources":["../servicePrincipalRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACx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AE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;IAhED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;;AA1BL,oDAkEC;AApDG,gBAAgB;AACO,iCAAY,GAAG,4DAA4D,CAAC"}
@@ -1,33 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { input as inputs, output as outputs } from "./types";
3
3
  /**
4
- * > **Note** Please switch to databricks.Grants with Unity Catalog to manage data access, which provides better and faster way for managing data security. `databricks.Grants` resource *doesn't require a technical cluster to perform operations*. `databricks.SqlPermissions` will be removed, once Unity Catalog is Generally Available.
5
- *
6
- * This resource manages 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). In order to enable Table Access control, you have to login to the workspace as administrator, go to `Admin Console`, pick `Access Control` tab, click on `Enable` button in `Table Access Control` section, and click `Confirm`. The security guarantees of table access control **will only be effective if cluster access control is also turned on**. Please make sure that no users can create clusters in your workspace and all databricks.Cluster have approximately the following configuration:
7
- *
8
- * ```typescript
9
- * import * as pulumi from "@pulumi/pulumi";
10
- * import * as databricks from "@pulumi/databricks";
11
- *
12
- * // ...
13
- * const clusterWithTableAccessControl = new databricks.Cluster("clusterWithTableAccessControl", {sparkConf: {
14
- * "spark.databricks.acl.dfAclsEnabled": "true",
15
- * "spark.databricks.repl.allowedLanguages": "python,sql",
16
- * }});
17
- * ```
18
- *
19
- * It could be combined with creation of High-Concurrency and Single-Node clusters - in this case it should have corresponding `customTags` and `spark.databricks.cluster.profile` in Spark configuration as described in documentation for `databricks.Cluster` resource.
20
- *
21
- * The created cluster could be referred to by providing its ID as `clusterId` property.
22
- *
23
- * ```typescript
24
- * import * as pulumi from "@pulumi/pulumi";
25
- * import * as databricks from "@pulumi/databricks";
26
- *
27
- * const fooTable = new databricks.SqlPermissions("fooTable", {clusterId: databricks_cluster.cluster_name.id});
28
- * //...
29
- * ```
30
- *
31
4
  * ## Example Usage
32
5
  *
33
6
  * The following resource definition will enforce access control on a table by executing the following SQL queries on a special auto-terminating cluster it would create for this operation:
package/sqlPermissions.js CHANGED
@@ -6,33 +6,6 @@ exports.SqlPermissions = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * > **Note** Please switch to databricks.Grants with Unity Catalog to manage data access, which provides better and faster way for managing data security. `databricks.Grants` resource *doesn't require a technical cluster to perform operations*. `databricks.SqlPermissions` will be removed, once Unity Catalog is Generally Available.
10
- *
11
- * This resource manages 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). In order to enable Table Access control, you have to login to the workspace as administrator, go to `Admin Console`, pick `Access Control` tab, click on `Enable` button in `Table Access Control` section, and click `Confirm`. The security guarantees of table access control **will only be effective if cluster access control is also turned on**. Please make sure that no users can create clusters in your workspace and all databricks.Cluster have approximately the following configuration:
12
- *
13
- * ```typescript
14
- * import * as pulumi from "@pulumi/pulumi";
15
- * import * as databricks from "@pulumi/databricks";
16
- *
17
- * // ...
18
- * const clusterWithTableAccessControl = new databricks.Cluster("clusterWithTableAccessControl", {sparkConf: {
19
- * "spark.databricks.acl.dfAclsEnabled": "true",
20
- * "spark.databricks.repl.allowedLanguages": "python,sql",
21
- * }});
22
- * ```
23
- *
24
- * It could be combined with creation of High-Concurrency and Single-Node clusters - in this case it should have corresponding `customTags` and `spark.databricks.cluster.profile` in Spark configuration as described in documentation for `databricks.Cluster` resource.
25
- *
26
- * The created cluster could be referred to by providing its ID as `clusterId` property.
27
- *
28
- * ```typescript
29
- * import * as pulumi from "@pulumi/pulumi";
30
- * import * as databricks from "@pulumi/databricks";
31
- *
32
- * const fooTable = new databricks.SqlPermissions("fooTable", {clusterId: databricks_cluster.cluster_name.id});
33
- * //...
34
- * ```
35
- *
36
9
  * ## Example Usage
37
10
  *
38
11
  * The following resource definition will enforce access control on a table by executing the following SQL queries on a special auto-terminating cluster it would create for this operation:
@@ -1 +1 @@
1
- {"version":3,"file":"sqlPermissions.js","sourceRoot":"","sources":["../sqlPermissions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2EG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IA+DrD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CA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;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCA0FC;AA5EG,gBAAgB;AACO,2BAAY,GAAG,gDAAgD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { input as inputs, output as outputs } from "./types";
3
3
  /**
4
- * > **Private Preview** This feature is in [Private Preview](https://docs.databricks.com/release-notes/release-types.html). Contact your Databricks representative to request access.
4
+ * > **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). Contact your Databricks representative to request access.
5
5
  *
6
6
  * To work with external tables, Unity Catalog introduces two new objects to access and work with external cloud storage:
7
7
  * - `databricks.StorageCredential` represents authentication methods to access cloud storage (e.g. an IAM role for Amazon S3 or a service principal for Azure Storage). Storage credentials are access-controlled to determine which users can use the credential.
@@ -25,7 +25,7 @@ import { input as inputs, output as outputs } from "./types";
25
25
  * storageCredential: external.id,
26
26
  * grants: [{
27
27
  * principal: "Data Engineers",
28
- * privileges: ["CREATE TABLE"],
28
+ * privileges: ["CREATE_TABLE"],
29
29
  * }],
30
30
  * });
31
31
  * ```
@@ -48,7 +48,7 @@ import { input as inputs, output as outputs } from "./types";
48
48
  * storageCredential: external.id,
49
49
  * grants: [{
50
50
  * principal: "Data Engineers",
51
- * privileges: ["CREATE TABLE"],
51
+ * privileges: ["CREATE_TABLE"],
52
52
  * }],
53
53
  * });
54
54
  * ```
@@ -6,7 +6,7 @@ exports.StorageCredential = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * > **Private Preview** This feature is in [Private Preview](https://docs.databricks.com/release-notes/release-types.html). Contact your Databricks representative to request access.
9
+ * > **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). Contact your Databricks representative to request access.
10
10
  *
11
11
  * To work with external tables, Unity Catalog introduces two new objects to access and work with external cloud storage:
12
12
  * - `databricks.StorageCredential` represents authentication methods to access cloud storage (e.g. an IAM role for Amazon S3 or a service principal for Azure Storage). Storage credentials are access-controlled to determine which users can use the credential.
@@ -30,7 +30,7 @@ const utilities = require("./utilities");
30
30
  * storageCredential: external.id,
31
31
  * grants: [{
32
32
  * principal: "Data Engineers",
33
- * privileges: ["CREATE TABLE"],
33
+ * privileges: ["CREATE_TABLE"],
34
34
  * }],
35
35
  * });
36
36
  * ```
@@ -53,7 +53,7 @@ const utilities = require("./utilities");
53
53
  * storageCredential: external.id,
54
54
  * grants: [{
55
55
  * principal: "Data Engineers",
56
- * privileges: ["CREATE TABLE"],
56
+ * privileges: ["CREATE_TABLE"],
57
57
  * }],
58
58
  * });
59
59
  * ```
package/table.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { input as inputs, output as outputs } from "./types";
3
3
  /**
4
- * > **Private Preview** This feature is in [Private Preview](https://docs.databricks.com/release-notes/release-types.html). Contact your Databricks representative to request access.
4
+ * > **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). Contact your Databricks representative to request access.
5
5
  *
6
6
  * Within a metastore, Unity Catalog provides a 3-level namespace for organizing data: Catalogs, databases (also called schemas), and tables / views.
7
7
  *
package/table.js CHANGED
@@ -6,7 +6,7 @@ exports.Table = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * > **Private Preview** This feature is in [Private Preview](https://docs.databricks.com/release-notes/release-types.html). Contact your Databricks representative to request access.
9
+ * > **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html). Contact your Databricks representative to request access.
10
10
  *
11
11
  * Within a metastore, Unity Catalog provides a 3-level namespace for organizing data: Catalogs, databases (also called schemas), and tables / views.
12
12
  *
package/types/input.d.ts CHANGED
@@ -53,6 +53,7 @@ export interface ClusterGcpAttributes {
53
53
  export interface ClusterInitScript {
54
54
  dbfs?: pulumi.Input<inputs.ClusterInitScriptDbfs>;
55
55
  file?: pulumi.Input<inputs.ClusterInitScriptFile>;
56
+ gcs?: pulumi.Input<inputs.ClusterInitScriptGcs>;
56
57
  s3?: pulumi.Input<inputs.ClusterInitScriptS3>;
57
58
  }
58
59
  export interface ClusterInitScriptDbfs {
@@ -61,6 +62,9 @@ export interface ClusterInitScriptDbfs {
61
62
  export interface ClusterInitScriptFile {
62
63
  destination?: pulumi.Input<string>;
63
64
  }
65
+ export interface ClusterInitScriptGcs {
66
+ destination?: pulumi.Input<string>;
67
+ }
64
68
  export interface ClusterInitScriptS3 {
65
69
  cannedAcl?: pulumi.Input<string>;
66
70
  destination: pulumi.Input<string>;
@@ -149,6 +153,7 @@ export interface InstancePoolPreloadedDockerImageBasicAuth {
149
153
  username: pulumi.Input<string>;
150
154
  }
151
155
  export interface JobEmailNotifications {
156
+ alertOnLastAttempt?: pulumi.Input<boolean>;
152
157
  /**
153
158
  * (Bool) don't send alert for skipped runs
154
159
  */
@@ -167,9 +172,21 @@ export interface JobEmailNotifications {
167
172
  onSuccesses?: pulumi.Input<pulumi.Input<string>[]>;
168
173
  }
169
174
  export interface JobGitSource {
175
+ /**
176
+ * name of the Git branch to use. Conflicts with `tag` and `commit`.
177
+ */
170
178
  branch?: pulumi.Input<string>;
179
+ /**
180
+ * hash of Git commit to use. Conflicts with `branch` and `tag`.
181
+ */
171
182
  commit?: pulumi.Input<string>;
183
+ /**
184
+ * case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult [Repos API documentation](https://docs.databricks.com/dev-tools/api/latest/repos.html)): `gitHub`, `gitHubEnterprise`, `bitbucketCloud`, `bitbucketServer`, `azureDevOpsServices`, `gitLab`, `gitLabEnterpriseEdition`.
185
+ */
172
186
  provider?: pulumi.Input<string>;
187
+ /**
188
+ * name of the Git branch to use. Conflicts with `branch` and `commit`.
189
+ */
173
190
  tag?: pulumi.Input<string>;
174
191
  /**
175
192
  * URL of the job on the given workspace
@@ -208,7 +225,7 @@ export interface JobJobClusterNewCluster {
208
225
  initScripts?: pulumi.Input<pulumi.Input<inputs.JobJobClusterNewClusterInitScript>[]>;
209
226
  instancePoolId?: pulumi.Input<string>;
210
227
  nodeTypeId?: pulumi.Input<string>;
211
- numWorkers: pulumi.Input<number>;
228
+ numWorkers?: pulumi.Input<number>;
212
229
  policyId?: pulumi.Input<string>;
213
230
  singleUserName?: pulumi.Input<string>;
214
231
  sparkConf?: pulumi.Input<{
@@ -276,6 +293,7 @@ export interface JobJobClusterNewClusterGcpAttributes {
276
293
  export interface JobJobClusterNewClusterInitScript {
277
294
  dbfs?: pulumi.Input<inputs.JobJobClusterNewClusterInitScriptDbfs>;
278
295
  file?: pulumi.Input<inputs.JobJobClusterNewClusterInitScriptFile>;
296
+ gcs?: pulumi.Input<inputs.JobJobClusterNewClusterInitScriptGcs>;
279
297
  s3?: pulumi.Input<inputs.JobJobClusterNewClusterInitScriptS3>;
280
298
  }
281
299
  export interface JobJobClusterNewClusterInitScriptDbfs {
@@ -284,6 +302,9 @@ export interface JobJobClusterNewClusterInitScriptDbfs {
284
302
  export interface JobJobClusterNewClusterInitScriptFile {
285
303
  destination?: pulumi.Input<string>;
286
304
  }
305
+ export interface JobJobClusterNewClusterInitScriptGcs {
306
+ destination?: pulumi.Input<string>;
307
+ }
287
308
  export interface JobJobClusterNewClusterInitScriptS3 {
288
309
  cannedAcl?: pulumi.Input<string>;
289
310
  destination: pulumi.Input<string>;
@@ -404,6 +425,7 @@ export interface JobNewClusterGcpAttributes {
404
425
  export interface JobNewClusterInitScript {
405
426
  dbfs?: pulumi.Input<inputs.JobNewClusterInitScriptDbfs>;
406
427
  file?: pulumi.Input<inputs.JobNewClusterInitScriptFile>;
428
+ gcs?: pulumi.Input<inputs.JobNewClusterInitScriptGcs>;
407
429
  s3?: pulumi.Input<inputs.JobNewClusterInitScriptS3>;
408
430
  }
409
431
  export interface JobNewClusterInitScriptDbfs {
@@ -412,6 +434,9 @@ export interface JobNewClusterInitScriptDbfs {
412
434
  export interface JobNewClusterInitScriptFile {
413
435
  destination?: pulumi.Input<string>;
414
436
  }
437
+ export interface JobNewClusterInitScriptGcs {
438
+ destination?: pulumi.Input<string>;
439
+ }
415
440
  export interface JobNewClusterInitScriptS3 {
416
441
  cannedAcl?: pulumi.Input<string>;
417
442
  destination: pulumi.Input<string>;
@@ -551,6 +576,7 @@ export interface JobTaskDependsOn {
551
576
  taskKey?: pulumi.Input<string>;
552
577
  }
553
578
  export interface JobTaskEmailNotifications {
579
+ alertOnLastAttempt?: pulumi.Input<boolean>;
554
580
  /**
555
581
  * (Bool) don't send alert for skipped runs
556
582
  */
@@ -679,6 +705,7 @@ export interface JobTaskNewClusterGcpAttributes {
679
705
  export interface JobTaskNewClusterInitScript {
680
706
  dbfs?: pulumi.Input<inputs.JobTaskNewClusterInitScriptDbfs>;
681
707
  file?: pulumi.Input<inputs.JobTaskNewClusterInitScriptFile>;
708
+ gcs?: pulumi.Input<inputs.JobTaskNewClusterInitScriptGcs>;
682
709
  s3?: pulumi.Input<inputs.JobTaskNewClusterInitScriptS3>;
683
710
  }
684
711
  export interface JobTaskNewClusterInitScriptDbfs {
@@ -687,6 +714,9 @@ export interface JobTaskNewClusterInitScriptDbfs {
687
714
  export interface JobTaskNewClusterInitScriptFile {
688
715
  destination?: pulumi.Input<string>;
689
716
  }
717
+ export interface JobTaskNewClusterInitScriptGcs {
718
+ destination?: pulumi.Input<string>;
719
+ }
690
720
  export interface JobTaskNewClusterInitScriptS3 {
691
721
  cannedAcl?: pulumi.Input<string>;
692
722
  destination: pulumi.Input<string>;
@@ -977,6 +1007,7 @@ export interface PipelineClusterClusterLogConfS3 {
977
1007
  export interface PipelineClusterInitScript {
978
1008
  dbfs?: pulumi.Input<inputs.PipelineClusterInitScriptDbfs>;
979
1009
  file?: pulumi.Input<inputs.PipelineClusterInitScriptFile>;
1010
+ gcs?: pulumi.Input<inputs.PipelineClusterInitScriptGcs>;
980
1011
  s3?: pulumi.Input<inputs.PipelineClusterInitScriptS3>;
981
1012
  }
982
1013
  export interface PipelineClusterInitScriptDbfs {
@@ -985,6 +1016,9 @@ export interface PipelineClusterInitScriptDbfs {
985
1016
  export interface PipelineClusterInitScriptFile {
986
1017
  destination?: pulumi.Input<string>;
987
1018
  }
1019
+ export interface PipelineClusterInitScriptGcs {
1020
+ destination?: pulumi.Input<string>;
1021
+ }
988
1022
  export interface PipelineClusterInitScriptS3 {
989
1023
  cannedAcl?: pulumi.Input<string>;
990
1024
  destination: pulumi.Input<string>;
@@ -1038,7 +1072,7 @@ export interface SqlEndpointTagsCustomTag {
1038
1072
  }
1039
1073
  export interface SqlPermissionsPrivilegeAssignment {
1040
1074
  /**
1041
- * `displayName` of databricks.Group or databricks_user.
1075
+ * `displayName` for a databricks.Group or databricks_user, `applicationId` for a databricks_service_principal.
1042
1076
  */
1043
1077
  principal: pulumi.Input<string>;
1044
1078
  /**
@@ -1136,8 +1170,8 @@ export interface SqlWidgetParameter {
1136
1170
  }
1137
1171
  export interface SqlWidgetPosition {
1138
1172
  autoHeight?: pulumi.Input<boolean>;
1139
- posX: pulumi.Input<number>;
1140
- posY: pulumi.Input<number>;
1173
+ posX?: pulumi.Input<number>;
1174
+ posY?: pulumi.Input<number>;
1141
1175
  sizeX: pulumi.Input<number>;
1142
1176
  sizeY: pulumi.Input<number>;
1143
1177
  }
package/types/output.d.ts CHANGED
@@ -52,6 +52,7 @@ export interface ClusterGcpAttributes {
52
52
  export interface ClusterInitScript {
53
53
  dbfs?: outputs.ClusterInitScriptDbfs;
54
54
  file?: outputs.ClusterInitScriptFile;
55
+ gcs?: outputs.ClusterInitScriptGcs;
55
56
  s3?: outputs.ClusterInitScriptS3;
56
57
  }
57
58
  export interface ClusterInitScriptDbfs {
@@ -60,6 +61,9 @@ export interface ClusterInitScriptDbfs {
60
61
  export interface ClusterInitScriptFile {
61
62
  destination?: string;
62
63
  }
64
+ export interface ClusterInitScriptGcs {
65
+ destination?: string;
66
+ }
63
67
  export interface ClusterInitScriptS3 {
64
68
  cannedAcl?: string;
65
69
  destination: string;
@@ -162,6 +166,7 @@ export interface InstancePoolPreloadedDockerImageBasicAuth {
162
166
  username: string;
163
167
  }
164
168
  export interface JobEmailNotifications {
169
+ alertOnLastAttempt?: boolean;
165
170
  /**
166
171
  * (Bool) don't send alert for skipped runs
167
172
  */
@@ -180,9 +185,21 @@ export interface JobEmailNotifications {
180
185
  onSuccesses?: string[];
181
186
  }
182
187
  export interface JobGitSource {
188
+ /**
189
+ * name of the Git branch to use. Conflicts with `tag` and `commit`.
190
+ */
183
191
  branch?: string;
192
+ /**
193
+ * hash of Git commit to use. Conflicts with `branch` and `tag`.
194
+ */
184
195
  commit?: string;
196
+ /**
197
+ * case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult [Repos API documentation](https://docs.databricks.com/dev-tools/api/latest/repos.html)): `gitHub`, `gitHubEnterprise`, `bitbucketCloud`, `bitbucketServer`, `azureDevOpsServices`, `gitLab`, `gitLabEnterpriseEdition`.
198
+ */
185
199
  provider?: string;
200
+ /**
201
+ * name of the Git branch to use. Conflicts with `branch` and `commit`.
202
+ */
186
203
  tag?: string;
187
204
  /**
188
205
  * URL of the job on the given workspace
@@ -221,7 +238,7 @@ export interface JobJobClusterNewCluster {
221
238
  initScripts?: outputs.JobJobClusterNewClusterInitScript[];
222
239
  instancePoolId?: string;
223
240
  nodeTypeId: string;
224
- numWorkers: number;
241
+ numWorkers?: number;
225
242
  policyId?: string;
226
243
  singleUserName?: string;
227
244
  sparkConf?: {
@@ -289,6 +306,7 @@ export interface JobJobClusterNewClusterGcpAttributes {
289
306
  export interface JobJobClusterNewClusterInitScript {
290
307
  dbfs?: outputs.JobJobClusterNewClusterInitScriptDbfs;
291
308
  file?: outputs.JobJobClusterNewClusterInitScriptFile;
309
+ gcs?: outputs.JobJobClusterNewClusterInitScriptGcs;
292
310
  s3?: outputs.JobJobClusterNewClusterInitScriptS3;
293
311
  }
294
312
  export interface JobJobClusterNewClusterInitScriptDbfs {
@@ -297,6 +315,9 @@ export interface JobJobClusterNewClusterInitScriptDbfs {
297
315
  export interface JobJobClusterNewClusterInitScriptFile {
298
316
  destination?: string;
299
317
  }
318
+ export interface JobJobClusterNewClusterInitScriptGcs {
319
+ destination?: string;
320
+ }
300
321
  export interface JobJobClusterNewClusterInitScriptS3 {
301
322
  cannedAcl?: string;
302
323
  destination: string;
@@ -417,6 +438,7 @@ export interface JobNewClusterGcpAttributes {
417
438
  export interface JobNewClusterInitScript {
418
439
  dbfs?: outputs.JobNewClusterInitScriptDbfs;
419
440
  file?: outputs.JobNewClusterInitScriptFile;
441
+ gcs?: outputs.JobNewClusterInitScriptGcs;
420
442
  s3?: outputs.JobNewClusterInitScriptS3;
421
443
  }
422
444
  export interface JobNewClusterInitScriptDbfs {
@@ -425,6 +447,9 @@ export interface JobNewClusterInitScriptDbfs {
425
447
  export interface JobNewClusterInitScriptFile {
426
448
  destination?: string;
427
449
  }
450
+ export interface JobNewClusterInitScriptGcs {
451
+ destination?: string;
452
+ }
428
453
  export interface JobNewClusterInitScriptS3 {
429
454
  cannedAcl?: string;
430
455
  destination: string;
@@ -564,6 +589,7 @@ export interface JobTaskDependsOn {
564
589
  taskKey?: string;
565
590
  }
566
591
  export interface JobTaskEmailNotifications {
592
+ alertOnLastAttempt?: boolean;
567
593
  /**
568
594
  * (Bool) don't send alert for skipped runs
569
595
  */
@@ -692,6 +718,7 @@ export interface JobTaskNewClusterGcpAttributes {
692
718
  export interface JobTaskNewClusterInitScript {
693
719
  dbfs?: outputs.JobTaskNewClusterInitScriptDbfs;
694
720
  file?: outputs.JobTaskNewClusterInitScriptFile;
721
+ gcs?: outputs.JobTaskNewClusterInitScriptGcs;
695
722
  s3?: outputs.JobTaskNewClusterInitScriptS3;
696
723
  }
697
724
  export interface JobTaskNewClusterInitScriptDbfs {
@@ -700,6 +727,9 @@ export interface JobTaskNewClusterInitScriptDbfs {
700
727
  export interface JobTaskNewClusterInitScriptFile {
701
728
  destination?: string;
702
729
  }
730
+ export interface JobTaskNewClusterInitScriptGcs {
731
+ destination?: string;
732
+ }
703
733
  export interface JobTaskNewClusterInitScriptS3 {
704
734
  cannedAcl?: string;
705
735
  destination: string;
@@ -990,6 +1020,7 @@ export interface PipelineClusterClusterLogConfS3 {
990
1020
  export interface PipelineClusterInitScript {
991
1021
  dbfs?: outputs.PipelineClusterInitScriptDbfs;
992
1022
  file?: outputs.PipelineClusterInitScriptFile;
1023
+ gcs?: outputs.PipelineClusterInitScriptGcs;
993
1024
  s3?: outputs.PipelineClusterInitScriptS3;
994
1025
  }
995
1026
  export interface PipelineClusterInitScriptDbfs {
@@ -998,6 +1029,9 @@ export interface PipelineClusterInitScriptDbfs {
998
1029
  export interface PipelineClusterInitScriptFile {
999
1030
  destination?: string;
1000
1031
  }
1032
+ export interface PipelineClusterInitScriptGcs {
1033
+ destination?: string;
1034
+ }
1001
1035
  export interface PipelineClusterInitScriptS3 {
1002
1036
  cannedAcl?: string;
1003
1037
  destination: string;
@@ -1051,7 +1085,7 @@ export interface SqlEndpointTagsCustomTag {
1051
1085
  }
1052
1086
  export interface SqlPermissionsPrivilegeAssignment {
1053
1087
  /**
1054
- * `displayName` of databricks.Group or databricks_user.
1088
+ * `displayName` for a databricks.Group or databricks_user, `applicationId` for a databricks_service_principal.
1055
1089
  */
1056
1090
  principal: string;
1057
1091
  /**
@@ -1149,8 +1183,8 @@ export interface SqlWidgetParameter {
1149
1183
  }
1150
1184
  export interface SqlWidgetPosition {
1151
1185
  autoHeight?: boolean;
1152
- posX: number;
1153
- posY: number;
1186
+ posX?: number;
1187
+ posY?: number;
1154
1188
  sizeX: number;
1155
1189
  sizeY: number;
1156
1190
  }
package/user.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * This resource is used to [manage users](https://docs.databricks.com/administration-guide/users-groups/users.html), that could be added to databricks.Group within the workspace. Upon user creation the user will receive a password reset email. You can also get information about caller identity using databricks.getCurrentUser data source.
3
+ * This resource allows you to manage [users in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/users.html), [Databricks Account Console](https://accounts.cloud.databricks.com/) or [Azure Databricks Account Console](https://accounts.azuredatabricks.net). You can also associate Databricks users to databricks_group. Upon user creation the user will receive a password reset email. You can also get information about caller identity using databricks.getCurrentUser data source.
4
+ *
5
+ * To create users in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments
4
6
  *
5
7
  * ## Related Resources
6
8
  *