@pulumi/databricks 0.4.1 → 1.1.0-alpha.1658419539

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/catalog.d.ts +3 -3
  2. package/cluster.d.ts +12 -12
  3. package/externalLocation.d.ts +3 -3
  4. package/getAwsCrossAccountPolicy.d.ts +1 -1
  5. package/getAwsCrossAccountPolicy.js +1 -1
  6. package/getCurrentUser.d.ts +1 -0
  7. package/getCurrentUser.js +1 -0
  8. package/getCurrentUser.js.map +1 -1
  9. package/getNodeType.d.ts +3 -0
  10. package/getNodeType.js +1 -0
  11. package/getNodeType.js.map +1 -1
  12. package/getServicePrincipal.d.ts +117 -0
  13. package/getServicePrincipal.js +43 -0
  14. package/getServicePrincipal.js.map +1 -0
  15. package/getServicePrincipals.d.ts +57 -0
  16. package/getServicePrincipals.js +38 -0
  17. package/getServicePrincipals.js.map +1 -0
  18. package/getUser.d.ts +1 -0
  19. package/getUser.js.map +1 -1
  20. package/gitCredential.d.ts +0 -9
  21. package/gitCredential.js.map +1 -1
  22. package/grants.d.ts +3 -0
  23. package/grants.js +2 -0
  24. package/grants.js.map +1 -1
  25. package/index.d.ts +2 -4
  26. package/index.js +2 -20
  27. package/index.js.map +1 -1
  28. package/instanceProfile.d.ts +2 -2
  29. package/instanceProfile.js +2 -2
  30. package/ipAccessList.d.ts +3 -3
  31. package/library.d.ts +3 -3
  32. package/library.js +3 -3
  33. package/metastore.d.ts +60 -3
  34. package/metastore.js +20 -0
  35. package/metastore.js.map +1 -1
  36. package/metastoreDataAccess.d.ts +3 -0
  37. package/metastoreDataAccess.js +2 -0
  38. package/metastoreDataAccess.js.map +1 -1
  39. package/mlflowWebhook.d.ts +3 -3
  40. package/mwsLogDelivery.d.ts +12 -1
  41. package/mwsLogDelivery.js +3 -1
  42. package/mwsLogDelivery.js.map +1 -1
  43. package/mwsNetworks.d.ts +3 -3
  44. package/oboToken.d.ts +3 -16
  45. package/oboToken.js +0 -13
  46. package/oboToken.js.map +1 -1
  47. package/package.json +2 -2
  48. package/package.json.dev +2 -2
  49. package/permissions.d.ts +86 -2
  50. package/permissions.js +22 -2
  51. package/permissions.js.map +1 -1
  52. package/pipeline.d.ts +60 -16
  53. package/pipeline.js +8 -7
  54. package/pipeline.js.map +1 -1
  55. package/repo.d.ts +6 -6
  56. package/schema.d.ts +3 -3
  57. package/sqlDashboard.d.ts +5 -1
  58. package/sqlDashboard.js +5 -1
  59. package/sqlDashboard.js.map +1 -1
  60. package/sqlEndpoint.d.ts +3 -3
  61. package/sqlGlobalConfig.d.ts +1 -1
  62. package/sqlGlobalConfig.js +1 -1
  63. package/sqlQuery.d.ts +5 -1
  64. package/sqlQuery.js +5 -1
  65. package/sqlQuery.js.map +1 -1
  66. package/sqlVisualization.d.ts +5 -1
  67. package/sqlVisualization.js +5 -1
  68. package/sqlVisualization.js.map +1 -1
  69. package/sqlWidget.d.ts +5 -1
  70. package/sqlWidget.js +5 -1
  71. package/sqlWidget.js.map +1 -1
  72. package/storageCredential.d.ts +15 -3
  73. package/storageCredential.js +13 -3
  74. package/storageCredential.js.map +1 -1
  75. package/table.d.ts +3 -3
  76. package/token.d.ts +1 -1
  77. package/token.js +1 -1
  78. package/types/input.d.ts +55 -5
  79. package/types/output.d.ts +55 -5
  80. package/user.d.ts +1 -1
  81. package/user.js +1 -1
  82. package/userInstanceProfile.d.ts +1 -1
  83. package/userInstanceProfile.js +1 -1
  84. package/userRole.d.ts +1 -1
  85. package/userRole.js +1 -1
  86. package/workspaceConf.d.ts +3 -3
  87. package/awsS3Mount.d.ts +0 -50
  88. package/awsS3Mount.js +0 -63
  89. package/awsS3Mount.js.map +0 -1
  90. package/azureAdlsGen1Mount.d.ts +0 -65
  91. package/azureAdlsGen1Mount.js +0 -85
  92. package/azureAdlsGen1Mount.js.map +0 -1
  93. package/azureAdlsGen2Mount.d.ts +0 -68
  94. package/azureAdlsGen2Mount.js +0 -93
  95. package/azureAdlsGen2Mount.js.map +0 -1
  96. package/azureBlobMount.d.ts +0 -62
  97. package/azureBlobMount.js +0 -83
  98. package/azureBlobMount.js.map +0 -1
