@pulumi/digitalocean 4.73.0-alpha.1782975403 → 4.73.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/getNfsAccessPoint.d.ts +120 -0
- package/getNfsAccessPoint.d.ts.map +1 -0
- package/getNfsAccessPoint.js +111 -0
- package/getNfsAccessPoint.js.map +1 -0
- package/getVectorDatabase.d.ts +132 -0
- package/getVectorDatabase.d.ts.map +1 -0
- package/getVectorDatabase.js +101 -0
- package/getVectorDatabase.js.map +1 -0
- package/index.d.ts +12 -0
- package/index.d.ts.map +1 -1
- package/index.js +19 -3
- package/index.js.map +1 -1
- package/nfs.d.ts +19 -15
- package/nfs.d.ts.map +1 -1
- package/nfs.js +13 -15
- package/nfs.js.map +1 -1
- package/nfsAccessPoint.d.ts +174 -0
- package/nfsAccessPoint.d.ts.map +1 -0
- package/nfsAccessPoint.js +143 -0
- package/nfsAccessPoint.js.map +1 -0
- package/nfsAttachment.d.ts +53 -4
- package/nfsAttachment.d.ts.map +1 -1
- package/nfsAttachment.js +41 -1
- package/nfsAttachment.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +46 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +77 -0
- package/types/output.d.ts.map +1 -1
- package/vectorDatabase.d.ts +196 -0
- package/vectorDatabase.d.ts.map +1 -0
- package/vectorDatabase.js +143 -0
- package/vectorDatabase.js.map +1 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Get information about a DigitalOcean NFS access point.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* Get the NFS access point by ID:
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
13
|
+
*
|
|
14
|
+
* const example = digitalocean.getNfsAccessPoint({
|
|
15
|
+
* id: "506f78a4-e098-11e5-ad9f-000f53306ae1",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* Get the NFS access point by name and share ID:
|
|
20
|
+
*
|
|
21
|
+
* ```typescript
|
|
22
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
24
|
+
*
|
|
25
|
+
* const example = digitalocean.getNfsAccessPoint({
|
|
26
|
+
* name: "example-access-point",
|
|
27
|
+
* shareId: foobar.id,
|
|
28
|
+
* vpcId: foobarDigitaloceanVpc.id,
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export declare function getNfsAccessPoint(args?: GetNfsAccessPointArgs, opts?: pulumi.InvokeOptions): Promise<GetNfsAccessPointResult>;
|
|
33
|
+
/**
|
|
34
|
+
* A collection of arguments for invoking getNfsAccessPoint.
|
|
35
|
+
*/
|
|
36
|
+
export interface GetNfsAccessPointArgs {
|
|
37
|
+
/**
|
|
38
|
+
* The ID of the NFS access point. Conflicts with `name`, `shareId`, and `vpcId`.
|
|
39
|
+
*/
|
|
40
|
+
id?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The name of the NFS access point. Must be used with `shareId`. Conflicts with `id`.
|
|
43
|
+
*/
|
|
44
|
+
name?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The ID of the NFS share. Must be used with `name`. Conflicts with `id`.
|
|
47
|
+
*/
|
|
48
|
+
shareId?: string;
|
|
49
|
+
/**
|
|
50
|
+
* When looking up by `name` and `shareId`, optionally filter to the access point attached to this VPC. Conflicts with `id`.
|
|
51
|
+
*/
|
|
52
|
+
vpcId?: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* A collection of values returned by getNfsAccessPoint.
|
|
56
|
+
*/
|
|
57
|
+
export interface GetNfsAccessPointResult {
|
|
58
|
+
readonly accessPolicies: outputs.GetNfsAccessPointAccessPolicy[];
|
|
59
|
+
readonly createdAt: string;
|
|
60
|
+
readonly id?: string;
|
|
61
|
+
readonly isDefault: boolean;
|
|
62
|
+
readonly name?: string;
|
|
63
|
+
readonly path: string;
|
|
64
|
+
readonly shareId?: string;
|
|
65
|
+
readonly status: string;
|
|
66
|
+
readonly updatedAt: string;
|
|
67
|
+
readonly vpcId: string;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Get information about a DigitalOcean NFS access point.
|
|
71
|
+
*
|
|
72
|
+
* ## Example Usage
|
|
73
|
+
*
|
|
74
|
+
* Get the NFS access point by ID:
|
|
75
|
+
*
|
|
76
|
+
* ```typescript
|
|
77
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
78
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
79
|
+
*
|
|
80
|
+
* const example = digitalocean.getNfsAccessPoint({
|
|
81
|
+
* id: "506f78a4-e098-11e5-ad9f-000f53306ae1",
|
|
82
|
+
* });
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
85
|
+
* Get the NFS access point by name and share ID:
|
|
86
|
+
*
|
|
87
|
+
* ```typescript
|
|
88
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
89
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
90
|
+
*
|
|
91
|
+
* const example = digitalocean.getNfsAccessPoint({
|
|
92
|
+
* name: "example-access-point",
|
|
93
|
+
* shareId: foobar.id,
|
|
94
|
+
* vpcId: foobarDigitaloceanVpc.id,
|
|
95
|
+
* });
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
export declare function getNfsAccessPointOutput(args?: GetNfsAccessPointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNfsAccessPointResult>;
|
|
99
|
+
/**
|
|
100
|
+
* A collection of arguments for invoking getNfsAccessPoint.
|
|
101
|
+
*/
|
|
102
|
+
export interface GetNfsAccessPointOutputArgs {
|
|
103
|
+
/**
|
|
104
|
+
* The ID of the NFS access point. Conflicts with `name`, `shareId`, and `vpcId`.
|
|
105
|
+
*/
|
|
106
|
+
id?: pulumi.Input<string | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* The name of the NFS access point. Must be used with `shareId`. Conflicts with `id`.
|
|
109
|
+
*/
|
|
110
|
+
name?: pulumi.Input<string | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* The ID of the NFS share. Must be used with `name`. Conflicts with `id`.
|
|
113
|
+
*/
|
|
114
|
+
shareId?: pulumi.Input<string | undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* When looking up by `name` and `shareId`, optionally filter to the access point attached to this VPC. Conflicts with `id`.
|
|
117
|
+
*/
|
|
118
|
+
vpcId?: pulumi.Input<string | undefined>;
|
|
119
|
+
}
|
|
120
|
+
//# sourceMappingURL=getNfsAccessPoint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNfsAccessPoint.d.ts","sourceRoot":"","sources":["../getNfsAccessPoint.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAI1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,CAAC,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAS7H;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC,6BAA6B,EAAE,CAAC;IACjE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CAC1B;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,CAAC,EAAE,2BAA2B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC,CASrJ;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC5C"}
|
|
@@ -0,0 +1,111 @@
|
|
|
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.getNfsAccessPointOutput = exports.getNfsAccessPoint = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Get information about a DigitalOcean NFS access point.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* Get the NFS access point by ID:
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
41
|
+
*
|
|
42
|
+
* const example = digitalocean.getNfsAccessPoint({
|
|
43
|
+
* id: "506f78a4-e098-11e5-ad9f-000f53306ae1",
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* Get the NFS access point by name and share ID:
|
|
48
|
+
*
|
|
49
|
+
* ```typescript
|
|
50
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
51
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
52
|
+
*
|
|
53
|
+
* const example = digitalocean.getNfsAccessPoint({
|
|
54
|
+
* name: "example-access-point",
|
|
55
|
+
* shareId: foobar.id,
|
|
56
|
+
* vpcId: foobarDigitaloceanVpc.id,
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
function getNfsAccessPoint(args, opts) {
|
|
61
|
+
args = args || {};
|
|
62
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
63
|
+
return pulumi.runtime.invoke("digitalocean:index/getNfsAccessPoint:getNfsAccessPoint", {
|
|
64
|
+
"id": args.id,
|
|
65
|
+
"name": args.name,
|
|
66
|
+
"shareId": args.shareId,
|
|
67
|
+
"vpcId": args.vpcId,
|
|
68
|
+
}, opts);
|
|
69
|
+
}
|
|
70
|
+
exports.getNfsAccessPoint = getNfsAccessPoint;
|
|
71
|
+
/**
|
|
72
|
+
* Get information about a DigitalOcean NFS access point.
|
|
73
|
+
*
|
|
74
|
+
* ## Example Usage
|
|
75
|
+
*
|
|
76
|
+
* Get the NFS access point by ID:
|
|
77
|
+
*
|
|
78
|
+
* ```typescript
|
|
79
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
80
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
81
|
+
*
|
|
82
|
+
* const example = digitalocean.getNfsAccessPoint({
|
|
83
|
+
* id: "506f78a4-e098-11e5-ad9f-000f53306ae1",
|
|
84
|
+
* });
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* Get the NFS access point by name and share ID:
|
|
88
|
+
*
|
|
89
|
+
* ```typescript
|
|
90
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
91
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
92
|
+
*
|
|
93
|
+
* const example = digitalocean.getNfsAccessPoint({
|
|
94
|
+
* name: "example-access-point",
|
|
95
|
+
* shareId: foobar.id,
|
|
96
|
+
* vpcId: foobarDigitaloceanVpc.id,
|
|
97
|
+
* });
|
|
98
|
+
* ```
|
|
99
|
+
*/
|
|
100
|
+
function getNfsAccessPointOutput(args, opts) {
|
|
101
|
+
args = args || {};
|
|
102
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
103
|
+
return pulumi.runtime.invokeOutput("digitalocean:index/getNfsAccessPoint:getNfsAccessPoint", {
|
|
104
|
+
"id": args.id,
|
|
105
|
+
"name": args.name,
|
|
106
|
+
"shareId": args.shareId,
|
|
107
|
+
"vpcId": args.vpcId,
|
|
108
|
+
}, opts);
|
|
109
|
+
}
|
|
110
|
+
exports.getNfsAccessPointOutput = getNfsAccessPointOutput;
|
|
111
|
+
//# sourceMappingURL=getNfsAccessPoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNfsAccessPoint.js","sourceRoot":"","sources":["../getNfsAccessPoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,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,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,8CASC;AAuCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAAiC;IACzG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,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,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0DASC"}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Provides information on a DigitalOcean vector database resource.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
11
|
+
*
|
|
12
|
+
* const example = digitalocean.getVectorDatabase({
|
|
13
|
+
* name: "example-vector-db",
|
|
14
|
+
* });
|
|
15
|
+
* export const vectorDbHttpEndpoint = example.then(example => example.endpoints?.[0]?.http);
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* A vector database may also be looked up by its `id`:
|
|
19
|
+
*
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
23
|
+
*
|
|
24
|
+
* const example = digitalocean.getVectorDatabase({
|
|
25
|
+
* id: "245bcfd0-7f31-4ce6-a2bc-475a116cca97",
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare function getVectorDatabase(args?: GetVectorDatabaseArgs, opts?: pulumi.InvokeOptions): Promise<GetVectorDatabaseResult>;
|
|
30
|
+
/**
|
|
31
|
+
* A collection of arguments for invoking getVectorDatabase.
|
|
32
|
+
*/
|
|
33
|
+
export interface GetVectorDatabaseArgs {
|
|
34
|
+
/**
|
|
35
|
+
* The ID of the vector database.
|
|
36
|
+
*/
|
|
37
|
+
id?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The name of the vector database.
|
|
40
|
+
*/
|
|
41
|
+
name?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* A collection of values returned by getVectorDatabase.
|
|
45
|
+
*/
|
|
46
|
+
export interface GetVectorDatabaseResult {
|
|
47
|
+
/**
|
|
48
|
+
* Advanced configuration for the vector database. The structure is documented below.
|
|
49
|
+
*/
|
|
50
|
+
readonly configs: outputs.GetVectorDatabaseConfig[];
|
|
51
|
+
/**
|
|
52
|
+
* The date and time when the vector database was created.
|
|
53
|
+
*/
|
|
54
|
+
readonly createdAt: string;
|
|
55
|
+
/**
|
|
56
|
+
* The connection endpoints for the vector database. The structure is documented below.
|
|
57
|
+
*/
|
|
58
|
+
readonly endpoints: outputs.GetVectorDatabaseEndpoint[];
|
|
59
|
+
/**
|
|
60
|
+
* The ID of the vector database.
|
|
61
|
+
*/
|
|
62
|
+
readonly id: string;
|
|
63
|
+
/**
|
|
64
|
+
* The name of the vector database.
|
|
65
|
+
*/
|
|
66
|
+
readonly name: string;
|
|
67
|
+
/**
|
|
68
|
+
* The UUID of the account that owns the vector database.
|
|
69
|
+
*/
|
|
70
|
+
readonly ownerUuid: string;
|
|
71
|
+
/**
|
|
72
|
+
* The slug identifier for the region where the vector database is located.
|
|
73
|
+
*/
|
|
74
|
+
readonly region: string;
|
|
75
|
+
/**
|
|
76
|
+
* The slug identifier representing the size of the vector database.
|
|
77
|
+
*/
|
|
78
|
+
readonly size: string;
|
|
79
|
+
/**
|
|
80
|
+
* The current status of the vector database (ex. `active`).
|
|
81
|
+
*/
|
|
82
|
+
readonly status: string;
|
|
83
|
+
/**
|
|
84
|
+
* A list of tag names applied to the vector database.
|
|
85
|
+
*/
|
|
86
|
+
readonly tags: string[];
|
|
87
|
+
/**
|
|
88
|
+
* The date and time when the vector database was last updated.
|
|
89
|
+
*/
|
|
90
|
+
readonly updatedAt: string;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Provides information on a DigitalOcean vector database resource.
|
|
94
|
+
*
|
|
95
|
+
* ## Example Usage
|
|
96
|
+
*
|
|
97
|
+
* ```typescript
|
|
98
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
99
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
100
|
+
*
|
|
101
|
+
* const example = digitalocean.getVectorDatabase({
|
|
102
|
+
* name: "example-vector-db",
|
|
103
|
+
* });
|
|
104
|
+
* export const vectorDbHttpEndpoint = example.then(example => example.endpoints?.[0]?.http);
|
|
105
|
+
* ```
|
|
106
|
+
*
|
|
107
|
+
* A vector database may also be looked up by its `id`:
|
|
108
|
+
*
|
|
109
|
+
* ```typescript
|
|
110
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
111
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
112
|
+
*
|
|
113
|
+
* const example = digitalocean.getVectorDatabase({
|
|
114
|
+
* id: "245bcfd0-7f31-4ce6-a2bc-475a116cca97",
|
|
115
|
+
* });
|
|
116
|
+
* ```
|
|
117
|
+
*/
|
|
118
|
+
export declare function getVectorDatabaseOutput(args?: GetVectorDatabaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVectorDatabaseResult>;
|
|
119
|
+
/**
|
|
120
|
+
* A collection of arguments for invoking getVectorDatabase.
|
|
121
|
+
*/
|
|
122
|
+
export interface GetVectorDatabaseOutputArgs {
|
|
123
|
+
/**
|
|
124
|
+
* The ID of the vector database.
|
|
125
|
+
*/
|
|
126
|
+
id?: pulumi.Input<string | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* The name of the vector database.
|
|
129
|
+
*/
|
|
130
|
+
name?: pulumi.Input<string | undefined>;
|
|
131
|
+
}
|
|
132
|
+
//# sourceMappingURL=getVectorDatabase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getVectorDatabase.d.ts","sourceRoot":"","sources":["../getVectorDatabase.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAI1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,CAAC,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAO7H;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,uBAAuB,EAAE,CAAC;IACpD;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,yBAAyB,EAAE,CAAC;IACxD;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC9B;AACD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,CAAC,EAAE,2BAA2B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAOrJ;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
|
|
@@ -0,0 +1,101 @@
|
|
|
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.getVectorDatabaseOutput = exports.getVectorDatabase = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Provides information on a DigitalOcean vector database resource.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
39
|
+
*
|
|
40
|
+
* const example = digitalocean.getVectorDatabase({
|
|
41
|
+
* name: "example-vector-db",
|
|
42
|
+
* });
|
|
43
|
+
* export const vectorDbHttpEndpoint = example.then(example => example.endpoints?.[0]?.http);
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* A vector database may also be looked up by its `id`:
|
|
47
|
+
*
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
51
|
+
*
|
|
52
|
+
* const example = digitalocean.getVectorDatabase({
|
|
53
|
+
* id: "245bcfd0-7f31-4ce6-a2bc-475a116cca97",
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
function getVectorDatabase(args, opts) {
|
|
58
|
+
args = args || {};
|
|
59
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
60
|
+
return pulumi.runtime.invoke("digitalocean:index/getVectorDatabase:getVectorDatabase", {
|
|
61
|
+
"id": args.id,
|
|
62
|
+
"name": args.name,
|
|
63
|
+
}, opts);
|
|
64
|
+
}
|
|
65
|
+
exports.getVectorDatabase = getVectorDatabase;
|
|
66
|
+
/**
|
|
67
|
+
* Provides information on a DigitalOcean vector database resource.
|
|
68
|
+
*
|
|
69
|
+
* ## Example Usage
|
|
70
|
+
*
|
|
71
|
+
* ```typescript
|
|
72
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
73
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
74
|
+
*
|
|
75
|
+
* const example = digitalocean.getVectorDatabase({
|
|
76
|
+
* name: "example-vector-db",
|
|
77
|
+
* });
|
|
78
|
+
* export const vectorDbHttpEndpoint = example.then(example => example.endpoints?.[0]?.http);
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
81
|
+
* A vector database may also be looked up by its `id`:
|
|
82
|
+
*
|
|
83
|
+
* ```typescript
|
|
84
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
85
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
86
|
+
*
|
|
87
|
+
* const example = digitalocean.getVectorDatabase({
|
|
88
|
+
* id: "245bcfd0-7f31-4ce6-a2bc-475a116cca97",
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
function getVectorDatabaseOutput(args, opts) {
|
|
93
|
+
args = args || {};
|
|
94
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
95
|
+
return pulumi.runtime.invokeOutput("digitalocean:index/getVectorDatabase:getVectorDatabase", {
|
|
96
|
+
"id": args.id,
|
|
97
|
+
"name": args.name,
|
|
98
|
+
}, opts);
|
|
99
|
+
}
|
|
100
|
+
exports.getVectorDatabaseOutput = getVectorDatabaseOutput;
|
|
101
|
+
//# sourceMappingURL=getVectorDatabase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getVectorDatabase.js","sourceRoot":"","sources":["../getVectorDatabase.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,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,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC;AAiED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAAiC;IACzG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,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,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0DAOC"}
|
package/index.d.ts
CHANGED
|
@@ -322,6 +322,9 @@ export declare const getLoadBalancerOutput: typeof import("./getLoadBalancer").g
|
|
|
322
322
|
export { GetNfsArgs, GetNfsResult, GetNfsOutputArgs } from "./getNfs";
|
|
323
323
|
export declare const getNfs: typeof import("./getNfs").getNfs;
|
|
324
324
|
export declare const getNfsOutput: typeof import("./getNfs").getNfsOutput;
|
|
325
|
+
export { GetNfsAccessPointArgs, GetNfsAccessPointResult, GetNfsAccessPointOutputArgs } from "./getNfsAccessPoint";
|
|
326
|
+
export declare const getNfsAccessPoint: typeof import("./getNfsAccessPoint").getNfsAccessPoint;
|
|
327
|
+
export declare const getNfsAccessPointOutput: typeof import("./getNfsAccessPoint").getNfsAccessPointOutput;
|
|
325
328
|
export { GetNfsSnapshotArgs, GetNfsSnapshotResult, GetNfsSnapshotOutputArgs } from "./getNfsSnapshot";
|
|
326
329
|
export declare const getNfsSnapshot: typeof import("./getNfsSnapshot").getNfsSnapshot;
|
|
327
330
|
export declare const getNfsSnapshotOutput: typeof import("./getNfsSnapshot").getNfsSnapshotOutput;
|
|
@@ -385,6 +388,9 @@ export declare const getTagOutput: typeof import("./getTag").getTagOutput;
|
|
|
385
388
|
export { GetTagsArgs, GetTagsResult, GetTagsOutputArgs } from "./getTags";
|
|
386
389
|
export declare const getTags: typeof import("./getTags").getTags;
|
|
387
390
|
export declare const getTagsOutput: typeof import("./getTags").getTagsOutput;
|
|
391
|
+
export { GetVectorDatabaseArgs, GetVectorDatabaseResult, GetVectorDatabaseOutputArgs } from "./getVectorDatabase";
|
|
392
|
+
export declare const getVectorDatabase: typeof import("./getVectorDatabase").getVectorDatabase;
|
|
393
|
+
export declare const getVectorDatabaseOutput: typeof import("./getVectorDatabase").getVectorDatabaseOutput;
|
|
388
394
|
export { GetVolumeArgs, GetVolumeResult, GetVolumeOutputArgs } from "./getVolume";
|
|
389
395
|
export declare const getVolume: typeof import("./getVolume").getVolume;
|
|
390
396
|
export declare const getVolumeOutput: typeof import("./getVolume").getVolumeOutput;
|
|
@@ -442,6 +448,9 @@ export declare const MonitorAlert: typeof import("./monitorAlert").MonitorAlert;
|
|
|
442
448
|
export { NfsArgs, NfsState } from "./nfs";
|
|
443
449
|
export type Nfs = import("./nfs").Nfs;
|
|
444
450
|
export declare const Nfs: typeof import("./nfs").Nfs;
|
|
451
|
+
export { NfsAccessPointArgs, NfsAccessPointState } from "./nfsAccessPoint";
|
|
452
|
+
export type NfsAccessPoint = import("./nfsAccessPoint").NfsAccessPoint;
|
|
453
|
+
export declare const NfsAccessPoint: typeof import("./nfsAccessPoint").NfsAccessPoint;
|
|
445
454
|
export { NfsAttachmentArgs, NfsAttachmentState } from "./nfsAttachment";
|
|
446
455
|
export type NfsAttachment = import("./nfsAttachment").NfsAttachment;
|
|
447
456
|
export declare const NfsAttachment: typeof import("./nfsAttachment").NfsAttachment;
|
|
@@ -500,6 +509,9 @@ export declare const UptimeAlert: typeof import("./uptimeAlert").UptimeAlert;
|
|
|
500
509
|
export { UptimeCheckArgs, UptimeCheckState } from "./uptimeCheck";
|
|
501
510
|
export type UptimeCheck = import("./uptimeCheck").UptimeCheck;
|
|
502
511
|
export declare const UptimeCheck: typeof import("./uptimeCheck").UptimeCheck;
|
|
512
|
+
export { VectorDatabaseArgs, VectorDatabaseState } from "./vectorDatabase";
|
|
513
|
+
export type VectorDatabase = import("./vectorDatabase").VectorDatabase;
|
|
514
|
+
export declare const VectorDatabase: typeof import("./vectorDatabase").VectorDatabase;
|
|
503
515
|
export { VolumeArgs, VolumeState } from "./volume";
|
|
504
516
|
export type Volume = import("./volume").Volume;
|
|
505
517
|
export declare const Volume: typeof import("./volume").Volume;
|