@pulumi/databricks 1.110.0-alpha.1789105339 → 1.110.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/aiGatewayMcpService.d.ts +48 -43
- package/aiGatewayMcpService.d.ts.map +1 -1
- package/aiGatewayMcpService.js +25 -3
- package/aiGatewayMcpService.js.map +1 -1
- package/aiGatewayModelProviderService.d.ts +60 -46
- package/aiGatewayModelProviderService.d.ts.map +1 -1
- package/aiGatewayModelProviderService.js +37 -3
- package/aiGatewayModelProviderService.js.map +1 -1
- package/aiGatewayModelService.d.ts +61 -47
- package/aiGatewayModelService.d.ts.map +1 -1
- package/aiGatewayModelService.js +32 -3
- package/aiGatewayModelService.js.map +1 -1
- package/app.d.ts +12 -3
- package/app.d.ts.map +1 -1
- package/app.js.map +1 -1
- package/domain.d.ts +232 -0
- package/domain.d.ts.map +1 -0
- package/domain.js +127 -0
- package/domain.js.map +1 -0
- package/featureEngineeringFeature.d.ts +9 -0
- package/featureEngineeringFeature.d.ts.map +1 -1
- package/featureEngineeringFeature.js +6 -0
- package/featureEngineeringFeature.js.map +1 -1
- package/featureEngineeringMaterializedFeature.d.ts +62 -0
- package/featureEngineeringMaterializedFeature.d.ts.map +1 -1
- package/featureEngineeringMaterializedFeature.js +8 -0
- package/featureEngineeringMaterializedFeature.js.map +1 -1
- package/getAiGatewayMcpService.d.ts +46 -21
- package/getAiGatewayMcpService.d.ts.map +1 -1
- package/getAiGatewayMcpService.js +34 -2
- package/getAiGatewayMcpService.js.map +1 -1
- package/getAiGatewayMcpServices.d.ts +46 -14
- package/getAiGatewayMcpServices.d.ts.map +1 -1
- package/getAiGatewayMcpServices.js +34 -2
- package/getAiGatewayMcpServices.js.map +1 -1
- package/getAiGatewayModelProviderService.d.ts +48 -24
- package/getAiGatewayModelProviderService.d.ts.map +1 -1
- package/getAiGatewayModelProviderService.js +34 -2
- package/getAiGatewayModelProviderService.js.map +1 -1
- package/getAiGatewayModelProviderServices.d.ts +51 -17
- package/getAiGatewayModelProviderServices.d.ts.map +1 -1
- package/getAiGatewayModelProviderServices.js +34 -2
- package/getAiGatewayModelProviderServices.js.map +1 -1
- package/getAiGatewayModelService.d.ts +47 -21
- package/getAiGatewayModelService.d.ts.map +1 -1
- package/getAiGatewayModelService.js +34 -2
- package/getAiGatewayModelService.js.map +1 -1
- package/getAiGatewayModelServices.d.ts +51 -17
- package/getAiGatewayModelServices.d.ts.map +1 -1
- package/getAiGatewayModelServices.js +34 -2
- package/getAiGatewayModelServices.js.map +1 -1
- package/getDomain.d.ts +135 -0
- package/getDomain.d.ts.map +1 -0
- package/getDomain.js +83 -0
- package/getDomain.js.map +1 -0
- package/getDomains.d.ts +85 -0
- package/getDomains.d.ts.map +1 -0
- package/getDomains.js +85 -0
- package/getDomains.js.map +1 -0
- package/getFeatureEngineeringFeature.d.ts +13 -1
- package/getFeatureEngineeringFeature.d.ts.map +1 -1
- package/getFeatureEngineeringFeature.js.map +1 -1
- package/getFeatureEngineeringKafkaConfig.d.ts +2 -1
- package/getFeatureEngineeringKafkaConfig.d.ts.map +1 -1
- package/getFeatureEngineeringKafkaConfig.js.map +1 -1
- package/getFeatureEngineeringMaterializedFeature.d.ts +25 -0
- package/getFeatureEngineeringMaterializedFeature.d.ts.map +1 -1
- package/getFeatureEngineeringMaterializedFeature.js.map +1 -1
- package/getPolicyInfo.d.ts +7 -1
- package/getPolicyInfo.d.ts.map +1 -1
- package/getPolicyInfo.js.map +1 -1
- package/getSandbox.d.ts +100 -0
- package/getSandbox.d.ts.map +1 -0
- package/getSandbox.js +85 -0
- package/getSandbox.js.map +1 -0
- package/getSandboxes.d.ts +68 -0
- package/getSandboxes.d.ts.map +1 -0
- package/getSandboxes.js +83 -0
- package/getSandboxes.js.map +1 -0
- package/grant.d.ts +18 -0
- package/grant.d.ts.map +1 -1
- package/grant.js +17 -0
- package/grant.js.map +1 -1
- package/grants.d.ts +20 -0
- package/grants.d.ts.map +1 -1
- package/grants.js +19 -0
- package/grants.js.map +1 -1
- package/index.d.ts +18 -0
- package/index.d.ts.map +1 -1
- package/index.js +34 -12
- package/index.js.map +1 -1
- package/mwsWorkspaces.d.ts +3 -3
- package/package.json +2 -2
- package/policyInfo.d.ts +21 -3
- package/policyInfo.d.ts.map +1 -1
- package/policyInfo.js +2 -0
- package/policyInfo.js.map +1 -1
- package/postgresBranch.d.ts +18 -0
- package/postgresBranch.d.ts.map +1 -1
- package/postgresBranch.js +18 -0
- package/postgresBranch.js.map +1 -1
- package/postgresSnapshotSchedule.d.ts +13 -1
- package/postgresSnapshotSchedule.d.ts.map +1 -1
- package/postgresSnapshotSchedule.js +5 -0
- package/postgresSnapshotSchedule.js.map +1 -1
- package/sandbox.d.ts +147 -0
- package/sandbox.d.ts.map +1 -0
- package/sandbox.js +117 -0
- package/sandbox.js.map +1 -0
- package/types/input.d.ts +462 -273
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1609 -984
- package/types/output.d.ts.map +1 -1
package/postgresBranch.d.ts
CHANGED
|
@@ -82,6 +82,24 @@ import * as outputs from "./types/output";
|
|
|
82
82
|
* },
|
|
83
83
|
* });
|
|
84
84
|
* ```
|
|
85
|
+
*
|
|
86
|
+
* ### Branch from a Snapshot
|
|
87
|
+
*
|
|
88
|
+
* Create a branch whose data comes from an existing snapshot instead of a source branch. The snapshot must be `AVAILABLE` and belong to the same project. `sourceSnapshot` is immutable and mutually exclusive with `sourceBranch`. The restored snapshot is reported back in `status.source_snapshot`.
|
|
89
|
+
*
|
|
90
|
+
* ```typescript
|
|
91
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
92
|
+
* import * as databricks from "@pulumi/databricks";
|
|
93
|
+
*
|
|
94
|
+
* const fromSnapshot = new databricks.PostgresBranch("from_snapshot", {
|
|
95
|
+
* branchId: "restored-branch",
|
|
96
|
+
* parent: _this.name,
|
|
97
|
+
* spec: {
|
|
98
|
+
* sourceSnapshot: "projects/my-project/snapshots/my-snapshot",
|
|
99
|
+
* noExpiry: true,
|
|
100
|
+
* },
|
|
101
|
+
* });
|
|
102
|
+
* ```
|
|
85
103
|
*/
|
|
86
104
|
export declare class PostgresBranch extends pulumi.CustomResource {
|
|
87
105
|
/**
|
package/postgresBranch.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgresBranch.d.ts","sourceRoot":"","sources":["../postgresBranch.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
|
|
1
|
+
{"version":3,"file":"postgresBranch.d.ts","sourceRoot":"","sources":["../postgresBranch.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmGG;AACH,qBAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,cAAc;IAO9I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,cAAc;IAOzD;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACxD;;OAEG;IACH,SAAgC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,C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AO,GAAG,SAAS,CAAC,CAAC;IACpD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;CAC9D"}
|
package/postgresBranch.js
CHANGED
|
@@ -109,6 +109,24 @@ const utilities = __importStar(require("./utilities"));
|
|
|
109
109
|
* },
|
|
110
110
|
* });
|
|
111
111
|
* ```
|
|
112
|
+
*
|
|
113
|
+
* ### Branch from a Snapshot
|
|
114
|
+
*
|
|
115
|
+
* Create a branch whose data comes from an existing snapshot instead of a source branch. The snapshot must be `AVAILABLE` and belong to the same project. `sourceSnapshot` is immutable and mutually exclusive with `sourceBranch`. The restored snapshot is reported back in `status.source_snapshot`.
|
|
116
|
+
*
|
|
117
|
+
* ```typescript
|
|
118
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
119
|
+
* import * as databricks from "@pulumi/databricks";
|
|
120
|
+
*
|
|
121
|
+
* const fromSnapshot = new databricks.PostgresBranch("from_snapshot", {
|
|
122
|
+
* branchId: "restored-branch",
|
|
123
|
+
* parent: _this.name,
|
|
124
|
+
* spec: {
|
|
125
|
+
* sourceSnapshot: "projects/my-project/snapshots/my-snapshot",
|
|
126
|
+
* noExpiry: true,
|
|
127
|
+
* },
|
|
128
|
+
* });
|
|
129
|
+
* ```
|
|
112
130
|
*/
|
|
113
131
|
class PostgresBranch extends pulumi.CustomResource {
|
|
114
132
|
/**
|
package/postgresBranch.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgresBranch.js","sourceRoot":"","sources":["../postgresBranch.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"postgresBranch.js","sourceRoot":"","sources":["../postgresBranch.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;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O,CAAC;YAC7C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA5HL,wCA6HC"}
|
|
@@ -27,6 +27,10 @@ export declare class PostgresSnapshotSchedule extends pulumi.CustomResource {
|
|
|
27
27
|
* Format: projects/{project_id}/branches/{branch_id}/snapshot-schedule
|
|
28
28
|
*/
|
|
29
29
|
readonly name: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The resource name of the parent
|
|
32
|
+
*/
|
|
33
|
+
readonly parent: pulumi.Output<string>;
|
|
30
34
|
/**
|
|
31
35
|
* Configure the provider for management through account provider.
|
|
32
36
|
*/
|
|
@@ -45,7 +49,7 @@ export declare class PostgresSnapshotSchedule extends pulumi.CustomResource {
|
|
|
45
49
|
* @param args The arguments to use to populate this resource's properties.
|
|
46
50
|
* @param opts A bag of options that control this resource's behavior.
|
|
47
51
|
*/
|
|
48
|
-
constructor(name: string, args
|
|
52
|
+
constructor(name: string, args: PostgresSnapshotScheduleArgs, opts?: pulumi.CustomResourceOptions);
|
|
49
53
|
}
|
|
50
54
|
/**
|
|
51
55
|
* Input properties used for looking up and filtering PostgresSnapshotSchedule resources.
|
|
@@ -56,6 +60,10 @@ export interface PostgresSnapshotScheduleState {
|
|
|
56
60
|
* Format: projects/{project_id}/branches/{branch_id}/snapshot-schedule
|
|
57
61
|
*/
|
|
58
62
|
name?: pulumi.Input<string | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* The resource name of the parent
|
|
65
|
+
*/
|
|
66
|
+
parent?: pulumi.Input<string | undefined>;
|
|
59
67
|
/**
|
|
60
68
|
* Configure the provider for management through account provider.
|
|
61
69
|
*/
|
|
@@ -72,6 +80,10 @@ export interface PostgresSnapshotScheduleState {
|
|
|
72
80
|
* The set of arguments for constructing a PostgresSnapshotSchedule resource.
|
|
73
81
|
*/
|
|
74
82
|
export interface PostgresSnapshotScheduleArgs {
|
|
83
|
+
/**
|
|
84
|
+
* The resource name of the parent
|
|
85
|
+
*/
|
|
86
|
+
parent: pulumi.Input<string>;
|
|
75
87
|
/**
|
|
76
88
|
* Configure the provider for management through account provider.
|
|
77
89
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgresSnapshotSchedule.d.ts","sourceRoot":"","sources":["../postgresSnapshotSchedule.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;;;;GAIG;AACH,qBAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,6BAA6B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,wBAAwB;IAOlK;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,wBAAwB;IAOnE;;;OAGG;IACH,SAAgC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC5D;;OAEG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,sCAAsC,CAAC,CAAC;IACtG;;;;;OAKG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,gCAAgC,EAAE,GAAG,SAAS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,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,sCAAsC,GAAG,SAAS,CAAC,CAAC;IACzF;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,gCAAgC,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CACjG;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,sCAAsC,GAAG,SAAS,CAAC,CAAC;IACzF;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,gCAAgC,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CACjG"}
|
|
@@ -64,11 +64,16 @@ class PostgresSnapshotSchedule extends pulumi.CustomResource {
|
|
|
64
64
|
if (opts.id) {
|
|
65
65
|
const state = argsOrState;
|
|
66
66
|
resourceInputs["name"] = state?.name;
|
|
67
|
+
resourceInputs["parent"] = state?.parent;
|
|
67
68
|
resourceInputs["providerConfig"] = state?.providerConfig;
|
|
68
69
|
resourceInputs["schedules"] = state?.schedules;
|
|
69
70
|
}
|
|
70
71
|
else {
|
|
71
72
|
const args = argsOrState;
|
|
73
|
+
if (args?.parent === undefined && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'parent'");
|
|
75
|
+
}
|
|
76
|
+
resourceInputs["parent"] = args?.parent;
|
|
72
77
|
resourceInputs["providerConfig"] = args?.providerConfig;
|
|
73
78
|
resourceInputs["schedules"] = args?.schedules;
|
|
74
79
|
resourceInputs["name"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgresSnapshotSchedule.js","sourceRoot":"","sources":["../postgresSnapshotSchedule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;GAIG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,oEAAoE,CAAC;IAE3G;;;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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;
|
|
1
|
+
{"version":3,"file":"postgresSnapshotSchedule.js","sourceRoot":"","sources":["../postgresSnapshotSchedule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;GAIG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAA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AC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AA9EL,4DA+EC"}
|
package/sandbox.d.ts
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
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/sandbox)
|
|
8
|
+
*
|
|
9
|
+
* Provisions and manages a Sandbox: an isolated, pre-configured, low-latency Serverless
|
|
10
|
+
* compute environment for running code. Creating this resource provisions a sandbox with a
|
|
11
|
+
* client-supplied id and optional compute and storage configuration; destroying it permanently
|
|
12
|
+
* deletes the sandbox. Use the `spec.compute.inactivity_timeout` to have the sandbox
|
|
13
|
+
* auto-terminate after an idle period.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as databricks from "@pulumi/databricks";
|
|
20
|
+
*
|
|
21
|
+
* const _this = new databricks.Sandbox("this", {
|
|
22
|
+
* sandboxId: "my-sandbox",
|
|
23
|
+
* displayName: "My sandbox",
|
|
24
|
+
* spec: {
|
|
25
|
+
* compute: {
|
|
26
|
+
* inactivityTimeout: "3600s",
|
|
27
|
+
* },
|
|
28
|
+
* },
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export declare class Sandbox extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing Sandbox resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SandboxState, opts?: pulumi.CustomResourceOptions): Sandbox;
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if the given object is an instance of Sandbox. This is designed to work even
|
|
45
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
|
+
*/
|
|
47
|
+
static isInstance(obj: any): obj is Sandbox;
|
|
48
|
+
/**
|
|
49
|
+
* (string) - Output only. The creation time of the sandbox
|
|
50
|
+
*/
|
|
51
|
+
readonly createTime: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Human-readable display label for the sandbox. At most 256 bytes
|
|
54
|
+
*/
|
|
55
|
+
readonly displayName: pulumi.Output<string | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* (string) - The AIP-compliant resource name, such as "sandboxes/my-sandbox"
|
|
58
|
+
*/
|
|
59
|
+
readonly name: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Configure the provider for management through account provider.
|
|
62
|
+
*/
|
|
63
|
+
readonly providerConfig: pulumi.Output<outputs.SandboxProviderConfig>;
|
|
64
|
+
/**
|
|
65
|
+
* Client-supplied ID that becomes the final path segment of the resource name
|
|
66
|
+
*/
|
|
67
|
+
readonly sandboxId: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The desired configuration of the sandbox, supplied by the caller at creation time
|
|
70
|
+
*/
|
|
71
|
+
readonly spec: pulumi.Output<outputs.SandboxSpec | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* (SandboxStatus) - The observed runtime state of the sandbox, populated by the server
|
|
74
|
+
*/
|
|
75
|
+
readonly status: pulumi.Output<outputs.SandboxStatus>;
|
|
76
|
+
/**
|
|
77
|
+
* (string) - Output only. The last update time of the sandbox metadata and spec
|
|
78
|
+
*/
|
|
79
|
+
readonly updateTime: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Create a Sandbox resource with the given unique name, arguments, and options.
|
|
82
|
+
*
|
|
83
|
+
* @param name The _unique_ name of the resource.
|
|
84
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
85
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
86
|
+
*/
|
|
87
|
+
constructor(name: string, args: SandboxArgs, opts?: pulumi.CustomResourceOptions);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Input properties used for looking up and filtering Sandbox resources.
|
|
91
|
+
*/
|
|
92
|
+
export interface SandboxState {
|
|
93
|
+
/**
|
|
94
|
+
* (string) - Output only. The creation time of the sandbox
|
|
95
|
+
*/
|
|
96
|
+
createTime?: pulumi.Input<string | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* Human-readable display label for the sandbox. At most 256 bytes
|
|
99
|
+
*/
|
|
100
|
+
displayName?: pulumi.Input<string | undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* (string) - The AIP-compliant resource name, such as "sandboxes/my-sandbox"
|
|
103
|
+
*/
|
|
104
|
+
name?: pulumi.Input<string | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Configure the provider for management through account provider.
|
|
107
|
+
*/
|
|
108
|
+
providerConfig?: pulumi.Input<inputs.SandboxProviderConfig | undefined>;
|
|
109
|
+
/**
|
|
110
|
+
* Client-supplied ID that becomes the final path segment of the resource name
|
|
111
|
+
*/
|
|
112
|
+
sandboxId?: pulumi.Input<string | undefined>;
|
|
113
|
+
/**
|
|
114
|
+
* The desired configuration of the sandbox, supplied by the caller at creation time
|
|
115
|
+
*/
|
|
116
|
+
spec?: pulumi.Input<inputs.SandboxSpec | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* (SandboxStatus) - The observed runtime state of the sandbox, populated by the server
|
|
119
|
+
*/
|
|
120
|
+
status?: pulumi.Input<inputs.SandboxStatus | undefined>;
|
|
121
|
+
/**
|
|
122
|
+
* (string) - Output only. The last update time of the sandbox metadata and spec
|
|
123
|
+
*/
|
|
124
|
+
updateTime?: pulumi.Input<string | undefined>;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* The set of arguments for constructing a Sandbox resource.
|
|
128
|
+
*/
|
|
129
|
+
export interface SandboxArgs {
|
|
130
|
+
/**
|
|
131
|
+
* Human-readable display label for the sandbox. At most 256 bytes
|
|
132
|
+
*/
|
|
133
|
+
displayName?: pulumi.Input<string | undefined>;
|
|
134
|
+
/**
|
|
135
|
+
* Configure the provider for management through account provider.
|
|
136
|
+
*/
|
|
137
|
+
providerConfig?: pulumi.Input<inputs.SandboxProviderConfig | undefined>;
|
|
138
|
+
/**
|
|
139
|
+
* Client-supplied ID that becomes the final path segment of the resource name
|
|
140
|
+
*/
|
|
141
|
+
sandboxId: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* The desired configuration of the sandbox, supplied by the caller at creation time
|
|
144
|
+
*/
|
|
145
|
+
spec?: pulumi.Input<inputs.SandboxSpec | undefined>;
|
|
146
|
+
}
|
|
147
|
+
//# sourceMappingURL=sandbox.d.ts.map
|
package/sandbox.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sandbox.d.ts","sourceRoot":"","sources":["../sandbox.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;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,qBAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE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AAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IACxE;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACpD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IACxD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjD;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IACxE;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;CACvD"}
|
package/sandbox.js
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
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.Sandbox = 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/sandbox)
|
|
35
|
+
*
|
|
36
|
+
* Provisions and manages a Sandbox: an isolated, pre-configured, low-latency Serverless
|
|
37
|
+
* compute environment for running code. Creating this resource provisions a sandbox with a
|
|
38
|
+
* client-supplied id and optional compute and storage configuration; destroying it permanently
|
|
39
|
+
* deletes the sandbox. Use the `spec.compute.inactivity_timeout` to have the sandbox
|
|
40
|
+
* auto-terminate after an idle period.
|
|
41
|
+
*
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as databricks from "@pulumi/databricks";
|
|
47
|
+
*
|
|
48
|
+
* const _this = new databricks.Sandbox("this", {
|
|
49
|
+
* sandboxId: "my-sandbox",
|
|
50
|
+
* displayName: "My sandbox",
|
|
51
|
+
* spec: {
|
|
52
|
+
* compute: {
|
|
53
|
+
* inactivityTimeout: "3600s",
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
class Sandbox extends pulumi.CustomResource {
|
|
60
|
+
/**
|
|
61
|
+
* Get an existing Sandbox resource's state with the given name, ID, and optional extra
|
|
62
|
+
* properties used to qualify the lookup.
|
|
63
|
+
*
|
|
64
|
+
* @param name The _unique_ name of the resulting resource.
|
|
65
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
66
|
+
* @param state Any extra arguments used during the lookup.
|
|
67
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
68
|
+
*/
|
|
69
|
+
static get(name, id, state, opts) {
|
|
70
|
+
return new Sandbox(name, state, { ...opts, id: id });
|
|
71
|
+
}
|
|
72
|
+
/** @internal */
|
|
73
|
+
static __pulumiType = 'databricks:index/sandbox:Sandbox';
|
|
74
|
+
/**
|
|
75
|
+
* Returns true if the given object is an instance of Sandbox. This is designed to work even
|
|
76
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
77
|
+
*/
|
|
78
|
+
static isInstance(obj) {
|
|
79
|
+
if (obj === undefined || obj === null) {
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
82
|
+
return obj['__pulumiType'] === Sandbox.__pulumiType;
|
|
83
|
+
}
|
|
84
|
+
constructor(name, argsOrState, opts) {
|
|
85
|
+
let resourceInputs = {};
|
|
86
|
+
opts = opts || {};
|
|
87
|
+
if (opts.id) {
|
|
88
|
+
const state = argsOrState;
|
|
89
|
+
resourceInputs["createTime"] = state?.createTime;
|
|
90
|
+
resourceInputs["displayName"] = state?.displayName;
|
|
91
|
+
resourceInputs["name"] = state?.name;
|
|
92
|
+
resourceInputs["providerConfig"] = state?.providerConfig;
|
|
93
|
+
resourceInputs["sandboxId"] = state?.sandboxId;
|
|
94
|
+
resourceInputs["spec"] = state?.spec;
|
|
95
|
+
resourceInputs["status"] = state?.status;
|
|
96
|
+
resourceInputs["updateTime"] = state?.updateTime;
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
const args = argsOrState;
|
|
100
|
+
if (args?.sandboxId === undefined && !opts.urn) {
|
|
101
|
+
throw new Error("Missing required property 'sandboxId'");
|
|
102
|
+
}
|
|
103
|
+
resourceInputs["displayName"] = args?.displayName;
|
|
104
|
+
resourceInputs["providerConfig"] = args?.providerConfig;
|
|
105
|
+
resourceInputs["sandboxId"] = args?.sandboxId;
|
|
106
|
+
resourceInputs["spec"] = args?.spec;
|
|
107
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
108
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
109
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
111
|
+
}
|
|
112
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
113
|
+
super(Sandbox.__pulumiType, name, resourceInputs, opts);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
exports.Sandbox = Sandbox;
|
|
117
|
+
//# sourceMappingURL=sandbox.js.map
|
package/sandbox.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sandbox.js","sourceRoot":"","sources":["../sandbox.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,u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