@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/databricks",
|
|
3
|
-
"version": "1.100.0
|
|
3
|
+
"version": "1.100.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing databricks cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "databricks",
|
|
27
|
-
"version": "1.100.0
|
|
27
|
+
"version": "1.100.0"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -0,0 +1,188 @@
|
|
|
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
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### Basic CDF Configuration
|
|
12
|
+
*
|
|
13
|
+
* Replicate a Postgres schema into a Unity Catalog schema.
|
|
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 main = new databricks.PostgresBranch("main", {
|
|
27
|
+
* branchId: "main",
|
|
28
|
+
* parent: _this.name,
|
|
29
|
+
* spec: {
|
|
30
|
+
* noExpiry: true,
|
|
31
|
+
* },
|
|
32
|
+
* });
|
|
33
|
+
* const app = new databricks.PostgresDatabase("app", {
|
|
34
|
+
* databaseId: "app_db",
|
|
35
|
+
* parent: main.name,
|
|
36
|
+
* spec: {
|
|
37
|
+
* postgresDatabase: "app_db",
|
|
38
|
+
* },
|
|
39
|
+
* });
|
|
40
|
+
* const thisPostgresCdfConfig = new databricks.PostgresCdfConfig("this", {
|
|
41
|
+
* parent: app.name,
|
|
42
|
+
* catalog: "main",
|
|
43
|
+
* schema: "app_replicated",
|
|
44
|
+
* postgresSchema: "public",
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
export declare class PostgresCdfConfig extends pulumi.CustomResource {
|
|
49
|
+
/**
|
|
50
|
+
* Get an existing PostgresCdfConfig resource's state with the given name, ID, and optional extra
|
|
51
|
+
* properties used to qualify the lookup.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resulting resource.
|
|
54
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
55
|
+
* @param state Any extra arguments used during the lookup.
|
|
56
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
57
|
+
*/
|
|
58
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PostgresCdfConfigState, opts?: pulumi.CustomResourceOptions): PostgresCdfConfig;
|
|
59
|
+
/**
|
|
60
|
+
* Returns true if the given object is an instance of PostgresCdfConfig. This is designed to work even
|
|
61
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
62
|
+
*/
|
|
63
|
+
static isInstance(obj: any): obj is PostgresCdfConfig;
|
|
64
|
+
/**
|
|
65
|
+
* The Unity Catalog catalog that replicated tables are written into.
|
|
66
|
+
* Set at creation; the CdfConfig is immutable
|
|
67
|
+
*/
|
|
68
|
+
readonly catalog: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* (string) - The user-specified id; equals the final segment of `name`. Defaults to the
|
|
71
|
+
* Postgres schema name for configs without an explicit id
|
|
72
|
+
*/
|
|
73
|
+
readonly cdfConfigId: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* (string) - When the CdfConfig was created
|
|
76
|
+
*/
|
|
77
|
+
readonly createTime: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* (string) - Output only. The full resource name of the CdfConfig.
|
|
80
|
+
* Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}
|
|
81
|
+
*/
|
|
82
|
+
readonly name: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The parent database under which to create the CdfConfig.
|
|
85
|
+
* Format: projects/{project}/branches/{branch}/databases/{database}
|
|
86
|
+
*/
|
|
87
|
+
readonly parent: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The Postgres schema this CdfConfig replicates from. Unique within the
|
|
90
|
+
* parent database. Set at creation; the CdfConfig is immutable
|
|
91
|
+
*/
|
|
92
|
+
readonly postgresSchema: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Configure the provider for management through account provider.
|
|
95
|
+
*/
|
|
96
|
+
readonly providerConfig: pulumi.Output<outputs.PostgresCdfConfigProviderConfig>;
|
|
97
|
+
/**
|
|
98
|
+
* The Unity Catalog schema that replicated tables are written into.
|
|
99
|
+
* Set at creation; the CdfConfig is immutable
|
|
100
|
+
*/
|
|
101
|
+
readonly schema: pulumi.Output<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Create a PostgresCdfConfig resource with the given unique name, arguments, and options.
|
|
104
|
+
*
|
|
105
|
+
* @param name The _unique_ name of the resource.
|
|
106
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
107
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
108
|
+
*/
|
|
109
|
+
constructor(name: string, args: PostgresCdfConfigArgs, opts?: pulumi.CustomResourceOptions);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Input properties used for looking up and filtering PostgresCdfConfig resources.
|
|
113
|
+
*/
|
|
114
|
+
export interface PostgresCdfConfigState {
|
|
115
|
+
/**
|
|
116
|
+
* The Unity Catalog catalog that replicated tables are written into.
|
|
117
|
+
* Set at creation; the CdfConfig is immutable
|
|
118
|
+
*/
|
|
119
|
+
catalog?: pulumi.Input<string | undefined>;
|
|
120
|
+
/**
|
|
121
|
+
* (string) - The user-specified id; equals the final segment of `name`. Defaults to the
|
|
122
|
+
* Postgres schema name for configs without an explicit id
|
|
123
|
+
*/
|
|
124
|
+
cdfConfigId?: pulumi.Input<string | undefined>;
|
|
125
|
+
/**
|
|
126
|
+
* (string) - When the CdfConfig was created
|
|
127
|
+
*/
|
|
128
|
+
createTime?: pulumi.Input<string | undefined>;
|
|
129
|
+
/**
|
|
130
|
+
* (string) - Output only. The full resource name of the CdfConfig.
|
|
131
|
+
* Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}
|
|
132
|
+
*/
|
|
133
|
+
name?: pulumi.Input<string | undefined>;
|
|
134
|
+
/**
|
|
135
|
+
* The parent database under which to create the CdfConfig.
|
|
136
|
+
* Format: projects/{project}/branches/{branch}/databases/{database}
|
|
137
|
+
*/
|
|
138
|
+
parent?: pulumi.Input<string | undefined>;
|
|
139
|
+
/**
|
|
140
|
+
* The Postgres schema this CdfConfig replicates from. Unique within the
|
|
141
|
+
* parent database. Set at creation; the CdfConfig is immutable
|
|
142
|
+
*/
|
|
143
|
+
postgresSchema?: pulumi.Input<string | undefined>;
|
|
144
|
+
/**
|
|
145
|
+
* Configure the provider for management through account provider.
|
|
146
|
+
*/
|
|
147
|
+
providerConfig?: pulumi.Input<inputs.PostgresCdfConfigProviderConfig | undefined>;
|
|
148
|
+
/**
|
|
149
|
+
* The Unity Catalog schema that replicated tables are written into.
|
|
150
|
+
* Set at creation; the CdfConfig is immutable
|
|
151
|
+
*/
|
|
152
|
+
schema?: pulumi.Input<string | undefined>;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* The set of arguments for constructing a PostgresCdfConfig resource.
|
|
156
|
+
*/
|
|
157
|
+
export interface PostgresCdfConfigArgs {
|
|
158
|
+
/**
|
|
159
|
+
* The Unity Catalog catalog that replicated tables are written into.
|
|
160
|
+
* Set at creation; the CdfConfig is immutable
|
|
161
|
+
*/
|
|
162
|
+
catalog: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* (string) - The user-specified id; equals the final segment of `name`. Defaults to the
|
|
165
|
+
* Postgres schema name for configs without an explicit id
|
|
166
|
+
*/
|
|
167
|
+
cdfConfigId?: pulumi.Input<string | undefined>;
|
|
168
|
+
/**
|
|
169
|
+
* The parent database under which to create the CdfConfig.
|
|
170
|
+
* Format: projects/{project}/branches/{branch}/databases/{database}
|
|
171
|
+
*/
|
|
172
|
+
parent: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* The Postgres schema this CdfConfig replicates from. Unique within the
|
|
175
|
+
* parent database. Set at creation; the CdfConfig is immutable
|
|
176
|
+
*/
|
|
177
|
+
postgresSchema: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* Configure the provider for management through account provider.
|
|
180
|
+
*/
|
|
181
|
+
providerConfig?: pulumi.Input<inputs.PostgresCdfConfigProviderConfig | undefined>;
|
|
182
|
+
/**
|
|
183
|
+
* The Unity Catalog schema that replicated tables are written into.
|
|
184
|
+
* Set at creation; the CdfConfig is immutable
|
|
185
|
+
*/
|
|
186
|
+
schema: pulumi.Input<string>;
|
|
187
|
+
}
|
|
188
|
+
//# sourceMappingURL=postgresCdfConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgresCdfConfig.d.ts","sourceRoot":"","sources":["../postgresCdfConfig.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,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;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,+BAA+B,GAAG,SAAS,CAAC,CAAC;IAClF;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,+BAA+B,GAAG,SAAS,CAAC,CAAC;IAClF;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
|
|
@@ -0,0 +1,142 @@
|
|
|
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.PostgresCdfConfig = 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
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ### Basic CDF Configuration
|
|
39
|
+
*
|
|
40
|
+
* Replicate a Postgres schema into a Unity Catalog schema.
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as databricks from "@pulumi/databricks";
|
|
45
|
+
*
|
|
46
|
+
* const _this = new databricks.PostgresProject("this", {
|
|
47
|
+
* projectId: "my-project",
|
|
48
|
+
* spec: {
|
|
49
|
+
* pgVersion: 17,
|
|
50
|
+
* displayName: "My Project",
|
|
51
|
+
* },
|
|
52
|
+
* });
|
|
53
|
+
* const main = new databricks.PostgresBranch("main", {
|
|
54
|
+
* branchId: "main",
|
|
55
|
+
* parent: _this.name,
|
|
56
|
+
* spec: {
|
|
57
|
+
* noExpiry: true,
|
|
58
|
+
* },
|
|
59
|
+
* });
|
|
60
|
+
* const app = new databricks.PostgresDatabase("app", {
|
|
61
|
+
* databaseId: "app_db",
|
|
62
|
+
* parent: main.name,
|
|
63
|
+
* spec: {
|
|
64
|
+
* postgresDatabase: "app_db",
|
|
65
|
+
* },
|
|
66
|
+
* });
|
|
67
|
+
* const thisPostgresCdfConfig = new databricks.PostgresCdfConfig("this", {
|
|
68
|
+
* parent: app.name,
|
|
69
|
+
* catalog: "main",
|
|
70
|
+
* schema: "app_replicated",
|
|
71
|
+
* postgresSchema: "public",
|
|
72
|
+
* });
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
class PostgresCdfConfig extends pulumi.CustomResource {
|
|
76
|
+
/**
|
|
77
|
+
* Get an existing PostgresCdfConfig resource's state with the given name, ID, and optional extra
|
|
78
|
+
* properties used to qualify the lookup.
|
|
79
|
+
*
|
|
80
|
+
* @param name The _unique_ name of the resulting resource.
|
|
81
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
82
|
+
* @param state Any extra arguments used during the lookup.
|
|
83
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
84
|
+
*/
|
|
85
|
+
static get(name, id, state, opts) {
|
|
86
|
+
return new PostgresCdfConfig(name, state, { ...opts, id: id });
|
|
87
|
+
}
|
|
88
|
+
/** @internal */
|
|
89
|
+
static __pulumiType = 'databricks:index/postgresCdfConfig:PostgresCdfConfig';
|
|
90
|
+
/**
|
|
91
|
+
* Returns true if the given object is an instance of PostgresCdfConfig. This is designed to work even
|
|
92
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
93
|
+
*/
|
|
94
|
+
static isInstance(obj) {
|
|
95
|
+
if (obj === undefined || obj === null) {
|
|
96
|
+
return false;
|
|
97
|
+
}
|
|
98
|
+
return obj['__pulumiType'] === PostgresCdfConfig.__pulumiType;
|
|
99
|
+
}
|
|
100
|
+
constructor(name, argsOrState, opts) {
|
|
101
|
+
let resourceInputs = {};
|
|
102
|
+
opts = opts || {};
|
|
103
|
+
if (opts.id) {
|
|
104
|
+
const state = argsOrState;
|
|
105
|
+
resourceInputs["catalog"] = state?.catalog;
|
|
106
|
+
resourceInputs["cdfConfigId"] = state?.cdfConfigId;
|
|
107
|
+
resourceInputs["createTime"] = state?.createTime;
|
|
108
|
+
resourceInputs["name"] = state?.name;
|
|
109
|
+
resourceInputs["parent"] = state?.parent;
|
|
110
|
+
resourceInputs["postgresSchema"] = state?.postgresSchema;
|
|
111
|
+
resourceInputs["providerConfig"] = state?.providerConfig;
|
|
112
|
+
resourceInputs["schema"] = state?.schema;
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
const args = argsOrState;
|
|
116
|
+
if (args?.catalog === undefined && !opts.urn) {
|
|
117
|
+
throw new Error("Missing required property 'catalog'");
|
|
118
|
+
}
|
|
119
|
+
if (args?.parent === undefined && !opts.urn) {
|
|
120
|
+
throw new Error("Missing required property 'parent'");
|
|
121
|
+
}
|
|
122
|
+
if (args?.postgresSchema === undefined && !opts.urn) {
|
|
123
|
+
throw new Error("Missing required property 'postgresSchema'");
|
|
124
|
+
}
|
|
125
|
+
if (args?.schema === undefined && !opts.urn) {
|
|
126
|
+
throw new Error("Missing required property 'schema'");
|
|
127
|
+
}
|
|
128
|
+
resourceInputs["catalog"] = args?.catalog;
|
|
129
|
+
resourceInputs["cdfConfigId"] = args?.cdfConfigId;
|
|
130
|
+
resourceInputs["parent"] = args?.parent;
|
|
131
|
+
resourceInputs["postgresSchema"] = args?.postgresSchema;
|
|
132
|
+
resourceInputs["providerConfig"] = args?.providerConfig;
|
|
133
|
+
resourceInputs["schema"] = args?.schema;
|
|
134
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
135
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
136
|
+
}
|
|
137
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
138
|
+
super(PostgresCdfConfig.__pulumiType, name, resourceInputs, opts);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
exports.PostgresCdfConfig = PostgresCdfConfig;
|
|
142
|
+
//# sourceMappingURL=postgresCdfConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgresCdfConfig.js","sourceRoot":"","sources":["../postgresCdfConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,sDAAsD,CAAC;IAE7F;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO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CAAC;aACjE;YACD,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAjHL,8CAkHC"}
|
package/supervisorAgentTool.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ export declare class SupervisorAgentTool extends pulumi.CustomResource {
|
|
|
48
48
|
*/
|
|
49
49
|
readonly toolId: pulumi.Output<string>;
|
|
50
50
|
/**
|
|
51
|
-
* Tool type. Must be one of: "genieSpace", "knowledgeAssistant", "ucFunction", "ucConnection", "ucMcp", "app", "volume", "dashboard", "servingEndpoint", "table", "vectorSearchIndex", "catalog", "schema", "supervisorAgent", "
|
|
51
|
+
* 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
|
|
52
52
|
*/
|
|
53
53
|
readonly toolType: pulumi.Output<string>;
|
|
54
54
|
readonly ucConnection: pulumi.Output<outputs.SupervisorAgentToolUcConnection | undefined>;
|
|
@@ -93,7 +93,7 @@ export interface SupervisorAgentToolState {
|
|
|
93
93
|
*/
|
|
94
94
|
toolId?: pulumi.Input<string | undefined>;
|
|
95
95
|
/**
|
|
96
|
-
* Tool type. Must be one of: "genieSpace", "knowledgeAssistant", "ucFunction", "ucConnection", "ucMcp", "app", "volume", "dashboard", "servingEndpoint", "table", "vectorSearchIndex", "catalog", "schema", "supervisorAgent", "
|
|
96
|
+
* 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
|
|
97
97
|
*/
|
|
98
98
|
toolType?: pulumi.Input<string | undefined>;
|
|
99
99
|
ucConnection?: pulumi.Input<inputs.SupervisorAgentToolUcConnection | undefined>;
|
|
@@ -125,7 +125,7 @@ export interface SupervisorAgentToolArgs {
|
|
|
125
125
|
*/
|
|
126
126
|
toolId: pulumi.Input<string>;
|
|
127
127
|
/**
|
|
128
|
-
* Tool type. Must be one of: "genieSpace", "knowledgeAssistant", "ucFunction", "ucConnection", "ucMcp", "app", "volume", "dashboard", "servingEndpoint", "table", "vectorSearchIndex", "catalog", "schema", "supervisorAgent", "
|
|
128
|
+
* 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
|
|
129
129
|
*/
|
|
130
130
|
toolType: pulumi.Input<string>;
|
|
131
131
|
ucConnection?: pulumi.Input<inputs.SupervisorAgentToolUcConnection | undefined>;
|