@pulumi/databricks 1.52.0 → 1.53.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/alert.d.ts +197 -0
- package/alert.js +95 -0
- package/alert.js.map +1 -0
- package/customAppIntegration.d.ts +170 -0
- package/customAppIntegration.js +107 -0
- package/customAppIntegration.js.map +1 -0
- package/getNodeType.d.ts +2 -2
- package/index.d.ts +9 -0
- package/index.js +20 -5
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/pipeline.d.ts +9 -0
- package/pipeline.js.map +1 -1
- package/query.d.ts +225 -0
- package/query.js +99 -0
- package/query.js.map +1 -0
- package/sqlAlert.d.ts +14 -0
- package/sqlAlert.js +14 -0
- package/sqlAlert.js.map +1 -1
- package/types/input.d.ts +211 -4
- package/types/output.d.ts +211 -4
package/alert.d.ts
ADDED
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Import
|
|
6
|
+
*
|
|
7
|
+
* This resource can be imported using alert ID:
|
|
8
|
+
*
|
|
9
|
+
* bash
|
|
10
|
+
*
|
|
11
|
+
* ```sh
|
|
12
|
+
* $ pulumi import databricks:index/alert:Alert this <alert-id>
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare class Alert extends pulumi.CustomResource {
|
|
16
|
+
/**
|
|
17
|
+
* Get an existing Alert resource's state with the given name, ID, and optional extra
|
|
18
|
+
* properties used to qualify the lookup.
|
|
19
|
+
*
|
|
20
|
+
* @param name The _unique_ name of the resulting resource.
|
|
21
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
22
|
+
* @param state Any extra arguments used during the lookup.
|
|
23
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
24
|
+
*/
|
|
25
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AlertState, opts?: pulumi.CustomResourceOptions): Alert;
|
|
26
|
+
/**
|
|
27
|
+
* Returns true if the given object is an instance of Alert. This is designed to work even
|
|
28
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
|
+
*/
|
|
30
|
+
static isInstance(obj: any): obj is Alert;
|
|
31
|
+
/**
|
|
32
|
+
* Trigger conditions of the alert. Block consists of the following attributes:
|
|
33
|
+
*/
|
|
34
|
+
readonly condition: pulumi.Output<outputs.AlertCondition>;
|
|
35
|
+
/**
|
|
36
|
+
* The timestamp string indicating when the alert was created.
|
|
37
|
+
*/
|
|
38
|
+
readonly createTime: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
|
|
41
|
+
*/
|
|
42
|
+
readonly customBody: pulumi.Output<string | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
|
|
45
|
+
*/
|
|
46
|
+
readonly customSubject: pulumi.Output<string | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* Name of the alert.
|
|
49
|
+
*/
|
|
50
|
+
readonly displayName: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The workspace state of the alert. Used for tracking trashed status. (Possible values are `ACTIVE` or `TRASHED`).
|
|
53
|
+
*/
|
|
54
|
+
readonly lifecycleState: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Whether to notify alert subscribers when alert returns back to normal.
|
|
57
|
+
*/
|
|
58
|
+
readonly notifyOnOk: pulumi.Output<boolean | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* Alert owner's username.
|
|
61
|
+
*/
|
|
62
|
+
readonly ownerUserName: pulumi.Output<string | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
|
|
65
|
+
*/
|
|
66
|
+
readonly parentPath: pulumi.Output<string | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* ID of the query evaluated by the alert.
|
|
69
|
+
*/
|
|
70
|
+
readonly queryId: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
|
|
73
|
+
*/
|
|
74
|
+
readonly secondsToRetrigger: pulumi.Output<number | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* Current state of the alert's trigger status (`UNKNOWN`, `OK`, `TRIGGERED`). This field is set to `UNKNOWN` if the alert has not yet been evaluated or ran into an error during the last evaluation.
|
|
77
|
+
*/
|
|
78
|
+
readonly state: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The timestamp string when the alert was last triggered if the alert has been triggered before.
|
|
81
|
+
*/
|
|
82
|
+
readonly triggerTime: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The timestamp string indicating when the alert was updated.
|
|
85
|
+
*/
|
|
86
|
+
readonly updateTime: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Create a Alert resource with the given unique name, arguments, and options.
|
|
89
|
+
*
|
|
90
|
+
* @param name The _unique_ name of the resource.
|
|
91
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
92
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
93
|
+
*/
|
|
94
|
+
constructor(name: string, args: AlertArgs, opts?: pulumi.CustomResourceOptions);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Input properties used for looking up and filtering Alert resources.
|
|
98
|
+
*/
|
|
99
|
+
export interface AlertState {
|
|
100
|
+
/**
|
|
101
|
+
* Trigger conditions of the alert. Block consists of the following attributes:
|
|
102
|
+
*/
|
|
103
|
+
condition?: pulumi.Input<inputs.AlertCondition>;
|
|
104
|
+
/**
|
|
105
|
+
* The timestamp string indicating when the alert was created.
|
|
106
|
+
*/
|
|
107
|
+
createTime?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
|
|
110
|
+
*/
|
|
111
|
+
customBody?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
|
|
114
|
+
*/
|
|
115
|
+
customSubject?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Name of the alert.
|
|
118
|
+
*/
|
|
119
|
+
displayName?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* The workspace state of the alert. Used for tracking trashed status. (Possible values are `ACTIVE` or `TRASHED`).
|
|
122
|
+
*/
|
|
123
|
+
lifecycleState?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Whether to notify alert subscribers when alert returns back to normal.
|
|
126
|
+
*/
|
|
127
|
+
notifyOnOk?: pulumi.Input<boolean>;
|
|
128
|
+
/**
|
|
129
|
+
* Alert owner's username.
|
|
130
|
+
*/
|
|
131
|
+
ownerUserName?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
|
|
134
|
+
*/
|
|
135
|
+
parentPath?: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* ID of the query evaluated by the alert.
|
|
138
|
+
*/
|
|
139
|
+
queryId?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
|
|
142
|
+
*/
|
|
143
|
+
secondsToRetrigger?: pulumi.Input<number>;
|
|
144
|
+
/**
|
|
145
|
+
* Current state of the alert's trigger status (`UNKNOWN`, `OK`, `TRIGGERED`). This field is set to `UNKNOWN` if the alert has not yet been evaluated or ran into an error during the last evaluation.
|
|
146
|
+
*/
|
|
147
|
+
state?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* The timestamp string when the alert was last triggered if the alert has been triggered before.
|
|
150
|
+
*/
|
|
151
|
+
triggerTime?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* The timestamp string indicating when the alert was updated.
|
|
154
|
+
*/
|
|
155
|
+
updateTime?: pulumi.Input<string>;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* The set of arguments for constructing a Alert resource.
|
|
159
|
+
*/
|
|
160
|
+
export interface AlertArgs {
|
|
161
|
+
/**
|
|
162
|
+
* Trigger conditions of the alert. Block consists of the following attributes:
|
|
163
|
+
*/
|
|
164
|
+
condition: pulumi.Input<inputs.AlertCondition>;
|
|
165
|
+
/**
|
|
166
|
+
* Custom body of alert notification, if it exists. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
|
|
167
|
+
*/
|
|
168
|
+
customBody?: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* Custom subject of alert notification, if it exists. This includes email subject, Slack notification header, etc. See [Alerts API reference](https://docs.databricks.com/en/sql/user/alerts/index.html) for custom templating instructions.
|
|
171
|
+
*/
|
|
172
|
+
customSubject?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* Name of the alert.
|
|
175
|
+
*/
|
|
176
|
+
displayName: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* Whether to notify alert subscribers when alert returns back to normal.
|
|
179
|
+
*/
|
|
180
|
+
notifyOnOk?: pulumi.Input<boolean>;
|
|
181
|
+
/**
|
|
182
|
+
* Alert owner's username.
|
|
183
|
+
*/
|
|
184
|
+
ownerUserName?: pulumi.Input<string>;
|
|
185
|
+
/**
|
|
186
|
+
* The path to a workspace folder containing the alert. The default is the user's home folder. If changed, the alert will be recreated.
|
|
187
|
+
*/
|
|
188
|
+
parentPath?: pulumi.Input<string>;
|
|
189
|
+
/**
|
|
190
|
+
* ID of the query evaluated by the alert.
|
|
191
|
+
*/
|
|
192
|
+
queryId: pulumi.Input<string>;
|
|
193
|
+
/**
|
|
194
|
+
* Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
|
|
195
|
+
*/
|
|
196
|
+
secondsToRetrigger?: pulumi.Input<number>;
|
|
197
|
+
}
|
package/alert.js
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
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.Alert = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* This resource can be imported using alert ID:
|
|
12
|
+
*
|
|
13
|
+
* bash
|
|
14
|
+
*
|
|
15
|
+
* ```sh
|
|
16
|
+
* $ pulumi import databricks:index/alert:Alert this <alert-id>
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
class Alert extends pulumi.CustomResource {
|
|
20
|
+
/**
|
|
21
|
+
* Get an existing Alert resource's state with the given name, ID, and optional extra
|
|
22
|
+
* properties used to qualify the lookup.
|
|
23
|
+
*
|
|
24
|
+
* @param name The _unique_ name of the resulting resource.
|
|
25
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
26
|
+
* @param state Any extra arguments used during the lookup.
|
|
27
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
28
|
+
*/
|
|
29
|
+
static get(name, id, state, opts) {
|
|
30
|
+
return new Alert(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Returns true if the given object is an instance of Alert. This is designed to work even
|
|
34
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
35
|
+
*/
|
|
36
|
+
static isInstance(obj) {
|
|
37
|
+
if (obj === undefined || obj === null) {
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
return obj['__pulumiType'] === Alert.__pulumiType;
|
|
41
|
+
}
|
|
42
|
+
constructor(name, argsOrState, opts) {
|
|
43
|
+
let resourceInputs = {};
|
|
44
|
+
opts = opts || {};
|
|
45
|
+
if (opts.id) {
|
|
46
|
+
const state = argsOrState;
|
|
47
|
+
resourceInputs["condition"] = state ? state.condition : undefined;
|
|
48
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
49
|
+
resourceInputs["customBody"] = state ? state.customBody : undefined;
|
|
50
|
+
resourceInputs["customSubject"] = state ? state.customSubject : undefined;
|
|
51
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
52
|
+
resourceInputs["lifecycleState"] = state ? state.lifecycleState : undefined;
|
|
53
|
+
resourceInputs["notifyOnOk"] = state ? state.notifyOnOk : undefined;
|
|
54
|
+
resourceInputs["ownerUserName"] = state ? state.ownerUserName : undefined;
|
|
55
|
+
resourceInputs["parentPath"] = state ? state.parentPath : undefined;
|
|
56
|
+
resourceInputs["queryId"] = state ? state.queryId : undefined;
|
|
57
|
+
resourceInputs["secondsToRetrigger"] = state ? state.secondsToRetrigger : undefined;
|
|
58
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
59
|
+
resourceInputs["triggerTime"] = state ? state.triggerTime : undefined;
|
|
60
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
const args = argsOrState;
|
|
64
|
+
if ((!args || args.condition === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'condition'");
|
|
66
|
+
}
|
|
67
|
+
if ((!args || args.displayName === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'displayName'");
|
|
69
|
+
}
|
|
70
|
+
if ((!args || args.queryId === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'queryId'");
|
|
72
|
+
}
|
|
73
|
+
resourceInputs["condition"] = args ? args.condition : undefined;
|
|
74
|
+
resourceInputs["customBody"] = args ? args.customBody : undefined;
|
|
75
|
+
resourceInputs["customSubject"] = args ? args.customSubject : undefined;
|
|
76
|
+
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
77
|
+
resourceInputs["notifyOnOk"] = args ? args.notifyOnOk : undefined;
|
|
78
|
+
resourceInputs["ownerUserName"] = args ? args.ownerUserName : undefined;
|
|
79
|
+
resourceInputs["parentPath"] = args ? args.parentPath : undefined;
|
|
80
|
+
resourceInputs["queryId"] = args ? args.queryId : undefined;
|
|
81
|
+
resourceInputs["secondsToRetrigger"] = args ? args.secondsToRetrigger : undefined;
|
|
82
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
83
|
+
resourceInputs["lifecycleState"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["triggerTime"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
87
|
+
}
|
|
88
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
89
|
+
super(Alert.__pulumiType, name, resourceInputs, opts);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.Alert = Alert;
|
|
93
|
+
/** @internal */
|
|
94
|
+
Alert.__pulumiType = 'databricks:index/alert:Alert';
|
|
95
|
+
//# sourceMappingURL=alert.js.map
|
package/alert.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert.js","sourceRoot":"","sources":["../alert.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAi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AAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,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,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AA5IL,sBA6IC;AA/HG,gBAAgB;AACO,kBAAY,GAAG,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* > Initialize provider with `alias = "account"`, and `host` pointing to the account URL, like, `host = "https://accounts.cloud.databricks.com"`. Use `provider = databricks.account` for all account-level resources.
|
|
6
|
+
*
|
|
7
|
+
* This resource allows you to enable [custom OAuth applications](https://docs.databricks.com/en/integrations/enable-disable-oauth.html#enable-custom-oauth-applications-using-the-databricks-ui).
|
|
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.CustomAppIntegration("this", {
|
|
16
|
+
* name: "custom_integration_name",
|
|
17
|
+
* redirectUrls: ["https://example.com"],
|
|
18
|
+
* scopes: ["all-apis"],
|
|
19
|
+
* tokenAccessPolicy: {
|
|
20
|
+
* accessTokenTtlInMinutes: 15,
|
|
21
|
+
* refreshTokenTtlInMinutes: 30,
|
|
22
|
+
* },
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Related Resources
|
|
27
|
+
*
|
|
28
|
+
* The following resources are used in the context:
|
|
29
|
+
*
|
|
30
|
+
* * databricks.MwsWorkspaces to set up Databricks workspaces.
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* This resource can be imported by its integration ID.
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import databricks:index/customAppIntegration:CustomAppIntegration this '<integration_id>'
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare class CustomAppIntegration extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing CustomAppIntegration resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CustomAppIntegrationState, opts?: pulumi.CustomResourceOptions): CustomAppIntegration;
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of CustomAppIntegration. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj: any): obj is CustomAppIntegration;
|
|
56
|
+
/**
|
|
57
|
+
* OAuth client-id generated by Databricks
|
|
58
|
+
*/
|
|
59
|
+
readonly clientId: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* OAuth client-secret generated by the Databricks if this is a confidential OAuth app.
|
|
62
|
+
*/
|
|
63
|
+
readonly clientSecret: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* Indicates whether an OAuth client secret is required to authenticate this client. Default to `false`. Change requires a new resource.
|
|
66
|
+
*/
|
|
67
|
+
readonly confidential: pulumi.Output<boolean | undefined>;
|
|
68
|
+
readonly createTime: pulumi.Output<string>;
|
|
69
|
+
readonly createdBy: pulumi.Output<number>;
|
|
70
|
+
readonly creatorUsername: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Unique integration id for the custom OAuth app.
|
|
73
|
+
*/
|
|
74
|
+
readonly integrationId: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Name of the custom OAuth app. Change requires a new resource.
|
|
77
|
+
*/
|
|
78
|
+
readonly name: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* List of OAuth redirect urls.
|
|
81
|
+
*/
|
|
82
|
+
readonly redirectUrls: pulumi.Output<string[] | undefined>;
|
|
83
|
+
/**
|
|
84
|
+
* OAuth scopes granted to the application. Supported scopes: `all-apis`, `sql`, `offlineAccess`, `openid`, `profile`, `email`.
|
|
85
|
+
*/
|
|
86
|
+
readonly scopes: pulumi.Output<string[] | undefined>;
|
|
87
|
+
readonly tokenAccessPolicy: pulumi.Output<outputs.CustomAppIntegrationTokenAccessPolicy | undefined>;
|
|
88
|
+
/**
|
|
89
|
+
* Create a CustomAppIntegration resource with the given unique name, arguments, and options.
|
|
90
|
+
*
|
|
91
|
+
* @param name The _unique_ name of the resource.
|
|
92
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
93
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
94
|
+
*/
|
|
95
|
+
constructor(name: string, args?: CustomAppIntegrationArgs, opts?: pulumi.CustomResourceOptions);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Input properties used for looking up and filtering CustomAppIntegration resources.
|
|
99
|
+
*/
|
|
100
|
+
export interface CustomAppIntegrationState {
|
|
101
|
+
/**
|
|
102
|
+
* OAuth client-id generated by Databricks
|
|
103
|
+
*/
|
|
104
|
+
clientId?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* OAuth client-secret generated by the Databricks if this is a confidential OAuth app.
|
|
107
|
+
*/
|
|
108
|
+
clientSecret?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Indicates whether an OAuth client secret is required to authenticate this client. Default to `false`. Change requires a new resource.
|
|
111
|
+
*/
|
|
112
|
+
confidential?: pulumi.Input<boolean>;
|
|
113
|
+
createTime?: pulumi.Input<string>;
|
|
114
|
+
createdBy?: pulumi.Input<number>;
|
|
115
|
+
creatorUsername?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Unique integration id for the custom OAuth app.
|
|
118
|
+
*/
|
|
119
|
+
integrationId?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Name of the custom OAuth app. Change requires a new resource.
|
|
122
|
+
*/
|
|
123
|
+
name?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* List of OAuth redirect urls.
|
|
126
|
+
*/
|
|
127
|
+
redirectUrls?: pulumi.Input<pulumi.Input<string>[]>;
|
|
128
|
+
/**
|
|
129
|
+
* OAuth scopes granted to the application. Supported scopes: `all-apis`, `sql`, `offlineAccess`, `openid`, `profile`, `email`.
|
|
130
|
+
*/
|
|
131
|
+
scopes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
132
|
+
tokenAccessPolicy?: pulumi.Input<inputs.CustomAppIntegrationTokenAccessPolicy>;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* The set of arguments for constructing a CustomAppIntegration resource.
|
|
136
|
+
*/
|
|
137
|
+
export interface CustomAppIntegrationArgs {
|
|
138
|
+
/**
|
|
139
|
+
* OAuth client-id generated by Databricks
|
|
140
|
+
*/
|
|
141
|
+
clientId?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* OAuth client-secret generated by the Databricks if this is a confidential OAuth app.
|
|
144
|
+
*/
|
|
145
|
+
clientSecret?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* Indicates whether an OAuth client secret is required to authenticate this client. Default to `false`. Change requires a new resource.
|
|
148
|
+
*/
|
|
149
|
+
confidential?: pulumi.Input<boolean>;
|
|
150
|
+
createTime?: pulumi.Input<string>;
|
|
151
|
+
createdBy?: pulumi.Input<number>;
|
|
152
|
+
creatorUsername?: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* Unique integration id for the custom OAuth app.
|
|
155
|
+
*/
|
|
156
|
+
integrationId?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* Name of the custom OAuth app. Change requires a new resource.
|
|
159
|
+
*/
|
|
160
|
+
name?: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* List of OAuth redirect urls.
|
|
163
|
+
*/
|
|
164
|
+
redirectUrls?: pulumi.Input<pulumi.Input<string>[]>;
|
|
165
|
+
/**
|
|
166
|
+
* OAuth scopes granted to the application. Supported scopes: `all-apis`, `sql`, `offlineAccess`, `openid`, `profile`, `email`.
|
|
167
|
+
*/
|
|
168
|
+
scopes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
169
|
+
tokenAccessPolicy?: pulumi.Input<inputs.CustomAppIntegrationTokenAccessPolicy>;
|
|
170
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
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.CustomAppIntegration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* > Initialize provider with `alias = "account"`, and `host` pointing to the account URL, like, `host = "https://accounts.cloud.databricks.com"`. Use `provider = databricks.account` for all account-level resources.
|
|
10
|
+
*
|
|
11
|
+
* This resource allows you to enable [custom OAuth applications](https://docs.databricks.com/en/integrations/enable-disable-oauth.html#enable-custom-oauth-applications-using-the-databricks-ui).
|
|
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.CustomAppIntegration("this", {
|
|
20
|
+
* name: "custom_integration_name",
|
|
21
|
+
* redirectUrls: ["https://example.com"],
|
|
22
|
+
* scopes: ["all-apis"],
|
|
23
|
+
* tokenAccessPolicy: {
|
|
24
|
+
* accessTokenTtlInMinutes: 15,
|
|
25
|
+
* refreshTokenTtlInMinutes: 30,
|
|
26
|
+
* },
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Related Resources
|
|
31
|
+
*
|
|
32
|
+
* The following resources are used in the context:
|
|
33
|
+
*
|
|
34
|
+
* * databricks.MwsWorkspaces to set up Databricks workspaces.
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* This resource can be imported by its integration ID.
|
|
39
|
+
*
|
|
40
|
+
* ```sh
|
|
41
|
+
* $ pulumi import databricks:index/customAppIntegration:CustomAppIntegration this '<integration_id>'
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
class CustomAppIntegration extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing CustomAppIntegration resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param state Any extra arguments used during the lookup.
|
|
52
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
|
+
*/
|
|
54
|
+
static get(name, id, state, opts) {
|
|
55
|
+
return new CustomAppIntegration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of CustomAppIntegration. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj) {
|
|
62
|
+
if (obj === undefined || obj === null) {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
return obj['__pulumiType'] === CustomAppIntegration.__pulumiType;
|
|
66
|
+
}
|
|
67
|
+
constructor(name, argsOrState, opts) {
|
|
68
|
+
let resourceInputs = {};
|
|
69
|
+
opts = opts || {};
|
|
70
|
+
if (opts.id) {
|
|
71
|
+
const state = argsOrState;
|
|
72
|
+
resourceInputs["clientId"] = state ? state.clientId : undefined;
|
|
73
|
+
resourceInputs["clientSecret"] = state ? state.clientSecret : undefined;
|
|
74
|
+
resourceInputs["confidential"] = state ? state.confidential : undefined;
|
|
75
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
76
|
+
resourceInputs["createdBy"] = state ? state.createdBy : undefined;
|
|
77
|
+
resourceInputs["creatorUsername"] = state ? state.creatorUsername : undefined;
|
|
78
|
+
resourceInputs["integrationId"] = state ? state.integrationId : undefined;
|
|
79
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
80
|
+
resourceInputs["redirectUrls"] = state ? state.redirectUrls : undefined;
|
|
81
|
+
resourceInputs["scopes"] = state ? state.scopes : undefined;
|
|
82
|
+
resourceInputs["tokenAccessPolicy"] = state ? state.tokenAccessPolicy : undefined;
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
const args = argsOrState;
|
|
86
|
+
resourceInputs["clientId"] = args ? args.clientId : undefined;
|
|
87
|
+
resourceInputs["clientSecret"] = (args === null || args === void 0 ? void 0 : args.clientSecret) ? pulumi.secret(args.clientSecret) : undefined;
|
|
88
|
+
resourceInputs["confidential"] = args ? args.confidential : undefined;
|
|
89
|
+
resourceInputs["createTime"] = args ? args.createTime : undefined;
|
|
90
|
+
resourceInputs["createdBy"] = args ? args.createdBy : undefined;
|
|
91
|
+
resourceInputs["creatorUsername"] = args ? args.creatorUsername : undefined;
|
|
92
|
+
resourceInputs["integrationId"] = args ? args.integrationId : undefined;
|
|
93
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
94
|
+
resourceInputs["redirectUrls"] = args ? args.redirectUrls : undefined;
|
|
95
|
+
resourceInputs["scopes"] = args ? args.scopes : undefined;
|
|
96
|
+
resourceInputs["tokenAccessPolicy"] = args ? args.tokenAccessPolicy : undefined;
|
|
97
|
+
}
|
|
98
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
99
|
+
const secretOpts = { additionalSecretOutputs: ["clientSecret"] };
|
|
100
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
101
|
+
super(CustomAppIntegration.__pulumiType, name, resourceInputs, opts);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.CustomAppIntegration = CustomAppIntegration;
|
|
105
|
+
/** @internal */
|
|
106
|
+
CustomAppIntegration.__pulumiType = 'databricks:index/customAppIntegration:CustomAppIntegration';
|
|
107
|
+
//# sourceMappingURL=customAppIntegration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customAppIntegration.js","sourceRoot":"","sources":["../customAppIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAA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es with AWS Graviton CPUs. Default to _false_.
|
|
72
|
+
* if we should limit the search only to nodes with AWS Graviton or Azure Cobalt CPUs. Default to _false_.
|
|
73
73
|
*/
|
|
74
74
|
graviton?: boolean;
|
|
75
75
|
/**
|
|
@@ -205,7 +205,7 @@ export interface GetNodeTypeOutputArgs {
|
|
|
205
205
|
*/
|
|
206
206
|
gbPerCore?: pulumi.Input<number>;
|
|
207
207
|
/**
|
|
208
|
-
* if we should limit the search only to nodes with AWS Graviton CPUs. Default to _false_.
|
|
208
|
+
* if we should limit the search only to nodes with AWS Graviton or Azure Cobalt CPUs. Default to _false_.
|
|
209
209
|
*/
|
|
210
210
|
graviton?: pulumi.Input<boolean>;
|
|
211
211
|
/**
|
package/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export { AccessControlRuleSetArgs, AccessControlRuleSetState } from "./accessControlRuleSet";
|
|
2
2
|
export type AccessControlRuleSet = import("./accessControlRuleSet").AccessControlRuleSet;
|
|
3
3
|
export declare const AccessControlRuleSet: typeof import("./accessControlRuleSet").AccessControlRuleSet;
|
|
4
|
+
export { AlertArgs, AlertState } from "./alert";
|
|
5
|
+
export type Alert = import("./alert").Alert;
|
|
6
|
+
export declare const Alert: typeof import("./alert").Alert;
|
|
4
7
|
export { ArtifactAllowlistArgs, ArtifactAllowlistState } from "./artifactAllowlist";
|
|
5
8
|
export type ArtifactAllowlist = import("./artifactAllowlist").ArtifactAllowlist;
|
|
6
9
|
export declare const ArtifactAllowlist: typeof import("./artifactAllowlist").ArtifactAllowlist;
|
|
@@ -28,6 +31,9 @@ export declare const ComplianceSecurityProfileWorkspaceSetting: typeof import(".
|
|
|
28
31
|
export { ConnectionArgs, ConnectionState } from "./connection";
|
|
29
32
|
export type Connection = import("./connection").Connection;
|
|
30
33
|
export declare const Connection: typeof import("./connection").Connection;
|
|
34
|
+
export { CustomAppIntegrationArgs, CustomAppIntegrationState } from "./customAppIntegration";
|
|
35
|
+
export type CustomAppIntegration = import("./customAppIntegration").CustomAppIntegration;
|
|
36
|
+
export declare const CustomAppIntegration: typeof import("./customAppIntegration").CustomAppIntegration;
|
|
31
37
|
export { DashboardArgs, DashboardState } from "./dashboard";
|
|
32
38
|
export type Dashboard = import("./dashboard").Dashboard;
|
|
33
39
|
export declare const Dashboard: typeof import("./dashboard").Dashboard;
|
|
@@ -346,6 +352,9 @@ export declare const Provider: typeof import("./provider").Provider;
|
|
|
346
352
|
export { QualityMonitorArgs, QualityMonitorState } from "./qualityMonitor";
|
|
347
353
|
export type QualityMonitor = import("./qualityMonitor").QualityMonitor;
|
|
348
354
|
export declare const QualityMonitor: typeof import("./qualityMonitor").QualityMonitor;
|
|
355
|
+
export { QueryArgs, QueryState } from "./query";
|
|
356
|
+
export type Query = import("./query").Query;
|
|
357
|
+
export declare const Query: typeof import("./query").Query;
|
|
349
358
|
export { RecipientArgs, RecipientState } from "./recipient";
|
|
350
359
|
export type Recipient = import("./recipient").Recipient;
|
|
351
360
|
export declare const Recipient: typeof import("./recipient").Recipient;
|