@pulumi/linode 3.12.0-alpha.1675870919 → 3.12.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/config/vars.d.ts +4 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/databaseMongodb.d.ts +2 -1
- package/databaseMongodb.js +2 -0
- package/databaseMongodb.js.map +1 -1
- package/databaseMysql.d.ts +2 -1
- package/databaseMysql.js +2 -0
- package/databaseMysql.js.map +1 -1
- package/databasePostgresql.d.ts +2 -1
- package/databasePostgresql.js +2 -0
- package/databasePostgresql.js.map +1 -1
- package/firewall.d.ts +5 -4
- package/firewall.js.map +1 -1
- package/getAccount.d.ts +1 -1
- package/getAccount.js +2 -5
- package/getAccount.js.map +1 -1
- package/getAccountLogin.d.ts +78 -0
- package/getAccountLogin.js +51 -0
- package/getAccountLogin.js.map +1 -0
- package/getAccountLogins.d.ts +94 -0
- package/getAccountLogins.js +86 -0
- package/getAccountLogins.js.map +1 -0
- package/getDatabaseBackups.d.ts +39 -5
- package/getDatabaseBackups.js +39 -9
- package/getDatabaseBackups.js.map +1 -1
- package/getDatabaseEngines.d.ts +54 -2
- package/getDatabaseEngines.js +54 -6
- package/getDatabaseEngines.js.map +1 -1
- package/getDatabaseMongodb.d.ts +32 -3
- package/getDatabaseMongodb.js +33 -7
- package/getDatabaseMongodb.js.map +1 -1
- package/getDatabaseMysql.d.ts +32 -3
- package/getDatabaseMysql.js +33 -7
- package/getDatabaseMysql.js.map +1 -1
- package/getDatabaseMysqlBackups.d.ts +39 -5
- package/getDatabaseMysqlBackups.js +39 -9
- package/getDatabaseMysqlBackups.js.map +1 -1
- package/getDatabasePostgresql.d.ts +32 -3
- package/getDatabasePostgresql.js +33 -7
- package/getDatabasePostgresql.js.map +1 -1
- package/getDatabases.d.ts +32 -1
- package/getDatabases.js +32 -5
- package/getDatabases.js.map +1 -1
- package/getDomain.d.ts +23 -4
- package/getDomain.js +25 -9
- package/getDomain.js.map +1 -1
- package/getDomainRecord.d.ts +25 -4
- package/getDomainRecord.js +27 -9
- package/getDomainRecord.js.map +1 -1
- package/getDomainZonefile.d.ts +18 -2
- package/getDomainZonefile.js +20 -7
- package/getDomainZonefile.js.map +1 -1
- package/getFirewall.d.ts +17 -3
- package/getFirewall.js +18 -7
- package/getFirewall.js.map +1 -1
- package/getImage.d.ts +18 -2
- package/getImage.js +20 -7
- package/getImage.js.map +1 -1
- package/getImages.d.ts +58 -2
- package/getImages.js +58 -6
- package/getImages.js.map +1 -1
- package/getInstanceBackups.d.ts +4 -12
- package/getInstanceBackups.js +5 -16
- package/getInstanceBackups.js.map +1 -1
- package/getInstanceNetworking.d.ts +43 -0
- package/getInstanceNetworking.js +25 -0
- package/getInstanceNetworking.js.map +1 -0
- package/getInstanceType.d.ts +19 -3
- package/getInstanceType.js +20 -7
- package/getInstanceType.js.map +1 -1
- package/getInstanceTypes.d.ts +49 -1
- package/getInstanceTypes.js +49 -5
- package/getInstanceTypes.js.map +1 -1
- package/getInstances.d.ts +61 -2
- package/getInstances.js +61 -6
- package/getInstances.js.map +1 -1
- package/getIpv6Range.d.ts +18 -2
- package/getIpv6Range.js +20 -7
- package/getIpv6Range.js.map +1 -1
- package/getKernel.d.ts +18 -2
- package/getKernel.js +20 -7
- package/getKernel.js.map +1 -1
- package/getLkeCluster.d.ts +17 -3
- package/getLkeCluster.js +18 -7
- package/getLkeCluster.js.map +1 -1
- package/getLkeVersions.d.ts +27 -0
- package/getLkeVersions.js +27 -0
- package/getLkeVersions.js.map +1 -0
- package/getNetworkingIp.d.ts +18 -2
- package/getNetworkingIp.js +20 -7
- package/getNetworkingIp.js.map +1 -1
- package/getNodeBalancer.d.ts +17 -3
- package/getNodeBalancer.js +18 -7
- package/getNodeBalancer.js.map +1 -1
- package/getNodeBalancerConfig.d.ts +18 -3
- package/getNodeBalancerConfig.js +19 -7
- package/getNodeBalancerConfig.js.map +1 -1
- package/getNodeBalancerNode.d.ts +18 -2
- package/getNodeBalancerNode.js +20 -7
- package/getNodeBalancerNode.js.map +1 -1
- package/getObjectStorageCluster.d.ts +18 -2
- package/getObjectStorageCluster.js +20 -7
- package/getObjectStorageCluster.js.map +1 -1
- package/getProfile.d.ts +2 -2
- package/getProfile.js +2 -5
- package/getProfile.js.map +1 -1
- package/getRegion.d.ts +18 -2
- package/getRegion.js +20 -7
- package/getRegion.js.map +1 -1
- package/getSshKey.d.ts +18 -2
- package/getSshKey.js +20 -7
- package/getSshKey.js.map +1 -1
- package/getStackScript.d.ts +20 -3
- package/getStackScript.js +20 -7
- package/getStackScript.js.map +1 -1
- package/getStackScripts.d.ts +50 -2
- package/getStackScripts.js +50 -6
- package/getStackScripts.js.map +1 -1
- package/getUser.d.ts +120 -2
- package/getUser.js +28 -7
- package/getUser.js.map +1 -1
- package/getVlans.d.ts +37 -2
- package/getVlans.js +37 -6
- package/getVlans.js.map +1 -1
- package/getVolume.d.ts +18 -2
- package/getVolume.js +20 -7
- package/getVolume.js.map +1 -1
- package/index.d.ts +195 -62
- package/index.js +198 -135
- package/index.js.map +1 -1
- package/instance.d.ts +22 -13
- package/instance.js +6 -2
- package/instance.js.map +1 -1
- package/instanceDisk.js +4 -2
- package/instanceDisk.js.map +1 -1
- package/instanceIp.d.ts +1 -1
- package/instanceIp.js +1 -1
- package/lkeCluster.d.ts +2 -1
- package/lkeCluster.js +2 -0
- package/lkeCluster.js.map +1 -1
- package/nodeBalancer.d.ts +2 -1
- package/nodeBalancer.js.map +1 -1
- package/nodeBalancerConfig.d.ts +2 -1
- package/nodeBalancerConfig.js +4 -2
- package/nodeBalancerConfig.js.map +1 -1
- package/nodeBalancerNode.d.ts +2 -2
- package/nodeBalancerNode.js +2 -2
- package/objectStorageBucket.d.ts +5 -4
- package/objectStorageBucket.js.map +1 -1
- package/objectStorageKey.d.ts +3 -4
- package/objectStorageKey.js +3 -3
- package/objectStorageKey.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/provider.d.ts +4 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/stackScript.d.ts +2 -1
- package/stackScript.js.map +1 -1
- package/token.d.ts +2 -2
- package/token.js +4 -2
- package/token.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +122 -25
- package/types/output.d.ts +331 -15
- package/user.d.ts +4 -1
- package/user.js +2 -0
- package/user.js.map +1 -1
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
package/getDatabaseBackups.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
5
|
* Provides information about Linode Database Backups that match a set of filters.
|
|
5
6
|
*
|
|
@@ -11,10 +12,10 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
11
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
13
|
* import * as linode from "@pulumi/linode";
|
|
13
14
|
*
|
|
14
|
-
* const
|
|
15
|
+
* const all-backups = linode.getDatabaseBackups({
|
|
15
16
|
* databaseId: 12345,
|
|
16
17
|
* databaseType: "mysql",
|
|
17
|
-
* })
|
|
18
|
+
* });
|
|
18
19
|
* ```
|
|
19
20
|
*
|
|
20
21
|
* Get information about all automatic MongoDB Database Backups:
|
|
@@ -23,14 +24,14 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
23
24
|
* import * as pulumi from "@pulumi/pulumi";
|
|
24
25
|
* import * as linode from "@pulumi/linode";
|
|
25
26
|
*
|
|
26
|
-
* const
|
|
27
|
+
* const auto-backups = linode.getDatabaseBackups({
|
|
27
28
|
* databaseId: 12345,
|
|
28
29
|
* databaseType: "mongodb",
|
|
29
30
|
* filters: [{
|
|
30
31
|
* name: "type",
|
|
31
32
|
* values: ["auto"],
|
|
32
33
|
* }],
|
|
33
|
-
* })
|
|
34
|
+
* });
|
|
34
35
|
* ```
|
|
35
36
|
*/
|
|
36
37
|
export declare function getDatabaseBackups(args: GetDatabaseBackupsArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseBackupsResult>;
|
|
@@ -76,6 +77,39 @@ export interface GetDatabaseBackupsResult {
|
|
|
76
77
|
readonly order?: string;
|
|
77
78
|
readonly orderBy?: string;
|
|
78
79
|
}
|
|
80
|
+
/**
|
|
81
|
+
* Provides information about Linode Database Backups that match a set of filters.
|
|
82
|
+
*
|
|
83
|
+
* ## Example Usage
|
|
84
|
+
*
|
|
85
|
+
* Get information about all backups for a MySQL database:
|
|
86
|
+
*
|
|
87
|
+
* ```typescript
|
|
88
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
89
|
+
* import * as linode from "@pulumi/linode";
|
|
90
|
+
*
|
|
91
|
+
* const all-backups = linode.getDatabaseBackups({
|
|
92
|
+
* databaseId: 12345,
|
|
93
|
+
* databaseType: "mysql",
|
|
94
|
+
* });
|
|
95
|
+
* ```
|
|
96
|
+
*
|
|
97
|
+
* Get information about all automatic MongoDB Database Backups:
|
|
98
|
+
*
|
|
99
|
+
* ```typescript
|
|
100
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
101
|
+
* import * as linode from "@pulumi/linode";
|
|
102
|
+
*
|
|
103
|
+
* const auto-backups = linode.getDatabaseBackups({
|
|
104
|
+
* databaseId: 12345,
|
|
105
|
+
* databaseType: "mongodb",
|
|
106
|
+
* filters: [{
|
|
107
|
+
* name: "type",
|
|
108
|
+
* values: ["auto"],
|
|
109
|
+
* }],
|
|
110
|
+
* });
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
79
113
|
export declare function getDatabaseBackupsOutput(args: GetDatabaseBackupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabaseBackupsResult>;
|
|
80
114
|
/**
|
|
81
115
|
* A collection of arguments for invoking getDatabaseBackups.
|
package/getDatabaseBackups.js
CHANGED
|
@@ -16,10 +16,10 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as linode from "@pulumi/linode";
|
|
18
18
|
*
|
|
19
|
-
* const
|
|
19
|
+
* const all-backups = linode.getDatabaseBackups({
|
|
20
20
|
* databaseId: 12345,
|
|
21
21
|
* databaseType: "mysql",
|
|
22
|
-
* })
|
|
22
|
+
* });
|
|
23
23
|
* ```
|
|
24
24
|
*
|
|
25
25
|
* Get information about all automatic MongoDB Database Backups:
|
|
@@ -28,21 +28,18 @@ const utilities = require("./utilities");
|
|
|
28
28
|
* import * as pulumi from "@pulumi/pulumi";
|
|
29
29
|
* import * as linode from "@pulumi/linode";
|
|
30
30
|
*
|
|
31
|
-
* const
|
|
31
|
+
* const auto-backups = linode.getDatabaseBackups({
|
|
32
32
|
* databaseId: 12345,
|
|
33
33
|
* databaseType: "mongodb",
|
|
34
34
|
* filters: [{
|
|
35
35
|
* name: "type",
|
|
36
36
|
* values: ["auto"],
|
|
37
37
|
* }],
|
|
38
|
-
* })
|
|
38
|
+
* });
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
41
|
function getDatabaseBackups(args, opts) {
|
|
42
|
-
|
|
43
|
-
opts = {};
|
|
44
|
-
}
|
|
45
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
42
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
43
|
return pulumi.runtime.invoke("linode:index/getDatabaseBackups:getDatabaseBackups", {
|
|
47
44
|
"databaseId": args.databaseId,
|
|
48
45
|
"databaseType": args.databaseType,
|
|
@@ -53,8 +50,41 @@ function getDatabaseBackups(args, opts) {
|
|
|
53
50
|
}, opts);
|
|
54
51
|
}
|
|
55
52
|
exports.getDatabaseBackups = getDatabaseBackups;
|
|
53
|
+
/**
|
|
54
|
+
* Provides information about Linode Database Backups that match a set of filters.
|
|
55
|
+
*
|
|
56
|
+
* ## Example Usage
|
|
57
|
+
*
|
|
58
|
+
* Get information about all backups for a MySQL database:
|
|
59
|
+
*
|
|
60
|
+
* ```typescript
|
|
61
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
+
* import * as linode from "@pulumi/linode";
|
|
63
|
+
*
|
|
64
|
+
* const all-backups = linode.getDatabaseBackups({
|
|
65
|
+
* databaseId: 12345,
|
|
66
|
+
* databaseType: "mysql",
|
|
67
|
+
* });
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* Get information about all automatic MongoDB Database Backups:
|
|
71
|
+
*
|
|
72
|
+
* ```typescript
|
|
73
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
74
|
+
* import * as linode from "@pulumi/linode";
|
|
75
|
+
*
|
|
76
|
+
* const auto-backups = linode.getDatabaseBackups({
|
|
77
|
+
* databaseId: 12345,
|
|
78
|
+
* databaseType: "mongodb",
|
|
79
|
+
* filters: [{
|
|
80
|
+
* name: "type",
|
|
81
|
+
* values: ["auto"],
|
|
82
|
+
* }],
|
|
83
|
+
* });
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
56
86
|
function getDatabaseBackupsOutput(args, opts) {
|
|
57
|
-
return pulumi.output(args).apply(a => getDatabaseBackups(a, opts));
|
|
87
|
+
return pulumi.output(args).apply((a) => getDatabaseBackups(a, opts));
|
|
58
88
|
}
|
|
59
89
|
exports.getDatabaseBackupsOutput = getDatabaseBackupsOutput;
|
|
60
90
|
//# sourceMappingURL=getDatabaseBackups.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatabaseBackups.js","sourceRoot":"","sources":["../getDatabaseBackups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getDatabaseBackups.js","sourceRoot":"","sources":["../getDatabaseBackups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gDAWC;AA6CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
|
package/getDatabaseEngines.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
5
|
* Provides information about Linode Managed Database engines that match a set of filters.
|
|
5
6
|
*
|
|
@@ -45,7 +46,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
45
46
|
* });
|
|
46
47
|
* const myDb = new linode.DatabaseMysql("myDb", {
|
|
47
48
|
* label: "mydb",
|
|
48
|
-
* engineId: mysql.then(mysql => mysql.engines
|
|
49
|
+
* engineId: mysql.then(mysql => mysql.engines?.[0]?.id),
|
|
49
50
|
* region: "us-southeast",
|
|
50
51
|
* type: "g6-nanode-1",
|
|
51
52
|
* });
|
|
@@ -84,6 +85,57 @@ export interface GetDatabaseEnginesResult {
|
|
|
84
85
|
readonly order?: string;
|
|
85
86
|
readonly orderBy?: string;
|
|
86
87
|
}
|
|
88
|
+
/**
|
|
89
|
+
* Provides information about Linode Managed Database engines that match a set of filters.
|
|
90
|
+
*
|
|
91
|
+
* ## Example Usage
|
|
92
|
+
*
|
|
93
|
+
* Get information about all Linode Managed Database engines:
|
|
94
|
+
*
|
|
95
|
+
* ```typescript
|
|
96
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
97
|
+
* import * as linode from "@pulumi/linode";
|
|
98
|
+
*
|
|
99
|
+
* const all = linode.getDatabaseEngines({});
|
|
100
|
+
* export const engineIds = [all.then(all => all.engines)].map(__item => __item?.id);
|
|
101
|
+
* ```
|
|
102
|
+
*
|
|
103
|
+
* Get information about all Linode MySQL Database engines:
|
|
104
|
+
*
|
|
105
|
+
* ```typescript
|
|
106
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
107
|
+
* import * as linode from "@pulumi/linode";
|
|
108
|
+
*
|
|
109
|
+
* const mysql = linode.getDatabaseEngines({
|
|
110
|
+
* filters: [{
|
|
111
|
+
* name: "engine",
|
|
112
|
+
* values: ["mysql"],
|
|
113
|
+
* }],
|
|
114
|
+
* });
|
|
115
|
+
* export const engineIds = [mysql.then(mysql => mysql.engines)].map(__item => __item?.id);
|
|
116
|
+
* ```
|
|
117
|
+
*
|
|
118
|
+
* Create a Linode MySQL Database using the latest support MySQL version:
|
|
119
|
+
*
|
|
120
|
+
* ```typescript
|
|
121
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
122
|
+
* import * as linode from "@pulumi/linode";
|
|
123
|
+
*
|
|
124
|
+
* const mysql = linode.getDatabaseEngines({
|
|
125
|
+
* latest: true,
|
|
126
|
+
* filters: [{
|
|
127
|
+
* name: "engine",
|
|
128
|
+
* values: ["mysql"],
|
|
129
|
+
* }],
|
|
130
|
+
* });
|
|
131
|
+
* const myDb = new linode.DatabaseMysql("myDb", {
|
|
132
|
+
* label: "mydb",
|
|
133
|
+
* engineId: mysql.then(mysql => mysql.engines?.[0]?.id),
|
|
134
|
+
* region: "us-southeast",
|
|
135
|
+
* type: "g6-nanode-1",
|
|
136
|
+
* });
|
|
137
|
+
* ```
|
|
138
|
+
*/
|
|
87
139
|
export declare function getDatabaseEnginesOutput(args?: GetDatabaseEnginesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabaseEnginesResult>;
|
|
88
140
|
/**
|
|
89
141
|
* A collection of arguments for invoking getDatabaseEngines.
|
package/getDatabaseEngines.js
CHANGED
|
@@ -50,7 +50,7 @@ const utilities = require("./utilities");
|
|
|
50
50
|
* });
|
|
51
51
|
* const myDb = new linode.DatabaseMysql("myDb", {
|
|
52
52
|
* label: "mydb",
|
|
53
|
-
* engineId: mysql.then(mysql => mysql.engines
|
|
53
|
+
* engineId: mysql.then(mysql => mysql.engines?.[0]?.id),
|
|
54
54
|
* region: "us-southeast",
|
|
55
55
|
* type: "g6-nanode-1",
|
|
56
56
|
* });
|
|
@@ -58,10 +58,7 @@ const utilities = require("./utilities");
|
|
|
58
58
|
*/
|
|
59
59
|
function getDatabaseEngines(args, opts) {
|
|
60
60
|
args = args || {};
|
|
61
|
-
|
|
62
|
-
opts = {};
|
|
63
|
-
}
|
|
64
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
61
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
65
62
|
return pulumi.runtime.invoke("linode:index/getDatabaseEngines:getDatabaseEngines", {
|
|
66
63
|
"filters": args.filters,
|
|
67
64
|
"latest": args.latest,
|
|
@@ -70,8 +67,59 @@ function getDatabaseEngines(args, opts) {
|
|
|
70
67
|
}, opts);
|
|
71
68
|
}
|
|
72
69
|
exports.getDatabaseEngines = getDatabaseEngines;
|
|
70
|
+
/**
|
|
71
|
+
* Provides information about Linode Managed Database engines that match a set of filters.
|
|
72
|
+
*
|
|
73
|
+
* ## Example Usage
|
|
74
|
+
*
|
|
75
|
+
* Get information about all Linode Managed Database engines:
|
|
76
|
+
*
|
|
77
|
+
* ```typescript
|
|
78
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
79
|
+
* import * as linode from "@pulumi/linode";
|
|
80
|
+
*
|
|
81
|
+
* const all = linode.getDatabaseEngines({});
|
|
82
|
+
* export const engineIds = [all.then(all => all.engines)].map(__item => __item?.id);
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
85
|
+
* Get information about all Linode MySQL Database engines:
|
|
86
|
+
*
|
|
87
|
+
* ```typescript
|
|
88
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
89
|
+
* import * as linode from "@pulumi/linode";
|
|
90
|
+
*
|
|
91
|
+
* const mysql = linode.getDatabaseEngines({
|
|
92
|
+
* filters: [{
|
|
93
|
+
* name: "engine",
|
|
94
|
+
* values: ["mysql"],
|
|
95
|
+
* }],
|
|
96
|
+
* });
|
|
97
|
+
* export const engineIds = [mysql.then(mysql => mysql.engines)].map(__item => __item?.id);
|
|
98
|
+
* ```
|
|
99
|
+
*
|
|
100
|
+
* Create a Linode MySQL Database using the latest support MySQL version:
|
|
101
|
+
*
|
|
102
|
+
* ```typescript
|
|
103
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
104
|
+
* import * as linode from "@pulumi/linode";
|
|
105
|
+
*
|
|
106
|
+
* const mysql = linode.getDatabaseEngines({
|
|
107
|
+
* latest: true,
|
|
108
|
+
* filters: [{
|
|
109
|
+
* name: "engine",
|
|
110
|
+
* values: ["mysql"],
|
|
111
|
+
* }],
|
|
112
|
+
* });
|
|
113
|
+
* const myDb = new linode.DatabaseMysql("myDb", {
|
|
114
|
+
* label: "mydb",
|
|
115
|
+
* engineId: mysql.then(mysql => mysql.engines?.[0]?.id),
|
|
116
|
+
* region: "us-southeast",
|
|
117
|
+
* type: "g6-nanode-1",
|
|
118
|
+
* });
|
|
119
|
+
* ```
|
|
120
|
+
*/
|
|
73
121
|
function getDatabaseEnginesOutput(args, opts) {
|
|
74
|
-
return pulumi.output(args).apply(a => getDatabaseEngines(a, opts));
|
|
122
|
+
return pulumi.output(args).apply((a) => getDatabaseEngines(a, opts));
|
|
75
123
|
}
|
|
76
124
|
exports.getDatabaseEnginesOutput = getDatabaseEnginesOutput;
|
|
77
125
|
//# sourceMappingURL=getDatabaseEngines.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatabaseEngines.js","sourceRoot":"","sources":["../getDatabaseEngines.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getDatabaseEngines.js","sourceRoot":"","sources":["../getDatabaseEngines.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gDAUC;AAmCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
|
package/getDatabaseMongodb.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* Provides information about a Linode MongoDB Database.
|
|
5
5
|
*
|
|
@@ -11,9 +11,9 @@ import { output as outputs } from "./types";
|
|
|
11
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
12
|
* import * as linode from "@pulumi/linode";
|
|
13
13
|
*
|
|
14
|
-
* const
|
|
14
|
+
* const my-db = linode.getDatabaseMongodb({
|
|
15
15
|
* databaseId: 12345,
|
|
16
|
-
* })
|
|
16
|
+
* });
|
|
17
17
|
* ```
|
|
18
18
|
* ## updates
|
|
19
19
|
*
|
|
@@ -142,6 +142,35 @@ export interface GetDatabaseMongodbResult {
|
|
|
142
142
|
*/
|
|
143
143
|
readonly version: string;
|
|
144
144
|
}
|
|
145
|
+
/**
|
|
146
|
+
* Provides information about a Linode MongoDB Database.
|
|
147
|
+
*
|
|
148
|
+
* ## Example Usage
|
|
149
|
+
*
|
|
150
|
+
* Get information about a MongoDB database:
|
|
151
|
+
*
|
|
152
|
+
* ```typescript
|
|
153
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
154
|
+
* import * as linode from "@pulumi/linode";
|
|
155
|
+
*
|
|
156
|
+
* const my-db = linode.getDatabaseMongodb({
|
|
157
|
+
* databaseId: 12345,
|
|
158
|
+
* });
|
|
159
|
+
* ```
|
|
160
|
+
* ## updates
|
|
161
|
+
*
|
|
162
|
+
* The following arguments are exported by the `updates` specification block:
|
|
163
|
+
*
|
|
164
|
+
* * `dayOfWeek` - The day to perform maintenance. (`monday`, `tuesday`, ...)
|
|
165
|
+
*
|
|
166
|
+
* * `duration` - The maximum maintenance window time in hours. (`1`..`3`)
|
|
167
|
+
*
|
|
168
|
+
* * `frequency` - Whether maintenance occurs on a weekly or monthly basis. (`weekly`, `monthly`)
|
|
169
|
+
*
|
|
170
|
+
* * `hourOfDay` - The hour to begin maintenance based in UTC time. (`0`..`23`)
|
|
171
|
+
*
|
|
172
|
+
* * `weekOfMonth` - The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
|
|
173
|
+
*/
|
|
145
174
|
export declare function getDatabaseMongodbOutput(args: GetDatabaseMongodbOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabaseMongodbResult>;
|
|
146
175
|
/**
|
|
147
176
|
* A collection of arguments for invoking getDatabaseMongodb.
|
package/getDatabaseMongodb.js
CHANGED
|
@@ -16,9 +16,9 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as linode from "@pulumi/linode";
|
|
18
18
|
*
|
|
19
|
-
* const
|
|
19
|
+
* const my-db = linode.getDatabaseMongodb({
|
|
20
20
|
* databaseId: 12345,
|
|
21
|
-
* })
|
|
21
|
+
* });
|
|
22
22
|
* ```
|
|
23
23
|
* ## updates
|
|
24
24
|
*
|
|
@@ -35,17 +35,43 @@ const utilities = require("./utilities");
|
|
|
35
35
|
* * `weekOfMonth` - The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
|
|
36
36
|
*/
|
|
37
37
|
function getDatabaseMongodb(args, opts) {
|
|
38
|
-
|
|
39
|
-
opts = {};
|
|
40
|
-
}
|
|
41
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
38
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
42
39
|
return pulumi.runtime.invoke("linode:index/getDatabaseMongodb:getDatabaseMongodb", {
|
|
43
40
|
"databaseId": args.databaseId,
|
|
44
41
|
}, opts);
|
|
45
42
|
}
|
|
46
43
|
exports.getDatabaseMongodb = getDatabaseMongodb;
|
|
44
|
+
/**
|
|
45
|
+
* Provides information about a Linode MongoDB Database.
|
|
46
|
+
*
|
|
47
|
+
* ## Example Usage
|
|
48
|
+
*
|
|
49
|
+
* Get information about a MongoDB database:
|
|
50
|
+
*
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as linode from "@pulumi/linode";
|
|
54
|
+
*
|
|
55
|
+
* const my-db = linode.getDatabaseMongodb({
|
|
56
|
+
* databaseId: 12345,
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
59
|
+
* ## updates
|
|
60
|
+
*
|
|
61
|
+
* The following arguments are exported by the `updates` specification block:
|
|
62
|
+
*
|
|
63
|
+
* * `dayOfWeek` - The day to perform maintenance. (`monday`, `tuesday`, ...)
|
|
64
|
+
*
|
|
65
|
+
* * `duration` - The maximum maintenance window time in hours. (`1`..`3`)
|
|
66
|
+
*
|
|
67
|
+
* * `frequency` - Whether maintenance occurs on a weekly or monthly basis. (`weekly`, `monthly`)
|
|
68
|
+
*
|
|
69
|
+
* * `hourOfDay` - The hour to begin maintenance based in UTC time. (`0`..`23`)
|
|
70
|
+
*
|
|
71
|
+
* * `weekOfMonth` - The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
|
|
72
|
+
*/
|
|
47
73
|
function getDatabaseMongodbOutput(args, opts) {
|
|
48
|
-
return pulumi.output(args).apply(a => getDatabaseMongodb(a, opts));
|
|
74
|
+
return pulumi.output(args).apply((a) => getDatabaseMongodb(a, opts));
|
|
49
75
|
}
|
|
50
76
|
exports.getDatabaseMongodbOutput = getDatabaseMongodbOutput;
|
|
51
77
|
//# sourceMappingURL=getDatabaseMongodb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatabaseMongodb.js","sourceRoot":"","sources":["../getDatabaseMongodb.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getDatabaseMongodb.js","sourceRoot":"","sources":["../getDatabaseMongodb.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gDAMC;AAmHD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
|
package/getDatabaseMysql.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* Provides information about a Linode MySQL Database.
|
|
5
5
|
*
|
|
@@ -11,9 +11,9 @@ import { output as outputs } from "./types";
|
|
|
11
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
12
|
* import * as linode from "@pulumi/linode";
|
|
13
13
|
*
|
|
14
|
-
* const
|
|
14
|
+
* const my-db = linode.getDatabaseMysql({
|
|
15
15
|
* databaseId: 12345,
|
|
16
|
-
* })
|
|
16
|
+
* });
|
|
17
17
|
* ```
|
|
18
18
|
* ## updates
|
|
19
19
|
*
|
|
@@ -126,6 +126,35 @@ export interface GetDatabaseMysqlResult {
|
|
|
126
126
|
*/
|
|
127
127
|
readonly version: string;
|
|
128
128
|
}
|
|
129
|
+
/**
|
|
130
|
+
* Provides information about a Linode MySQL Database.
|
|
131
|
+
*
|
|
132
|
+
* ## Example Usage
|
|
133
|
+
*
|
|
134
|
+
* Get information about a MySQL database:
|
|
135
|
+
*
|
|
136
|
+
* ```typescript
|
|
137
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
138
|
+
* import * as linode from "@pulumi/linode";
|
|
139
|
+
*
|
|
140
|
+
* const my-db = linode.getDatabaseMysql({
|
|
141
|
+
* databaseId: 12345,
|
|
142
|
+
* });
|
|
143
|
+
* ```
|
|
144
|
+
* ## updates
|
|
145
|
+
*
|
|
146
|
+
* The following arguments are exported by the `updates` specification block:
|
|
147
|
+
*
|
|
148
|
+
* * `dayOfWeek` - The day to perform maintenance. (`monday`, `tuesday`, ...)
|
|
149
|
+
*
|
|
150
|
+
* * `duration` - The maximum maintenance window time in hours. (`1`..`3`)
|
|
151
|
+
*
|
|
152
|
+
* * `frequency` - Whether maintenance occurs on a weekly or monthly basis. (`weekly`, `monthly`)
|
|
153
|
+
*
|
|
154
|
+
* * `hourOfDay` - The hour to begin maintenance based in UTC time. (`0`..`23`)
|
|
155
|
+
*
|
|
156
|
+
* * `weekOfMonth` - The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
|
|
157
|
+
*/
|
|
129
158
|
export declare function getDatabaseMysqlOutput(args: GetDatabaseMysqlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabaseMysqlResult>;
|
|
130
159
|
/**
|
|
131
160
|
* A collection of arguments for invoking getDatabaseMysql.
|
package/getDatabaseMysql.js
CHANGED
|
@@ -16,9 +16,9 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as linode from "@pulumi/linode";
|
|
18
18
|
*
|
|
19
|
-
* const
|
|
19
|
+
* const my-db = linode.getDatabaseMysql({
|
|
20
20
|
* databaseId: 12345,
|
|
21
|
-
* })
|
|
21
|
+
* });
|
|
22
22
|
* ```
|
|
23
23
|
* ## updates
|
|
24
24
|
*
|
|
@@ -35,17 +35,43 @@ const utilities = require("./utilities");
|
|
|
35
35
|
* * `weekOfMonth` - The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
|
|
36
36
|
*/
|
|
37
37
|
function getDatabaseMysql(args, opts) {
|
|
38
|
-
|
|
39
|
-
opts = {};
|
|
40
|
-
}
|
|
41
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
38
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
42
39
|
return pulumi.runtime.invoke("linode:index/getDatabaseMysql:getDatabaseMysql", {
|
|
43
40
|
"databaseId": args.databaseId,
|
|
44
41
|
}, opts);
|
|
45
42
|
}
|
|
46
43
|
exports.getDatabaseMysql = getDatabaseMysql;
|
|
44
|
+
/**
|
|
45
|
+
* Provides information about a Linode MySQL Database.
|
|
46
|
+
*
|
|
47
|
+
* ## Example Usage
|
|
48
|
+
*
|
|
49
|
+
* Get information about a MySQL database:
|
|
50
|
+
*
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as linode from "@pulumi/linode";
|
|
54
|
+
*
|
|
55
|
+
* const my-db = linode.getDatabaseMysql({
|
|
56
|
+
* databaseId: 12345,
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
59
|
+
* ## updates
|
|
60
|
+
*
|
|
61
|
+
* The following arguments are exported by the `updates` specification block:
|
|
62
|
+
*
|
|
63
|
+
* * `dayOfWeek` - The day to perform maintenance. (`monday`, `tuesday`, ...)
|
|
64
|
+
*
|
|
65
|
+
* * `duration` - The maximum maintenance window time in hours. (`1`..`3`)
|
|
66
|
+
*
|
|
67
|
+
* * `frequency` - Whether maintenance occurs on a weekly or monthly basis. (`weekly`, `monthly`)
|
|
68
|
+
*
|
|
69
|
+
* * `hourOfDay` - The hour to begin maintenance based in UTC time. (`0`..`23`)
|
|
70
|
+
*
|
|
71
|
+
* * `weekOfMonth` - The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
|
|
72
|
+
*/
|
|
47
73
|
function getDatabaseMysqlOutput(args, opts) {
|
|
48
|
-
return pulumi.output(args).apply(a => getDatabaseMysql(a, opts));
|
|
74
|
+
return pulumi.output(args).apply((a) => getDatabaseMysql(a, opts));
|
|
49
75
|
}
|
|
50
76
|
exports.getDatabaseMysqlOutput = getDatabaseMysqlOutput;
|
|
51
77
|
//# sourceMappingURL=getDatabaseMysql.js.map
|
package/getDatabaseMysql.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatabaseMysql.js","sourceRoot":"","sources":["../getDatabaseMysql.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getDatabaseMysql.js","sourceRoot":"","sources":["../getDatabaseMysql.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC;AAmGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
5
|
* > **NOTICE:** This data source has been deprecated in favor of `linode.getDatabaseBackups`.
|
|
5
6
|
*
|
|
@@ -13,9 +14,9 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
13
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
15
|
* import * as linode from "@pulumi/linode";
|
|
15
16
|
*
|
|
16
|
-
* const
|
|
17
|
+
* const all-backups = linode.getDatabaseMysqlBackups({
|
|
17
18
|
* databaseId: 12345,
|
|
18
|
-
* })
|
|
19
|
+
* });
|
|
19
20
|
* ```
|
|
20
21
|
*
|
|
21
22
|
* Get information about all automatic MySQL Database Backups:
|
|
@@ -24,13 +25,13 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
24
25
|
* import * as pulumi from "@pulumi/pulumi";
|
|
25
26
|
* import * as linode from "@pulumi/linode";
|
|
26
27
|
*
|
|
27
|
-
* const
|
|
28
|
+
* const auto-backups = linode.getDatabaseMysqlBackups({
|
|
28
29
|
* databaseId: 12345,
|
|
29
30
|
* filters: [{
|
|
30
31
|
* name: "type",
|
|
31
32
|
* values: ["auto"],
|
|
32
33
|
* }],
|
|
33
|
-
* })
|
|
34
|
+
* });
|
|
34
35
|
* ```
|
|
35
36
|
*/
|
|
36
37
|
export declare function getDatabaseMysqlBackups(args: GetDatabaseMysqlBackupsArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseMysqlBackupsResult>;
|
|
@@ -71,6 +72,39 @@ export interface GetDatabaseMysqlBackupsResult {
|
|
|
71
72
|
readonly order?: string;
|
|
72
73
|
readonly orderBy?: string;
|
|
73
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* > **NOTICE:** This data source has been deprecated in favor of `linode.getDatabaseBackups`.
|
|
77
|
+
*
|
|
78
|
+
* Provides information about Linode MySQL Database Backups that match a set of filters.
|
|
79
|
+
*
|
|
80
|
+
* ## Example Usage
|
|
81
|
+
*
|
|
82
|
+
* Get information about all backups for a MySQL database:
|
|
83
|
+
*
|
|
84
|
+
* ```typescript
|
|
85
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
86
|
+
* import * as linode from "@pulumi/linode";
|
|
87
|
+
*
|
|
88
|
+
* const all-backups = linode.getDatabaseMysqlBackups({
|
|
89
|
+
* databaseId: 12345,
|
|
90
|
+
* });
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
93
|
+
* Get information about all automatic MySQL Database Backups:
|
|
94
|
+
*
|
|
95
|
+
* ```typescript
|
|
96
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
97
|
+
* import * as linode from "@pulumi/linode";
|
|
98
|
+
*
|
|
99
|
+
* const auto-backups = linode.getDatabaseMysqlBackups({
|
|
100
|
+
* databaseId: 12345,
|
|
101
|
+
* filters: [{
|
|
102
|
+
* name: "type",
|
|
103
|
+
* values: ["auto"],
|
|
104
|
+
* }],
|
|
105
|
+
* });
|
|
106
|
+
* ```
|
|
107
|
+
*/
|
|
74
108
|
export declare function getDatabaseMysqlBackupsOutput(args: GetDatabaseMysqlBackupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabaseMysqlBackupsResult>;
|
|
75
109
|
/**
|
|
76
110
|
* A collection of arguments for invoking getDatabaseMysqlBackups.
|