@pulumi/databricks 1.100.0-alpha.1784183363 → 1.100.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accountNetworkPolicy.d.ts +23 -0
- package/accountNetworkPolicy.d.ts.map +1 -1
- package/accountNetworkPolicy.js +23 -0
- package/accountNetworkPolicy.js.map +1 -1
- package/aiSearchEndpoint.d.ts +1 -1
- package/aiSearchEndpoint.js +1 -1
- package/aiSearchIndex.d.ts +1 -1
- package/aiSearchIndex.js +1 -1
- package/alertV2.d.ts +1 -1
- package/alertV2.js +1 -1
- package/disasterRecoveryFailoverGroup.d.ts +1 -1
- package/disasterRecoveryFailoverGroup.js +1 -1
- package/disasterRecoveryStableUrl.d.ts +33 -1
- package/disasterRecoveryStableUrl.d.ts.map +1 -1
- package/disasterRecoveryStableUrl.js +5 -1
- package/disasterRecoveryStableUrl.js.map +1 -1
- package/getAiSearchEndpoint.d.ts +2 -2
- package/getAiSearchEndpoint.js +2 -2
- package/getAiSearchEndpoints.d.ts +2 -2
- package/getAiSearchEndpoints.js +2 -2
- package/getAiSearchIndex.d.ts +2 -2
- package/getAiSearchIndex.js +2 -2
- package/getAiSearchIndexes.d.ts +2 -2
- package/getAiSearchIndexes.js +2 -2
- package/getAlertV2.d.ts +2 -2
- package/getAlertV2.js +2 -2
- package/getAlertsV2.d.ts +2 -2
- package/getAlertsV2.js +2 -2
- package/getDisasterRecoveryFailoverGroup.d.ts +2 -2
- package/getDisasterRecoveryFailoverGroup.js +2 -2
- package/getDisasterRecoveryFailoverGroups.d.ts +2 -2
- package/getDisasterRecoveryFailoverGroups.js +2 -2
- package/getDisasterRecoveryStableUrl.d.ts +18 -2
- package/getDisasterRecoveryStableUrl.d.ts.map +1 -1
- package/getDisasterRecoveryStableUrl.js +2 -2
- package/getDisasterRecoveryStableUrl.js.map +1 -1
- package/getDisasterRecoveryStableUrls.d.ts +2 -2
- package/getDisasterRecoveryStableUrls.js +2 -2
- package/getMlflowExperiment.d.ts +3 -0
- package/getMlflowExperiment.d.ts.map +1 -1
- package/getMlflowExperiment.js +2 -0
- package/getMlflowExperiment.js.map +1 -1
- package/getPostgresCdfConfig.d.ts +115 -0
- package/getPostgresCdfConfig.d.ts.map +1 -0
- package/getPostgresCdfConfig.js +89 -0
- package/getPostgresCdfConfig.js.map +1 -0
- package/getPostgresCdfConfigs.d.ts +97 -0
- package/getPostgresCdfConfigs.d.ts.map +1 -0
- package/getPostgresCdfConfigs.js +91 -0
- package/getPostgresCdfConfigs.js.map +1 -0
- package/getPostgresCdfStatus.d.ts +123 -0
- package/getPostgresCdfStatus.d.ts.map +1 -0
- package/getPostgresCdfStatus.js +89 -0
- package/getPostgresCdfStatus.js.map +1 -0
- package/getPostgresCdfStatuses.d.ts +97 -0
- package/getPostgresCdfStatuses.d.ts.map +1 -0
- package/getPostgresCdfStatuses.js +91 -0
- package/getPostgresCdfStatuses.js.map +1 -0
- package/getSupervisorAgentTool.d.ts +1 -1
- package/index.d.ts +15 -0
- package/index.d.ts.map +1 -1
- package/index.js +22 -5
- package/index.js.map +1 -1
- package/job.d.ts +3 -0
- package/job.d.ts.map +1 -1
- package/job.js +2 -0
- package/job.js.map +1 -1
- package/mlflowExperiment.d.ts +3 -0
- package/mlflowExperiment.d.ts.map +1 -1
- package/mlflowExperiment.js +2 -0
- package/mlflowExperiment.js.map +1 -1
- package/mwsWorkspaces.d.ts +3 -3
- package/package.json +2 -2
- package/postgresCdfConfig.d.ts +188 -0
- package/postgresCdfConfig.d.ts.map +1 -0
- package/postgresCdfConfig.js +142 -0
- package/postgresCdfConfig.js.map +1 -0
- package/supervisorAgentTool.d.ts +3 -3
- package/types/input.d.ts +149 -13
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +265 -17
- package/types/output.d.ts.map +1 -1
|
@@ -0,0 +1,123 @@
|
|
|
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
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/postgres)
|
|
8
|
+
*
|
|
9
|
+
* This data source retrieves the replication status of a single Postgres table replicated under a CDF (Change Data Feed) configuration.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Retrieve CDF Status by Name
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as databricks from "@pulumi/databricks";
|
|
18
|
+
*
|
|
19
|
+
* const _this = databricks.getPostgresCdfStatus({
|
|
20
|
+
* name: "projects/my-project/branches/main/databases/app_db/cdf-configs/public/cdf-statuses/orders",
|
|
21
|
+
* });
|
|
22
|
+
* export const cdfTableState = _this.then(_this => _this.state);
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare function getPostgresCdfStatus(args: GetPostgresCdfStatusArgs, opts?: pulumi.InvokeOptions): Promise<GetPostgresCdfStatusResult>;
|
|
26
|
+
/**
|
|
27
|
+
* A collection of arguments for invoking getPostgresCdfStatus.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetPostgresCdfStatusArgs {
|
|
30
|
+
/**
|
|
31
|
+
* Output only. The full resource name of the CdfStatus.
|
|
32
|
+
* Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}/cdf-statuses/{cdf_status}
|
|
33
|
+
* The {cdf_status} segment is the Postgres table name
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
* Configure the provider for management through account provider.
|
|
38
|
+
*/
|
|
39
|
+
providerConfig?: inputs.GetPostgresCdfStatusProviderConfig;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* A collection of values returned by getPostgresCdfStatus.
|
|
43
|
+
*/
|
|
44
|
+
export interface GetPostgresCdfStatusResult {
|
|
45
|
+
/**
|
|
46
|
+
* (string) - The high-watermark Log Sequence Number (LSN) committed to Delta Lake
|
|
47
|
+
*/
|
|
48
|
+
readonly committedLsn: string;
|
|
49
|
+
/**
|
|
50
|
+
* (string) - When replication for this table was first established
|
|
51
|
+
*/
|
|
52
|
+
readonly createTime: string;
|
|
53
|
+
/**
|
|
54
|
+
* The provider-assigned unique ID for this managed resource.
|
|
55
|
+
*/
|
|
56
|
+
readonly id: string;
|
|
57
|
+
/**
|
|
58
|
+
* (string) - The last time changes for this table were written to Delta Lake
|
|
59
|
+
*/
|
|
60
|
+
readonly lastSyncTime: string;
|
|
61
|
+
/**
|
|
62
|
+
* (string) - Output only. The full resource name of the CdfStatus.
|
|
63
|
+
* Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}/cdf-statuses/{cdf_status}
|
|
64
|
+
* The {cdf_status} segment is the Postgres table name
|
|
65
|
+
*/
|
|
66
|
+
readonly name: string;
|
|
67
|
+
/**
|
|
68
|
+
* (string) - The Postgres table being replicated
|
|
69
|
+
*/
|
|
70
|
+
readonly postgresTable: string;
|
|
71
|
+
readonly providerConfig?: outputs.GetPostgresCdfStatusProviderConfig;
|
|
72
|
+
/**
|
|
73
|
+
* (string) - The current replication state of this table. Possible values are: `CDF_STATE_SKIPPED`, `CDF_STATE_SNAPSHOTTING`, `CDF_STATE_STREAMING`, `CDF_STATE_TERMINATED`
|
|
74
|
+
*/
|
|
75
|
+
readonly state: string;
|
|
76
|
+
/**
|
|
77
|
+
* (string) - Human-readable detail for the current state (e.g. the skip/error reason).
|
|
78
|
+
* Empty for healthy states
|
|
79
|
+
*/
|
|
80
|
+
readonly statusDetail: string;
|
|
81
|
+
/**
|
|
82
|
+
* (string) - The Unity Catalog table receiving replicated data
|
|
83
|
+
*/
|
|
84
|
+
readonly ucTable: string;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
88
|
+
*
|
|
89
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/postgres)
|
|
90
|
+
*
|
|
91
|
+
* This data source retrieves the replication status of a single Postgres table replicated under a CDF (Change Data Feed) configuration.
|
|
92
|
+
*
|
|
93
|
+
* ## Example Usage
|
|
94
|
+
*
|
|
95
|
+
* ### Retrieve CDF Status by Name
|
|
96
|
+
*
|
|
97
|
+
* ```typescript
|
|
98
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
99
|
+
* import * as databricks from "@pulumi/databricks";
|
|
100
|
+
*
|
|
101
|
+
* const _this = databricks.getPostgresCdfStatus({
|
|
102
|
+
* name: "projects/my-project/branches/main/databases/app_db/cdf-configs/public/cdf-statuses/orders",
|
|
103
|
+
* });
|
|
104
|
+
* export const cdfTableState = _this.then(_this => _this.state);
|
|
105
|
+
* ```
|
|
106
|
+
*/
|
|
107
|
+
export declare function getPostgresCdfStatusOutput(args: GetPostgresCdfStatusOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPostgresCdfStatusResult>;
|
|
108
|
+
/**
|
|
109
|
+
* A collection of arguments for invoking getPostgresCdfStatus.
|
|
110
|
+
*/
|
|
111
|
+
export interface GetPostgresCdfStatusOutputArgs {
|
|
112
|
+
/**
|
|
113
|
+
* Output only. The full resource name of the CdfStatus.
|
|
114
|
+
* Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}/cdf-statuses/{cdf_status}
|
|
115
|
+
* The {cdf_status} segment is the Postgres table name
|
|
116
|
+
*/
|
|
117
|
+
name: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Configure the provider for management through account provider.
|
|
120
|
+
*/
|
|
121
|
+
providerConfig?: pulumi.Input<inputs.GetPostgresCdfStatusProviderConfigArgs | undefined>;
|
|
122
|
+
}
|
|
123
|
+
//# sourceMappingURL=getPostgresCdfStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPostgresC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E,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAM7J;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,sCAAsC,GAAG,SAAS,CAAC,CAAC;CAC5F"}
|
|
@@ -0,0 +1,89 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getPostgresCdfStatusOutput = exports.getPostgresCdfStatus = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
33
|
+
*
|
|
34
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/postgres)
|
|
35
|
+
*
|
|
36
|
+
* This data source retrieves the replication status of a single Postgres table replicated under a CDF (Change Data Feed) configuration.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ### Retrieve CDF Status by Name
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as databricks from "@pulumi/databricks";
|
|
45
|
+
*
|
|
46
|
+
* const _this = databricks.getPostgresCdfStatus({
|
|
47
|
+
* name: "projects/my-project/branches/main/databases/app_db/cdf-configs/public/cdf-statuses/orders",
|
|
48
|
+
* });
|
|
49
|
+
* export const cdfTableState = _this.then(_this => _this.state);
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
function getPostgresCdfStatus(args, opts) {
|
|
53
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
54
|
+
return pulumi.runtime.invoke("databricks:index/getPostgresCdfStatus:getPostgresCdfStatus", {
|
|
55
|
+
"name": args.name,
|
|
56
|
+
"providerConfig": args.providerConfig,
|
|
57
|
+
}, opts);
|
|
58
|
+
}
|
|
59
|
+
exports.getPostgresCdfStatus = getPostgresCdfStatus;
|
|
60
|
+
/**
|
|
61
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
62
|
+
*
|
|
63
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/postgres)
|
|
64
|
+
*
|
|
65
|
+
* This data source retrieves the replication status of a single Postgres table replicated under a CDF (Change Data Feed) configuration.
|
|
66
|
+
*
|
|
67
|
+
* ## Example Usage
|
|
68
|
+
*
|
|
69
|
+
* ### Retrieve CDF Status by Name
|
|
70
|
+
*
|
|
71
|
+
* ```typescript
|
|
72
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
73
|
+
* import * as databricks from "@pulumi/databricks";
|
|
74
|
+
*
|
|
75
|
+
* const _this = databricks.getPostgresCdfStatus({
|
|
76
|
+
* name: "projects/my-project/branches/main/databases/app_db/cdf-configs/public/cdf-statuses/orders",
|
|
77
|
+
* });
|
|
78
|
+
* export const cdfTableState = _this.then(_this => _this.state);
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
function getPostgresCdfStatusOutput(args, opts) {
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
83
|
+
return pulumi.runtime.invokeOutput("databricks:index/getPostgresCdfStatus:getPostgresCdfStatus", {
|
|
84
|
+
"name": args.name,
|
|
85
|
+
"providerConfig": args.providerConfig,
|
|
86
|
+
}, opts);
|
|
87
|
+
}
|
|
88
|
+
exports.getPostgresCdfStatusOutput = getPostgresCdfStatusOutput;
|
|
89
|
+
//# sourceMappingURL=getPostgresCdfStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPostgresCdfStatus.js","sourceRoot":"","sources":["../getPostgresCdfStatus.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC;AA+DD;;;;;;;;;;;;;;;;;;;;GAoBG;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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gEAMC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
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
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/postgres)
|
|
8
|
+
*
|
|
9
|
+
* This data source lists the replication statuses of all Postgres tables replicated under a CDF (Change Data Feed) configuration.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### List All Replicated Table Statuses in a CDF Configuration
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as databricks from "@pulumi/databricks";
|
|
18
|
+
*
|
|
19
|
+
* const all = databricks.getPostgresCdfStatuses({
|
|
20
|
+
* parent: "projects/my-project/branches/main/databases/app_db/cdf-configs/public",
|
|
21
|
+
* });
|
|
22
|
+
* export const cdfTableStates = all.then(all => .reduce((__obj, status) => ({ ...__obj, [status.postgresTable]: status.state }), {}));
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare function getPostgresCdfStatuses(args: GetPostgresCdfStatusesArgs, opts?: pulumi.InvokeOptions): Promise<GetPostgresCdfStatusesResult>;
|
|
26
|
+
/**
|
|
27
|
+
* A collection of arguments for invoking getPostgresCdfStatuses.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetPostgresCdfStatusesArgs {
|
|
30
|
+
/**
|
|
31
|
+
* Maximum number of CdfStatuses to return
|
|
32
|
+
*/
|
|
33
|
+
pageSize?: number;
|
|
34
|
+
/**
|
|
35
|
+
* The parent CdfConfig to list CdfStatuses for.
|
|
36
|
+
* Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}
|
|
37
|
+
*/
|
|
38
|
+
parent: string;
|
|
39
|
+
/**
|
|
40
|
+
* Configure the provider for management through account provider.
|
|
41
|
+
*/
|
|
42
|
+
providerConfig?: inputs.GetPostgresCdfStatusesProviderConfig;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* A collection of values returned by getPostgresCdfStatuses.
|
|
46
|
+
*/
|
|
47
|
+
export interface GetPostgresCdfStatusesResult {
|
|
48
|
+
readonly cdfStatuses: outputs.GetPostgresCdfStatusesCdfStatus[];
|
|
49
|
+
/**
|
|
50
|
+
* The provider-assigned unique ID for this managed resource.
|
|
51
|
+
*/
|
|
52
|
+
readonly id: string;
|
|
53
|
+
readonly pageSize?: number;
|
|
54
|
+
readonly parent: string;
|
|
55
|
+
readonly providerConfig?: outputs.GetPostgresCdfStatusesProviderConfig;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
59
|
+
*
|
|
60
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/postgres)
|
|
61
|
+
*
|
|
62
|
+
* This data source lists the replication statuses of all Postgres tables replicated under a CDF (Change Data Feed) configuration.
|
|
63
|
+
*
|
|
64
|
+
* ## Example Usage
|
|
65
|
+
*
|
|
66
|
+
* ### List All Replicated Table Statuses in a CDF Configuration
|
|
67
|
+
*
|
|
68
|
+
* ```typescript
|
|
69
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
70
|
+
* import * as databricks from "@pulumi/databricks";
|
|
71
|
+
*
|
|
72
|
+
* const all = databricks.getPostgresCdfStatuses({
|
|
73
|
+
* parent: "projects/my-project/branches/main/databases/app_db/cdf-configs/public",
|
|
74
|
+
* });
|
|
75
|
+
* export const cdfTableStates = all.then(all => .reduce((__obj, status) => ({ ...__obj, [status.postgresTable]: status.state }), {}));
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
export declare function getPostgresCdfStatusesOutput(args: GetPostgresCdfStatusesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPostgresCdfStatusesResult>;
|
|
79
|
+
/**
|
|
80
|
+
* A collection of arguments for invoking getPostgresCdfStatuses.
|
|
81
|
+
*/
|
|
82
|
+
export interface GetPostgresCdfStatusesOutputArgs {
|
|
83
|
+
/**
|
|
84
|
+
* Maximum number of CdfStatuses to return
|
|
85
|
+
*/
|
|
86
|
+
pageSize?: pulumi.Input<number | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* The parent CdfConfig to list CdfStatuses for.
|
|
89
|
+
* Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}
|
|
90
|
+
*/
|
|
91
|
+
parent: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Configure the provider for management through account provider.
|
|
94
|
+
*/
|
|
95
|
+
providerConfig?: pulumi.Input<inputs.GetPostgresCdfStatusesProviderConfigArgs | undefined>;
|
|
96
|
+
}
|
|
97
|
+
//# sourceMappingURL=getPostgresCdfStatuses.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPostgresCdfStatuses.d.ts","sourceRoot":"","sources":["../getPostgresCdfStatuses.ts"],"names":[],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c,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,wCAAwC,GAAG,SAAS,CAAC,CAAC;CAC9F"}
|
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getPostgresCdfStatusesOutput = exports.getPostgresCdfStatuses = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
33
|
+
*
|
|
34
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/postgres)
|
|
35
|
+
*
|
|
36
|
+
* This data source lists the replication statuses of all Postgres tables replicated under a CDF (Change Data Feed) configuration.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ### List All Replicated Table Statuses in a CDF Configuration
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as databricks from "@pulumi/databricks";
|
|
45
|
+
*
|
|
46
|
+
* const all = databricks.getPostgresCdfStatuses({
|
|
47
|
+
* parent: "projects/my-project/branches/main/databases/app_db/cdf-configs/public",
|
|
48
|
+
* });
|
|
49
|
+
* export const cdfTableStates = all.then(all => .reduce((__obj, status) => ({ ...__obj, [status.postgresTable]: status.state }), {}));
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
function getPostgresCdfStatuses(args, opts) {
|
|
53
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
54
|
+
return pulumi.runtime.invoke("databricks:index/getPostgresCdfStatuses:getPostgresCdfStatuses", {
|
|
55
|
+
"pageSize": args.pageSize,
|
|
56
|
+
"parent": args.parent,
|
|
57
|
+
"providerConfig": args.providerConfig,
|
|
58
|
+
}, opts);
|
|
59
|
+
}
|
|
60
|
+
exports.getPostgresCdfStatuses = getPostgresCdfStatuses;
|
|
61
|
+
/**
|
|
62
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
63
|
+
*
|
|
64
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/postgres)
|
|
65
|
+
*
|
|
66
|
+
* This data source lists the replication statuses of all Postgres tables replicated under a CDF (Change Data Feed) configuration.
|
|
67
|
+
*
|
|
68
|
+
* ## Example Usage
|
|
69
|
+
*
|
|
70
|
+
* ### List All Replicated Table Statuses in a CDF Configuration
|
|
71
|
+
*
|
|
72
|
+
* ```typescript
|
|
73
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
74
|
+
* import * as databricks from "@pulumi/databricks";
|
|
75
|
+
*
|
|
76
|
+
* const all = databricks.getPostgresCdfStatuses({
|
|
77
|
+
* parent: "projects/my-project/branches/main/databases/app_db/cdf-configs/public",
|
|
78
|
+
* });
|
|
79
|
+
* export const cdfTableStates = all.then(all => .reduce((__obj, status) => ({ ...__obj, [status.postgresTable]: status.state }), {}));
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
function getPostgresCdfStatusesOutput(args, opts) {
|
|
83
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
84
|
+
return pulumi.runtime.invokeOutput("databricks:index/getPostgresCdfStatuses:getPostgresCdfStatuses", {
|
|
85
|
+
"pageSize": args.pageSize,
|
|
86
|
+
"parent": args.parent,
|
|
87
|
+
"providerConfig": args.providerConfig,
|
|
88
|
+
}, opts);
|
|
89
|
+
}
|
|
90
|
+
exports.getPostgresCdfStatusesOutput = getPostgresCdfStatusesOutput;
|
|
91
|
+
//# sourceMappingURL=getPostgresCdfStatuses.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPostgresCdfStatuses.js","sourceRoot":"","sources":["../getPostgresCdfStatuses.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wDAOC;AAkCD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAAiC;IAClH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gEAAgE,EAAE;QACjG,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oEAOC"}
|
|
@@ -56,7 +56,7 @@ export interface GetSupervisorAgentToolResult {
|
|
|
56
56
|
*/
|
|
57
57
|
readonly toolId: string;
|
|
58
58
|
/**
|
|
59
|
-
* (string) - Tool type. Must be one of: "genieSpace", "knowledgeAssistant", "ucFunction", "ucConnection", "ucMcp", "app", "volume", "dashboard", "servingEndpoint", "table", "vectorSearchIndex", "catalog", "schema", "supervisorAgent", "
|
|
59
|
+
* (string) - Tool type. Must be one of: "genieSpace", "knowledgeAssistant", "ucFunction", "ucConnection", "ucMcp", "app", "volume", "dashboard", "servingEndpoint", "table", "vectorSearchIndex", "catalog", "schema", "supervisorAgent", "databricksWebSearch", "skill". The legacy values "lakeviewDashboard", "ucTable", and "webSearch" are also accepted and remain equivalent to "dashboard", "table", and "databricksWebSearch" respectively. The "databricksWebSearch" toolType maps to the `webSearch` spec field
|
|
60
60
|
*/
|
|
61
61
|
readonly toolType: string;
|
|
62
62
|
/**
|
package/index.d.ts
CHANGED
|
@@ -463,6 +463,18 @@ export declare const getPostgresBranchesOutput: typeof import("./getPostgresBran
|
|
|
463
463
|
export { GetPostgresCatalogArgs, GetPostgresCatalogResult, GetPostgresCatalogOutputArgs } from "./getPostgresCatalog";
|
|
464
464
|
export declare const getPostgresCatalog: typeof import("./getPostgresCatalog").getPostgresCatalog;
|
|
465
465
|
export declare const getPostgresCatalogOutput: typeof import("./getPostgresCatalog").getPostgresCatalogOutput;
|
|
466
|
+
export { GetPostgresCdfConfigArgs, GetPostgresCdfConfigResult, GetPostgresCdfConfigOutputArgs } from "./getPostgresCdfConfig";
|
|
467
|
+
export declare const getPostgresCdfConfig: typeof import("./getPostgresCdfConfig").getPostgresCdfConfig;
|
|
468
|
+
export declare const getPostgresCdfConfigOutput: typeof import("./getPostgresCdfConfig").getPostgresCdfConfigOutput;
|
|
469
|
+
export { GetPostgresCdfConfigsArgs, GetPostgresCdfConfigsResult, GetPostgresCdfConfigsOutputArgs } from "./getPostgresCdfConfigs";
|
|
470
|
+
export declare const getPostgresCdfConfigs: typeof import("./getPostgresCdfConfigs").getPostgresCdfConfigs;
|
|
471
|
+
export declare const getPostgresCdfConfigsOutput: typeof import("./getPostgresCdfConfigs").getPostgresCdfConfigsOutput;
|
|
472
|
+
export { GetPostgresCdfStatusArgs, GetPostgresCdfStatusResult, GetPostgresCdfStatusOutputArgs } from "./getPostgresCdfStatus";
|
|
473
|
+
export declare const getPostgresCdfStatus: typeof import("./getPostgresCdfStatus").getPostgresCdfStatus;
|
|
474
|
+
export declare const getPostgresCdfStatusOutput: typeof import("./getPostgresCdfStatus").getPostgresCdfStatusOutput;
|
|
475
|
+
export { GetPostgresCdfStatusesArgs, GetPostgresCdfStatusesResult, GetPostgresCdfStatusesOutputArgs } from "./getPostgresCdfStatuses";
|
|
476
|
+
export declare const getPostgresCdfStatuses: typeof import("./getPostgresCdfStatuses").getPostgresCdfStatuses;
|
|
477
|
+
export declare const getPostgresCdfStatusesOutput: typeof import("./getPostgresCdfStatuses").getPostgresCdfStatusesOutput;
|
|
466
478
|
export { GetPostgresDataApiArgs, GetPostgresDataApiResult, GetPostgresDataApiOutputArgs } from "./getPostgresDataApi";
|
|
467
479
|
export declare const getPostgresDataApi: typeof import("./getPostgresDataApi").getPostgresDataApi;
|
|
468
480
|
export declare const getPostgresDataApiOutput: typeof import("./getPostgresDataApi").getPostgresDataApiOutput;
|
|
@@ -766,6 +778,9 @@ export declare const PostgresBranch: typeof import("./postgresBranch").PostgresB
|
|
|
766
778
|
export { PostgresCatalogArgs, PostgresCatalogState } from "./postgresCatalog";
|
|
767
779
|
export type PostgresCatalog = import("./postgresCatalog").PostgresCatalog;
|
|
768
780
|
export declare const PostgresCatalog: typeof import("./postgresCatalog").PostgresCatalog;
|
|
781
|
+
export { PostgresCdfConfigArgs, PostgresCdfConfigState } from "./postgresCdfConfig";
|
|
782
|
+
export type PostgresCdfConfig = import("./postgresCdfConfig").PostgresCdfConfig;
|
|
783
|
+
export declare const PostgresCdfConfig: typeof import("./postgresCdfConfig").PostgresCdfConfig;
|
|
769
784
|
export { PostgresDataApiArgs, PostgresDataApiState } from "./postgresDataApi";
|
|
770
785
|
export type PostgresDataApi = import("./postgresDataApi").PostgresDataApi;
|
|
771
786
|
export declare const PostgresDataApi: typeof import("./postgresDataApi").PostgresDataApi;
|