@pulumi/databricks 1.61.0-alpha.1739424819 → 1.61.0-alpha.1739503861
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/oboToken.d.ts +5 -1
- package/oboToken.js +5 -1
- package/oboToken.js.map +1 -1
- package/package.json +2 -2
- package/permissions.d.ts +24 -0
- package/permissions.js +24 -0
- package/permissions.js.map +1 -1
- package/token.d.ts +2 -0
- package/token.js +2 -0
- package/token.js.map +1 -1
- package/types/input.d.ts +43 -0
- package/types/output.d.ts +43 -0
package/oboToken.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* This resource
|
|
3
|
+
* > This resource can only be used with a workspace-level provider!
|
|
4
|
+
*
|
|
5
|
+
* 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 and GCP. In general it's best to use OAuth authentication using client ID and secret, and use this resource mostly for integrations that doesn't support OAuth.
|
|
6
|
+
*
|
|
7
|
+
* > To create On-Behalf-Of token for Azure Service Principal, configure Pulumi provider to use Azure service principal's client ID and secret, and use `databricks.Token` resource to create a personal access token.
|
|
4
8
|
*
|
|
5
9
|
* ## Example Usage
|
|
6
10
|
*
|
package/oboToken.js
CHANGED
|
@@ -6,7 +6,11 @@ exports.OboToken = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* This resource
|
|
9
|
+
* > This resource can only be used with a workspace-level provider!
|
|
10
|
+
*
|
|
11
|
+
* 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 and GCP. In general it's best to use OAuth authentication using client ID and secret, and use this resource mostly for integrations that doesn't support OAuth.
|
|
12
|
+
*
|
|
13
|
+
* > To create On-Behalf-Of token for Azure Service Principal, configure Pulumi provider to use Azure service principal's client ID and secret, and use `databricks.Token` resource to create a personal access token.
|
|
10
14
|
*
|
|
11
15
|
* ## Example Usage
|
|
12
16
|
*
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IA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AuB,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC;QAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA5EL,4BA6EC;AA/DG,gBAAgB;AACO,qBAAY,GAAG,oCAAoC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/databricks",
|
|
3
|
-
"version": "1.61.0-alpha.
|
|
3
|
+
"version": "1.61.0-alpha.1739503861",
|
|
4
4
|
"description": "A Pulumi package for creating and managing databricks cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "databricks",
|
|
27
|
-
"version": "1.61.0-alpha.
|
|
27
|
+
"version": "1.61.0-alpha.1739503861"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/permissions.d.ts
CHANGED
|
@@ -778,6 +778,30 @@ import * as outputs from "./types/output";
|
|
|
778
778
|
* });
|
|
779
779
|
* ```
|
|
780
780
|
*
|
|
781
|
+
* ## Databricks Apps usage
|
|
782
|
+
*
|
|
783
|
+
* [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) have two possible permissions: `CAN_USE` and `CAN_MANAGE`:
|
|
784
|
+
*
|
|
785
|
+
* ```typescript
|
|
786
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
787
|
+
* import * as databricks from "@pulumi/databricks";
|
|
788
|
+
*
|
|
789
|
+
* const eng = new databricks.Group("eng", {displayName: "Engineering"});
|
|
790
|
+
* const appUsage = new databricks.Permissions("app_usage", {
|
|
791
|
+
* appName: "myapp",
|
|
792
|
+
* accessControls: [
|
|
793
|
+
* {
|
|
794
|
+
* groupName: "users",
|
|
795
|
+
* permissionLevel: "CAN_USE",
|
|
796
|
+
* },
|
|
797
|
+
* {
|
|
798
|
+
* groupName: eng.displayName,
|
|
799
|
+
* permissionLevel: "CAN_MANAGE",
|
|
800
|
+
* },
|
|
801
|
+
* ],
|
|
802
|
+
* });
|
|
803
|
+
* ```
|
|
804
|
+
*
|
|
781
805
|
* ## Instance Profiles
|
|
782
806
|
*
|
|
783
807
|
* Instance Profiles are not managed by General Permissions API and therefore databricks.GroupInstanceProfile and databricks.UserInstanceProfile should be used to allow usage of specific AWS EC2 IAM roles to users or groups.
|
package/permissions.js
CHANGED
|
@@ -782,6 +782,30 @@ const utilities = require("./utilities");
|
|
|
782
782
|
* });
|
|
783
783
|
* ```
|
|
784
784
|
*
|
|
785
|
+
* ## Databricks Apps usage
|
|
786
|
+
*
|
|
787
|
+
* [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) have two possible permissions: `CAN_USE` and `CAN_MANAGE`:
|
|
788
|
+
*
|
|
789
|
+
* ```typescript
|
|
790
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
791
|
+
* import * as databricks from "@pulumi/databricks";
|
|
792
|
+
*
|
|
793
|
+
* const eng = new databricks.Group("eng", {displayName: "Engineering"});
|
|
794
|
+
* const appUsage = new databricks.Permissions("app_usage", {
|
|
795
|
+
* appName: "myapp",
|
|
796
|
+
* accessControls: [
|
|
797
|
+
* {
|
|
798
|
+
* groupName: "users",
|
|
799
|
+
* permissionLevel: "CAN_USE",
|
|
800
|
+
* },
|
|
801
|
+
* {
|
|
802
|
+
* groupName: eng.displayName,
|
|
803
|
+
* permissionLevel: "CAN_MANAGE",
|
|
804
|
+
* },
|
|
805
|
+
* ],
|
|
806
|
+
* });
|
|
807
|
+
* ```
|
|
808
|
+
*
|
|
785
809
|
* ## Instance Profiles
|
|
786
810
|
*
|
|
787
811
|
* Instance Profiles are not managed by General Permissions API and therefore databricks.GroupInstanceProfile and databricks.UserInstanceProfile should be used to allow usage of specific AWS EC2 IAM roles to users or groups.
|
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;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"permissions.js","sourceRoot":"","sources":["../permissions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AC,SAAS,CAAC;YAC1E,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;SACnF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAnIL,kCAoIC;AAtHG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
package/token.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* > This resource can only be used with a workspace-level provider!
|
|
4
|
+
*
|
|
3
5
|
* This resource creates [Personal Access Tokens](https://docs.databricks.com/sql/user/security/personal-access-tokens.html) for the same user that is authenticated with the provider. Most likely you should use databricks.OboToken to create [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. Databricks workspaces on other clouds use their own native OAuth token flows.
|
|
4
6
|
*
|
|
5
7
|
* ## Example Usage
|
package/token.js
CHANGED
|
@@ -6,6 +6,8 @@ exports.Token = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* > This resource can only be used with a workspace-level provider!
|
|
10
|
+
*
|
|
9
11
|
* This resource creates [Personal Access Tokens](https://docs.databricks.com/sql/user/security/personal-access-tokens.html) for the same user that is authenticated with the provider. Most likely you should use databricks.OboToken to create [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. Databricks workspaces on other clouds use their own native OAuth token flows.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
package/token.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token.js","sourceRoot":"","sources":["../token.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"token.js","sourceRoot":"","sources":["../token.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAA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AC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,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,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC;QAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AA5EL,sBA6EC;AA/DG,gBAAgB;AACO,kBAAY,GAAG,8BAA8B,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -447,6 +447,7 @@ export interface ClusterAzureAttributesLogAnalyticsInfo {
|
|
|
447
447
|
export interface ClusterClusterLogConf {
|
|
448
448
|
dbfs?: pulumi.Input<inputs.ClusterClusterLogConfDbfs>;
|
|
449
449
|
s3?: pulumi.Input<inputs.ClusterClusterLogConfS3>;
|
|
450
|
+
volumes?: pulumi.Input<inputs.ClusterClusterLogConfVolumes>;
|
|
450
451
|
}
|
|
451
452
|
export interface ClusterClusterLogConfDbfs {
|
|
452
453
|
/**
|
|
@@ -484,6 +485,12 @@ export interface ClusterClusterLogConfS3 {
|
|
|
484
485
|
*/
|
|
485
486
|
region?: pulumi.Input<string>;
|
|
486
487
|
}
|
|
488
|
+
export interface ClusterClusterLogConfVolumes {
|
|
489
|
+
/**
|
|
490
|
+
* S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys.
|
|
491
|
+
*/
|
|
492
|
+
destination: pulumi.Input<string>;
|
|
493
|
+
}
|
|
487
494
|
export interface ClusterClusterMountInfo {
|
|
488
495
|
/**
|
|
489
496
|
* path inside the Spark container.
|
|
@@ -1298,10 +1305,12 @@ export interface GetClusterClusterInfoAzureAttributesLogAnalyticsInfoArgs {
|
|
|
1298
1305
|
export interface GetClusterClusterInfoClusterLogConf {
|
|
1299
1306
|
dbfs?: inputs.GetClusterClusterInfoClusterLogConfDbfs;
|
|
1300
1307
|
s3?: inputs.GetClusterClusterInfoClusterLogConfS3;
|
|
1308
|
+
volumes?: inputs.GetClusterClusterInfoClusterLogConfVolumes;
|
|
1301
1309
|
}
|
|
1302
1310
|
export interface GetClusterClusterInfoClusterLogConfArgs {
|
|
1303
1311
|
dbfs?: pulumi.Input<inputs.GetClusterClusterInfoClusterLogConfDbfsArgs>;
|
|
1304
1312
|
s3?: pulumi.Input<inputs.GetClusterClusterInfoClusterLogConfS3Args>;
|
|
1313
|
+
volumes?: pulumi.Input<inputs.GetClusterClusterInfoClusterLogConfVolumesArgs>;
|
|
1305
1314
|
}
|
|
1306
1315
|
export interface GetClusterClusterInfoClusterLogConfDbfs {
|
|
1307
1316
|
destination: string;
|
|
@@ -1327,6 +1336,12 @@ export interface GetClusterClusterInfoClusterLogConfS3Args {
|
|
|
1327
1336
|
kmsKey?: pulumi.Input<string>;
|
|
1328
1337
|
region?: pulumi.Input<string>;
|
|
1329
1338
|
}
|
|
1339
|
+
export interface GetClusterClusterInfoClusterLogConfVolumes {
|
|
1340
|
+
destination: string;
|
|
1341
|
+
}
|
|
1342
|
+
export interface GetClusterClusterInfoClusterLogConfVolumesArgs {
|
|
1343
|
+
destination: pulumi.Input<string>;
|
|
1344
|
+
}
|
|
1330
1345
|
export interface GetClusterClusterInfoClusterLogStatus {
|
|
1331
1346
|
lastAttempted?: number;
|
|
1332
1347
|
lastException?: string;
|
|
@@ -1732,10 +1747,12 @@ export interface GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfoArgs {
|
|
|
1732
1747
|
export interface GetClusterClusterInfoSpecClusterLogConf {
|
|
1733
1748
|
dbfs?: inputs.GetClusterClusterInfoSpecClusterLogConfDbfs;
|
|
1734
1749
|
s3?: inputs.GetClusterClusterInfoSpecClusterLogConfS3;
|
|
1750
|
+
volumes?: inputs.GetClusterClusterInfoSpecClusterLogConfVolumes;
|
|
1735
1751
|
}
|
|
1736
1752
|
export interface GetClusterClusterInfoSpecClusterLogConfArgs {
|
|
1737
1753
|
dbfs?: pulumi.Input<inputs.GetClusterClusterInfoSpecClusterLogConfDbfsArgs>;
|
|
1738
1754
|
s3?: pulumi.Input<inputs.GetClusterClusterInfoSpecClusterLogConfS3Args>;
|
|
1755
|
+
volumes?: pulumi.Input<inputs.GetClusterClusterInfoSpecClusterLogConfVolumesArgs>;
|
|
1739
1756
|
}
|
|
1740
1757
|
export interface GetClusterClusterInfoSpecClusterLogConfDbfs {
|
|
1741
1758
|
destination: string;
|
|
@@ -1761,6 +1778,12 @@ export interface GetClusterClusterInfoSpecClusterLogConfS3Args {
|
|
|
1761
1778
|
kmsKey?: pulumi.Input<string>;
|
|
1762
1779
|
region?: pulumi.Input<string>;
|
|
1763
1780
|
}
|
|
1781
|
+
export interface GetClusterClusterInfoSpecClusterLogConfVolumes {
|
|
1782
|
+
destination: string;
|
|
1783
|
+
}
|
|
1784
|
+
export interface GetClusterClusterInfoSpecClusterLogConfVolumesArgs {
|
|
1785
|
+
destination: pulumi.Input<string>;
|
|
1786
|
+
}
|
|
1764
1787
|
export interface GetClusterClusterInfoSpecClusterMountInfo {
|
|
1765
1788
|
localMountDirPath: string;
|
|
1766
1789
|
networkFilesystemInfo: inputs.GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo;
|
|
@@ -7770,6 +7793,7 @@ export interface JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo {
|
|
|
7770
7793
|
export interface JobJobClusterNewClusterClusterLogConf {
|
|
7771
7794
|
dbfs?: pulumi.Input<inputs.JobJobClusterNewClusterClusterLogConfDbfs>;
|
|
7772
7795
|
s3?: pulumi.Input<inputs.JobJobClusterNewClusterClusterLogConfS3>;
|
|
7796
|
+
volumes?: pulumi.Input<inputs.JobJobClusterNewClusterClusterLogConfVolumes>;
|
|
7773
7797
|
}
|
|
7774
7798
|
export interface JobJobClusterNewClusterClusterLogConfDbfs {
|
|
7775
7799
|
destination: pulumi.Input<string>;
|
|
@@ -7783,6 +7807,9 @@ export interface JobJobClusterNewClusterClusterLogConfS3 {
|
|
|
7783
7807
|
kmsKey?: pulumi.Input<string>;
|
|
7784
7808
|
region?: pulumi.Input<string>;
|
|
7785
7809
|
}
|
|
7810
|
+
export interface JobJobClusterNewClusterClusterLogConfVolumes {
|
|
7811
|
+
destination: pulumi.Input<string>;
|
|
7812
|
+
}
|
|
7786
7813
|
export interface JobJobClusterNewClusterClusterMountInfo {
|
|
7787
7814
|
localMountDirPath: pulumi.Input<string>;
|
|
7788
7815
|
networkFilesystemInfo: pulumi.Input<inputs.JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo>;
|
|
@@ -7980,6 +8007,7 @@ export interface JobNewClusterAzureAttributesLogAnalyticsInfo {
|
|
|
7980
8007
|
export interface JobNewClusterClusterLogConf {
|
|
7981
8008
|
dbfs?: pulumi.Input<inputs.JobNewClusterClusterLogConfDbfs>;
|
|
7982
8009
|
s3?: pulumi.Input<inputs.JobNewClusterClusterLogConfS3>;
|
|
8010
|
+
volumes?: pulumi.Input<inputs.JobNewClusterClusterLogConfVolumes>;
|
|
7983
8011
|
}
|
|
7984
8012
|
export interface JobNewClusterClusterLogConfDbfs {
|
|
7985
8013
|
destination: pulumi.Input<string>;
|
|
@@ -7993,6 +8021,9 @@ export interface JobNewClusterClusterLogConfS3 {
|
|
|
7993
8021
|
kmsKey?: pulumi.Input<string>;
|
|
7994
8022
|
region?: pulumi.Input<string>;
|
|
7995
8023
|
}
|
|
8024
|
+
export interface JobNewClusterClusterLogConfVolumes {
|
|
8025
|
+
destination: pulumi.Input<string>;
|
|
8026
|
+
}
|
|
7996
8027
|
export interface JobNewClusterClusterMountInfo {
|
|
7997
8028
|
localMountDirPath: pulumi.Input<string>;
|
|
7998
8029
|
networkFilesystemInfo: pulumi.Input<inputs.JobNewClusterClusterMountInfoNetworkFilesystemInfo>;
|
|
@@ -8775,6 +8806,7 @@ export interface JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo
|
|
|
8775
8806
|
export interface JobTaskForEachTaskTaskNewClusterClusterLogConf {
|
|
8776
8807
|
dbfs?: pulumi.Input<inputs.JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs>;
|
|
8777
8808
|
s3?: pulumi.Input<inputs.JobTaskForEachTaskTaskNewClusterClusterLogConfS3>;
|
|
8809
|
+
volumes?: pulumi.Input<inputs.JobTaskForEachTaskTaskNewClusterClusterLogConfVolumes>;
|
|
8778
8810
|
}
|
|
8779
8811
|
export interface JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs {
|
|
8780
8812
|
destination: pulumi.Input<string>;
|
|
@@ -8788,6 +8820,9 @@ export interface JobTaskForEachTaskTaskNewClusterClusterLogConfS3 {
|
|
|
8788
8820
|
kmsKey?: pulumi.Input<string>;
|
|
8789
8821
|
region?: pulumi.Input<string>;
|
|
8790
8822
|
}
|
|
8823
|
+
export interface JobTaskForEachTaskTaskNewClusterClusterLogConfVolumes {
|
|
8824
|
+
destination: pulumi.Input<string>;
|
|
8825
|
+
}
|
|
8791
8826
|
export interface JobTaskForEachTaskTaskNewClusterClusterMountInfo {
|
|
8792
8827
|
localMountDirPath: pulumi.Input<string>;
|
|
8793
8828
|
networkFilesystemInfo: pulumi.Input<inputs.JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo>;
|
|
@@ -9325,6 +9360,7 @@ export interface JobTaskNewClusterAzureAttributesLogAnalyticsInfo {
|
|
|
9325
9360
|
export interface JobTaskNewClusterClusterLogConf {
|
|
9326
9361
|
dbfs?: pulumi.Input<inputs.JobTaskNewClusterClusterLogConfDbfs>;
|
|
9327
9362
|
s3?: pulumi.Input<inputs.JobTaskNewClusterClusterLogConfS3>;
|
|
9363
|
+
volumes?: pulumi.Input<inputs.JobTaskNewClusterClusterLogConfVolumes>;
|
|
9328
9364
|
}
|
|
9329
9365
|
export interface JobTaskNewClusterClusterLogConfDbfs {
|
|
9330
9366
|
destination: pulumi.Input<string>;
|
|
@@ -9338,6 +9374,9 @@ export interface JobTaskNewClusterClusterLogConfS3 {
|
|
|
9338
9374
|
kmsKey?: pulumi.Input<string>;
|
|
9339
9375
|
region?: pulumi.Input<string>;
|
|
9340
9376
|
}
|
|
9377
|
+
export interface JobTaskNewClusterClusterLogConfVolumes {
|
|
9378
|
+
destination: pulumi.Input<string>;
|
|
9379
|
+
}
|
|
9341
9380
|
export interface JobTaskNewClusterClusterMountInfo {
|
|
9342
9381
|
localMountDirPath: pulumi.Input<string>;
|
|
9343
9382
|
networkFilesystemInfo: pulumi.Input<inputs.JobTaskNewClusterClusterMountInfoNetworkFilesystemInfo>;
|
|
@@ -10965,6 +11004,7 @@ export interface PipelineClusterAzureAttributesLogAnalyticsInfo {
|
|
|
10965
11004
|
export interface PipelineClusterClusterLogConf {
|
|
10966
11005
|
dbfs?: pulumi.Input<inputs.PipelineClusterClusterLogConfDbfs>;
|
|
10967
11006
|
s3?: pulumi.Input<inputs.PipelineClusterClusterLogConfS3>;
|
|
11007
|
+
volumes?: pulumi.Input<inputs.PipelineClusterClusterLogConfVolumes>;
|
|
10968
11008
|
}
|
|
10969
11009
|
export interface PipelineClusterClusterLogConfDbfs {
|
|
10970
11010
|
destination: pulumi.Input<string>;
|
|
@@ -10978,6 +11018,9 @@ export interface PipelineClusterClusterLogConfS3 {
|
|
|
10978
11018
|
kmsKey?: pulumi.Input<string>;
|
|
10979
11019
|
region?: pulumi.Input<string>;
|
|
10980
11020
|
}
|
|
11021
|
+
export interface PipelineClusterClusterLogConfVolumes {
|
|
11022
|
+
destination: pulumi.Input<string>;
|
|
11023
|
+
}
|
|
10981
11024
|
export interface PipelineClusterGcpAttributes {
|
|
10982
11025
|
availability?: pulumi.Input<string>;
|
|
10983
11026
|
googleServiceAccount?: pulumi.Input<string>;
|
package/types/output.d.ts
CHANGED
|
@@ -446,6 +446,7 @@ export interface ClusterAzureAttributesLogAnalyticsInfo {
|
|
|
446
446
|
export interface ClusterClusterLogConf {
|
|
447
447
|
dbfs?: outputs.ClusterClusterLogConfDbfs;
|
|
448
448
|
s3?: outputs.ClusterClusterLogConfS3;
|
|
449
|
+
volumes?: outputs.ClusterClusterLogConfVolumes;
|
|
449
450
|
}
|
|
450
451
|
export interface ClusterClusterLogConfDbfs {
|
|
451
452
|
/**
|
|
@@ -483,6 +484,12 @@ export interface ClusterClusterLogConfS3 {
|
|
|
483
484
|
*/
|
|
484
485
|
region?: string;
|
|
485
486
|
}
|
|
487
|
+
export interface ClusterClusterLogConfVolumes {
|
|
488
|
+
/**
|
|
489
|
+
* S3 destination, e.g., `s3://my-bucket/some-prefix` You must configure the cluster with an instance profile, and the instance profile must have write access to the destination. You cannot use AWS keys.
|
|
490
|
+
*/
|
|
491
|
+
destination: string;
|
|
492
|
+
}
|
|
486
493
|
export interface ClusterClusterMountInfo {
|
|
487
494
|
/**
|
|
488
495
|
* path inside the Spark container.
|
|
@@ -844,6 +851,10 @@ export interface GetAppApp {
|
|
|
844
851
|
* The description of the resource.
|
|
845
852
|
*/
|
|
846
853
|
description?: string;
|
|
854
|
+
/**
|
|
855
|
+
* Id of the job to grant permission on.
|
|
856
|
+
*/
|
|
857
|
+
id: string;
|
|
847
858
|
/**
|
|
848
859
|
* The name of the app.
|
|
849
860
|
*/
|
|
@@ -1055,6 +1066,10 @@ export interface GetAppsApp {
|
|
|
1055
1066
|
* The description of the resource.
|
|
1056
1067
|
*/
|
|
1057
1068
|
description?: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* Id of the job to grant permission on.
|
|
1071
|
+
*/
|
|
1072
|
+
id: string;
|
|
1058
1073
|
/**
|
|
1059
1074
|
* Name of the serving endpoint to grant permission on.
|
|
1060
1075
|
*/
|
|
@@ -1481,6 +1496,7 @@ export interface GetClusterClusterInfoAzureAttributesLogAnalyticsInfo {
|
|
|
1481
1496
|
export interface GetClusterClusterInfoClusterLogConf {
|
|
1482
1497
|
dbfs?: outputs.GetClusterClusterInfoClusterLogConfDbfs;
|
|
1483
1498
|
s3?: outputs.GetClusterClusterInfoClusterLogConfS3;
|
|
1499
|
+
volumes?: outputs.GetClusterClusterInfoClusterLogConfVolumes;
|
|
1484
1500
|
}
|
|
1485
1501
|
export interface GetClusterClusterInfoClusterLogConfDbfs {
|
|
1486
1502
|
destination: string;
|
|
@@ -1494,6 +1510,9 @@ export interface GetClusterClusterInfoClusterLogConfS3 {
|
|
|
1494
1510
|
kmsKey?: string;
|
|
1495
1511
|
region?: string;
|
|
1496
1512
|
}
|
|
1513
|
+
export interface GetClusterClusterInfoClusterLogConfVolumes {
|
|
1514
|
+
destination: string;
|
|
1515
|
+
}
|
|
1497
1516
|
export interface GetClusterClusterInfoClusterLogStatus {
|
|
1498
1517
|
lastAttempted?: number;
|
|
1499
1518
|
lastException?: string;
|
|
@@ -1698,6 +1717,7 @@ export interface GetClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo {
|
|
|
1698
1717
|
export interface GetClusterClusterInfoSpecClusterLogConf {
|
|
1699
1718
|
dbfs?: outputs.GetClusterClusterInfoSpecClusterLogConfDbfs;
|
|
1700
1719
|
s3?: outputs.GetClusterClusterInfoSpecClusterLogConfS3;
|
|
1720
|
+
volumes?: outputs.GetClusterClusterInfoSpecClusterLogConfVolumes;
|
|
1701
1721
|
}
|
|
1702
1722
|
export interface GetClusterClusterInfoSpecClusterLogConfDbfs {
|
|
1703
1723
|
destination: string;
|
|
@@ -1711,6 +1731,9 @@ export interface GetClusterClusterInfoSpecClusterLogConfS3 {
|
|
|
1711
1731
|
kmsKey?: string;
|
|
1712
1732
|
region?: string;
|
|
1713
1733
|
}
|
|
1734
|
+
export interface GetClusterClusterInfoSpecClusterLogConfVolumes {
|
|
1735
|
+
destination: string;
|
|
1736
|
+
}
|
|
1714
1737
|
export interface GetClusterClusterInfoSpecClusterMountInfo {
|
|
1715
1738
|
localMountDirPath: string;
|
|
1716
1739
|
networkFilesystemInfo: outputs.GetClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo;
|
|
@@ -4911,6 +4934,7 @@ export interface JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo {
|
|
|
4911
4934
|
export interface JobJobClusterNewClusterClusterLogConf {
|
|
4912
4935
|
dbfs?: outputs.JobJobClusterNewClusterClusterLogConfDbfs;
|
|
4913
4936
|
s3?: outputs.JobJobClusterNewClusterClusterLogConfS3;
|
|
4937
|
+
volumes?: outputs.JobJobClusterNewClusterClusterLogConfVolumes;
|
|
4914
4938
|
}
|
|
4915
4939
|
export interface JobJobClusterNewClusterClusterLogConfDbfs {
|
|
4916
4940
|
destination: string;
|
|
@@ -4924,6 +4948,9 @@ export interface JobJobClusterNewClusterClusterLogConfS3 {
|
|
|
4924
4948
|
kmsKey?: string;
|
|
4925
4949
|
region?: string;
|
|
4926
4950
|
}
|
|
4951
|
+
export interface JobJobClusterNewClusterClusterLogConfVolumes {
|
|
4952
|
+
destination: string;
|
|
4953
|
+
}
|
|
4927
4954
|
export interface JobJobClusterNewClusterClusterMountInfo {
|
|
4928
4955
|
localMountDirPath: string;
|
|
4929
4956
|
networkFilesystemInfo: outputs.JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo;
|
|
@@ -5121,6 +5148,7 @@ export interface JobNewClusterAzureAttributesLogAnalyticsInfo {
|
|
|
5121
5148
|
export interface JobNewClusterClusterLogConf {
|
|
5122
5149
|
dbfs?: outputs.JobNewClusterClusterLogConfDbfs;
|
|
5123
5150
|
s3?: outputs.JobNewClusterClusterLogConfS3;
|
|
5151
|
+
volumes?: outputs.JobNewClusterClusterLogConfVolumes;
|
|
5124
5152
|
}
|
|
5125
5153
|
export interface JobNewClusterClusterLogConfDbfs {
|
|
5126
5154
|
destination: string;
|
|
@@ -5134,6 +5162,9 @@ export interface JobNewClusterClusterLogConfS3 {
|
|
|
5134
5162
|
kmsKey?: string;
|
|
5135
5163
|
region?: string;
|
|
5136
5164
|
}
|
|
5165
|
+
export interface JobNewClusterClusterLogConfVolumes {
|
|
5166
|
+
destination: string;
|
|
5167
|
+
}
|
|
5137
5168
|
export interface JobNewClusterClusterMountInfo {
|
|
5138
5169
|
localMountDirPath: string;
|
|
5139
5170
|
networkFilesystemInfo: outputs.JobNewClusterClusterMountInfoNetworkFilesystemInfo;
|
|
@@ -5916,6 +5947,7 @@ export interface JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo
|
|
|
5916
5947
|
export interface JobTaskForEachTaskTaskNewClusterClusterLogConf {
|
|
5917
5948
|
dbfs?: outputs.JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs;
|
|
5918
5949
|
s3?: outputs.JobTaskForEachTaskTaskNewClusterClusterLogConfS3;
|
|
5950
|
+
volumes?: outputs.JobTaskForEachTaskTaskNewClusterClusterLogConfVolumes;
|
|
5919
5951
|
}
|
|
5920
5952
|
export interface JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs {
|
|
5921
5953
|
destination: string;
|
|
@@ -5929,6 +5961,9 @@ export interface JobTaskForEachTaskTaskNewClusterClusterLogConfS3 {
|
|
|
5929
5961
|
kmsKey?: string;
|
|
5930
5962
|
region?: string;
|
|
5931
5963
|
}
|
|
5964
|
+
export interface JobTaskForEachTaskTaskNewClusterClusterLogConfVolumes {
|
|
5965
|
+
destination: string;
|
|
5966
|
+
}
|
|
5932
5967
|
export interface JobTaskForEachTaskTaskNewClusterClusterMountInfo {
|
|
5933
5968
|
localMountDirPath: string;
|
|
5934
5969
|
networkFilesystemInfo: outputs.JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo;
|
|
@@ -6466,6 +6501,7 @@ export interface JobTaskNewClusterAzureAttributesLogAnalyticsInfo {
|
|
|
6466
6501
|
export interface JobTaskNewClusterClusterLogConf {
|
|
6467
6502
|
dbfs?: outputs.JobTaskNewClusterClusterLogConfDbfs;
|
|
6468
6503
|
s3?: outputs.JobTaskNewClusterClusterLogConfS3;
|
|
6504
|
+
volumes?: outputs.JobTaskNewClusterClusterLogConfVolumes;
|
|
6469
6505
|
}
|
|
6470
6506
|
export interface JobTaskNewClusterClusterLogConfDbfs {
|
|
6471
6507
|
destination: string;
|
|
@@ -6479,6 +6515,9 @@ export interface JobTaskNewClusterClusterLogConfS3 {
|
|
|
6479
6515
|
kmsKey?: string;
|
|
6480
6516
|
region?: string;
|
|
6481
6517
|
}
|
|
6518
|
+
export interface JobTaskNewClusterClusterLogConfVolumes {
|
|
6519
|
+
destination: string;
|
|
6520
|
+
}
|
|
6482
6521
|
export interface JobTaskNewClusterClusterMountInfo {
|
|
6483
6522
|
localMountDirPath: string;
|
|
6484
6523
|
networkFilesystemInfo: outputs.JobTaskNewClusterClusterMountInfoNetworkFilesystemInfo;
|
|
@@ -8106,6 +8145,7 @@ export interface PipelineClusterAzureAttributesLogAnalyticsInfo {
|
|
|
8106
8145
|
export interface PipelineClusterClusterLogConf {
|
|
8107
8146
|
dbfs?: outputs.PipelineClusterClusterLogConfDbfs;
|
|
8108
8147
|
s3?: outputs.PipelineClusterClusterLogConfS3;
|
|
8148
|
+
volumes?: outputs.PipelineClusterClusterLogConfVolumes;
|
|
8109
8149
|
}
|
|
8110
8150
|
export interface PipelineClusterClusterLogConfDbfs {
|
|
8111
8151
|
destination: string;
|
|
@@ -8119,6 +8159,9 @@ export interface PipelineClusterClusterLogConfS3 {
|
|
|
8119
8159
|
kmsKey?: string;
|
|
8120
8160
|
region?: string;
|
|
8121
8161
|
}
|
|
8162
|
+
export interface PipelineClusterClusterLogConfVolumes {
|
|
8163
|
+
destination: string;
|
|
8164
|
+
}
|
|
8122
8165
|
export interface PipelineClusterGcpAttributes {
|
|
8123
8166
|
availability?: string;
|
|
8124
8167
|
googleServiceAccount?: string;
|