@pulumi/databricks 1.12.0 → 1.13.0-alpha.1683919853
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/getAwsAssumeRolePolicy.d.ts +88 -0
- package/getAwsAssumeRolePolicy.js +88 -0
- package/getAwsAssumeRolePolicy.js.map +1 -1
- package/getCluster.d.ts +8 -0
- package/getCluster.js +8 -0
- package/getCluster.js.map +1 -1
- package/getClusterPolicy.d.ts +8 -0
- package/getClusterPolicy.js +8 -0
- package/getClusterPolicy.js.map +1 -1
- package/getDbfsFile.d.ts +8 -0
- package/getDbfsFile.js +8 -0
- package/getDbfsFile.js.map +1 -1
- package/getDbfsFilePaths.d.ts +8 -0
- package/getDbfsFilePaths.js +8 -0
- package/getDbfsFilePaths.js.map +1 -1
- package/getDirectory.d.ts +8 -0
- package/getDirectory.js +8 -0
- package/getDirectory.js.map +1 -1
- package/getGroup.d.ts +8 -0
- package/getGroup.js +8 -0
- package/getGroup.js.map +1 -1
- package/getInstancePool.d.ts +8 -0
- package/getInstancePool.js +8 -0
- package/getInstancePool.js.map +1 -1
- package/getJob.d.ts +8 -0
- package/getJob.js +8 -0
- package/getJob.js.map +1 -1
- package/getMwsWorkspaces.d.ts +50 -0
- package/getMwsWorkspaces.js +50 -0
- package/getMwsWorkspaces.js.map +1 -1
- package/getNodeType.d.ts +12 -0
- package/getNodeType.js +12 -0
- package/getNodeType.js.map +1 -1
- package/getNotebook.d.ts +8 -0
- package/getNotebook.js +8 -0
- package/getNotebook.js.map +1 -1
- package/getNotebookPaths.d.ts +8 -0
- package/getNotebookPaths.js +8 -0
- package/getNotebookPaths.js.map +1 -1
- package/getPipelines.d.ts +8 -0
- package/getPipelines.js +8 -0
- package/getPipelines.js.map +1 -1
- package/getServicePrincipal.d.ts +8 -0
- package/getServicePrincipal.js +8 -0
- package/getServicePrincipal.js.map +1 -1
- package/getServicePrincipals.d.ts +8 -0
- package/getServicePrincipals.js +8 -0
- package/getServicePrincipals.js.map +1 -1
- package/getSparkVersion.d.ts +12 -0
- package/getSparkVersion.js +12 -0
- package/getSparkVersion.js.map +1 -1
- package/getSqlWarehouse.d.ts +8 -0
- package/getSqlWarehouse.js +8 -0
- package/getSqlWarehouse.js.map +1 -1
- package/getUser.d.ts +8 -0
- package/getUser.js +8 -0
- package/getUser.js.map +1 -1
- package/getZones.d.ts +4 -0
- package/getZones.js +4 -0
- package/getZones.js.map +1 -1
- package/gitCredential.d.ts +9 -0
- package/gitCredential.js.map +1 -1
- package/group.d.ts +12 -0
- package/group.js +12 -0
- package/group.js.map +1 -1
- package/index.d.ts +3 -0
- package/index.js +6 -1
- package/index.js.map +1 -1
- package/instancePool.d.ts +39 -3
- package/instancePool.js +36 -0
- package/instancePool.js.map +1 -1
- package/job.d.ts +3 -0
- package/job.js +2 -0
- package/job.js.map +1 -1
- package/mwsNetworks.d.ts +85 -0
- package/mwsNetworks.js +67 -0
- package/mwsNetworks.js.map +1 -1
- package/mwsPrivateAccessSettings.d.ts +82 -0
- package/mwsPrivateAccessSettings.js +82 -0
- package/mwsPrivateAccessSettings.js.map +1 -1
- package/mwsVpcEndpoint.d.ts +9 -0
- package/mwsVpcEndpoint.js.map +1 -1
- package/notebook.d.ts +0 -6
- package/notebook.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/permissions.d.ts +6 -0
- package/permissions.js +4 -0
- package/permissions.js.map +1 -1
- package/servicePrincipal.d.ts +6 -0
- package/servicePrincipal.js +6 -0
- package/servicePrincipal.js.map +1 -1
- package/sqlQuery.d.ts +99 -0
- package/sqlQuery.js +99 -0
- package/sqlQuery.js.map +1 -1
- package/types/input.d.ts +22 -2
- package/types/output.d.ts +17 -2
- package/user.d.ts +6 -0
- package/user.js +6 -0
- package/user.js.map +1 -1
- package/workspaceConf.d.ts +2 -0
- package/workspaceConf.js +2 -0
- package/workspaceConf.js.map +1 -1
- package/workspaceFile.d.ts +95 -0
- package/workspaceFile.js +71 -0
- package/workspaceFile.js.map +1 -0
|
@@ -1,4 +1,48 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This data source constructs necessary AWS STS assume role policy for you.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* End-to-end example of provisioning Cross-account IAM role with databricks_mws_credentials:
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
* import * as databricks from "@pulumi/databricks";
|
|
13
|
+
*
|
|
14
|
+
* const config = new pulumi.Config();
|
|
15
|
+
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
16
|
+
* const thisAwsCrossAccountPolicy = databricks.getAwsCrossAccountPolicy({});
|
|
17
|
+
* const crossAccountPolicy = new aws.iam.Policy("crossAccountPolicy", {policy: thisAwsCrossAccountPolicy.then(thisAwsCrossAccountPolicy => thisAwsCrossAccountPolicy.json)});
|
|
18
|
+
* const thisAwsAssumeRolePolicy = databricks.getAwsAssumeRolePolicy({
|
|
19
|
+
* externalId: databricksAccountId,
|
|
20
|
+
* });
|
|
21
|
+
* const crossAccountRole = new aws.iam.Role("crossAccountRole", {
|
|
22
|
+
* assumeRolePolicy: thisAwsAssumeRolePolicy.then(thisAwsAssumeRolePolicy => thisAwsAssumeRolePolicy.json),
|
|
23
|
+
* description: "Grants Databricks full access to VPC resources",
|
|
24
|
+
* });
|
|
25
|
+
* const crossAccountRolePolicyAttachment = new aws.iam.RolePolicyAttachment("crossAccountRolePolicyAttachment", {
|
|
26
|
+
* policyArn: crossAccountPolicy.arn,
|
|
27
|
+
* role: crossAccountRole.name,
|
|
28
|
+
* });
|
|
29
|
+
* // required only in case of multi-workspace setup
|
|
30
|
+
* const thisMwsCredentials = new databricks.MwsCredentials("thisMwsCredentials", {
|
|
31
|
+
* accountId: databricksAccountId,
|
|
32
|
+
* credentialsName: `${_var.prefix}-creds`,
|
|
33
|
+
* roleArn: crossAccountRole.arn,
|
|
34
|
+
* }, {
|
|
35
|
+
* provider: databricks.mws,
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
* ## Related Resources
|
|
39
|
+
*
|
|
40
|
+
* The following resources are used in the same context:
|
|
41
|
+
*
|
|
42
|
+
* * Provisioning AWS Databricks E2 with a Hub & Spoke firewall for data exfiltration protection guide
|
|
43
|
+
* * databricks.getAwsBucketPolicy data to configure a simple access policy for AWS S3 buckets, so that Databricks can access data in it.
|
|
44
|
+
* * databricks.getAwsCrossAccountPolicy data to construct the necessary AWS cross-account policy for you, which is based on [official documentation](https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your%C2%A0VPC,%C2%A0default).
|
|
45
|
+
*/
|
|
2
46
|
export declare function getAwsAssumeRolePolicy(args: GetAwsAssumeRolePolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetAwsAssumeRolePolicyResult>;
|
|
3
47
|
/**
|
|
4
48
|
* A collection of arguments for invoking getAwsAssumeRolePolicy.
|
|
@@ -30,6 +74,50 @@ export interface GetAwsAssumeRolePolicyResult {
|
|
|
30
74
|
*/
|
|
31
75
|
readonly json: string;
|
|
32
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* This data source constructs necessary AWS STS assume role policy for you.
|
|
79
|
+
*
|
|
80
|
+
* ## Example Usage
|
|
81
|
+
*
|
|
82
|
+
* End-to-end example of provisioning Cross-account IAM role with databricks_mws_credentials:
|
|
83
|
+
*
|
|
84
|
+
* ```typescript
|
|
85
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
86
|
+
* import * as aws from "@pulumi/aws";
|
|
87
|
+
* import * as databricks from "@pulumi/databricks";
|
|
88
|
+
*
|
|
89
|
+
* const config = new pulumi.Config();
|
|
90
|
+
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
91
|
+
* const thisAwsCrossAccountPolicy = databricks.getAwsCrossAccountPolicy({});
|
|
92
|
+
* const crossAccountPolicy = new aws.iam.Policy("crossAccountPolicy", {policy: thisAwsCrossAccountPolicy.then(thisAwsCrossAccountPolicy => thisAwsCrossAccountPolicy.json)});
|
|
93
|
+
* const thisAwsAssumeRolePolicy = databricks.getAwsAssumeRolePolicy({
|
|
94
|
+
* externalId: databricksAccountId,
|
|
95
|
+
* });
|
|
96
|
+
* const crossAccountRole = new aws.iam.Role("crossAccountRole", {
|
|
97
|
+
* assumeRolePolicy: thisAwsAssumeRolePolicy.then(thisAwsAssumeRolePolicy => thisAwsAssumeRolePolicy.json),
|
|
98
|
+
* description: "Grants Databricks full access to VPC resources",
|
|
99
|
+
* });
|
|
100
|
+
* const crossAccountRolePolicyAttachment = new aws.iam.RolePolicyAttachment("crossAccountRolePolicyAttachment", {
|
|
101
|
+
* policyArn: crossAccountPolicy.arn,
|
|
102
|
+
* role: crossAccountRole.name,
|
|
103
|
+
* });
|
|
104
|
+
* // required only in case of multi-workspace setup
|
|
105
|
+
* const thisMwsCredentials = new databricks.MwsCredentials("thisMwsCredentials", {
|
|
106
|
+
* accountId: databricksAccountId,
|
|
107
|
+
* credentialsName: `${_var.prefix}-creds`,
|
|
108
|
+
* roleArn: crossAccountRole.arn,
|
|
109
|
+
* }, {
|
|
110
|
+
* provider: databricks.mws,
|
|
111
|
+
* });
|
|
112
|
+
* ```
|
|
113
|
+
* ## Related Resources
|
|
114
|
+
*
|
|
115
|
+
* The following resources are used in the same context:
|
|
116
|
+
*
|
|
117
|
+
* * Provisioning AWS Databricks E2 with a Hub & Spoke firewall for data exfiltration protection guide
|
|
118
|
+
* * databricks.getAwsBucketPolicy data to configure a simple access policy for AWS S3 buckets, so that Databricks can access data in it.
|
|
119
|
+
* * databricks.getAwsCrossAccountPolicy data to construct the necessary AWS cross-account policy for you, which is based on [official documentation](https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your%C2%A0VPC,%C2%A0default).
|
|
120
|
+
*/
|
|
33
121
|
export declare function getAwsAssumeRolePolicyOutput(args: GetAwsAssumeRolePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAwsAssumeRolePolicyResult>;
|
|
34
122
|
/**
|
|
35
123
|
* A collection of arguments for invoking getAwsAssumeRolePolicy.
|
|
@@ -5,6 +5,50 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getAwsAssumeRolePolicyOutput = exports.getAwsAssumeRolePolicy = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source constructs necessary AWS STS assume role policy for you.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* End-to-end example of provisioning Cross-account IAM role with databricks_mws_credentials:
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
* import * as databricks from "@pulumi/databricks";
|
|
19
|
+
*
|
|
20
|
+
* const config = new pulumi.Config();
|
|
21
|
+
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
22
|
+
* const thisAwsCrossAccountPolicy = databricks.getAwsCrossAccountPolicy({});
|
|
23
|
+
* const crossAccountPolicy = new aws.iam.Policy("crossAccountPolicy", {policy: thisAwsCrossAccountPolicy.then(thisAwsCrossAccountPolicy => thisAwsCrossAccountPolicy.json)});
|
|
24
|
+
* const thisAwsAssumeRolePolicy = databricks.getAwsAssumeRolePolicy({
|
|
25
|
+
* externalId: databricksAccountId,
|
|
26
|
+
* });
|
|
27
|
+
* const crossAccountRole = new aws.iam.Role("crossAccountRole", {
|
|
28
|
+
* assumeRolePolicy: thisAwsAssumeRolePolicy.then(thisAwsAssumeRolePolicy => thisAwsAssumeRolePolicy.json),
|
|
29
|
+
* description: "Grants Databricks full access to VPC resources",
|
|
30
|
+
* });
|
|
31
|
+
* const crossAccountRolePolicyAttachment = new aws.iam.RolePolicyAttachment("crossAccountRolePolicyAttachment", {
|
|
32
|
+
* policyArn: crossAccountPolicy.arn,
|
|
33
|
+
* role: crossAccountRole.name,
|
|
34
|
+
* });
|
|
35
|
+
* // required only in case of multi-workspace setup
|
|
36
|
+
* const thisMwsCredentials = new databricks.MwsCredentials("thisMwsCredentials", {
|
|
37
|
+
* accountId: databricksAccountId,
|
|
38
|
+
* credentialsName: `${_var.prefix}-creds`,
|
|
39
|
+
* roleArn: crossAccountRole.arn,
|
|
40
|
+
* }, {
|
|
41
|
+
* provider: databricks.mws,
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
* ## Related Resources
|
|
45
|
+
*
|
|
46
|
+
* The following resources are used in the same context:
|
|
47
|
+
*
|
|
48
|
+
* * Provisioning AWS Databricks E2 with a Hub & Spoke firewall for data exfiltration protection guide
|
|
49
|
+
* * databricks.getAwsBucketPolicy data to configure a simple access policy for AWS S3 buckets, so that Databricks can access data in it.
|
|
50
|
+
* * databricks.getAwsCrossAccountPolicy data to construct the necessary AWS cross-account policy for you, which is based on [official documentation](https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your%C2%A0VPC,%C2%A0default).
|
|
51
|
+
*/
|
|
8
52
|
function getAwsAssumeRolePolicy(args, opts) {
|
|
9
53
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
54
|
return pulumi.runtime.invoke("databricks:index/getAwsAssumeRolePolicy:getAwsAssumeRolePolicy", {
|
|
@@ -14,6 +58,50 @@ function getAwsAssumeRolePolicy(args, opts) {
|
|
|
14
58
|
}, opts);
|
|
15
59
|
}
|
|
16
60
|
exports.getAwsAssumeRolePolicy = getAwsAssumeRolePolicy;
|
|
61
|
+
/**
|
|
62
|
+
* This data source constructs necessary AWS STS assume role policy for you.
|
|
63
|
+
*
|
|
64
|
+
* ## Example Usage
|
|
65
|
+
*
|
|
66
|
+
* End-to-end example of provisioning Cross-account IAM role with databricks_mws_credentials:
|
|
67
|
+
*
|
|
68
|
+
* ```typescript
|
|
69
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
70
|
+
* import * as aws from "@pulumi/aws";
|
|
71
|
+
* import * as databricks from "@pulumi/databricks";
|
|
72
|
+
*
|
|
73
|
+
* const config = new pulumi.Config();
|
|
74
|
+
* const databricksAccountId = config.requireObject("databricksAccountId");
|
|
75
|
+
* const thisAwsCrossAccountPolicy = databricks.getAwsCrossAccountPolicy({});
|
|
76
|
+
* const crossAccountPolicy = new aws.iam.Policy("crossAccountPolicy", {policy: thisAwsCrossAccountPolicy.then(thisAwsCrossAccountPolicy => thisAwsCrossAccountPolicy.json)});
|
|
77
|
+
* const thisAwsAssumeRolePolicy = databricks.getAwsAssumeRolePolicy({
|
|
78
|
+
* externalId: databricksAccountId,
|
|
79
|
+
* });
|
|
80
|
+
* const crossAccountRole = new aws.iam.Role("crossAccountRole", {
|
|
81
|
+
* assumeRolePolicy: thisAwsAssumeRolePolicy.then(thisAwsAssumeRolePolicy => thisAwsAssumeRolePolicy.json),
|
|
82
|
+
* description: "Grants Databricks full access to VPC resources",
|
|
83
|
+
* });
|
|
84
|
+
* const crossAccountRolePolicyAttachment = new aws.iam.RolePolicyAttachment("crossAccountRolePolicyAttachment", {
|
|
85
|
+
* policyArn: crossAccountPolicy.arn,
|
|
86
|
+
* role: crossAccountRole.name,
|
|
87
|
+
* });
|
|
88
|
+
* // required only in case of multi-workspace setup
|
|
89
|
+
* const thisMwsCredentials = new databricks.MwsCredentials("thisMwsCredentials", {
|
|
90
|
+
* accountId: databricksAccountId,
|
|
91
|
+
* credentialsName: `${_var.prefix}-creds`,
|
|
92
|
+
* roleArn: crossAccountRole.arn,
|
|
93
|
+
* }, {
|
|
94
|
+
* provider: databricks.mws,
|
|
95
|
+
* });
|
|
96
|
+
* ```
|
|
97
|
+
* ## Related Resources
|
|
98
|
+
*
|
|
99
|
+
* The following resources are used in the same context:
|
|
100
|
+
*
|
|
101
|
+
* * Provisioning AWS Databricks E2 with a Hub & Spoke firewall for data exfiltration protection guide
|
|
102
|
+
* * databricks.getAwsBucketPolicy data to configure a simple access policy for AWS S3 buckets, so that Databricks can access data in it.
|
|
103
|
+
* * databricks.getAwsCrossAccountPolicy data to construct the necessary AWS cross-account policy for you, which is based on [official documentation](https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your%C2%A0VPC,%C2%A0default).
|
|
104
|
+
*/
|
|
17
105
|
function getAwsAssumeRolePolicyOutput(args, opts) {
|
|
18
106
|
return pulumi.output(args).apply((a) => getAwsAssumeRolePolicy(a, opts));
|
|
19
107
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAwsAssumeRolePolicy.js","sourceRoot":"","sources":["../getAwsAssumeRolePolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAEhG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wDAQC;AAiCD,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,oEAEC"}
|
|
1
|
+
{"version":3,"file":"getAwsAssumeRolePolicy.js","sourceRoot":"","sources":["../getAwsAssumeRolePolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAEhG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wDAQC;AAiCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,oEAEC"}
|
package/getCluster.d.ts
CHANGED
|
@@ -2,6 +2,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
6
|
+
*
|
|
7
|
+
* Retrieves information about a databricks.Cluster using its id. This could be retrieved programmatically using databricks.getClusters data source.
|
|
8
|
+
*
|
|
5
9
|
* ## Example Usage
|
|
6
10
|
*
|
|
7
11
|
* Retrieve attributes of each SQL warehouses in a workspace
|
|
@@ -68,6 +72,10 @@ export interface GetClusterResult {
|
|
|
68
72
|
readonly id: string;
|
|
69
73
|
}
|
|
70
74
|
/**
|
|
75
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
76
|
+
*
|
|
77
|
+
* Retrieves information about a databricks.Cluster using its id. This could be retrieved programmatically using databricks.getClusters data source.
|
|
78
|
+
*
|
|
71
79
|
* ## Example Usage
|
|
72
80
|
*
|
|
73
81
|
* Retrieve attributes of each SQL warehouses in a workspace
|
package/getCluster.js
CHANGED
|
@@ -6,6 +6,10 @@ exports.getClusterOutput = exports.getCluster = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
10
|
+
*
|
|
11
|
+
* Retrieves information about a databricks.Cluster using its id. This could be retrieved programmatically using databricks.getClusters data source.
|
|
12
|
+
*
|
|
9
13
|
* ## Example Usage
|
|
10
14
|
*
|
|
11
15
|
* Retrieve attributes of each SQL warehouses in a workspace
|
|
@@ -43,6 +47,10 @@ function getCluster(args, opts) {
|
|
|
43
47
|
}
|
|
44
48
|
exports.getCluster = getCluster;
|
|
45
49
|
/**
|
|
50
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
51
|
+
*
|
|
52
|
+
* Retrieves information about a databricks.Cluster using its id. This could be retrieved programmatically using databricks.getClusters data source.
|
|
53
|
+
*
|
|
46
54
|
* ## Example Usage
|
|
47
55
|
*
|
|
48
56
|
* Retrieve attributes of each SQL warehouses in a workspace
|
package/getCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gCAUC;AA0CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
package/getClusterPolicy.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
4
|
+
*
|
|
5
|
+
* Retrieves information about databricks_cluster_policy.
|
|
6
|
+
*
|
|
3
7
|
* ## Example Usage
|
|
4
8
|
*
|
|
5
9
|
* Referring to a cluster policy by name:
|
|
@@ -56,6 +60,10 @@ export interface GetClusterPolicyResult {
|
|
|
56
60
|
readonly name: string;
|
|
57
61
|
}
|
|
58
62
|
/**
|
|
63
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
64
|
+
*
|
|
65
|
+
* Retrieves information about databricks_cluster_policy.
|
|
66
|
+
*
|
|
59
67
|
* ## Example Usage
|
|
60
68
|
*
|
|
61
69
|
* Referring to a cluster policy by name:
|
package/getClusterPolicy.js
CHANGED
|
@@ -6,6 +6,10 @@ exports.getClusterPolicyOutput = exports.getClusterPolicy = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
10
|
+
*
|
|
11
|
+
* Retrieves information about databricks_cluster_policy.
|
|
12
|
+
*
|
|
9
13
|
* ## Example Usage
|
|
10
14
|
*
|
|
11
15
|
* Referring to a cluster policy by name:
|
|
@@ -33,6 +37,10 @@ function getClusterPolicy(args, opts) {
|
|
|
33
37
|
}
|
|
34
38
|
exports.getClusterPolicy = getClusterPolicy;
|
|
35
39
|
/**
|
|
40
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
41
|
+
*
|
|
42
|
+
* Retrieves information about databricks_cluster_policy.
|
|
43
|
+
*
|
|
36
44
|
* ## Example Usage
|
|
37
45
|
*
|
|
38
46
|
* Referring to a cluster policy by name:
|
package/getClusterPolicy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getClusterPolicy.js","sourceRoot":"","sources":["../getClusterPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getClusterPolicy.js","sourceRoot":"","sources":["../getClusterPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,4CAUC;AA0CD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
|
package/getDbfsFile.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
4
|
+
*
|
|
5
|
+
* This data source allows to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
|
|
6
|
+
*
|
|
3
7
|
* ## Example Usage
|
|
4
8
|
*
|
|
5
9
|
* ```typescript
|
|
@@ -54,6 +58,10 @@ export interface GetDbfsFileResult {
|
|
|
54
58
|
readonly path: string;
|
|
55
59
|
}
|
|
56
60
|
/**
|
|
61
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
62
|
+
*
|
|
63
|
+
* This data source allows to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
|
|
64
|
+
*
|
|
57
65
|
* ## Example Usage
|
|
58
66
|
*
|
|
59
67
|
* ```typescript
|
package/getDbfsFile.js
CHANGED
|
@@ -6,6 +6,10 @@ exports.getDbfsFileOutput = exports.getDbfsFile = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
10
|
+
*
|
|
11
|
+
* This data source allows to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
|
|
12
|
+
*
|
|
9
13
|
* ## Example Usage
|
|
10
14
|
*
|
|
11
15
|
* ```typescript
|
|
@@ -35,6 +39,10 @@ function getDbfsFile(args, opts) {
|
|
|
35
39
|
}
|
|
36
40
|
exports.getDbfsFile = getDbfsFile;
|
|
37
41
|
/**
|
|
42
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
43
|
+
*
|
|
44
|
+
* This data source allows to get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
|
|
45
|
+
*
|
|
38
46
|
* ## Example Usage
|
|
39
47
|
*
|
|
40
48
|
* ```typescript
|
package/getDbfsFile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDbfsFile.js","sourceRoot":"","sources":["../getDbfsFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getDbfsFile.js","sourceRoot":"","sources":["../getDbfsFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kCAOC;AAmCD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
|
package/getDbfsFilePaths.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
5
|
+
*
|
|
6
|
+
* This data source allows to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
|
|
7
|
+
*
|
|
4
8
|
* ## Example Usage
|
|
5
9
|
*
|
|
6
10
|
* ```typescript
|
|
@@ -53,6 +57,10 @@ export interface GetDbfsFilePathsResult {
|
|
|
53
57
|
readonly recursive: boolean;
|
|
54
58
|
}
|
|
55
59
|
/**
|
|
60
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
61
|
+
*
|
|
62
|
+
* This data source allows to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
|
|
63
|
+
*
|
|
56
64
|
* ## Example Usage
|
|
57
65
|
*
|
|
58
66
|
* ```typescript
|
package/getDbfsFilePaths.js
CHANGED
|
@@ -6,6 +6,10 @@ exports.getDbfsFilePathsOutput = exports.getDbfsFilePaths = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
10
|
+
*
|
|
11
|
+
* This data source allows to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
|
|
12
|
+
*
|
|
9
13
|
* ## Example Usage
|
|
10
14
|
*
|
|
11
15
|
* ```typescript
|
|
@@ -37,6 +41,10 @@ function getDbfsFilePaths(args, opts) {
|
|
|
37
41
|
}
|
|
38
42
|
exports.getDbfsFilePaths = getDbfsFilePaths;
|
|
39
43
|
/**
|
|
44
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
45
|
+
*
|
|
46
|
+
* This data source allows to get list of file names from get file content from [Databricks File System (DBFS)](https://docs.databricks.com/data/databricks-file-system.html).
|
|
47
|
+
*
|
|
40
48
|
* ## Example Usage
|
|
41
49
|
*
|
|
42
50
|
* ```typescript
|
package/getDbfsFilePaths.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDbfsFilePaths.js","sourceRoot":"","sources":["../getDbfsFilePaths.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getDbfsFilePaths.js","sourceRoot":"","sources":["../getDbfsFilePaths.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4CAOC;AA+BD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
|
package/getDirectory.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
4
|
+
*
|
|
5
|
+
* This data source allows to get information about a directory in a Databricks Workspace.
|
|
6
|
+
*
|
|
3
7
|
* ## Example Usage
|
|
4
8
|
*
|
|
5
9
|
* ```typescript
|
|
@@ -40,6 +44,10 @@ export interface GetDirectoryResult {
|
|
|
40
44
|
readonly path: string;
|
|
41
45
|
}
|
|
42
46
|
/**
|
|
47
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
48
|
+
*
|
|
49
|
+
* This data source allows to get information about a directory in a Databricks Workspace.
|
|
50
|
+
*
|
|
43
51
|
* ## Example Usage
|
|
44
52
|
*
|
|
45
53
|
* ```typescript
|
package/getDirectory.js
CHANGED
|
@@ -6,6 +6,10 @@ exports.getDirectoryOutput = exports.getDirectory = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
10
|
+
*
|
|
11
|
+
* This data source allows to get information about a directory in a Databricks Workspace.
|
|
12
|
+
*
|
|
9
13
|
* ## Example Usage
|
|
10
14
|
*
|
|
11
15
|
* ```typescript
|
|
@@ -26,6 +30,10 @@ function getDirectory(args, opts) {
|
|
|
26
30
|
}
|
|
27
31
|
exports.getDirectory = getDirectory;
|
|
28
32
|
/**
|
|
33
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
34
|
+
*
|
|
35
|
+
* This data source allows to get information about a directory in a Databricks Workspace.
|
|
36
|
+
*
|
|
29
37
|
* ## Example Usage
|
|
30
38
|
*
|
|
31
39
|
* ```typescript
|
package/getDirectory.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDirectory.js","sourceRoot":"","sources":["../getDirectory.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getDirectory.js","sourceRoot":"","sources":["../getDirectory.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oCAOC;AA8BD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
|
package/getGroup.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
4
|
+
*
|
|
5
|
+
* Retrieves information about databricks.Group members, entitlements and instance profiles.
|
|
6
|
+
*
|
|
3
7
|
* ## Example Usage
|
|
4
8
|
*
|
|
5
9
|
* Adding user to administrative group
|
|
@@ -130,6 +134,10 @@ export interface GetGroupResult {
|
|
|
130
134
|
readonly workspaceAccess?: boolean;
|
|
131
135
|
}
|
|
132
136
|
/**
|
|
137
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
138
|
+
*
|
|
139
|
+
* Retrieves information about databricks.Group members, entitlements and instance profiles.
|
|
140
|
+
*
|
|
133
141
|
* ## Example Usage
|
|
134
142
|
*
|
|
135
143
|
* Adding user to administrative group
|
package/getGroup.js
CHANGED
|
@@ -6,6 +6,10 @@ exports.getGroupOutput = exports.getGroup = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
10
|
+
*
|
|
11
|
+
* Retrieves information about databricks.Group members, entitlements and instance profiles.
|
|
12
|
+
*
|
|
9
13
|
* ## Example Usage
|
|
10
14
|
*
|
|
11
15
|
* Adding user to administrative group
|
|
@@ -54,6 +58,10 @@ function getGroup(args, opts) {
|
|
|
54
58
|
}
|
|
55
59
|
exports.getGroup = getGroup;
|
|
56
60
|
/**
|
|
61
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
62
|
+
*
|
|
63
|
+
* Retrieves information about databricks.Group members, entitlements and instance profiles.
|
|
64
|
+
*
|
|
57
65
|
* ## Example Usage
|
|
58
66
|
*
|
|
59
67
|
* Adding user to administrative group
|
package/getGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAlBD,4BAkBC;AAuGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
package/getInstancePool.d.ts
CHANGED
|
@@ -2,6 +2,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
6
|
+
*
|
|
7
|
+
* Retrieves information about databricks_instance_pool.
|
|
8
|
+
*
|
|
5
9
|
* ## Example Usage
|
|
6
10
|
*
|
|
7
11
|
* Referring to an instance pool by name:
|
|
@@ -46,6 +50,10 @@ export interface GetInstancePoolResult {
|
|
|
46
50
|
readonly poolInfo: outputs.GetInstancePoolPoolInfo;
|
|
47
51
|
}
|
|
48
52
|
/**
|
|
53
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
54
|
+
*
|
|
55
|
+
* Retrieves information about databricks_instance_pool.
|
|
56
|
+
*
|
|
49
57
|
* ## Example Usage
|
|
50
58
|
*
|
|
51
59
|
* Referring to an instance pool by name:
|
package/getInstancePool.js
CHANGED
|
@@ -6,6 +6,10 @@ exports.getInstancePoolOutput = exports.getInstancePool = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
10
|
+
*
|
|
11
|
+
* Retrieves information about databricks_instance_pool.
|
|
12
|
+
*
|
|
9
13
|
* ## Example Usage
|
|
10
14
|
*
|
|
11
15
|
* Referring to an instance pool by name:
|
|
@@ -30,6 +34,10 @@ function getInstancePool(args, opts) {
|
|
|
30
34
|
}
|
|
31
35
|
exports.getInstancePool = getInstancePool;
|
|
32
36
|
/**
|
|
37
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
38
|
+
*
|
|
39
|
+
* Retrieves information about databricks_instance_pool.
|
|
40
|
+
*
|
|
33
41
|
* ## Example Usage
|
|
34
42
|
*
|
|
35
43
|
* Referring to an instance pool by name:
|
package/getInstancePool.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getInstancePool.js","sourceRoot":"","sources":["../getInstancePool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getInstancePool.js","sourceRoot":"","sources":["../getInstancePool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0CAOC;AA8BD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
|
package/getJob.d.ts
CHANGED
|
@@ -2,6 +2,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
6
|
+
*
|
|
7
|
+
* Retrieves the settings of databricks.Job by name or by id. Complements the feature of the databricks.getJobs data source.
|
|
8
|
+
*
|
|
5
9
|
* ## Example Usage
|
|
6
10
|
*
|
|
7
11
|
* Getting the existing cluster id of specific databricks.Job by name or by id:
|
|
@@ -62,6 +66,10 @@ export interface GetJobResult {
|
|
|
62
66
|
readonly name: string;
|
|
63
67
|
}
|
|
64
68
|
/**
|
|
69
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
70
|
+
*
|
|
71
|
+
* Retrieves the settings of databricks.Job by name or by id. Complements the feature of the databricks.getJobs data source.
|
|
72
|
+
*
|
|
65
73
|
* ## Example Usage
|
|
66
74
|
*
|
|
67
75
|
* Getting the existing cluster id of specific databricks.Job by name or by id:
|
package/getJob.js
CHANGED
|
@@ -6,6 +6,10 @@ exports.getJobOutput = exports.getJob = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
10
|
+
*
|
|
11
|
+
* Retrieves the settings of databricks.Job by name or by id. Complements the feature of the databricks.getJobs data source.
|
|
12
|
+
*
|
|
9
13
|
* ## Example Usage
|
|
10
14
|
*
|
|
11
15
|
* Getting the existing cluster id of specific databricks.Job by name or by id:
|
|
@@ -39,6 +43,10 @@ function getJob(args, opts) {
|
|
|
39
43
|
}
|
|
40
44
|
exports.getJob = getJob;
|
|
41
45
|
/**
|
|
46
|
+
* > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
47
|
+
*
|
|
48
|
+
* Retrieves the settings of databricks.Job by name or by id. Complements the feature of the databricks.getJobs data source.
|
|
49
|
+
*
|
|
42
50
|
* ## Example Usage
|
|
43
51
|
*
|
|
44
52
|
* Getting the existing cluster id of specific databricks.Job by name or by id:
|
package/getJob.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getJob.js","sourceRoot":"","sources":["../getJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getJob.js","sourceRoot":"","sources":["../getJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,MAAM,CAAC,IAAiB,EAAE,IAA2B;IACjE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,wBAWC;AAyCD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,oCAEC"}
|