@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/getPostgresBranches.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 lists all Postgres branches in a project.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ### List All Branches in a Project
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as databricks from "@pulumi/databricks";
|
|
15
|
+
*
|
|
16
|
+
* const all = databricks.getPostgresBranches({
|
|
17
|
+
* parent: "projects/my-project",
|
|
18
|
+
* });
|
|
19
|
+
* export const branchNames = all.then(all => .map(branch => (branch.name)));
|
|
20
|
+
* ```
|
|
5
21
|
*/
|
|
6
22
|
export declare function getPostgresBranches(args: GetPostgresBranchesArgs, opts?: pulumi.InvokeOptions): Promise<GetPostgresBranchesResult>;
|
|
7
23
|
/**
|
|
@@ -9,7 +25,7 @@ export declare function getPostgresBranches(args: GetPostgresBranchesArgs, opts?
|
|
|
9
25
|
*/
|
|
10
26
|
export interface GetPostgresBranchesArgs {
|
|
11
27
|
/**
|
|
12
|
-
* Upper bound for items returned
|
|
28
|
+
* Upper bound for items returned. Cannot be negative
|
|
13
29
|
*/
|
|
14
30
|
pageSize?: number;
|
|
15
31
|
/**
|
|
@@ -29,13 +45,29 @@ export interface GetPostgresBranchesResult {
|
|
|
29
45
|
readonly id: string;
|
|
30
46
|
readonly pageSize?: number;
|
|
31
47
|
/**
|
|
32
|
-
* (string) - The project containing this branch.
|
|
48
|
+
* (string) - The project containing this branch (API resource hierarchy).
|
|
33
49
|
* Format: projects/{project_id}
|
|
34
50
|
*/
|
|
35
51
|
readonly parent: string;
|
|
36
52
|
}
|
|
37
53
|
/**
|
|
38
|
-
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
55
|
+
*
|
|
56
|
+
* This data source lists all Postgres branches in a project.
|
|
57
|
+
*
|
|
58
|
+
* ## Example Usage
|
|
59
|
+
*
|
|
60
|
+
* ### List All Branches in a Project
|
|
61
|
+
*
|
|
62
|
+
* ```typescript
|
|
63
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
64
|
+
* import * as databricks from "@pulumi/databricks";
|
|
65
|
+
*
|
|
66
|
+
* const all = databricks.getPostgresBranches({
|
|
67
|
+
* parent: "projects/my-project",
|
|
68
|
+
* });
|
|
69
|
+
* export const branchNames = all.then(all => .map(branch => (branch.name)));
|
|
70
|
+
* ```
|
|
39
71
|
*/
|
|
40
72
|
export declare function getPostgresBranchesOutput(args: GetPostgresBranchesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPostgresBranchesResult>;
|
|
41
73
|
/**
|
|
@@ -43,7 +75,7 @@ export declare function getPostgresBranchesOutput(args: GetPostgresBranchesOutpu
|
|
|
43
75
|
*/
|
|
44
76
|
export interface GetPostgresBranchesOutputArgs {
|
|
45
77
|
/**
|
|
46
|
-
* Upper bound for items returned
|
|
78
|
+
* Upper bound for items returned. Cannot be negative
|
|
47
79
|
*/
|
|
48
80
|
pageSize?: pulumi.Input<number>;
|
|
49
81
|
/**
|
package/getPostgresBranches.js
CHANGED
|
@@ -6,7 +6,23 @@ exports.getPostgresBranchesOutput = exports.getPostgresBranches = 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 lists all Postgres branches in a project.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ### List All Branches in a Project
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as databricks from "@pulumi/databricks";
|
|
20
|
+
*
|
|
21
|
+
* const all = databricks.getPostgresBranches({
|
|
22
|
+
* parent: "projects/my-project",
|
|
23
|
+
* });
|
|
24
|
+
* export const branchNames = all.then(all => .map(branch => (branch.name)));
|
|
25
|
+
* ```
|
|
10
26
|
*/
|
|
11
27
|
function getPostgresBranches(args, opts) {
|
|
12
28
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -17,7 +33,23 @@ function getPostgresBranches(args, opts) {
|
|
|
17
33
|
}
|
|
18
34
|
exports.getPostgresBranches = getPostgresBranches;
|
|
19
35
|
/**
|
|
20
|
-
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
37
|
+
*
|
|
38
|
+
* This data source lists all Postgres branches in a project.
|
|
39
|
+
*
|
|
40
|
+
* ## Example Usage
|
|
41
|
+
*
|
|
42
|
+
* ### List All Branches in a Project
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as databricks from "@pulumi/databricks";
|
|
47
|
+
*
|
|
48
|
+
* const all = databricks.getPostgresBranches({
|
|
49
|
+
* parent: "projects/my-project",
|
|
50
|
+
* });
|
|
51
|
+
* export const branchNames = all.then(all => .map(branch => (branch.name)));
|
|
52
|
+
* ```
|
|
21
53
|
*/
|
|
22
54
|
function getPostgresBranchesOutput(args, opts) {
|
|
23
55
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPostgresBranches.js","sourceRoot":"","sources":["../getPostgresBranches.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getPostgresBranches.js","sourceRoot":"","sources":["../getPostgresBranches.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AAiCD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC"}
|
package/getPostgresEndpoint.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 endpoint.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ### Retrieve Endpoint by Name
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as databricks from "@pulumi/databricks";
|
|
15
|
+
*
|
|
16
|
+
* const _this = databricks.getPostgresEndpoint({
|
|
17
|
+
* name: "projects/my-project/branches/dev-branch/endpoints/primary",
|
|
18
|
+
* });
|
|
19
|
+
* export const endpointType = _this.then(_this => _this.status?.endpointType);
|
|
20
|
+
* ```
|
|
5
21
|
*/
|
|
6
22
|
export declare function getPostgresEndpoint(args: GetPostgresEndpointArgs, opts?: pulumi.InvokeOptions): Promise<GetPostgresEndpointResult>;
|
|
7
23
|
/**
|
|
@@ -9,8 +25,8 @@ export declare function getPostgresEndpoint(args: GetPostgresEndpointArgs, opts?
|
|
|
9
25
|
*/
|
|
10
26
|
export interface GetPostgresEndpointArgs {
|
|
11
27
|
/**
|
|
12
|
-
* The resource name of the endpoint.
|
|
13
|
-
* Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
|
|
28
|
+
* The resource name of the endpoint. This field is output-only and constructed by the system.
|
|
29
|
+
* Format: `projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}`
|
|
14
30
|
*/
|
|
15
31
|
name: string;
|
|
16
32
|
}
|
|
@@ -27,25 +43,25 @@ export interface GetPostgresEndpointResult {
|
|
|
27
43
|
*/
|
|
28
44
|
readonly id: string;
|
|
29
45
|
/**
|
|
30
|
-
* (string) - The resource name of the endpoint.
|
|
31
|
-
* Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
|
|
46
|
+
* (string) - The resource name of the endpoint. This field is output-only and constructed by the system.
|
|
47
|
+
* Format: `projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}`
|
|
32
48
|
*/
|
|
33
49
|
readonly name: string;
|
|
34
50
|
/**
|
|
35
|
-
* (string) - The branch containing this endpoint.
|
|
51
|
+
* (string) - The branch containing this endpoint (API resource hierarchy).
|
|
36
52
|
* Format: projects/{project_id}/branches/{branch_id}
|
|
37
53
|
*/
|
|
38
54
|
readonly parent: string;
|
|
39
55
|
/**
|
|
40
|
-
* (EndpointSpec) - The
|
|
56
|
+
* (EndpointSpec) - The spec contains the compute endpoint configuration, including autoscaling limits, suspend timeout, and disabled state
|
|
41
57
|
*/
|
|
42
58
|
readonly spec: outputs.GetPostgresEndpointSpec;
|
|
43
59
|
/**
|
|
44
|
-
* (EndpointStatus) -
|
|
60
|
+
* (EndpointStatus) - Current operational status of the compute endpoint
|
|
45
61
|
*/
|
|
46
62
|
readonly status: outputs.GetPostgresEndpointStatus;
|
|
47
63
|
/**
|
|
48
|
-
* (string) - System
|
|
64
|
+
* (string) - System-generated unique ID for the endpoint
|
|
49
65
|
*/
|
|
50
66
|
readonly uid: string;
|
|
51
67
|
/**
|
|
@@ -54,7 +70,23 @@ export interface GetPostgresEndpointResult {
|
|
|
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 endpoint.
|
|
76
|
+
*
|
|
77
|
+
* ## Example Usage
|
|
78
|
+
*
|
|
79
|
+
* ### Retrieve Endpoint by Name
|
|
80
|
+
*
|
|
81
|
+
* ```typescript
|
|
82
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
83
|
+
* import * as databricks from "@pulumi/databricks";
|
|
84
|
+
*
|
|
85
|
+
* const _this = databricks.getPostgresEndpoint({
|
|
86
|
+
* name: "projects/my-project/branches/dev-branch/endpoints/primary",
|
|
87
|
+
* });
|
|
88
|
+
* export const endpointType = _this.then(_this => _this.status?.endpointType);
|
|
89
|
+
* ```
|
|
58
90
|
*/
|
|
59
91
|
export declare function getPostgresEndpointOutput(args: GetPostgresEndpointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPostgresEndpointResult>;
|
|
60
92
|
/**
|
|
@@ -62,8 +94,8 @@ export declare function getPostgresEndpointOutput(args: GetPostgresEndpointOutpu
|
|
|
62
94
|
*/
|
|
63
95
|
export interface GetPostgresEndpointOutputArgs {
|
|
64
96
|
/**
|
|
65
|
-
* The resource name of the endpoint.
|
|
66
|
-
* Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
|
|
97
|
+
* The resource name of the endpoint. This field is output-only and constructed by the system.
|
|
98
|
+
* Format: `projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}`
|
|
67
99
|
*/
|
|
68
100
|
name: pulumi.Input<string>;
|
|
69
101
|
}
|
package/getPostgresEndpoint.js
CHANGED
|
@@ -6,7 +6,23 @@ exports.getPostgresEndpointOutput = exports.getPostgresEndpoint = 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 endpoint.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ### Retrieve Endpoint by Name
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as databricks from "@pulumi/databricks";
|
|
20
|
+
*
|
|
21
|
+
* const _this = databricks.getPostgresEndpoint({
|
|
22
|
+
* name: "projects/my-project/branches/dev-branch/endpoints/primary",
|
|
23
|
+
* });
|
|
24
|
+
* export const endpointType = _this.then(_this => _this.status?.endpointType);
|
|
25
|
+
* ```
|
|
10
26
|
*/
|
|
11
27
|
function getPostgresEndpoint(args, opts) {
|
|
12
28
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -16,7 +32,23 @@ function getPostgresEndpoint(args, opts) {
|
|
|
16
32
|
}
|
|
17
33
|
exports.getPostgresEndpoint = getPostgresEndpoint;
|
|
18
34
|
/**
|
|
19
|
-
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
36
|
+
*
|
|
37
|
+
* This data source retrieves a single Postgres endpoint.
|
|
38
|
+
*
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* ### Retrieve Endpoint by Name
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as databricks from "@pulumi/databricks";
|
|
46
|
+
*
|
|
47
|
+
* const _this = databricks.getPostgresEndpoint({
|
|
48
|
+
* name: "projects/my-project/branches/dev-branch/endpoints/primary",
|
|
49
|
+
* });
|
|
50
|
+
* export const endpointType = _this.then(_this => _this.status?.endpointType);
|
|
51
|
+
* ```
|
|
20
52
|
*/
|
|
21
53
|
function getPostgresEndpointOutput(args, opts) {
|
|
22
54
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPostgresEndpoint.js","sourceRoot":"","sources":["../getPostgresEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getPostgresEndpoint.js","sourceRoot":"","sources":["../getPostgresEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC;AAoDD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC"}
|
|
@@ -1,7 +1,24 @@
|
|
|
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 lists all Postgres endpoints in a branch.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ### List All Endpoints in a Branch
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as databricks from "@pulumi/databricks";
|
|
15
|
+
*
|
|
16
|
+
* const all = databricks.getPostgresEndpoints({
|
|
17
|
+
* parent: "projects/my-project/branches/dev-branch",
|
|
18
|
+
* });
|
|
19
|
+
* export const endpointNames = all.then(all => .map(endpoint => (endpoint.name)));
|
|
20
|
+
* export const endpointTypes = all.then(all => .map(endpoint => (endpoint.status?.endpointType)));
|
|
21
|
+
* ```
|
|
5
22
|
*/
|
|
6
23
|
export declare function getPostgresEndpoints(args: GetPostgresEndpointsArgs, opts?: pulumi.InvokeOptions): Promise<GetPostgresEndpointsResult>;
|
|
7
24
|
/**
|
|
@@ -9,7 +26,7 @@ export declare function getPostgresEndpoints(args: GetPostgresEndpointsArgs, opt
|
|
|
9
26
|
*/
|
|
10
27
|
export interface GetPostgresEndpointsArgs {
|
|
11
28
|
/**
|
|
12
|
-
* Upper bound for items returned
|
|
29
|
+
* Upper bound for items returned. Cannot be negative
|
|
13
30
|
*/
|
|
14
31
|
pageSize?: number;
|
|
15
32
|
/**
|
|
@@ -29,13 +46,30 @@ export interface GetPostgresEndpointsResult {
|
|
|
29
46
|
readonly id: string;
|
|
30
47
|
readonly pageSize?: number;
|
|
31
48
|
/**
|
|
32
|
-
* (string) - The branch containing this endpoint.
|
|
49
|
+
* (string) - The branch containing this endpoint (API resource hierarchy).
|
|
33
50
|
* Format: projects/{project_id}/branches/{branch_id}
|
|
34
51
|
*/
|
|
35
52
|
readonly parent: string;
|
|
36
53
|
}
|
|
37
54
|
/**
|
|
38
|
-
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
56
|
+
*
|
|
57
|
+
* This data source lists all Postgres endpoints in a branch.
|
|
58
|
+
*
|
|
59
|
+
* ## Example Usage
|
|
60
|
+
*
|
|
61
|
+
* ### List All Endpoints in a Branch
|
|
62
|
+
*
|
|
63
|
+
* ```typescript
|
|
64
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
65
|
+
* import * as databricks from "@pulumi/databricks";
|
|
66
|
+
*
|
|
67
|
+
* const all = databricks.getPostgresEndpoints({
|
|
68
|
+
* parent: "projects/my-project/branches/dev-branch",
|
|
69
|
+
* });
|
|
70
|
+
* export const endpointNames = all.then(all => .map(endpoint => (endpoint.name)));
|
|
71
|
+
* export const endpointTypes = all.then(all => .map(endpoint => (endpoint.status?.endpointType)));
|
|
72
|
+
* ```
|
|
39
73
|
*/
|
|
40
74
|
export declare function getPostgresEndpointsOutput(args: GetPostgresEndpointsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPostgresEndpointsResult>;
|
|
41
75
|
/**
|
|
@@ -43,7 +77,7 @@ export declare function getPostgresEndpointsOutput(args: GetPostgresEndpointsOut
|
|
|
43
77
|
*/
|
|
44
78
|
export interface GetPostgresEndpointsOutputArgs {
|
|
45
79
|
/**
|
|
46
|
-
* Upper bound for items returned
|
|
80
|
+
* Upper bound for items returned. Cannot be negative
|
|
47
81
|
*/
|
|
48
82
|
pageSize?: pulumi.Input<number>;
|
|
49
83
|
/**
|
package/getPostgresEndpoints.js
CHANGED
|
@@ -6,7 +6,24 @@ exports.getPostgresEndpointsOutput = exports.getPostgresEndpoints = 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 lists all Postgres endpoints in a branch.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ### List All Endpoints in a Branch
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as databricks from "@pulumi/databricks";
|
|
20
|
+
*
|
|
21
|
+
* const all = databricks.getPostgresEndpoints({
|
|
22
|
+
* parent: "projects/my-project/branches/dev-branch",
|
|
23
|
+
* });
|
|
24
|
+
* export const endpointNames = all.then(all => .map(endpoint => (endpoint.name)));
|
|
25
|
+
* export const endpointTypes = all.then(all => .map(endpoint => (endpoint.status?.endpointType)));
|
|
26
|
+
* ```
|
|
10
27
|
*/
|
|
11
28
|
function getPostgresEndpoints(args, opts) {
|
|
12
29
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -17,7 +34,24 @@ function getPostgresEndpoints(args, opts) {
|
|
|
17
34
|
}
|
|
18
35
|
exports.getPostgresEndpoints = getPostgresEndpoints;
|
|
19
36
|
/**
|
|
20
|
-
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
38
|
+
*
|
|
39
|
+
* This data source lists all Postgres endpoints in a branch.
|
|
40
|
+
*
|
|
41
|
+
* ## Example Usage
|
|
42
|
+
*
|
|
43
|
+
* ### List All Endpoints in a Branch
|
|
44
|
+
*
|
|
45
|
+
* ```typescript
|
|
46
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
47
|
+
* import * as databricks from "@pulumi/databricks";
|
|
48
|
+
*
|
|
49
|
+
* const all = databricks.getPostgresEndpoints({
|
|
50
|
+
* parent: "projects/my-project/branches/dev-branch",
|
|
51
|
+
* });
|
|
52
|
+
* export const endpointNames = all.then(all => .map(endpoint => (endpoint.name)));
|
|
53
|
+
* export const endpointTypes = all.then(all => .map(endpoint => (endpoint.status?.endpointType)));
|
|
54
|
+
* ```
|
|
21
55
|
*/
|
|
22
56
|
function getPostgresEndpointsOutput(args, opts) {
|
|
23
57
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPostgresEndpoints.js","sourceRoot":"","sources":["../getPostgresEndpoints.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getPostgresEndpoints.js","sourceRoot":"","sources":["../getPostgresEndpoints.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC;AAiCD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gEAMC"}
|
package/getPostgresProject.d.ts
CHANGED
|
@@ -1,7 +1,25 @@
|
|
|
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 project.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ### Retrieve Project by Name
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as databricks from "@pulumi/databricks";
|
|
15
|
+
*
|
|
16
|
+
* const _this = databricks.getPostgresProject({
|
|
17
|
+
* name: "projects/my-project",
|
|
18
|
+
* });
|
|
19
|
+
* export const projectPgVersion = _this.then(_this => _this.status?.pgVersion);
|
|
20
|
+
* export const projectDisplayName = _this.then(_this => _this.status?.displayName);
|
|
21
|
+
* export const projectHistoryRetention = _this.then(_this => _this.status?.historyRetentionDuration);
|
|
22
|
+
* ```
|
|
5
23
|
*/
|
|
6
24
|
export declare function getPostgresProject(args: GetPostgresProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetPostgresProjectResult>;
|
|
7
25
|
/**
|
|
@@ -9,8 +27,8 @@ export declare function getPostgresProject(args: GetPostgresProjectArgs, opts?:
|
|
|
9
27
|
*/
|
|
10
28
|
export interface GetPostgresProjectArgs {
|
|
11
29
|
/**
|
|
12
|
-
* The resource name of the project.
|
|
13
|
-
* Format: projects/{project_id}
|
|
30
|
+
* The resource name of the project. This field is output-only and constructed by the system.
|
|
31
|
+
* Format: `projects/{project_id}`
|
|
14
32
|
*/
|
|
15
33
|
name: string;
|
|
16
34
|
}
|
|
@@ -27,12 +45,12 @@ export interface GetPostgresProjectResult {
|
|
|
27
45
|
*/
|
|
28
46
|
readonly id: string;
|
|
29
47
|
/**
|
|
30
|
-
* (string) - The resource name of the project.
|
|
31
|
-
* Format: projects/{project_id}
|
|
48
|
+
* (string) - The resource name of the project. This field is output-only and constructed by the system.
|
|
49
|
+
* Format: `projects/{project_id}`
|
|
32
50
|
*/
|
|
33
51
|
readonly name: string;
|
|
34
52
|
/**
|
|
35
|
-
* (ProjectSpec) - The
|
|
53
|
+
* (ProjectSpec) - The spec contains the project configuration, including display_name, pgVersion (Postgres version), history_retention_duration, and default_endpoint_settings
|
|
36
54
|
*/
|
|
37
55
|
readonly spec: outputs.GetPostgresProjectSpec;
|
|
38
56
|
/**
|
|
@@ -40,7 +58,7 @@ export interface GetPostgresProjectResult {
|
|
|
40
58
|
*/
|
|
41
59
|
readonly status: outputs.GetPostgresProjectStatus;
|
|
42
60
|
/**
|
|
43
|
-
* (string) - System
|
|
61
|
+
* (string) - System-generated unique ID for the project
|
|
44
62
|
*/
|
|
45
63
|
readonly uid: string;
|
|
46
64
|
/**
|
|
@@ -49,7 +67,25 @@ export interface GetPostgresProjectResult {
|
|
|
49
67
|
readonly updateTime: string;
|
|
50
68
|
}
|
|
51
69
|
/**
|
|
52
|
-
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
71
|
+
*
|
|
72
|
+
* This data source retrieves a single Postgres project.
|
|
73
|
+
*
|
|
74
|
+
* ## Example Usage
|
|
75
|
+
*
|
|
76
|
+
* ### Retrieve Project by Name
|
|
77
|
+
*
|
|
78
|
+
* ```typescript
|
|
79
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
80
|
+
* import * as databricks from "@pulumi/databricks";
|
|
81
|
+
*
|
|
82
|
+
* const _this = databricks.getPostgresProject({
|
|
83
|
+
* name: "projects/my-project",
|
|
84
|
+
* });
|
|
85
|
+
* export const projectPgVersion = _this.then(_this => _this.status?.pgVersion);
|
|
86
|
+
* export const projectDisplayName = _this.then(_this => _this.status?.displayName);
|
|
87
|
+
* export const projectHistoryRetention = _this.then(_this => _this.status?.historyRetentionDuration);
|
|
88
|
+
* ```
|
|
53
89
|
*/
|
|
54
90
|
export declare function getPostgresProjectOutput(args: GetPostgresProjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPostgresProjectResult>;
|
|
55
91
|
/**
|
|
@@ -57,8 +93,8 @@ export declare function getPostgresProjectOutput(args: GetPostgresProjectOutputA
|
|
|
57
93
|
*/
|
|
58
94
|
export interface GetPostgresProjectOutputArgs {
|
|
59
95
|
/**
|
|
60
|
-
* The resource name of the project.
|
|
61
|
-
* Format: projects/{project_id}
|
|
96
|
+
* The resource name of the project. This field is output-only and constructed by the system.
|
|
97
|
+
* Format: `projects/{project_id}`
|
|
62
98
|
*/
|
|
63
99
|
name: pulumi.Input<string>;
|
|
64
100
|
}
|
package/getPostgresProject.js
CHANGED
|
@@ -6,7 +6,25 @@ exports.getPostgresProjectOutput = exports.getPostgresProject = 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 project.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ### Retrieve Project by Name
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as databricks from "@pulumi/databricks";
|
|
20
|
+
*
|
|
21
|
+
* const _this = databricks.getPostgresProject({
|
|
22
|
+
* name: "projects/my-project",
|
|
23
|
+
* });
|
|
24
|
+
* export const projectPgVersion = _this.then(_this => _this.status?.pgVersion);
|
|
25
|
+
* export const projectDisplayName = _this.then(_this => _this.status?.displayName);
|
|
26
|
+
* export const projectHistoryRetention = _this.then(_this => _this.status?.historyRetentionDuration);
|
|
27
|
+
* ```
|
|
10
28
|
*/
|
|
11
29
|
function getPostgresProject(args, opts) {
|
|
12
30
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -16,7 +34,25 @@ function getPostgresProject(args, opts) {
|
|
|
16
34
|
}
|
|
17
35
|
exports.getPostgresProject = getPostgresProject;
|
|
18
36
|
/**
|
|
19
|
-
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
38
|
+
*
|
|
39
|
+
* This data source retrieves a single Postgres project.
|
|
40
|
+
*
|
|
41
|
+
* ## Example Usage
|
|
42
|
+
*
|
|
43
|
+
* ### Retrieve Project by Name
|
|
44
|
+
*
|
|
45
|
+
* ```typescript
|
|
46
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
47
|
+
* import * as databricks from "@pulumi/databricks";
|
|
48
|
+
*
|
|
49
|
+
* const _this = databricks.getPostgresProject({
|
|
50
|
+
* name: "projects/my-project",
|
|
51
|
+
* });
|
|
52
|
+
* export const projectPgVersion = _this.then(_this => _this.status?.pgVersion);
|
|
53
|
+
* export const projectDisplayName = _this.then(_this => _this.status?.displayName);
|
|
54
|
+
* export const projectHistoryRetention = _this.then(_this => _this.status?.historyRetentionDuration);
|
|
55
|
+
* ```
|
|
20
56
|
*/
|
|
21
57
|
function getPostgresProjectOutput(args, opts) {
|
|
22
58
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPostgresProject.js","sourceRoot":"","sources":["../getPostgresProject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getPostgresProject.js","sourceRoot":"","sources":["../getPostgresProject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC;AA+CD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAAiC;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wDAAwD,EAAE;QACzF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4DAKC"}
|
package/getPostgresProjects.d.ts
CHANGED
|
@@ -1,7 +1,21 @@
|
|
|
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 lists all Postgres projects in the workspace.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ### List All Projects
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as databricks from "@pulumi/databricks";
|
|
15
|
+
*
|
|
16
|
+
* const all = databricks.getPostgresProjects({});
|
|
17
|
+
* export const projectNames = all.then(all => .map(project => (project.name)));
|
|
18
|
+
* ```
|
|
5
19
|
*/
|
|
6
20
|
export declare function getPostgresProjects(args?: GetPostgresProjectsArgs, opts?: pulumi.InvokeOptions): Promise<GetPostgresProjectsResult>;
|
|
7
21
|
/**
|
|
@@ -9,7 +23,7 @@ export declare function getPostgresProjects(args?: GetPostgresProjectsArgs, opts
|
|
|
9
23
|
*/
|
|
10
24
|
export interface GetPostgresProjectsArgs {
|
|
11
25
|
/**
|
|
12
|
-
* Upper bound for items returned
|
|
26
|
+
* Upper bound for items returned. Cannot be negative
|
|
13
27
|
*/
|
|
14
28
|
pageSize?: number;
|
|
15
29
|
}
|
|
@@ -25,7 +39,21 @@ export interface GetPostgresProjectsResult {
|
|
|
25
39
|
readonly projects: outputs.GetPostgresProjectsProject[];
|
|
26
40
|
}
|
|
27
41
|
/**
|
|
28
|
-
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
43
|
+
*
|
|
44
|
+
* This data source lists all Postgres projects in the workspace.
|
|
45
|
+
*
|
|
46
|
+
* ## Example Usage
|
|
47
|
+
*
|
|
48
|
+
* ### List All Projects
|
|
49
|
+
*
|
|
50
|
+
* ```typescript
|
|
51
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
52
|
+
* import * as databricks from "@pulumi/databricks";
|
|
53
|
+
*
|
|
54
|
+
* const all = databricks.getPostgresProjects({});
|
|
55
|
+
* export const projectNames = all.then(all => .map(project => (project.name)));
|
|
56
|
+
* ```
|
|
29
57
|
*/
|
|
30
58
|
export declare function getPostgresProjectsOutput(args?: GetPostgresProjectsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPostgresProjectsResult>;
|
|
31
59
|
/**
|
|
@@ -33,7 +61,7 @@ export declare function getPostgresProjectsOutput(args?: GetPostgresProjectsOutp
|
|
|
33
61
|
*/
|
|
34
62
|
export interface GetPostgresProjectsOutputArgs {
|
|
35
63
|
/**
|
|
36
|
-
* Upper bound for items returned
|
|
64
|
+
* Upper bound for items returned. Cannot be negative
|
|
37
65
|
*/
|
|
38
66
|
pageSize?: pulumi.Input<number>;
|
|
39
67
|
}
|