@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
package/postgresEndpoint.js
CHANGED
|
@@ -6,7 +6,153 @@ exports.PostgresEndpoint = 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
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Basic Read-Write Endpoint
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as databricks from "@pulumi/databricks";
|
|
18
|
+
*
|
|
19
|
+
* const _this = new databricks.PostgresProject("this", {
|
|
20
|
+
* projectId: "my-project",
|
|
21
|
+
* spec: {
|
|
22
|
+
* pgVersion: 17,
|
|
23
|
+
* displayName: "My Project",
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* const dev = new databricks.PostgresBranch("dev", {
|
|
27
|
+
* branchId: "dev-branch",
|
|
28
|
+
* parent: _this.name,
|
|
29
|
+
* spec: {
|
|
30
|
+
* noExpiry: true,
|
|
31
|
+
* },
|
|
32
|
+
* });
|
|
33
|
+
* const primary = new databricks.PostgresEndpoint("primary", {
|
|
34
|
+
* endpointId: "primary",
|
|
35
|
+
* parent: dev.name,
|
|
36
|
+
* spec: {
|
|
37
|
+
* endpointType: "ENDPOINT_TYPE_READ_WRITE",
|
|
38
|
+
* },
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* ### Read-Only Endpoint with Autoscaling
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as databricks from "@pulumi/databricks";
|
|
47
|
+
*
|
|
48
|
+
* const readReplica = new databricks.PostgresEndpoint("read_replica", {
|
|
49
|
+
* endpointId: "read-replica-1",
|
|
50
|
+
* parent: dev.name,
|
|
51
|
+
* spec: {
|
|
52
|
+
* endpointType: "ENDPOINT_TYPE_READ_ONLY",
|
|
53
|
+
* autoscalingLimitMinCu: 0.5,
|
|
54
|
+
* autoscalingLimitMaxCu: 4,
|
|
55
|
+
* },
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* ### Endpoint with Custom Autoscaling and Suspension
|
|
60
|
+
*
|
|
61
|
+
* ```typescript
|
|
62
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
63
|
+
* import * as databricks from "@pulumi/databricks";
|
|
64
|
+
*
|
|
65
|
+
* const analytics = new databricks.PostgresEndpoint("analytics", {
|
|
66
|
+
* endpointId: "analytics",
|
|
67
|
+
* parent: dev.name,
|
|
68
|
+
* spec: {
|
|
69
|
+
* endpointType: "ENDPOINT_TYPE_READ_ONLY",
|
|
70
|
+
* autoscalingLimitMinCu: 1,
|
|
71
|
+
* autoscalingLimitMaxCu: 8,
|
|
72
|
+
* suspendTimeoutDuration: "600s",
|
|
73
|
+
* },
|
|
74
|
+
* });
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* ### Disabled Endpoint
|
|
78
|
+
*
|
|
79
|
+
* ```typescript
|
|
80
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
81
|
+
* import * as databricks from "@pulumi/databricks";
|
|
82
|
+
*
|
|
83
|
+
* const maintenance = new databricks.PostgresEndpoint("maintenance", {
|
|
84
|
+
* endpointId: "primary",
|
|
85
|
+
* parent: dev.name,
|
|
86
|
+
* spec: {
|
|
87
|
+
* endpointType: "ENDPOINT_TYPE_READ_WRITE",
|
|
88
|
+
* disabled: true,
|
|
89
|
+
* },
|
|
90
|
+
* });
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
93
|
+
* ### Endpoint with No Suspension
|
|
94
|
+
*
|
|
95
|
+
* ```typescript
|
|
96
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
97
|
+
* import * as databricks from "@pulumi/databricks";
|
|
98
|
+
*
|
|
99
|
+
* const alwaysOn = new databricks.PostgresEndpoint("always_on", {
|
|
100
|
+
* endpointId: "always-on",
|
|
101
|
+
* parent: dev.name,
|
|
102
|
+
* spec: {
|
|
103
|
+
* endpointType: "ENDPOINT_TYPE_READ_WRITE",
|
|
104
|
+
* noSuspension: true,
|
|
105
|
+
* },
|
|
106
|
+
* });
|
|
107
|
+
* ```
|
|
108
|
+
*
|
|
109
|
+
* ### Complete Example
|
|
110
|
+
*
|
|
111
|
+
* ```typescript
|
|
112
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
113
|
+
* import * as databricks from "@pulumi/databricks";
|
|
114
|
+
*
|
|
115
|
+
* const prod = new databricks.PostgresProject("prod", {
|
|
116
|
+
* projectId: "production",
|
|
117
|
+
* spec: {
|
|
118
|
+
* pgVersion: 17,
|
|
119
|
+
* displayName: "Production Workloads",
|
|
120
|
+
* historyRetentionDuration: "2592000s",
|
|
121
|
+
* defaultEndpointSettings: {
|
|
122
|
+
* autoscalingLimitMinCu: 1,
|
|
123
|
+
* autoscalingLimitMaxCu: 8,
|
|
124
|
+
* suspendTimeoutDuration: "300s",
|
|
125
|
+
* },
|
|
126
|
+
* },
|
|
127
|
+
* });
|
|
128
|
+
* const main = new databricks.PostgresBranch("main", {
|
|
129
|
+
* branchId: "main",
|
|
130
|
+
* parent: prod.name,
|
|
131
|
+
* spec: {
|
|
132
|
+
* noExpiry: true,
|
|
133
|
+
* },
|
|
134
|
+
* });
|
|
135
|
+
* const primary = new databricks.PostgresEndpoint("primary", {
|
|
136
|
+
* endpointId: "primary",
|
|
137
|
+
* parent: main.name,
|
|
138
|
+
* spec: {
|
|
139
|
+
* endpointType: "ENDPOINT_TYPE_READ_WRITE",
|
|
140
|
+
* autoscalingLimitMinCu: 1,
|
|
141
|
+
* autoscalingLimitMaxCu: 9,
|
|
142
|
+
* noSuspension: true,
|
|
143
|
+
* },
|
|
144
|
+
* });
|
|
145
|
+
* const readReplica = new databricks.PostgresEndpoint("read_replica", {
|
|
146
|
+
* endpointId: "read-replica",
|
|
147
|
+
* parent: main.name,
|
|
148
|
+
* spec: {
|
|
149
|
+
* endpointType: "ENDPOINT_TYPE_READ_ONLY",
|
|
150
|
+
* autoscalingLimitMinCu: 0.5,
|
|
151
|
+
* autoscalingLimitMaxCu: 8,
|
|
152
|
+
* suspendTimeoutDuration: "600s",
|
|
153
|
+
* },
|
|
154
|
+
* });
|
|
155
|
+
* ```
|
|
10
156
|
*
|
|
11
157
|
* ## Import
|
|
12
158
|
*
|
package/postgresEndpoint.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgresEndpoint.js","sourceRoot":"","sources":["../postgresEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"postgresEndpoint.js","sourceRoot":"","sources":["../postgresEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;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oD,CAAC"}
|
package/postgresProject.d.ts
CHANGED
|
@@ -2,7 +2,67 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ### Basic Project Creation
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as databricks from "@pulumi/databricks";
|
|
14
|
+
*
|
|
15
|
+
* const _this = new databricks.PostgresProject("this", {
|
|
16
|
+
* projectId: "my-project",
|
|
17
|
+
* spec: {
|
|
18
|
+
* pgVersion: 17,
|
|
19
|
+
* displayName: "My Application Project",
|
|
20
|
+
* },
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ### Project with Custom Settings
|
|
25
|
+
*
|
|
26
|
+
* ```typescript
|
|
27
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
28
|
+
* import * as databricks from "@pulumi/databricks";
|
|
29
|
+
*
|
|
30
|
+
* const _this = new databricks.PostgresProject("this", {
|
|
31
|
+
* projectId: "analytics-project",
|
|
32
|
+
* spec: {
|
|
33
|
+
* pgVersion: 16,
|
|
34
|
+
* displayName: "Analytics Workloads",
|
|
35
|
+
* historyRetentionDuration: "1209600s",
|
|
36
|
+
* defaultEndpointSettings: {
|
|
37
|
+
* autoscalingLimitMinCu: 1,
|
|
38
|
+
* autoscalingLimitMaxCu: 8,
|
|
39
|
+
* suspendTimeoutDuration: "300s",
|
|
40
|
+
* },
|
|
41
|
+
* },
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* ### Referencing in Other Resources
|
|
46
|
+
*
|
|
47
|
+
* ```typescript
|
|
48
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
49
|
+
* import * as databricks from "@pulumi/databricks";
|
|
50
|
+
*
|
|
51
|
+
* const _this = new databricks.PostgresProject("this", {
|
|
52
|
+
* projectId: "my-project",
|
|
53
|
+
* spec: {
|
|
54
|
+
* pgVersion: 17,
|
|
55
|
+
* displayName: "My Project",
|
|
56
|
+
* },
|
|
57
|
+
* });
|
|
58
|
+
* const dev = new databricks.PostgresBranch("dev", {
|
|
59
|
+
* branchId: "dev-branch",
|
|
60
|
+
* parent: _this.name,
|
|
61
|
+
* spec: {
|
|
62
|
+
* noExpiry: true,
|
|
63
|
+
* },
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
6
66
|
*
|
|
7
67
|
* ## Import
|
|
8
68
|
*
|
|
@@ -45,19 +105,20 @@ export declare class PostgresProject extends pulumi.CustomResource {
|
|
|
45
105
|
*/
|
|
46
106
|
readonly createTime: pulumi.Output<string>;
|
|
47
107
|
/**
|
|
48
|
-
* (string) - The resource name of the project.
|
|
49
|
-
* Format: projects/{project_id}
|
|
108
|
+
* (string) - The resource name of the project. This field is output-only and constructed by the system.
|
|
109
|
+
* Format: `projects/{project_id}`
|
|
50
110
|
*/
|
|
51
111
|
readonly name: pulumi.Output<string>;
|
|
52
112
|
/**
|
|
53
|
-
* The ID to use for the Project
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
113
|
+
* The ID to use for the Project. This becomes the final component of the project's resource name.
|
|
114
|
+
* The ID must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens (RFC 1123).
|
|
115
|
+
* Examples:
|
|
116
|
+
* - With custom ID: `production` → name becomes `projects/production`
|
|
117
|
+
* - Without custom ID: system generates UUID → name becomes `projects/a7f89b2c-3d4e-5f6g-7h8i-9j0k1l2m3n4o`
|
|
57
118
|
*/
|
|
58
119
|
readonly projectId: pulumi.Output<string>;
|
|
59
120
|
/**
|
|
60
|
-
* The
|
|
121
|
+
* The spec contains the project configuration, including display_name, pgVersion (Postgres version), history_retention_duration, and default_endpoint_settings
|
|
61
122
|
*/
|
|
62
123
|
readonly spec: pulumi.Output<outputs.PostgresProjectSpec>;
|
|
63
124
|
/**
|
|
@@ -65,7 +126,7 @@ export declare class PostgresProject extends pulumi.CustomResource {
|
|
|
65
126
|
*/
|
|
66
127
|
readonly status: pulumi.Output<outputs.PostgresProjectStatus>;
|
|
67
128
|
/**
|
|
68
|
-
* (string) - System
|
|
129
|
+
* (string) - System-generated unique ID for the project
|
|
69
130
|
*/
|
|
70
131
|
readonly uid: pulumi.Output<string>;
|
|
71
132
|
/**
|
|
@@ -90,19 +151,20 @@ export interface PostgresProjectState {
|
|
|
90
151
|
*/
|
|
91
152
|
createTime?: pulumi.Input<string>;
|
|
92
153
|
/**
|
|
93
|
-
* (string) - The resource name of the project.
|
|
94
|
-
* Format: projects/{project_id}
|
|
154
|
+
* (string) - The resource name of the project. This field is output-only and constructed by the system.
|
|
155
|
+
* Format: `projects/{project_id}`
|
|
95
156
|
*/
|
|
96
157
|
name?: pulumi.Input<string>;
|
|
97
158
|
/**
|
|
98
|
-
* The ID to use for the Project
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
159
|
+
* The ID to use for the Project. This becomes the final component of the project's resource name.
|
|
160
|
+
* The ID must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens (RFC 1123).
|
|
161
|
+
* Examples:
|
|
162
|
+
* - With custom ID: `production` → name becomes `projects/production`
|
|
163
|
+
* - Without custom ID: system generates UUID → name becomes `projects/a7f89b2c-3d4e-5f6g-7h8i-9j0k1l2m3n4o`
|
|
102
164
|
*/
|
|
103
165
|
projectId?: pulumi.Input<string>;
|
|
104
166
|
/**
|
|
105
|
-
* The
|
|
167
|
+
* The spec contains the project configuration, including display_name, pgVersion (Postgres version), history_retention_duration, and default_endpoint_settings
|
|
106
168
|
*/
|
|
107
169
|
spec?: pulumi.Input<inputs.PostgresProjectSpec>;
|
|
108
170
|
/**
|
|
@@ -110,7 +172,7 @@ export interface PostgresProjectState {
|
|
|
110
172
|
*/
|
|
111
173
|
status?: pulumi.Input<inputs.PostgresProjectStatus>;
|
|
112
174
|
/**
|
|
113
|
-
* (string) - System
|
|
175
|
+
* (string) - System-generated unique ID for the project
|
|
114
176
|
*/
|
|
115
177
|
uid?: pulumi.Input<string>;
|
|
116
178
|
/**
|
|
@@ -123,14 +185,15 @@ export interface PostgresProjectState {
|
|
|
123
185
|
*/
|
|
124
186
|
export interface PostgresProjectArgs {
|
|
125
187
|
/**
|
|
126
|
-
* The ID to use for the Project
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
188
|
+
* The ID to use for the Project. This becomes the final component of the project's resource name.
|
|
189
|
+
* The ID must be 1-63 characters long, start with a lowercase letter, and contain only lowercase letters, numbers, and hyphens (RFC 1123).
|
|
190
|
+
* Examples:
|
|
191
|
+
* - With custom ID: `production` → name becomes `projects/production`
|
|
192
|
+
* - Without custom ID: system generates UUID → name becomes `projects/a7f89b2c-3d4e-5f6g-7h8i-9j0k1l2m3n4o`
|
|
130
193
|
*/
|
|
131
194
|
projectId: pulumi.Input<string>;
|
|
132
195
|
/**
|
|
133
|
-
* The
|
|
196
|
+
* The spec contains the project configuration, including display_name, pgVersion (Postgres version), history_retention_duration, and default_endpoint_settings
|
|
134
197
|
*/
|
|
135
198
|
spec?: pulumi.Input<inputs.PostgresProjectSpec>;
|
|
136
199
|
}
|
package/postgresProject.js
CHANGED
|
@@ -6,7 +6,67 @@ exports.PostgresProject = 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
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Basic Project Creation
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as databricks from "@pulumi/databricks";
|
|
18
|
+
*
|
|
19
|
+
* const _this = new databricks.PostgresProject("this", {
|
|
20
|
+
* projectId: "my-project",
|
|
21
|
+
* spec: {
|
|
22
|
+
* pgVersion: 17,
|
|
23
|
+
* displayName: "My Application Project",
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ### Project with Custom Settings
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as databricks from "@pulumi/databricks";
|
|
33
|
+
*
|
|
34
|
+
* const _this = new databricks.PostgresProject("this", {
|
|
35
|
+
* projectId: "analytics-project",
|
|
36
|
+
* spec: {
|
|
37
|
+
* pgVersion: 16,
|
|
38
|
+
* displayName: "Analytics Workloads",
|
|
39
|
+
* historyRetentionDuration: "1209600s",
|
|
40
|
+
* defaultEndpointSettings: {
|
|
41
|
+
* autoscalingLimitMinCu: 1,
|
|
42
|
+
* autoscalingLimitMaxCu: 8,
|
|
43
|
+
* suspendTimeoutDuration: "300s",
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* ### Referencing in Other Resources
|
|
50
|
+
*
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as databricks from "@pulumi/databricks";
|
|
54
|
+
*
|
|
55
|
+
* const _this = new databricks.PostgresProject("this", {
|
|
56
|
+
* projectId: "my-project",
|
|
57
|
+
* spec: {
|
|
58
|
+
* pgVersion: 17,
|
|
59
|
+
* displayName: "My Project",
|
|
60
|
+
* },
|
|
61
|
+
* });
|
|
62
|
+
* const dev = new databricks.PostgresBranch("dev", {
|
|
63
|
+
* branchId: "dev-branch",
|
|
64
|
+
* parent: _this.name,
|
|
65
|
+
* spec: {
|
|
66
|
+
* noExpiry: true,
|
|
67
|
+
* },
|
|
68
|
+
* });
|
|
69
|
+
* ```
|
|
10
70
|
*
|
|
11
71
|
* ## Import
|
|
12
72
|
*
|
package/postgresProject.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgresProject.js","sourceRoot":"","sources":["../postgresProject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"postgresProject.js","sourceRoot":"","sources":["../postgresProject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkFG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IA4CD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,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GC;AApFG,gBAAgB;AACO,4BAAY,GAAG,kDAAkD,CAAC"}
|
package/qualityMonitorV2.d.ts
CHANGED
|
@@ -4,12 +4,16 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
6
6
|
*
|
|
7
|
+
* > **Deprecated** This resource is deprecated. Please use `databricks.DataQualityMonitor` instead.
|
|
8
|
+
*
|
|
7
9
|
* Users with MANAGE Schema can use quality monitor v2 to set up data quality monitoring checks for UC objects, currently support schema.
|
|
8
10
|
*
|
|
9
11
|
* > **Note** This resource can only be used with an workspace-level provider!
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
12
14
|
*
|
|
15
|
+
* > **Deprecated** This resource is deprecated. Please use `databricks.DataQualityMonitor` instead.
|
|
16
|
+
*
|
|
13
17
|
* ```typescript
|
|
14
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
19
|
* import * as databricks from "@pulumi/databricks";
|
package/qualityMonitorV2.js
CHANGED
|
@@ -8,12 +8,16 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
10
10
|
*
|
|
11
|
+
* > **Deprecated** This resource is deprecated. Please use `databricks.DataQualityMonitor` instead.
|
|
12
|
+
*
|
|
11
13
|
* Users with MANAGE Schema can use quality monitor v2 to set up data quality monitoring checks for UC objects, currently support schema.
|
|
12
14
|
*
|
|
13
15
|
* > **Note** This resource can only be used with an workspace-level provider!
|
|
14
16
|
*
|
|
15
17
|
* ## Example Usage
|
|
16
18
|
*
|
|
19
|
+
* > **Deprecated** This resource is deprecated. Please use `databricks.DataQualityMonitor` instead.
|
|
20
|
+
*
|
|
17
21
|
* ```typescript
|
|
18
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
23
|
* import * as databricks from "@pulumi/databricks";
|
package/qualityMonitorV2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qualityMonitorV2.js","sourceRoot":"","sources":["../qualityMonitorV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"qualityMonitorV2.js","sourceRoot":"","sources":["../qualityMonitorV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,wBAAwB,CAAC,GAAG,KAAK,EAAE,sBAAsB,CAAC;YACzE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,E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