@pulumi/databricks 1.83.0-alpha.1768973755 → 1.83.0-alpha.1769140245
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/accountSettingUserPreferenceV2.d.ts +143 -0
- package/accountSettingUserPreferenceV2.js +118 -0
- package/accountSettingUserPreferenceV2.js.map +1 -0
- package/cluster.d.ts +6 -0
- package/cluster.js +4 -0
- package/cluster.js.map +1 -1
- package/getAccountSettingUserPreferenceV2.d.ts +73 -0
- package/getAccountSettingUserPreferenceV2.js +34 -0
- package/getAccountSettingUserPreferenceV2.js.map +1 -0
- package/getPostgresBranch.d.ts +43 -11
- package/getPostgresBranch.js +34 -2
- package/getPostgresBranch.js.map +1 -1
- package/getPostgresBranches.d.ts +37 -5
- package/getPostgresBranches.js +34 -2
- package/getPostgresBranches.js.map +1 -1
- package/getPostgresEndpoint.d.ts +44 -12
- package/getPostgresEndpoint.js +34 -2
- package/getPostgresEndpoint.js.map +1 -1
- package/getPostgresEndpoints.d.ts +39 -5
- package/getPostgresEndpoints.js +36 -2
- package/getPostgresEndpoints.js.map +1 -1
- package/getPostgresProject.d.ts +46 -10
- package/getPostgresProject.js +38 -2
- package/getPostgresProject.js.map +1 -1
- package/getPostgresProjects.d.ts +32 -4
- package/getPostgresProjects.js +30 -2
- package/getPostgresProjects.js.map +1 -1
- package/getQualityMonitorV2.d.ts +8 -0
- package/getQualityMonitorV2.js +8 -0
- package/getQualityMonitorV2.js.map +1 -1
- package/getQualityMonitorsV2.d.ts +8 -0
- package/getQualityMonitorsV2.js +8 -0
- package/getQualityMonitorsV2.js.map +1 -1
- package/getWarehousesDefaultWarehouseOverride.d.ts +78 -0
- package/getWarehousesDefaultWarehouseOverride.js +50 -0
- package/getWarehousesDefaultWarehouseOverride.js.map +1 -0
- package/getWarehousesDefaultWarehouseOverrides.d.ts +57 -0
- package/getWarehousesDefaultWarehouseOverrides.js +42 -0
- package/getWarehousesDefaultWarehouseOverrides.js.map +1 -0
- package/gitCredential.d.ts +3 -0
- package/gitCredential.js +2 -0
- package/gitCredential.js.map +1 -1
- package/index.d.ts +15 -0
- package/index.js +27 -8
- package/index.js.map +1 -1
- package/mwsWorkspaces.d.ts +3 -3
- package/package.json +2 -2
- package/postgresBranch.d.ts +92 -25
- package/postgresBranch.js +56 -1
- package/postgresBranch.js.map +1 -1
- package/postgresEndpoint.d.ts +176 -27
- package/postgresEndpoint.js +147 -1
- package/postgresEndpoint.js.map +1 -1
- package/postgresProject.d.ts +85 -22
- package/postgresProject.js +61 -1
- package/postgresProject.js.map +1 -1
- package/qualityMonitorV2.d.ts +4 -0
- package/qualityMonitorV2.js +4 -0
- package/qualityMonitorV2.js.map +1 -1
- package/types/input.d.ts +161 -56
- package/types/output.d.ts +300 -173
- package/warehousesDefaultWarehouseOverride.d.ts +146 -0
- package/warehousesDefaultWarehouseOverride.js +122 -0
- package/warehousesDefaultWarehouseOverride.js.map +1 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
6
|
+
*
|
|
7
|
+
* User preference is a configurable value that determines how a feature or behavior works for a specific user within the Databricks platform.
|
|
8
|
+
*
|
|
9
|
+
* See user settings-metadata API for list of user preferences that can be modified using this resource.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* Setting an account user preference:
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as databricks from "@pulumi/databricks";
|
|
18
|
+
*
|
|
19
|
+
* const themeSetting = new databricks.index.AccountUserSettingV2("theme_setting", {
|
|
20
|
+
* userId: "<user-id>",
|
|
21
|
+
* name: "enableDarkMode",
|
|
22
|
+
* stringVal: {
|
|
23
|
+
* value: "dark",
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* Setting a boolean user preference:
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as databricks from "@pulumi/databricks";
|
|
33
|
+
*
|
|
34
|
+
* const enableLineNumbers = new databricks.index.AccountUserSettingV2("enable_line_numbers", {
|
|
35
|
+
* userId: "<user-id>",
|
|
36
|
+
* name: "enableLineNumbers",
|
|
37
|
+
* booleanVal: {
|
|
38
|
+
* value: true,
|
|
39
|
+
* },
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* ## Import
|
|
44
|
+
*
|
|
45
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
46
|
+
*
|
|
47
|
+
* hcl
|
|
48
|
+
*
|
|
49
|
+
* import {
|
|
50
|
+
*
|
|
51
|
+
* id = "name,user_id"
|
|
52
|
+
*
|
|
53
|
+
* to = databricks_account_setting_user_preference_v2.this
|
|
54
|
+
*
|
|
55
|
+
* }
|
|
56
|
+
*
|
|
57
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
58
|
+
*
|
|
59
|
+
* ```sh
|
|
60
|
+
* $ pulumi import databricks:index/accountSettingUserPreferenceV2:AccountSettingUserPreferenceV2 this "name,user_id"
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
export declare class AccountSettingUserPreferenceV2 extends pulumi.CustomResource {
|
|
64
|
+
/**
|
|
65
|
+
* Get an existing AccountSettingUserPreferenceV2 resource's state with the given name, ID, and optional extra
|
|
66
|
+
* properties used to qualify the lookup.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resulting resource.
|
|
69
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
70
|
+
* @param state Any extra arguments used during the lookup.
|
|
71
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
72
|
+
*/
|
|
73
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccountSettingUserPreferenceV2State, opts?: pulumi.CustomResourceOptions): AccountSettingUserPreferenceV2;
|
|
74
|
+
/**
|
|
75
|
+
* Returns true if the given object is an instance of AccountSettingUserPreferenceV2. This is designed to work even
|
|
76
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
77
|
+
*/
|
|
78
|
+
static isInstance(obj: any): obj is AccountSettingUserPreferenceV2;
|
|
79
|
+
readonly booleanVal: pulumi.Output<outputs.AccountSettingUserPreferenceV2BooleanVal | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* (BooleanMessage)
|
|
82
|
+
*/
|
|
83
|
+
readonly effectiveBooleanVal: pulumi.Output<outputs.AccountSettingUserPreferenceV2EffectiveBooleanVal>;
|
|
84
|
+
/**
|
|
85
|
+
* (StringMessage)
|
|
86
|
+
*/
|
|
87
|
+
readonly effectiveStringVal: pulumi.Output<outputs.AccountSettingUserPreferenceV2EffectiveStringVal>;
|
|
88
|
+
/**
|
|
89
|
+
* Name of the setting
|
|
90
|
+
*/
|
|
91
|
+
readonly name: pulumi.Output<string>;
|
|
92
|
+
readonly stringVal: pulumi.Output<outputs.AccountSettingUserPreferenceV2StringVal | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* User ID of the user
|
|
95
|
+
*/
|
|
96
|
+
readonly userId: pulumi.Output<string | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* Create a AccountSettingUserPreferenceV2 resource with the given unique name, arguments, and options.
|
|
99
|
+
*
|
|
100
|
+
* @param name The _unique_ name of the resource.
|
|
101
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
102
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
103
|
+
*/
|
|
104
|
+
constructor(name: string, args?: AccountSettingUserPreferenceV2Args, opts?: pulumi.CustomResourceOptions);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Input properties used for looking up and filtering AccountSettingUserPreferenceV2 resources.
|
|
108
|
+
*/
|
|
109
|
+
export interface AccountSettingUserPreferenceV2State {
|
|
110
|
+
booleanVal?: pulumi.Input<inputs.AccountSettingUserPreferenceV2BooleanVal>;
|
|
111
|
+
/**
|
|
112
|
+
* (BooleanMessage)
|
|
113
|
+
*/
|
|
114
|
+
effectiveBooleanVal?: pulumi.Input<inputs.AccountSettingUserPreferenceV2EffectiveBooleanVal>;
|
|
115
|
+
/**
|
|
116
|
+
* (StringMessage)
|
|
117
|
+
*/
|
|
118
|
+
effectiveStringVal?: pulumi.Input<inputs.AccountSettingUserPreferenceV2EffectiveStringVal>;
|
|
119
|
+
/**
|
|
120
|
+
* Name of the setting
|
|
121
|
+
*/
|
|
122
|
+
name?: pulumi.Input<string>;
|
|
123
|
+
stringVal?: pulumi.Input<inputs.AccountSettingUserPreferenceV2StringVal>;
|
|
124
|
+
/**
|
|
125
|
+
* User ID of the user
|
|
126
|
+
*/
|
|
127
|
+
userId?: pulumi.Input<string>;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* The set of arguments for constructing a AccountSettingUserPreferenceV2 resource.
|
|
131
|
+
*/
|
|
132
|
+
export interface AccountSettingUserPreferenceV2Args {
|
|
133
|
+
booleanVal?: pulumi.Input<inputs.AccountSettingUserPreferenceV2BooleanVal>;
|
|
134
|
+
/**
|
|
135
|
+
* Name of the setting
|
|
136
|
+
*/
|
|
137
|
+
name?: pulumi.Input<string>;
|
|
138
|
+
stringVal?: pulumi.Input<inputs.AccountSettingUserPreferenceV2StringVal>;
|
|
139
|
+
/**
|
|
140
|
+
* User ID of the user
|
|
141
|
+
*/
|
|
142
|
+
userId?: pulumi.Input<string>;
|
|
143
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.AccountSettingUserPreferenceV2 = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
10
|
+
*
|
|
11
|
+
* User preference is a configurable value that determines how a feature or behavior works for a specific user within the Databricks platform.
|
|
12
|
+
*
|
|
13
|
+
* See user settings-metadata API for list of user preferences that can be modified using this resource.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* Setting an account user preference:
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as databricks from "@pulumi/databricks";
|
|
22
|
+
*
|
|
23
|
+
* const themeSetting = new databricks.index.AccountUserSettingV2("theme_setting", {
|
|
24
|
+
* userId: "<user-id>",
|
|
25
|
+
* name: "enableDarkMode",
|
|
26
|
+
* stringVal: {
|
|
27
|
+
* value: "dark",
|
|
28
|
+
* },
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* Setting a boolean user preference:
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as databricks from "@pulumi/databricks";
|
|
37
|
+
*
|
|
38
|
+
* const enableLineNumbers = new databricks.index.AccountUserSettingV2("enable_line_numbers", {
|
|
39
|
+
* userId: "<user-id>",
|
|
40
|
+
* name: "enableLineNumbers",
|
|
41
|
+
* booleanVal: {
|
|
42
|
+
* value: true,
|
|
43
|
+
* },
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* ## Import
|
|
48
|
+
*
|
|
49
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
50
|
+
*
|
|
51
|
+
* hcl
|
|
52
|
+
*
|
|
53
|
+
* import {
|
|
54
|
+
*
|
|
55
|
+
* id = "name,user_id"
|
|
56
|
+
*
|
|
57
|
+
* to = databricks_account_setting_user_preference_v2.this
|
|
58
|
+
*
|
|
59
|
+
* }
|
|
60
|
+
*
|
|
61
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
62
|
+
*
|
|
63
|
+
* ```sh
|
|
64
|
+
* $ pulumi import databricks:index/accountSettingUserPreferenceV2:AccountSettingUserPreferenceV2 this "name,user_id"
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
class AccountSettingUserPreferenceV2 extends pulumi.CustomResource {
|
|
68
|
+
/**
|
|
69
|
+
* Get an existing AccountSettingUserPreferenceV2 resource's state with the given name, ID, and optional extra
|
|
70
|
+
* properties used to qualify the lookup.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resulting resource.
|
|
73
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
74
|
+
* @param state Any extra arguments used during the lookup.
|
|
75
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
76
|
+
*/
|
|
77
|
+
static get(name, id, state, opts) {
|
|
78
|
+
return new AccountSettingUserPreferenceV2(name, state, { ...opts, id: id });
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Returns true if the given object is an instance of AccountSettingUserPreferenceV2. This is designed to work even
|
|
82
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
83
|
+
*/
|
|
84
|
+
static isInstance(obj) {
|
|
85
|
+
if (obj === undefined || obj === null) {
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
return obj['__pulumiType'] === AccountSettingUserPreferenceV2.__pulumiType;
|
|
89
|
+
}
|
|
90
|
+
constructor(name, argsOrState, opts) {
|
|
91
|
+
let resourceInputs = {};
|
|
92
|
+
opts = opts || {};
|
|
93
|
+
if (opts.id) {
|
|
94
|
+
const state = argsOrState;
|
|
95
|
+
resourceInputs["booleanVal"] = state?.booleanVal;
|
|
96
|
+
resourceInputs["effectiveBooleanVal"] = state?.effectiveBooleanVal;
|
|
97
|
+
resourceInputs["effectiveStringVal"] = state?.effectiveStringVal;
|
|
98
|
+
resourceInputs["name"] = state?.name;
|
|
99
|
+
resourceInputs["stringVal"] = state?.stringVal;
|
|
100
|
+
resourceInputs["userId"] = state?.userId;
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
const args = argsOrState;
|
|
104
|
+
resourceInputs["booleanVal"] = args?.booleanVal;
|
|
105
|
+
resourceInputs["name"] = args?.name;
|
|
106
|
+
resourceInputs["stringVal"] = args?.stringVal;
|
|
107
|
+
resourceInputs["userId"] = args?.userId;
|
|
108
|
+
resourceInputs["effectiveBooleanVal"] = undefined /*out*/;
|
|
109
|
+
resourceInputs["effectiveStringVal"] = undefined /*out*/;
|
|
110
|
+
}
|
|
111
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
112
|
+
super(AccountSettingUserPreferenceV2.__pulumiType, name, resourceInputs, opts);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
exports.AccountSettingUserPreferenceV2 = AccountSettingUserPreferenceV2;
|
|
116
|
+
/** @internal */
|
|
117
|
+
AccountSettingUserPreferenceV2.__pulumiType = 'databricks:index/accountSettingUserPreferenceV2:AccountSettingUserPreferenceV2';
|
|
118
|
+
//# sourceMappingURL=accountSettingUserPreferenceV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountSettingUserPreferenceV2.js","sourceRoot":"","sources":["../accountSettingUserPreferenceV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,MAAa,8BAA+B,SAAQ,MAAM,CAAC,cAAc;IACrE;;;;;;;;OAQG;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C9C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC5D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,8BAA8B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnF,CAAC;;AA7EL,wEA8EC;AAhEG,gBAAgB;AACO,2CAAY,GAAG,gFAAgF,CAAC"}
|
package/cluster.d.ts
CHANGED
|
@@ -91,6 +91,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
91
91
|
* similar to `instancePoolId`, but for driver node. If omitted, and `instancePoolId` is specified, then the driver will be allocated from that pool.
|
|
92
92
|
*/
|
|
93
93
|
readonly driverInstancePoolId: pulumi.Output<string>;
|
|
94
|
+
readonly driverNodeTypeFlexibility: pulumi.Output<outputs.ClusterDriverNodeTypeFlexibility | undefined>;
|
|
94
95
|
/**
|
|
95
96
|
* The node type of the Spark driver. This field is optional; if unset, API will set the driver node type to the same value as `nodeTypeId` defined above.
|
|
96
97
|
*/
|
|
@@ -187,6 +188,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
187
188
|
* Whenever ML runtime should be selected or not. Actual runtime is determined by `sparkVersion` (DBR release), this field `useMlRuntime`, and whether `nodeTypeId` is GPU node or not.
|
|
188
189
|
*/
|
|
189
190
|
readonly useMlRuntime: pulumi.Output<boolean | undefined>;
|
|
191
|
+
readonly workerNodeTypeFlexibility: pulumi.Output<outputs.ClusterWorkerNodeTypeFlexibility | undefined>;
|
|
190
192
|
readonly workloadType: pulumi.Output<outputs.ClusterWorkloadType | undefined>;
|
|
191
193
|
/**
|
|
192
194
|
* Create a Cluster resource with the given unique name, arguments, and options.
|
|
@@ -264,6 +266,7 @@ export interface ClusterState {
|
|
|
264
266
|
* similar to `instancePoolId`, but for driver node. If omitted, and `instancePoolId` is specified, then the driver will be allocated from that pool.
|
|
265
267
|
*/
|
|
266
268
|
driverInstancePoolId?: pulumi.Input<string>;
|
|
269
|
+
driverNodeTypeFlexibility?: pulumi.Input<inputs.ClusterDriverNodeTypeFlexibility>;
|
|
267
270
|
/**
|
|
268
271
|
* The node type of the Spark driver. This field is optional; if unset, API will set the driver node type to the same value as `nodeTypeId` defined above.
|
|
269
272
|
*/
|
|
@@ -360,6 +363,7 @@ export interface ClusterState {
|
|
|
360
363
|
* Whenever ML runtime should be selected or not. Actual runtime is determined by `sparkVersion` (DBR release), this field `useMlRuntime`, and whether `nodeTypeId` is GPU node or not.
|
|
361
364
|
*/
|
|
362
365
|
useMlRuntime?: pulumi.Input<boolean>;
|
|
366
|
+
workerNodeTypeFlexibility?: pulumi.Input<inputs.ClusterWorkerNodeTypeFlexibility>;
|
|
363
367
|
workloadType?: pulumi.Input<inputs.ClusterWorkloadType>;
|
|
364
368
|
}
|
|
365
369
|
/**
|
|
@@ -422,6 +426,7 @@ export interface ClusterArgs {
|
|
|
422
426
|
* similar to `instancePoolId`, but for driver node. If omitted, and `instancePoolId` is specified, then the driver will be allocated from that pool.
|
|
423
427
|
*/
|
|
424
428
|
driverInstancePoolId?: pulumi.Input<string>;
|
|
429
|
+
driverNodeTypeFlexibility?: pulumi.Input<inputs.ClusterDriverNodeTypeFlexibility>;
|
|
425
430
|
/**
|
|
426
431
|
* The node type of the Spark driver. This field is optional; if unset, API will set the driver node type to the same value as `nodeTypeId` defined above.
|
|
427
432
|
*/
|
|
@@ -513,5 +518,6 @@ export interface ClusterArgs {
|
|
|
513
518
|
* Whenever ML runtime should be selected or not. Actual runtime is determined by `sparkVersion` (DBR release), this field `useMlRuntime`, and whether `nodeTypeId` is GPU node or not.
|
|
514
519
|
*/
|
|
515
520
|
useMlRuntime?: pulumi.Input<boolean>;
|
|
521
|
+
workerNodeTypeFlexibility?: pulumi.Input<inputs.ClusterWorkerNodeTypeFlexibility>;
|
|
516
522
|
workloadType?: pulumi.Input<inputs.ClusterWorkloadType>;
|
|
517
523
|
}
|
package/cluster.js
CHANGED
|
@@ -58,6 +58,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
58
58
|
resourceInputs["defaultTags"] = state?.defaultTags;
|
|
59
59
|
resourceInputs["dockerImage"] = state?.dockerImage;
|
|
60
60
|
resourceInputs["driverInstancePoolId"] = state?.driverInstancePoolId;
|
|
61
|
+
resourceInputs["driverNodeTypeFlexibility"] = state?.driverNodeTypeFlexibility;
|
|
61
62
|
resourceInputs["driverNodeTypeId"] = state?.driverNodeTypeId;
|
|
62
63
|
resourceInputs["enableElasticDisk"] = state?.enableElasticDisk;
|
|
63
64
|
resourceInputs["enableLocalDiskEncryption"] = state?.enableLocalDiskEncryption;
|
|
@@ -85,6 +86,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
85
86
|
resourceInputs["totalInitialRemoteDiskSize"] = state?.totalInitialRemoteDiskSize;
|
|
86
87
|
resourceInputs["url"] = state?.url;
|
|
87
88
|
resourceInputs["useMlRuntime"] = state?.useMlRuntime;
|
|
89
|
+
resourceInputs["workerNodeTypeFlexibility"] = state?.workerNodeTypeFlexibility;
|
|
88
90
|
resourceInputs["workloadType"] = state?.workloadType;
|
|
89
91
|
}
|
|
90
92
|
else {
|
|
@@ -104,6 +106,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
104
106
|
resourceInputs["dataSecurityMode"] = args?.dataSecurityMode;
|
|
105
107
|
resourceInputs["dockerImage"] = args?.dockerImage;
|
|
106
108
|
resourceInputs["driverInstancePoolId"] = args?.driverInstancePoolId;
|
|
109
|
+
resourceInputs["driverNodeTypeFlexibility"] = args?.driverNodeTypeFlexibility;
|
|
107
110
|
resourceInputs["driverNodeTypeId"] = args?.driverNodeTypeId;
|
|
108
111
|
resourceInputs["enableElasticDisk"] = args?.enableElasticDisk;
|
|
109
112
|
resourceInputs["enableLocalDiskEncryption"] = args?.enableLocalDiskEncryption;
|
|
@@ -129,6 +132,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
129
132
|
resourceInputs["sshPublicKeys"] = args?.sshPublicKeys;
|
|
130
133
|
resourceInputs["totalInitialRemoteDiskSize"] = args?.totalInitialRemoteDiskSize;
|
|
131
134
|
resourceInputs["useMlRuntime"] = args?.useMlRuntime;
|
|
135
|
+
resourceInputs["workerNodeTypeFlexibility"] = args?.workerNodeTypeFlexibility;
|
|
132
136
|
resourceInputs["workloadType"] = args?.workloadType;
|
|
133
137
|
resourceInputs["clusterId"] = undefined /*out*/;
|
|
134
138
|
resourceInputs["defaultTags"] = undefined /*out*/;
|
package/cluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../cluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../cluster.ts"],"names":[],"mappings":";AAAA,sEAA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,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AApSL,0BAqSC;AAvRG,gBAAgB;AACO,oBAAY,GAAG,kCAAkC,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
5
|
+
*
|
|
6
|
+
* This data source can be used to get a single account user preference setting.
|
|
7
|
+
*/
|
|
8
|
+
export declare function getAccountSettingUserPreferenceV2(args: GetAccountSettingUserPreferenceV2Args, opts?: pulumi.InvokeOptions): Promise<GetAccountSettingUserPreferenceV2Result>;
|
|
9
|
+
/**
|
|
10
|
+
* A collection of arguments for invoking getAccountSettingUserPreferenceV2.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetAccountSettingUserPreferenceV2Args {
|
|
13
|
+
/**
|
|
14
|
+
* Name of the setting
|
|
15
|
+
*/
|
|
16
|
+
name: string;
|
|
17
|
+
/**
|
|
18
|
+
* User ID of the user
|
|
19
|
+
*/
|
|
20
|
+
userId: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* A collection of values returned by getAccountSettingUserPreferenceV2.
|
|
24
|
+
*/
|
|
25
|
+
export interface GetAccountSettingUserPreferenceV2Result {
|
|
26
|
+
/**
|
|
27
|
+
* (BooleanMessage)
|
|
28
|
+
*/
|
|
29
|
+
readonly booleanVal: outputs.GetAccountSettingUserPreferenceV2BooleanVal;
|
|
30
|
+
/**
|
|
31
|
+
* (BooleanMessage)
|
|
32
|
+
*/
|
|
33
|
+
readonly effectiveBooleanVal: outputs.GetAccountSettingUserPreferenceV2EffectiveBooleanVal;
|
|
34
|
+
/**
|
|
35
|
+
* (StringMessage)
|
|
36
|
+
*/
|
|
37
|
+
readonly effectiveStringVal: outputs.GetAccountSettingUserPreferenceV2EffectiveStringVal;
|
|
38
|
+
/**
|
|
39
|
+
* The provider-assigned unique ID for this managed resource.
|
|
40
|
+
*/
|
|
41
|
+
readonly id: string;
|
|
42
|
+
/**
|
|
43
|
+
* (string) - Name of the setting
|
|
44
|
+
*/
|
|
45
|
+
readonly name: string;
|
|
46
|
+
/**
|
|
47
|
+
* (StringMessage)
|
|
48
|
+
*/
|
|
49
|
+
readonly stringVal: outputs.GetAccountSettingUserPreferenceV2StringVal;
|
|
50
|
+
/**
|
|
51
|
+
* (string) - User ID of the user
|
|
52
|
+
*/
|
|
53
|
+
readonly userId: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
57
|
+
*
|
|
58
|
+
* This data source can be used to get a single account user preference setting.
|
|
59
|
+
*/
|
|
60
|
+
export declare function getAccountSettingUserPreferenceV2Output(args: GetAccountSettingUserPreferenceV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountSettingUserPreferenceV2Result>;
|
|
61
|
+
/**
|
|
62
|
+
* A collection of arguments for invoking getAccountSettingUserPreferenceV2.
|
|
63
|
+
*/
|
|
64
|
+
export interface GetAccountSettingUserPreferenceV2OutputArgs {
|
|
65
|
+
/**
|
|
66
|
+
* Name of the setting
|
|
67
|
+
*/
|
|
68
|
+
name: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* User ID of the user
|
|
71
|
+
*/
|
|
72
|
+
userId: pulumi.Input<string>;
|
|
73
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.getAccountSettingUserPreferenceV2Output = exports.getAccountSettingUserPreferenceV2 = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
10
|
+
*
|
|
11
|
+
* This data source can be used to get a single account user preference setting.
|
|
12
|
+
*/
|
|
13
|
+
function getAccountSettingUserPreferenceV2(args, opts) {
|
|
14
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
15
|
+
return pulumi.runtime.invoke("databricks:index/getAccountSettingUserPreferenceV2:getAccountSettingUserPreferenceV2", {
|
|
16
|
+
"name": args.name,
|
|
17
|
+
"userId": args.userId,
|
|
18
|
+
}, opts);
|
|
19
|
+
}
|
|
20
|
+
exports.getAccountSettingUserPreferenceV2 = getAccountSettingUserPreferenceV2;
|
|
21
|
+
/**
|
|
22
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
23
|
+
*
|
|
24
|
+
* This data source can be used to get a single account user preference setting.
|
|
25
|
+
*/
|
|
26
|
+
function getAccountSettingUserPreferenceV2Output(args, opts) {
|
|
27
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
28
|
+
return pulumi.runtime.invokeOutput("databricks:index/getAccountSettingUserPreferenceV2:getAccountSettingUserPreferenceV2", {
|
|
29
|
+
"name": args.name,
|
|
30
|
+
"userId": args.userId,
|
|
31
|
+
}, opts);
|
|
32
|
+
}
|
|
33
|
+
exports.getAccountSettingUserPreferenceV2Output = getAccountSettingUserPreferenceV2Output;
|
|
34
|
+
//# sourceMappingURL=getAccountSettingUserPreferenceV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccountSettingUserPreferenceV2.js","sourceRoot":"","sources":["../getAccountSettingUserPreferenceV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAA2B;IACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sFAAsF,EAAE;QACjH,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8EAMC;AAiDD;;;;GAIG;AACH,SAAgB,uCAAuC,CAAC,IAAiD,EAAE,IAAiC;IACxI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sFAAsF,EAAE;QACvH,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0FAMC"}
|
package/getPostgresBranch.d.ts
CHANGED
|
@@ -1,7 +1,23 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
-
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
5
|
+
*
|
|
6
|
+
* This data source retrieves a single Postgres branch.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ### Retrieve Branch by Name
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as databricks from "@pulumi/databricks";
|
|
15
|
+
*
|
|
16
|
+
* const _this = databricks.getPostgresBranch({
|
|
17
|
+
* name: "projects/my-project/branches/dev-branch",
|
|
18
|
+
* });
|
|
19
|
+
* export const branchIsProtected = _this.then(_this => _this.status?.isProtected);
|
|
20
|
+
* ```
|
|
5
21
|
*/
|
|
6
22
|
export declare function getPostgresBranch(args: GetPostgresBranchArgs, opts?: pulumi.InvokeOptions): Promise<GetPostgresBranchResult>;
|
|
7
23
|
/**
|
|
@@ -9,8 +25,8 @@ export declare function getPostgresBranch(args: GetPostgresBranchArgs, opts?: pu
|
|
|
9
25
|
*/
|
|
10
26
|
export interface GetPostgresBranchArgs {
|
|
11
27
|
/**
|
|
12
|
-
* The resource name of the branch.
|
|
13
|
-
* Format: projects/{project_id}/branches/{branch_id}
|
|
28
|
+
* The resource name of the branch. This field is output-only and constructed by the system.
|
|
29
|
+
* Format: `projects/{project_id}/branches/{branch_id}`
|
|
14
30
|
*/
|
|
15
31
|
name: string;
|
|
16
32
|
}
|
|
@@ -27,17 +43,17 @@ export interface GetPostgresBranchResult {
|
|
|
27
43
|
*/
|
|
28
44
|
readonly id: string;
|
|
29
45
|
/**
|
|
30
|
-
* (string) - The resource name of the branch.
|
|
31
|
-
* Format: projects/{project_id}/branches/{branch_id}
|
|
46
|
+
* (string) - The resource name of the branch. This field is output-only and constructed by the system.
|
|
47
|
+
* Format: `projects/{project_id}/branches/{branch_id}`
|
|
32
48
|
*/
|
|
33
49
|
readonly name: string;
|
|
34
50
|
/**
|
|
35
|
-
* (string) - The project containing this branch.
|
|
51
|
+
* (string) - The project containing this branch (API resource hierarchy).
|
|
36
52
|
* Format: projects/{project_id}
|
|
37
53
|
*/
|
|
38
54
|
readonly parent: string;
|
|
39
55
|
/**
|
|
40
|
-
* (BranchSpec) - The
|
|
56
|
+
* (BranchSpec) - The spec contains the branch configuration
|
|
41
57
|
*/
|
|
42
58
|
readonly spec: outputs.GetPostgresBranchSpec;
|
|
43
59
|
/**
|
|
@@ -45,7 +61,7 @@ export interface GetPostgresBranchResult {
|
|
|
45
61
|
*/
|
|
46
62
|
readonly status: outputs.GetPostgresBranchStatus;
|
|
47
63
|
/**
|
|
48
|
-
* (string) - System
|
|
64
|
+
* (string) - System-generated unique ID for the branch
|
|
49
65
|
*/
|
|
50
66
|
readonly uid: string;
|
|
51
67
|
/**
|
|
@@ -54,7 +70,23 @@ export interface GetPostgresBranchResult {
|
|
|
54
70
|
readonly updateTime: string;
|
|
55
71
|
}
|
|
56
72
|
/**
|
|
57
|
-
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
74
|
+
*
|
|
75
|
+
* This data source retrieves a single Postgres branch.
|
|
76
|
+
*
|
|
77
|
+
* ## Example Usage
|
|
78
|
+
*
|
|
79
|
+
* ### Retrieve Branch by Name
|
|
80
|
+
*
|
|
81
|
+
* ```typescript
|
|
82
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
83
|
+
* import * as databricks from "@pulumi/databricks";
|
|
84
|
+
*
|
|
85
|
+
* const _this = databricks.getPostgresBranch({
|
|
86
|
+
* name: "projects/my-project/branches/dev-branch",
|
|
87
|
+
* });
|
|
88
|
+
* export const branchIsProtected = _this.then(_this => _this.status?.isProtected);
|
|
89
|
+
* ```
|
|
58
90
|
*/
|
|
59
91
|
export declare function getPostgresBranchOutput(args: GetPostgresBranchOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPostgresBranchResult>;
|
|
60
92
|
/**
|
|
@@ -62,8 +94,8 @@ export declare function getPostgresBranchOutput(args: GetPostgresBranchOutputArg
|
|
|
62
94
|
*/
|
|
63
95
|
export interface GetPostgresBranchOutputArgs {
|
|
64
96
|
/**
|
|
65
|
-
* The resource name of the branch.
|
|
66
|
-
* Format: projects/{project_id}/branches/{branch_id}
|
|
97
|
+
* The resource name of the branch. This field is output-only and constructed by the system.
|
|
98
|
+
* Format: `projects/{project_id}/branches/{branch_id}`
|
|
67
99
|
*/
|
|
68
100
|
name: pulumi.Input<string>;
|
|
69
101
|
}
|
package/getPostgresBranch.js
CHANGED
|
@@ -6,7 +6,23 @@ exports.getPostgresBranchOutput = exports.getPostgresBranch = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
10
|
+
*
|
|
11
|
+
* This data source retrieves a single Postgres branch.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ### Retrieve Branch by Name
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as databricks from "@pulumi/databricks";
|
|
20
|
+
*
|
|
21
|
+
* const _this = databricks.getPostgresBranch({
|
|
22
|
+
* name: "projects/my-project/branches/dev-branch",
|
|
23
|
+
* });
|
|
24
|
+
* export const branchIsProtected = _this.then(_this => _this.status?.isProtected);
|
|
25
|
+
* ```
|
|
10
26
|
*/
|
|
11
27
|
function getPostgresBranch(args, opts) {
|
|
12
28
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -16,7 +32,23 @@ function getPostgresBranch(args, opts) {
|
|
|
16
32
|
}
|
|
17
33
|
exports.getPostgresBranch = getPostgresBranch;
|
|
18
34
|
/**
|
|
19
|
-
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
36
|
+
*
|
|
37
|
+
* This data source retrieves a single Postgres branch.
|
|
38
|
+
*
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* ### Retrieve Branch by Name
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as databricks from "@pulumi/databricks";
|
|
46
|
+
*
|
|
47
|
+
* const _this = databricks.getPostgresBranch({
|
|
48
|
+
* name: "projects/my-project/branches/dev-branch",
|
|
49
|
+
* });
|
|
50
|
+
* export const branchIsProtected = _this.then(_this => _this.status?.isProtected);
|
|
51
|
+
* ```
|
|
20
52
|
*/
|
|
21
53
|
function getPostgresBranchOutput(args, opts) {
|
|
22
54
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
package/getPostgresBranch.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPostgresBranch.js","sourceRoot":"","sources":["../getPostgresBranch.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getPostgresBranch.js","sourceRoot":"","sources":["../getPostgresBranch.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC;AAoDD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAAiC;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0DAKC"}
|