@@ -1,93 +0,0 @@
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.AzureAdlsGen2Mount = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- class AzureAdlsGen2Mount extends pulumi.CustomResource {
9
- constructor(name, argsOrState, opts) {
10
- let resourceInputs = {};
11
- opts = opts || {};
12
- if (opts.id) {
13
- const state = argsOrState;
14
- resourceInputs["clientId"] = state ? state.clientId : undefined;
15
- resourceInputs["clientSecretKey"] = state ? state.clientSecretKey : undefined;
16
- resourceInputs["clientSecretScope"] = state ? state.clientSecretScope : undefined;
17
- resourceInputs["clusterId"] = state ? state.clusterId : undefined;
18
- resourceInputs["containerName"] = state ? state.containerName : undefined;
19
- resourceInputs["directory"] = state ? state.directory : undefined;
20
- resourceInputs["initializeFileSystem"] = state ? state.initializeFileSystem : undefined;
21
- resourceInputs["mountName"] = state ? state.mountName : undefined;
22
- resourceInputs["source"] = state ? state.source : undefined;
23
- resourceInputs["storageAccountName"] = state ? state.storageAccountName : undefined;
24
- resourceInputs["tenantId"] = state ? state.tenantId : undefined;
25
- }
26
- else {
27
- const args = argsOrState;
28
- if ((!args || args.clientId === undefined) && !opts.urn) {
29
- throw new Error("Missing required property 'clientId'");
30
- }
31
- if ((!args || args.clientSecretKey === undefined) && !opts.urn) {
32
- throw new Error("Missing required property 'clientSecretKey'");
33
- }
34
- if ((!args || args.clientSecretScope === undefined) && !opts.urn) {
35
- throw new Error("Missing required property 'clientSecretScope'");
36
- }
37
- if ((!args || args.containerName === undefined) && !opts.urn) {
38
- throw new Error("Missing required property 'containerName'");
39
- }
40
- if ((!args || args.initializeFileSystem === undefined) && !opts.urn) {
41
- throw new Error("Missing required property 'initializeFileSystem'");
42
- }
43
- if ((!args || args.mountName === undefined) && !opts.urn) {
44
- throw new Error("Missing required property 'mountName'");
45
- }
46
- if ((!args || args.storageAccountName === undefined) && !opts.urn) {
47
- throw new Error("Missing required property 'storageAccountName'");
48
- }
49
- if ((!args || args.tenantId === undefined) && !opts.urn) {
50
- throw new Error("Missing required property 'tenantId'");
51
- }
52
- resourceInputs["clientId"] = args ? args.clientId : undefined;
53
- resourceInputs["clientSecretKey"] = args ? args.clientSecretKey : undefined;
54
- resourceInputs["clientSecretScope"] = args ? args.clientSecretScope : undefined;
55
- resourceInputs["clusterId"] = args ? args.clusterId : undefined;
56
- resourceInputs["containerName"] = args ? args.containerName : undefined;
57
- resourceInputs["directory"] = args ? args.directory : undefined;
58
- resourceInputs["initializeFileSystem"] = args ? args.initializeFileSystem : undefined;
59
- resourceInputs["mountName"] = args ? args.mountName : undefined;
60
- resourceInputs["storageAccountName"] = args ? args.storageAccountName : undefined;
61
- resourceInputs["tenantId"] = args ? args.tenantId : undefined;
62
- resourceInputs["source"] = undefined /*out*/;
63
- }
64
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
65
- super(AzureAdlsGen2Mount.__pulumiType, name, resourceInputs, opts);
66
- }
67
- /**
68
- * Get an existing AzureAdlsGen2Mount resource's state with the given name, ID, and optional extra
69
- * properties used to qualify the lookup.
70
- *
71
- * @param name The _unique_ name of the resulting resource.
72
- * @param id The _unique_ provider ID of the resource to lookup.
73
- * @param state Any extra arguments used during the lookup.
74
- * @param opts Optional settings to control the behavior of the CustomResource.
75
- */
76
- static get(name, id, state, opts) {
77
- return new AzureAdlsGen2Mount(name, state, Object.assign(Object.assign({}, opts), { id: id }));
78
- }
79
- /**
80
- * Returns true if the given object is an instance of AzureAdlsGen2Mount. This is designed to work even
81
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
82
- */
83
- static isInstance(obj) {
84
- if (obj === undefined || obj === null) {
85
- return false;
86
- }
87
- return obj['__pulumiType'] === AzureAdlsGen2Mount.__pulumiType;
88
- }
89
- }
90
- exports.AzureAdlsGen2Mount = AzureAdlsGen2Mount;
91
- /** @internal */
92
- AzureAdlsGen2Mount.__pulumiType = 'databricks:index/azureAdlsGen2Mount:AzureAdlsGen2Mount';
93
- //# sourceMappingURL=azureAdlsGen2Mount.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"azureAdlsGen2Mount.js","sourceRoot":"","sources":["../azureAdlsGen2Mount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IAgDzD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC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O,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;;AA1BL,gDAyGC;AA3FG,gBAAgB;AACO,+BAAY,GAAG,wDAAwD,CAAC"}
@@ -1,62 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- export declare class AzureBlobMount extends pulumi.CustomResource {
3
- /**
4
- * Get an existing AzureBlobMount resource's state with the given name, ID, and optional extra
5
- * properties used to qualify the lookup.
6
- *
7
- * @param name The _unique_ name of the resulting resource.
8
- * @param id The _unique_ provider ID of the resource to lookup.
9
- * @param state Any extra arguments used during the lookup.
10
- * @param opts Optional settings to control the behavior of the CustomResource.
11
- */
12
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AzureBlobMountState, opts?: pulumi.CustomResourceOptions): AzureBlobMount;
13
- /**
14
- * Returns true if the given object is an instance of AzureBlobMount. This is designed to work even
15
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
- */
17
- static isInstance(obj: any): obj is AzureBlobMount;
18
- readonly authType: pulumi.Output<string>;
19
- readonly clusterId: pulumi.Output<string | undefined>;
20
- readonly containerName: pulumi.Output<string>;
21
- readonly directory: pulumi.Output<string | undefined>;
22
- readonly mountName: pulumi.Output<string>;
23
- readonly source: pulumi.Output<string>;
24
- readonly storageAccountName: pulumi.Output<string>;
25
- readonly tokenSecretKey: pulumi.Output<string>;
26
- readonly tokenSecretScope: pulumi.Output<string>;
27
- /**
28
- * Create a AzureBlobMount resource with the given unique name, arguments, and options.
29
- *
30
- * @param name The _unique_ name of the resource.
31
- * @param args The arguments to use to populate this resource's properties.
32
- * @param opts A bag of options that control this resource's behavior.
33
- */
34
- constructor(name: string, args: AzureBlobMountArgs, opts?: pulumi.CustomResourceOptions);
35
- }
36
- /**
37
- * Input properties used for looking up and filtering AzureBlobMount resources.
38
- */
39
- export interface AzureBlobMountState {
40
- authType?: pulumi.Input<string>;
41
- clusterId?: pulumi.Input<string>;
42
- containerName?: pulumi.Input<string>;
43
- directory?: pulumi.Input<string>;
44
- mountName?: pulumi.Input<string>;
45
- source?: pulumi.Input<string>;
46
- storageAccountName?: pulumi.Input<string>;
47
- tokenSecretKey?: pulumi.Input<string>;
48
- tokenSecretScope?: pulumi.Input<string>;
49
- }
50
- /**
51
- * The set of arguments for constructing a AzureBlobMount resource.
52
- */
53
- export interface AzureBlobMountArgs {
54
- authType: pulumi.Input<string>;
55
- clusterId?: pulumi.Input<string>;
56
- containerName: pulumi.Input<string>;
57
- directory?: pulumi.Input<string>;
58
- mountName: pulumi.Input<string>;
59
- storageAccountName: pulumi.Input<string>;
60
- tokenSecretKey: pulumi.Input<string>;
61
- tokenSecretScope: pulumi.Input<string>;
62
- }
package/azureBlobMount.js DELETED
@@ -1,83 +0,0 @@
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.AzureBlobMount = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- class AzureBlobMount extends pulumi.CustomResource {
9
- constructor(name, argsOrState, opts) {
10
- let resourceInputs = {};
11
- opts = opts || {};
12
- if (opts.id) {
13
- const state = argsOrState;
14
- resourceInputs["authType"] = state ? state.authType : undefined;
15
- resourceInputs["clusterId"] = state ? state.clusterId : undefined;
16
- resourceInputs["containerName"] = state ? state.containerName : undefined;
17
- resourceInputs["directory"] = state ? state.directory : undefined;
18
- resourceInputs["mountName"] = state ? state.mountName : undefined;
19
- resourceInputs["source"] = state ? state.source : undefined;
20
- resourceInputs["storageAccountName"] = state ? state.storageAccountName : undefined;
21
- resourceInputs["tokenSecretKey"] = state ? state.tokenSecretKey : undefined;
22
- resourceInputs["tokenSecretScope"] = state ? state.tokenSecretScope : undefined;
23
- }
24
- else {
25
- const args = argsOrState;
26
- if ((!args || args.authType === undefined) && !opts.urn) {
27
- throw new Error("Missing required property 'authType'");
28
- }
29
- if ((!args || args.containerName === undefined) && !opts.urn) {
30
- throw new Error("Missing required property 'containerName'");
31
- }
32
- if ((!args || args.mountName === undefined) && !opts.urn) {
33
- throw new Error("Missing required property 'mountName'");
34
- }
35
- if ((!args || args.storageAccountName === undefined) && !opts.urn) {
36
- throw new Error("Missing required property 'storageAccountName'");
37
- }
38
- if ((!args || args.tokenSecretKey === undefined) && !opts.urn) {
39
- throw new Error("Missing required property 'tokenSecretKey'");
40
- }
41
- if ((!args || args.tokenSecretScope === undefined) && !opts.urn) {
42
- throw new Error("Missing required property 'tokenSecretScope'");
43
- }
44
- resourceInputs["authType"] = args ? args.authType : undefined;
45
- resourceInputs["clusterId"] = args ? args.clusterId : undefined;
46
- resourceInputs["containerName"] = args ? args.containerName : undefined;
47
- resourceInputs["directory"] = args ? args.directory : undefined;
48
- resourceInputs["mountName"] = args ? args.mountName : undefined;
49
- resourceInputs["storageAccountName"] = args ? args.storageAccountName : undefined;
50
- resourceInputs["tokenSecretKey"] = args ? args.tokenSecretKey : undefined;
51
- resourceInputs["tokenSecretScope"] = args ? args.tokenSecretScope : undefined;
52
- resourceInputs["source"] = undefined /*out*/;
53
- }
54
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
55
- super(AzureBlobMount.__pulumiType, name, resourceInputs, opts);
56
- }
57
- /**
58
- * Get an existing AzureBlobMount resource's state with the given name, ID, and optional extra
59
- * properties used to qualify the lookup.
60
- *
61
- * @param name The _unique_ name of the resulting resource.
62
- * @param id The _unique_ provider ID of the resource to lookup.
63
- * @param state Any extra arguments used during the lookup.
64
- * @param opts Optional settings to control the behavior of the CustomResource.
65
- */
66
- static get(name, id, state, opts) {
67
- return new AzureBlobMount(name, state, Object.assign(Object.assign({}, opts), { id: id }));
68
- }
69
- /**
70
- * Returns true if the given object is an instance of AzureBlobMount. This is designed to work even
71
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
72
- */
73
- static isInstance(obj) {
74
- if (obj === undefined || obj === null) {
75
- return false;
76
- }
77
- return obj['__pulumiType'] === AzureBlobMount.__pulumiType;
78
- }
79
- }
80
- exports.AzureBlobMount = AzureBlobMount;
81
- /** @internal */
82
- AzureBlobMount.__pulumiType = 'databricks:index/azureBlobMount:AzureBlobMount';
83
- //# sourceMappingURL=azureBlobMount.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"azureBlobMount.js","sourceRoot":"","sources":["../azureBlobMount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IA8CrD,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,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAA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