@pulumi/databricks 1.62.0-alpha.1741325871 → 1.62.0
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/app.d.ts +5 -0
- package/app.js +4 -0
- package/app.js.map +1 -1
- package/budgetPolicy.d.ts +98 -0
- package/budgetPolicy.js +81 -0
- package/budgetPolicy.js.map +1 -0
- package/connection.d.ts +106 -9
- package/connection.js +37 -7
- package/connection.js.map +1 -1
- package/credential.d.ts +0 -2
- package/credential.js +0 -2
- package/credential.js.map +1 -1
- package/getBudgetPolicies.d.ts +49 -0
- package/getBudgetPolicies.js +50 -0
- package/getBudgetPolicies.js.map +1 -0
- package/getBudgetPolicy.d.ts +53 -0
- package/getBudgetPolicy.js +36 -0
- package/getBudgetPolicy.js.map +1 -0
- package/getCluster.d.ts +4 -28
- package/getCluster.js +0 -24
- package/getCluster.js.map +1 -1
- package/getClusters.d.ts +60 -0
- package/getClusters.js +60 -0
- package/getClusters.js.map +1 -1
- package/getDashboards.d.ts +42 -0
- package/getDashboards.js +30 -0
- package/getDashboards.js.map +1 -0
- package/index.d.ts +12 -0
- package/index.js +19 -5
- package/index.js.map +1 -1
- package/metastoreAssignment.d.ts +7 -1
- package/metastoreAssignment.js.map +1 -1
- package/package.json +2 -2
- package/qualityMonitor.d.ts +6 -6
- package/sqlTable.d.ts +7 -7
- package/sqlTable.js +1 -1
- package/types/input.d.ts +89 -12
- package/types/output.d.ts +117 -8
- package/vectorSearchIndex.d.ts +6 -6
- package/volume.d.ts +0 -2
- package/volume.js +0 -2
- package/volume.js.map +1 -1
package/app.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ export declare class App extends pulumi.CustomResource {
|
|
|
49
49
|
* attribute
|
|
50
50
|
*/
|
|
51
51
|
readonly appStatus: pulumi.Output<outputs.AppAppStatus>;
|
|
52
|
+
readonly budgetPolicyId: pulumi.Output<string | undefined>;
|
|
52
53
|
/**
|
|
53
54
|
* attribute
|
|
54
55
|
*/
|
|
@@ -69,6 +70,7 @@ export declare class App extends pulumi.CustomResource {
|
|
|
69
70
|
* The description of the app.
|
|
70
71
|
*/
|
|
71
72
|
readonly description: pulumi.Output<string | undefined>;
|
|
73
|
+
readonly effectiveBudgetPolicyId: pulumi.Output<string>;
|
|
72
74
|
/**
|
|
73
75
|
* The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.
|
|
74
76
|
*/
|
|
@@ -118,6 +120,7 @@ export interface AppState {
|
|
|
118
120
|
* attribute
|
|
119
121
|
*/
|
|
120
122
|
appStatus?: pulumi.Input<inputs.AppAppStatus>;
|
|
123
|
+
budgetPolicyId?: pulumi.Input<string>;
|
|
121
124
|
/**
|
|
122
125
|
* attribute
|
|
123
126
|
*/
|
|
@@ -138,6 +141,7 @@ export interface AppState {
|
|
|
138
141
|
* The description of the app.
|
|
139
142
|
*/
|
|
140
143
|
description?: pulumi.Input<string>;
|
|
144
|
+
effectiveBudgetPolicyId?: pulumi.Input<string>;
|
|
141
145
|
/**
|
|
142
146
|
* The name of the app. The name must contain only lowercase alphanumeric characters and hyphens. It must be unique within the workspace.
|
|
143
147
|
*/
|
|
@@ -174,6 +178,7 @@ export interface AppState {
|
|
|
174
178
|
* The set of arguments for constructing a App resource.
|
|
175
179
|
*/
|
|
176
180
|
export interface AppArgs {
|
|
181
|
+
budgetPolicyId?: pulumi.Input<string>;
|
|
177
182
|
/**
|
|
178
183
|
* The description of the app.
|
|
179
184
|
*/
|
package/app.js
CHANGED
|
@@ -62,11 +62,13 @@ class App extends pulumi.CustomResource {
|
|
|
62
62
|
const state = argsOrState;
|
|
63
63
|
resourceInputs["activeDeployment"] = state ? state.activeDeployment : undefined;
|
|
64
64
|
resourceInputs["appStatus"] = state ? state.appStatus : undefined;
|
|
65
|
+
resourceInputs["budgetPolicyId"] = state ? state.budgetPolicyId : undefined;
|
|
65
66
|
resourceInputs["computeStatus"] = state ? state.computeStatus : undefined;
|
|
66
67
|
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
67
68
|
resourceInputs["creator"] = state ? state.creator : undefined;
|
|
68
69
|
resourceInputs["defaultSourceCodePath"] = state ? state.defaultSourceCodePath : undefined;
|
|
69
70
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
71
|
+
resourceInputs["effectiveBudgetPolicyId"] = state ? state.effectiveBudgetPolicyId : undefined;
|
|
70
72
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
71
73
|
resourceInputs["noCompute"] = state ? state.noCompute : undefined;
|
|
72
74
|
resourceInputs["pendingDeployment"] = state ? state.pendingDeployment : undefined;
|
|
@@ -80,6 +82,7 @@ class App extends pulumi.CustomResource {
|
|
|
80
82
|
}
|
|
81
83
|
else {
|
|
82
84
|
const args = argsOrState;
|
|
85
|
+
resourceInputs["budgetPolicyId"] = args ? args.budgetPolicyId : undefined;
|
|
83
86
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
84
87
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
85
88
|
resourceInputs["noCompute"] = args ? args.noCompute : undefined;
|
|
@@ -90,6 +93,7 @@ class App extends pulumi.CustomResource {
|
|
|
90
93
|
resourceInputs["createTime"] = undefined /*out*/;
|
|
91
94
|
resourceInputs["creator"] = undefined /*out*/;
|
|
92
95
|
resourceInputs["defaultSourceCodePath"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["effectiveBudgetPolicyId"] = undefined /*out*/;
|
|
93
97
|
resourceInputs["pendingDeployment"] = undefined /*out*/;
|
|
94
98
|
resourceInputs["servicePrincipalClientId"] = undefined /*out*/;
|
|
95
99
|
resourceInputs["servicePrincipalId"] = undefined /*out*/;
|
package/app.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.js","sourceRoot":"","sources":["../app.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,M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AoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AA/IL,kBAgJC;AAlIG,gBAAgB;AACO,gBAAY,GAAG,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Administrators can use budget policies to ensure that the correct tags appear automatically on serverless resources without depending on users to attach tags manually, allowing for customized cost reporting and chargebacks. Budget policies consist of tags that are applied to any serverless compute activity incurred by a user assigned to the policy. The tags are logged in your billing records, allowing you to attribute serverless usage to specific budgets.
|
|
6
|
+
*
|
|
7
|
+
* > **Note** This resource can only be used with an account-level provider!
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as databricks from "@pulumi/databricks";
|
|
14
|
+
*
|
|
15
|
+
* const _this = new databricks.BudgetPolicy("this", {
|
|
16
|
+
* policyName: "my-budget-policy",
|
|
17
|
+
* customTags: [{
|
|
18
|
+
* key: "mykey",
|
|
19
|
+
* value: "myvalue",
|
|
20
|
+
* }],
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* This resource can be imported by ID.
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import databricks:index/budgetPolicy:BudgetPolicy this policy_id
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export declare class BudgetPolicy extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing BudgetPolicy resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BudgetPolicyState, opts?: pulumi.CustomResourceOptions): BudgetPolicy;
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if the given object is an instance of BudgetPolicy. This is designed to work even
|
|
45
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
|
+
*/
|
|
47
|
+
static isInstance(obj: any): obj is BudgetPolicy;
|
|
48
|
+
/**
|
|
49
|
+
* A list of tags defined by the customer. At most 20 entries are allowed per policy.
|
|
50
|
+
*/
|
|
51
|
+
readonly customTags: pulumi.Output<outputs.BudgetPolicyCustomTag[] | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* ID of the budget policy
|
|
54
|
+
*/
|
|
55
|
+
readonly policyId: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The name of the policy. Must be unique among active policies. Can contain only characters from the ISO 8859-1 (latin1) set.
|
|
58
|
+
*/
|
|
59
|
+
readonly policyName: pulumi.Output<string | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* Create a BudgetPolicy resource with the given unique name, arguments, and options.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resource.
|
|
64
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
65
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
66
|
+
*/
|
|
67
|
+
constructor(name: string, args?: BudgetPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Input properties used for looking up and filtering BudgetPolicy resources.
|
|
71
|
+
*/
|
|
72
|
+
export interface BudgetPolicyState {
|
|
73
|
+
/**
|
|
74
|
+
* A list of tags defined by the customer. At most 20 entries are allowed per policy.
|
|
75
|
+
*/
|
|
76
|
+
customTags?: pulumi.Input<pulumi.Input<inputs.BudgetPolicyCustomTag>[]>;
|
|
77
|
+
/**
|
|
78
|
+
* ID of the budget policy
|
|
79
|
+
*/
|
|
80
|
+
policyId?: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The name of the policy. Must be unique among active policies. Can contain only characters from the ISO 8859-1 (latin1) set.
|
|
83
|
+
*/
|
|
84
|
+
policyName?: pulumi.Input<string>;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* The set of arguments for constructing a BudgetPolicy resource.
|
|
88
|
+
*/
|
|
89
|
+
export interface BudgetPolicyArgs {
|
|
90
|
+
/**
|
|
91
|
+
* A list of tags defined by the customer. At most 20 entries are allowed per policy.
|
|
92
|
+
*/
|
|
93
|
+
customTags?: pulumi.Input<pulumi.Input<inputs.BudgetPolicyCustomTag>[]>;
|
|
94
|
+
/**
|
|
95
|
+
* The name of the policy. Must be unique among active policies. Can contain only characters from the ISO 8859-1 (latin1) set.
|
|
96
|
+
*/
|
|
97
|
+
policyName?: pulumi.Input<string>;
|
|
98
|
+
}
|
package/budgetPolicy.js
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
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.BudgetPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Administrators can use budget policies to ensure that the correct tags appear automatically on serverless resources without depending on users to attach tags manually, allowing for customized cost reporting and chargebacks. Budget policies consist of tags that are applied to any serverless compute activity incurred by a user assigned to the policy. The tags are logged in your billing records, allowing you to attribute serverless usage to specific budgets.
|
|
10
|
+
*
|
|
11
|
+
* > **Note** This resource can only be used with an account-level provider!
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as databricks from "@pulumi/databricks";
|
|
18
|
+
*
|
|
19
|
+
* const _this = new databricks.BudgetPolicy("this", {
|
|
20
|
+
* policyName: "my-budget-policy",
|
|
21
|
+
* customTags: [{
|
|
22
|
+
* key: "mykey",
|
|
23
|
+
* value: "myvalue",
|
|
24
|
+
* }],
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* This resource can be imported by ID.
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import databricks:index/budgetPolicy:BudgetPolicy this policy_id
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
class BudgetPolicy extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing BudgetPolicy resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name, id, state, opts) {
|
|
47
|
+
return new BudgetPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of BudgetPolicy. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === BudgetPolicy.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
constructor(name, argsOrState, opts) {
|
|
60
|
+
let resourceInputs = {};
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
if (opts.id) {
|
|
63
|
+
const state = argsOrState;
|
|
64
|
+
resourceInputs["customTags"] = state ? state.customTags : undefined;
|
|
65
|
+
resourceInputs["policyId"] = state ? state.policyId : undefined;
|
|
66
|
+
resourceInputs["policyName"] = state ? state.policyName : undefined;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const args = argsOrState;
|
|
70
|
+
resourceInputs["customTags"] = args ? args.customTags : undefined;
|
|
71
|
+
resourceInputs["policyName"] = args ? args.policyName : undefined;
|
|
72
|
+
resourceInputs["policyId"] = undefined /*out*/;
|
|
73
|
+
}
|
|
74
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
75
|
+
super(BudgetPolicy.__pulumiType, name, resourceInputs, opts);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.BudgetPolicy = BudgetPolicy;
|
|
79
|
+
/** @internal */
|
|
80
|
+
BudgetPolicy.__pulumiType = 'databricks:index/budgetPolicy:BudgetPolicy';
|
|
81
|
+
//# sourceMappingURL=budgetPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"budgetPolicy.js","sourceRoot":"","sources":["../budgetPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,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C,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAjEL,oCAkEC;AApDG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
|
package/connection.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
2
4
|
/**
|
|
3
5
|
* > This resource can only be used with a workspace-level provider!
|
|
4
6
|
*
|
|
@@ -67,6 +69,22 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
67
69
|
* });
|
|
68
70
|
* ```
|
|
69
71
|
*
|
|
72
|
+
* Create a connection to builtin Hive Metastore
|
|
73
|
+
*
|
|
74
|
+
* ```typescript
|
|
75
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
76
|
+
* import * as databricks from "@pulumi/databricks";
|
|
77
|
+
*
|
|
78
|
+
* const _this = new databricks.Connection("this", {
|
|
79
|
+
* name: "hms-builtin",
|
|
80
|
+
* connectionType: "HIVE_METASTORE",
|
|
81
|
+
* comment: "This is a connection to builtin HMS",
|
|
82
|
+
* options: {
|
|
83
|
+
* builtin: "true",
|
|
84
|
+
* },
|
|
85
|
+
* });
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
70
88
|
* ## Import
|
|
71
89
|
*
|
|
72
90
|
* This resource can be imported by `id`:
|
|
@@ -98,9 +116,32 @@ export declare class Connection extends pulumi.CustomResource {
|
|
|
98
116
|
*/
|
|
99
117
|
readonly comment: pulumi.Output<string | undefined>;
|
|
100
118
|
/**
|
|
101
|
-
*
|
|
119
|
+
* Unique ID of the connection.
|
|
120
|
+
*/
|
|
121
|
+
readonly connectionId: pulumi.Output<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Connection type. `BIGQUERY` `MYSQL` `POSTGRESQL` `SNOWFLAKE` `REDSHIFT` `SQLDW` `SQLSERVER`, `SALESFORCE`, `HIVE_METASTORE`, `GLUE`, `TERADATA`, `ORACLE` or `DATABRICKS` are supported. Up-to-date list of connection type supported is in the [documentation](https://docs.databricks.com/query-federation/index.html#supported-data-sources)
|
|
124
|
+
*/
|
|
125
|
+
readonly connectionType: pulumi.Output<string | undefined>;
|
|
126
|
+
/**
|
|
127
|
+
* Time at which this connection was created, in epoch milliseconds.
|
|
128
|
+
*/
|
|
129
|
+
readonly createdAt: pulumi.Output<number>;
|
|
130
|
+
/**
|
|
131
|
+
* Username of connection creator.
|
|
132
|
+
*/
|
|
133
|
+
readonly createdBy: pulumi.Output<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The type of credential for this connection.
|
|
136
|
+
*/
|
|
137
|
+
readonly credentialType: pulumi.Output<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Full name of connection.
|
|
140
|
+
*/
|
|
141
|
+
readonly fullName: pulumi.Output<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Unique ID of the UC metastore for this connection.
|
|
102
144
|
*/
|
|
103
|
-
readonly connectionType: pulumi.Output<string>;
|
|
104
145
|
readonly metastoreId: pulumi.Output<string>;
|
|
105
146
|
/**
|
|
106
147
|
* Name of the Connection.
|
|
@@ -111,7 +152,7 @@ export declare class Connection extends pulumi.CustomResource {
|
|
|
111
152
|
*/
|
|
112
153
|
readonly options: pulumi.Output<{
|
|
113
154
|
[key: string]: string;
|
|
114
|
-
}>;
|
|
155
|
+
} | undefined>;
|
|
115
156
|
/**
|
|
116
157
|
* Name of the connection owner.
|
|
117
158
|
*/
|
|
@@ -122,7 +163,24 @@ export declare class Connection extends pulumi.CustomResource {
|
|
|
122
163
|
readonly properties: pulumi.Output<{
|
|
123
164
|
[key: string]: string;
|
|
124
165
|
} | undefined>;
|
|
166
|
+
/**
|
|
167
|
+
* Object with the status of an asynchronously provisioned resource.
|
|
168
|
+
*/
|
|
169
|
+
readonly provisioningInfos: pulumi.Output<outputs.ConnectionProvisioningInfo[]>;
|
|
125
170
|
readonly readOnly: pulumi.Output<boolean>;
|
|
171
|
+
readonly securableType: pulumi.Output<string>;
|
|
172
|
+
/**
|
|
173
|
+
* Time at which connection this was last modified, in epoch milliseconds.
|
|
174
|
+
*/
|
|
175
|
+
readonly updatedAt: pulumi.Output<number>;
|
|
176
|
+
/**
|
|
177
|
+
* Username of user who last modified the connection.
|
|
178
|
+
*/
|
|
179
|
+
readonly updatedBy: pulumi.Output<string>;
|
|
180
|
+
/**
|
|
181
|
+
* URL of the remote data source, extracted from options.
|
|
182
|
+
*/
|
|
183
|
+
readonly url: pulumi.Output<string>;
|
|
126
184
|
/**
|
|
127
185
|
* Create a Connection resource with the given unique name, arguments, and options.
|
|
128
186
|
*
|
|
@@ -130,7 +188,7 @@ export declare class Connection extends pulumi.CustomResource {
|
|
|
130
188
|
* @param args The arguments to use to populate this resource's properties.
|
|
131
189
|
* @param opts A bag of options that control this resource's behavior.
|
|
132
190
|
*/
|
|
133
|
-
constructor(name: string, args
|
|
191
|
+
constructor(name: string, args?: ConnectionArgs, opts?: pulumi.CustomResourceOptions);
|
|
134
192
|
}
|
|
135
193
|
/**
|
|
136
194
|
* Input properties used for looking up and filtering Connection resources.
|
|
@@ -141,9 +199,32 @@ export interface ConnectionState {
|
|
|
141
199
|
*/
|
|
142
200
|
comment?: pulumi.Input<string>;
|
|
143
201
|
/**
|
|
144
|
-
*
|
|
202
|
+
* Unique ID of the connection.
|
|
203
|
+
*/
|
|
204
|
+
connectionId?: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* Connection type. `BIGQUERY` `MYSQL` `POSTGRESQL` `SNOWFLAKE` `REDSHIFT` `SQLDW` `SQLSERVER`, `SALESFORCE`, `HIVE_METASTORE`, `GLUE`, `TERADATA`, `ORACLE` or `DATABRICKS` are supported. Up-to-date list of connection type supported is in the [documentation](https://docs.databricks.com/query-federation/index.html#supported-data-sources)
|
|
145
207
|
*/
|
|
146
208
|
connectionType?: pulumi.Input<string>;
|
|
209
|
+
/**
|
|
210
|
+
* Time at which this connection was created, in epoch milliseconds.
|
|
211
|
+
*/
|
|
212
|
+
createdAt?: pulumi.Input<number>;
|
|
213
|
+
/**
|
|
214
|
+
* Username of connection creator.
|
|
215
|
+
*/
|
|
216
|
+
createdBy?: pulumi.Input<string>;
|
|
217
|
+
/**
|
|
218
|
+
* The type of credential for this connection.
|
|
219
|
+
*/
|
|
220
|
+
credentialType?: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* Full name of connection.
|
|
223
|
+
*/
|
|
224
|
+
fullName?: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* Unique ID of the UC metastore for this connection.
|
|
227
|
+
*/
|
|
147
228
|
metastoreId?: pulumi.Input<string>;
|
|
148
229
|
/**
|
|
149
230
|
* Name of the Connection.
|
|
@@ -165,7 +246,24 @@ export interface ConnectionState {
|
|
|
165
246
|
properties?: pulumi.Input<{
|
|
166
247
|
[key: string]: pulumi.Input<string>;
|
|
167
248
|
}>;
|
|
249
|
+
/**
|
|
250
|
+
* Object with the status of an asynchronously provisioned resource.
|
|
251
|
+
*/
|
|
252
|
+
provisioningInfos?: pulumi.Input<pulumi.Input<inputs.ConnectionProvisioningInfo>[]>;
|
|
168
253
|
readOnly?: pulumi.Input<boolean>;
|
|
254
|
+
securableType?: pulumi.Input<string>;
|
|
255
|
+
/**
|
|
256
|
+
* Time at which connection this was last modified, in epoch milliseconds.
|
|
257
|
+
*/
|
|
258
|
+
updatedAt?: pulumi.Input<number>;
|
|
259
|
+
/**
|
|
260
|
+
* Username of user who last modified the connection.
|
|
261
|
+
*/
|
|
262
|
+
updatedBy?: pulumi.Input<string>;
|
|
263
|
+
/**
|
|
264
|
+
* URL of the remote data source, extracted from options.
|
|
265
|
+
*/
|
|
266
|
+
url?: pulumi.Input<string>;
|
|
169
267
|
}
|
|
170
268
|
/**
|
|
171
269
|
* The set of arguments for constructing a Connection resource.
|
|
@@ -176,10 +274,9 @@ export interface ConnectionArgs {
|
|
|
176
274
|
*/
|
|
177
275
|
comment?: pulumi.Input<string>;
|
|
178
276
|
/**
|
|
179
|
-
* Connection type. `BIGQUERY` `MYSQL` `POSTGRESQL` `SNOWFLAKE` `REDSHIFT` `SQLDW` `SQLSERVER`, `SALESFORCE` or `DATABRICKS` are supported.
|
|
277
|
+
* Connection type. `BIGQUERY` `MYSQL` `POSTGRESQL` `SNOWFLAKE` `REDSHIFT` `SQLDW` `SQLSERVER`, `SALESFORCE`, `HIVE_METASTORE`, `GLUE`, `TERADATA`, `ORACLE` or `DATABRICKS` are supported. Up-to-date list of connection type supported is in the [documentation](https://docs.databricks.com/query-federation/index.html#supported-data-sources)
|
|
180
278
|
*/
|
|
181
|
-
connectionType
|
|
182
|
-
metastoreId?: pulumi.Input<string>;
|
|
279
|
+
connectionType?: pulumi.Input<string>;
|
|
183
280
|
/**
|
|
184
281
|
* Name of the Connection.
|
|
185
282
|
*/
|
|
@@ -187,7 +284,7 @@ export interface ConnectionArgs {
|
|
|
187
284
|
/**
|
|
188
285
|
* The key value of options required by the connection, e.g. `host`, `port`, `user`, `password` or `GoogleServiceAccountKeyJson`. Please consult the [documentation](https://docs.databricks.com/query-federation/index.html#supported-data-sources) for the required option.
|
|
189
286
|
*/
|
|
190
|
-
options
|
|
287
|
+
options?: pulumi.Input<{
|
|
191
288
|
[key: string]: pulumi.Input<string>;
|
|
192
289
|
}>;
|
|
193
290
|
/**
|
package/connection.js
CHANGED
|
@@ -73,6 +73,22 @@ const utilities = require("./utilities");
|
|
|
73
73
|
* });
|
|
74
74
|
* ```
|
|
75
75
|
*
|
|
76
|
+
* Create a connection to builtin Hive Metastore
|
|
77
|
+
*
|
|
78
|
+
* ```typescript
|
|
79
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
80
|
+
* import * as databricks from "@pulumi/databricks";
|
|
81
|
+
*
|
|
82
|
+
* const _this = new databricks.Connection("this", {
|
|
83
|
+
* name: "hms-builtin",
|
|
84
|
+
* connectionType: "HIVE_METASTORE",
|
|
85
|
+
* comment: "This is a connection to builtin HMS",
|
|
86
|
+
* options: {
|
|
87
|
+
* builtin: "true",
|
|
88
|
+
* },
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
76
92
|
* ## Import
|
|
77
93
|
*
|
|
78
94
|
* This resource can be imported by `id`:
|
|
@@ -112,30 +128,44 @@ class Connection extends pulumi.CustomResource {
|
|
|
112
128
|
if (opts.id) {
|
|
113
129
|
const state = argsOrState;
|
|
114
130
|
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
131
|
+
resourceInputs["connectionId"] = state ? state.connectionId : undefined;
|
|
115
132
|
resourceInputs["connectionType"] = state ? state.connectionType : undefined;
|
|
133
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
134
|
+
resourceInputs["createdBy"] = state ? state.createdBy : undefined;
|
|
135
|
+
resourceInputs["credentialType"] = state ? state.credentialType : undefined;
|
|
136
|
+
resourceInputs["fullName"] = state ? state.fullName : undefined;
|
|
116
137
|
resourceInputs["metastoreId"] = state ? state.metastoreId : undefined;
|
|
117
138
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
118
139
|
resourceInputs["options"] = state ? state.options : undefined;
|
|
119
140
|
resourceInputs["owner"] = state ? state.owner : undefined;
|
|
120
141
|
resourceInputs["properties"] = state ? state.properties : undefined;
|
|
142
|
+
resourceInputs["provisioningInfos"] = state ? state.provisioningInfos : undefined;
|
|
121
143
|
resourceInputs["readOnly"] = state ? state.readOnly : undefined;
|
|
144
|
+
resourceInputs["securableType"] = state ? state.securableType : undefined;
|
|
145
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
146
|
+
resourceInputs["updatedBy"] = state ? state.updatedBy : undefined;
|
|
147
|
+
resourceInputs["url"] = state ? state.url : undefined;
|
|
122
148
|
}
|
|
123
149
|
else {
|
|
124
150
|
const args = argsOrState;
|
|
125
|
-
if ((!args || args.connectionType === undefined) && !opts.urn) {
|
|
126
|
-
throw new Error("Missing required property 'connectionType'");
|
|
127
|
-
}
|
|
128
|
-
if ((!args || args.options === undefined) && !opts.urn) {
|
|
129
|
-
throw new Error("Missing required property 'options'");
|
|
130
|
-
}
|
|
131
151
|
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
132
152
|
resourceInputs["connectionType"] = args ? args.connectionType : undefined;
|
|
133
|
-
resourceInputs["metastoreId"] = args ? args.metastoreId : undefined;
|
|
134
153
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
135
154
|
resourceInputs["options"] = (args === null || args === void 0 ? void 0 : args.options) ? pulumi.secret(args.options) : undefined;
|
|
136
155
|
resourceInputs["owner"] = args ? args.owner : undefined;
|
|
137
156
|
resourceInputs["properties"] = args ? args.properties : undefined;
|
|
138
157
|
resourceInputs["readOnly"] = args ? args.readOnly : undefined;
|
|
158
|
+
resourceInputs["connectionId"] = undefined /*out*/;
|
|
159
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
160
|
+
resourceInputs["createdBy"] = undefined /*out*/;
|
|
161
|
+
resourceInputs["credentialType"] = undefined /*out*/;
|
|
162
|
+
resourceInputs["fullName"] = undefined /*out*/;
|
|
163
|
+
resourceInputs["metastoreId"] = undefined /*out*/;
|
|
164
|
+
resourceInputs["provisioningInfos"] = undefined /*out*/;
|
|
165
|
+
resourceInputs["securableType"] = undefined /*out*/;
|
|
166
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
167
|
+
resourceInputs["updatedBy"] = undefined /*out*/;
|
|
168
|
+
resourceInputs["url"] = undefined /*out*/;
|
|
139
169
|
}
|
|
140
170
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
141
171
|
const secretOpts = { additionalSecretOutputs: ["options"] };
|
package/connection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../connection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3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|
* > This resource can only be used with a workspace-level provider.
|
|
6
6
|
*
|
|
7
|
-
* > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
|
|
8
|
-
*
|
|
9
7
|
* A credential represents an authentication and authorization mechanism for accessing services on your cloud tenant. Each credential is subject to Unity Catalog access-control policies that control which users and groups can access the credential.
|
|
10
8
|
*
|
|
11
9
|
* The type of credential to be created is determined by the `purpose` field, which should be either `SERVICE` or `STORAGE`.
|
package/credential.js
CHANGED
|
@@ -8,8 +8,6 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* > This resource can only be used with a workspace-level provider.
|
|
10
10
|
*
|
|
11
|
-
* > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
|
|
12
|
-
*
|
|
13
11
|
* A credential represents an authentication and authorization mechanism for accessing services on your cloud tenant. Each credential is subject to Unity Catalog access-control policies that control which users and groups can access the credential.
|
|
14
12
|
*
|
|
15
13
|
* The type of credential to be created is determined by the `purpose` field, which should be either `SERVICE` or `STORAGE`.
|
package/credential.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credential.js","sourceRoot":"","sources":["../credential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"credential.js","sourceRoot":"","sources":["../credential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwFG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU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AAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA9IL,gCA+IC;AAjIG,gBAAgB;AACO,uBAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* This data source can be used to fetch the list of budget policies.
|
|
5
|
+
*
|
|
6
|
+
* > **Note** This data source can only be used with an account-level provider!
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* Getting a list of all budget policies:
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as databricks from "@pulumi/databricks";
|
|
15
|
+
*
|
|
16
|
+
* const all = databricks.getBudgetPolicies({});
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getBudgetPolicies(opts?: pulumi.InvokeOptions): Promise<GetBudgetPoliciesResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of values returned by getBudgetPolicies.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetBudgetPoliciesResult {
|
|
24
|
+
/**
|
|
25
|
+
* The list of budget policy.
|
|
26
|
+
*/
|
|
27
|
+
readonly budgetPolicies: outputs.GetBudgetPoliciesBudgetPolicy[];
|
|
28
|
+
/**
|
|
29
|
+
* The provider-assigned unique ID for this managed resource.
|
|
30
|
+
*/
|
|
31
|
+
readonly id: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* This data source can be used to fetch the list of budget policies.
|
|
35
|
+
*
|
|
36
|
+
* > **Note** This data source can only be used with an account-level provider!
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* Getting a list of all budget policies:
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as databricks from "@pulumi/databricks";
|
|
45
|
+
*
|
|
46
|
+
* const all = databricks.getBudgetPolicies({});
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
export declare function getBudgetPoliciesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBudgetPoliciesResult>;
|