@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
|
@@ -18,9 +18,9 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
19
|
* import * as linode from "@pulumi/linode";
|
|
20
20
|
*
|
|
21
|
-
* const
|
|
21
|
+
* const all-backups = linode.getDatabaseMysqlBackups({
|
|
22
22
|
* databaseId: 12345,
|
|
23
|
-
* })
|
|
23
|
+
* });
|
|
24
24
|
* ```
|
|
25
25
|
*
|
|
26
26
|
* Get information about all automatic MySQL Database Backups:
|
|
@@ -29,20 +29,17 @@ const utilities = require("./utilities");
|
|
|
29
29
|
* import * as pulumi from "@pulumi/pulumi";
|
|
30
30
|
* import * as linode from "@pulumi/linode";
|
|
31
31
|
*
|
|
32
|
-
* const
|
|
32
|
+
* const auto-backups = linode.getDatabaseMysqlBackups({
|
|
33
33
|
* databaseId: 12345,
|
|
34
34
|
* filters: [{
|
|
35
35
|
* name: "type",
|
|
36
36
|
* values: ["auto"],
|
|
37
37
|
* }],
|
|
38
|
-
* })
|
|
38
|
+
* });
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
41
|
function getDatabaseMysqlBackups(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/getDatabaseMysqlBackups:getDatabaseMysqlBackups", {
|
|
47
44
|
"databaseId": args.databaseId,
|
|
48
45
|
"filters": args.filters,
|
|
@@ -52,8 +49,41 @@ function getDatabaseMysqlBackups(args, opts) {
|
|
|
52
49
|
}, opts);
|
|
53
50
|
}
|
|
54
51
|
exports.getDatabaseMysqlBackups = getDatabaseMysqlBackups;
|
|
52
|
+
/**
|
|
53
|
+
* > **NOTICE:** This data source has been deprecated in favor of `linode.getDatabaseBackups`.
|
|
54
|
+
*
|
|
55
|
+
* Provides information about Linode MySQL Database Backups that match a set of filters.
|
|
56
|
+
*
|
|
57
|
+
* ## Example Usage
|
|
58
|
+
*
|
|
59
|
+
* Get information about all backups for a MySQL database:
|
|
60
|
+
*
|
|
61
|
+
* ```typescript
|
|
62
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
63
|
+
* import * as linode from "@pulumi/linode";
|
|
64
|
+
*
|
|
65
|
+
* const all-backups = linode.getDatabaseMysqlBackups({
|
|
66
|
+
* databaseId: 12345,
|
|
67
|
+
* });
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* Get information about all automatic MySQL 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.getDatabaseMysqlBackups({
|
|
77
|
+
* databaseId: 12345,
|
|
78
|
+
* filters: [{
|
|
79
|
+
* name: "type",
|
|
80
|
+
* values: ["auto"],
|
|
81
|
+
* }],
|
|
82
|
+
* });
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
55
85
|
function getDatabaseMysqlBackupsOutput(args, opts) {
|
|
56
|
-
return pulumi.output(args).apply(a => getDatabaseMysqlBackups(a, opts));
|
|
86
|
+
return pulumi.output(args).apply((a) => getDatabaseMysqlBackups(a, opts));
|
|
57
87
|
}
|
|
58
88
|
exports.getDatabaseMysqlBackupsOutput = getDatabaseMysqlBackupsOutput;
|
|
59
89
|
//# sourceMappingURL=getDatabaseMysqlBackups.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatabaseMysqlBackups.js","sourceRoot":"","sources":["../getDatabaseMysqlBackups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getDatabaseMysqlBackups.js","sourceRoot":"","sources":["../getDatabaseMysqlBackups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAElG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,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,0DAUC;AAwCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,uBAAuB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClF,CAAC;AAFD,sEAEC"}
|
|
@@ -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 PostgreSQL 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.getDatabasePostgresql({
|
|
15
15
|
* databaseId: 12345,
|
|
16
|
-
* })
|
|
16
|
+
* });
|
|
17
17
|
* ```
|
|
18
18
|
* ## updates
|
|
19
19
|
*
|
|
@@ -131,6 +131,35 @@ export interface GetDatabasePostgresqlResult {
|
|
|
131
131
|
*/
|
|
132
132
|
readonly version: string;
|
|
133
133
|
}
|
|
134
|
+
/**
|
|
135
|
+
* Provides information about a Linode PostgreSQL Database.
|
|
136
|
+
*
|
|
137
|
+
* ## Example Usage
|
|
138
|
+
*
|
|
139
|
+
* Get information about a PostgreSQL database:
|
|
140
|
+
*
|
|
141
|
+
* ```typescript
|
|
142
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
143
|
+
* import * as linode from "@pulumi/linode";
|
|
144
|
+
*
|
|
145
|
+
* const my-db = linode.getDatabasePostgresql({
|
|
146
|
+
* databaseId: 12345,
|
|
147
|
+
* });
|
|
148
|
+
* ```
|
|
149
|
+
* ## updates
|
|
150
|
+
*
|
|
151
|
+
* The following arguments are exported by the `updates` specification block:
|
|
152
|
+
*
|
|
153
|
+
* * `dayOfWeek` - The day to perform maintenance. (`monday`, `tuesday`, ...)
|
|
154
|
+
*
|
|
155
|
+
* * `duration` - The maximum maintenance window time in hours. (`1`..`3`)
|
|
156
|
+
*
|
|
157
|
+
* * `frequency` - Whether maintenance occurs on a weekly or monthly basis. (`weekly`, `monthly`)
|
|
158
|
+
*
|
|
159
|
+
* * `hourOfDay` - The hour to begin maintenance based in UTC time. (`0`..`23`)
|
|
160
|
+
*
|
|
161
|
+
* * `weekOfMonth` - The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
|
|
162
|
+
*/
|
|
134
163
|
export declare function getDatabasePostgresqlOutput(args: GetDatabasePostgresqlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabasePostgresqlResult>;
|
|
135
164
|
/**
|
|
136
165
|
* A collection of arguments for invoking getDatabasePostgresql.
|
package/getDatabasePostgresql.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.getDatabasePostgresql({
|
|
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 getDatabasePostgresql(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/getDatabasePostgresql:getDatabasePostgresql", {
|
|
43
40
|
"databaseId": args.databaseId,
|
|
44
41
|
}, opts);
|
|
45
42
|
}
|
|
46
43
|
exports.getDatabasePostgresql = getDatabasePostgresql;
|
|
44
|
+
/**
|
|
45
|
+
* Provides information about a Linode PostgreSQL Database.
|
|
46
|
+
*
|
|
47
|
+
* ## Example Usage
|
|
48
|
+
*
|
|
49
|
+
* Get information about a PostgreSQL database:
|
|
50
|
+
*
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as linode from "@pulumi/linode";
|
|
54
|
+
*
|
|
55
|
+
* const my-db = linode.getDatabasePostgresql({
|
|
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 getDatabasePostgresqlOutput(args, opts) {
|
|
48
|
-
return pulumi.output(args).apply(a => getDatabasePostgresql(a, opts));
|
|
74
|
+
return pulumi.output(args).apply((a) => getDatabasePostgresql(a, opts));
|
|
49
75
|
}
|
|
50
76
|
exports.getDatabasePostgresqlOutput = getDatabasePostgresqlOutput;
|
|
51
77
|
//# sourceMappingURL=getDatabasePostgresql.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatabasePostgresql.js","sourceRoot":"","sources":["../getDatabasePostgresql.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getDatabasePostgresql.js","sourceRoot":"","sources":["../getDatabasePostgresql.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAE9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AAwGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}
|
package/getDatabases.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 Databases that match a set of filters.
|
|
5
6
|
*
|
|
@@ -63,6 +64,36 @@ export interface GetDatabasesResult {
|
|
|
63
64
|
readonly order?: string;
|
|
64
65
|
readonly orderBy?: string;
|
|
65
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* Provides information about Linode Managed Databases that match a set of filters.
|
|
69
|
+
*
|
|
70
|
+
* ## Example Usage
|
|
71
|
+
*
|
|
72
|
+
* Get information about all Linode Managed Databases:
|
|
73
|
+
*
|
|
74
|
+
* ```typescript
|
|
75
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
76
|
+
* import * as linode from "@pulumi/linode";
|
|
77
|
+
*
|
|
78
|
+
* const all = linode.getDatabases({});
|
|
79
|
+
* export const databaseIds = [all.then(all => all.databases)].map(__item => __item?.id);
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* Get information about all Linode MySQL Databases:
|
|
83
|
+
*
|
|
84
|
+
* ```typescript
|
|
85
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
86
|
+
* import * as linode from "@pulumi/linode";
|
|
87
|
+
*
|
|
88
|
+
* const mysql = linode.getDatabases({
|
|
89
|
+
* filters: [{
|
|
90
|
+
* name: "engine",
|
|
91
|
+
* values: ["mysql"],
|
|
92
|
+
* }],
|
|
93
|
+
* });
|
|
94
|
+
* export const databaseIds = [mysql.then(mysql => mysql.databases)].map(__item => __item?.id);
|
|
95
|
+
* ```
|
|
96
|
+
*/
|
|
66
97
|
export declare function getDatabasesOutput(args?: GetDatabasesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabasesResult>;
|
|
67
98
|
/**
|
|
68
99
|
* A collection of arguments for invoking getDatabases.
|
package/getDatabases.js
CHANGED
|
@@ -37,10 +37,7 @@ const utilities = require("./utilities");
|
|
|
37
37
|
*/
|
|
38
38
|
function getDatabases(args, opts) {
|
|
39
39
|
args = args || {};
|
|
40
|
-
|
|
41
|
-
opts = {};
|
|
42
|
-
}
|
|
43
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
40
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
41
|
return pulumi.runtime.invoke("linode:index/getDatabases:getDatabases", {
|
|
45
42
|
"filters": args.filters,
|
|
46
43
|
"latest": args.latest,
|
|
@@ -49,8 +46,38 @@ function getDatabases(args, opts) {
|
|
|
49
46
|
}, opts);
|
|
50
47
|
}
|
|
51
48
|
exports.getDatabases = getDatabases;
|
|
49
|
+
/**
|
|
50
|
+
* Provides information about Linode Managed Databases that match a set of filters.
|
|
51
|
+
*
|
|
52
|
+
* ## Example Usage
|
|
53
|
+
*
|
|
54
|
+
* Get information about all Linode Managed Databases:
|
|
55
|
+
*
|
|
56
|
+
* ```typescript
|
|
57
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
+
* import * as linode from "@pulumi/linode";
|
|
59
|
+
*
|
|
60
|
+
* const all = linode.getDatabases({});
|
|
61
|
+
* export const databaseIds = [all.then(all => all.databases)].map(__item => __item?.id);
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* Get information about all Linode MySQL Databases:
|
|
65
|
+
*
|
|
66
|
+
* ```typescript
|
|
67
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
68
|
+
* import * as linode from "@pulumi/linode";
|
|
69
|
+
*
|
|
70
|
+
* const mysql = linode.getDatabases({
|
|
71
|
+
* filters: [{
|
|
72
|
+
* name: "engine",
|
|
73
|
+
* values: ["mysql"],
|
|
74
|
+
* }],
|
|
75
|
+
* });
|
|
76
|
+
* export const databaseIds = [mysql.then(mysql => mysql.databases)].map(__item => __item?.id);
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
52
79
|
function getDatabasesOutput(args, opts) {
|
|
53
|
-
return pulumi.output(args).apply(a => getDatabases(a, opts));
|
|
80
|
+
return pulumi.output(args).apply((a) => getDatabases(a, opts));
|
|
54
81
|
}
|
|
55
82
|
exports.getDatabasesOutput = getDatabasesOutput;
|
|
56
83
|
//# sourceMappingURL=getDatabases.js.map
|
package/getDatabases.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatabases.js","sourceRoot":"","sources":["../getDatabases.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getDatabases.js","sourceRoot":"","sources":["../getDatabases.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,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,wCAAwC,EAAE;QACnE,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,oCAUC;AAmCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
|
package/getDomain.d.ts
CHANGED
|
@@ -10,12 +10,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as linode from "@pulumi/linode";
|
|
12
12
|
*
|
|
13
|
-
* const foo =
|
|
13
|
+
* const foo = linode.getDomain({
|
|
14
14
|
* id: "1234567",
|
|
15
|
-
* })
|
|
16
|
-
* const bar =
|
|
15
|
+
* });
|
|
16
|
+
* const bar = linode.getDomain({
|
|
17
17
|
* domain: "bar.example.com",
|
|
18
|
-
* })
|
|
18
|
+
* });
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
21
21
|
export declare function getDomain(args?: GetDomainArgs, opts?: pulumi.InvokeOptions): Promise<GetDomainResult>;
|
|
@@ -93,6 +93,25 @@ export interface GetDomainResult {
|
|
|
93
93
|
*/
|
|
94
94
|
readonly type: string;
|
|
95
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* Provides information about a Linode domain.
|
|
98
|
+
*
|
|
99
|
+
* ## Example Usage
|
|
100
|
+
*
|
|
101
|
+
* The following example shows how one might use this data source to access information about a Linode domain.
|
|
102
|
+
*
|
|
103
|
+
* ```typescript
|
|
104
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
105
|
+
* import * as linode from "@pulumi/linode";
|
|
106
|
+
*
|
|
107
|
+
* const foo = linode.getDomain({
|
|
108
|
+
* id: "1234567",
|
|
109
|
+
* });
|
|
110
|
+
* const bar = linode.getDomain({
|
|
111
|
+
* domain: "bar.example.com",
|
|
112
|
+
* });
|
|
113
|
+
* ```
|
|
114
|
+
*/
|
|
96
115
|
export declare function getDomainOutput(args?: GetDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDomainResult>;
|
|
97
116
|
/**
|
|
98
117
|
* A collection of arguments for invoking getDomain.
|
package/getDomain.js
CHANGED
|
@@ -16,28 +16,44 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as linode from "@pulumi/linode";
|
|
18
18
|
*
|
|
19
|
-
* const foo =
|
|
19
|
+
* const foo = linode.getDomain({
|
|
20
20
|
* id: "1234567",
|
|
21
|
-
* })
|
|
22
|
-
* const bar =
|
|
21
|
+
* });
|
|
22
|
+
* const bar = linode.getDomain({
|
|
23
23
|
* domain: "bar.example.com",
|
|
24
|
-
* })
|
|
24
|
+
* });
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
27
|
function getDomain(args, opts) {
|
|
28
28
|
args = args || {};
|
|
29
|
-
|
|
30
|
-
opts = {};
|
|
31
|
-
}
|
|
32
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
29
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
33
30
|
return pulumi.runtime.invoke("linode:index/getDomain:getDomain", {
|
|
34
31
|
"domain": args.domain,
|
|
35
32
|
"id": args.id,
|
|
36
33
|
}, opts);
|
|
37
34
|
}
|
|
38
35
|
exports.getDomain = getDomain;
|
|
36
|
+
/**
|
|
37
|
+
* Provides information about a Linode domain.
|
|
38
|
+
*
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* The following example shows how one might use this data source to access information about a Linode domain.
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as linode from "@pulumi/linode";
|
|
46
|
+
*
|
|
47
|
+
* const foo = linode.getDomain({
|
|
48
|
+
* id: "1234567",
|
|
49
|
+
* });
|
|
50
|
+
* const bar = linode.getDomain({
|
|
51
|
+
* domain: "bar.example.com",
|
|
52
|
+
* });
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
39
55
|
function getDomainOutput(args, opts) {
|
|
40
|
-
return pulumi.output(args).apply(a => getDomain(a, opts));
|
|
56
|
+
return pulumi.output(args).apply((a) => getDomain(a, opts));
|
|
41
57
|
}
|
|
42
58
|
exports.getDomainOutput = getDomainOutput;
|
|
43
59
|
//# sourceMappingURL=getDomain.js.map
|
package/getDomain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDomain.js","sourceRoot":"","sources":["../getDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"getDomain.js","sourceRoot":"","sources":["../getDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,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,kCAAkC,EAAE;QAC7D,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8BAQC;AA6ED;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
|
package/getDomainRecord.d.ts
CHANGED
|
@@ -10,14 +10,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as linode from "@pulumi/linode";
|
|
12
12
|
*
|
|
13
|
-
* const myRecord =
|
|
13
|
+
* const myRecord = linode.getDomainRecord({
|
|
14
14
|
* domainId: 3150401,
|
|
15
15
|
* id: 14950401,
|
|
16
|
-
* })
|
|
17
|
-
* const myWwwRecord =
|
|
16
|
+
* });
|
|
17
|
+
* const myWwwRecord = linode.getDomainRecord({
|
|
18
18
|
* domainId: 3150401,
|
|
19
19
|
* name: "www",
|
|
20
|
-
* })
|
|
20
|
+
* });
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
23
23
|
export declare function getDomainRecord(args: GetDomainRecordArgs, opts?: pulumi.InvokeOptions): Promise<GetDomainRecordResult>;
|
|
@@ -91,6 +91,27 @@ export interface GetDomainRecordResult {
|
|
|
91
91
|
*/
|
|
92
92
|
readonly weight: number;
|
|
93
93
|
}
|
|
94
|
+
/**
|
|
95
|
+
* Provides information about a Linode Domain Record.
|
|
96
|
+
*
|
|
97
|
+
* ## Example Usage
|
|
98
|
+
*
|
|
99
|
+
* The following example shows how one might use this data source to access information about a Linode Domain Record.
|
|
100
|
+
*
|
|
101
|
+
* ```typescript
|
|
102
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
103
|
+
* import * as linode from "@pulumi/linode";
|
|
104
|
+
*
|
|
105
|
+
* const myRecord = linode.getDomainRecord({
|
|
106
|
+
* domainId: 3150401,
|
|
107
|
+
* id: 14950401,
|
|
108
|
+
* });
|
|
109
|
+
* const myWwwRecord = linode.getDomainRecord({
|
|
110
|
+
* domainId: 3150401,
|
|
111
|
+
* name: "www",
|
|
112
|
+
* });
|
|
113
|
+
* ```
|
|
114
|
+
*/
|
|
94
115
|
export declare function getDomainRecordOutput(args: GetDomainRecordOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDomainRecordResult>;
|
|
95
116
|
/**
|
|
96
117
|
* A collection of arguments for invoking getDomainRecord.
|
package/getDomainRecord.js
CHANGED
|
@@ -16,21 +16,18 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as linode from "@pulumi/linode";
|
|
18
18
|
*
|
|
19
|
-
* const myRecord =
|
|
19
|
+
* const myRecord = linode.getDomainRecord({
|
|
20
20
|
* domainId: 3150401,
|
|
21
21
|
* id: 14950401,
|
|
22
|
-
* })
|
|
23
|
-
* const myWwwRecord =
|
|
22
|
+
* });
|
|
23
|
+
* const myWwwRecord = linode.getDomainRecord({
|
|
24
24
|
* domainId: 3150401,
|
|
25
25
|
* name: "www",
|
|
26
|
-
* })
|
|
26
|
+
* });
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
29
|
function getDomainRecord(args, opts) {
|
|
30
|
-
|
|
31
|
-
opts = {};
|
|
32
|
-
}
|
|
33
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
30
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
34
31
|
return pulumi.runtime.invoke("linode:index/getDomainRecord:getDomainRecord", {
|
|
35
32
|
"domainId": args.domainId,
|
|
36
33
|
"id": args.id,
|
|
@@ -38,8 +35,29 @@ function getDomainRecord(args, opts) {
|
|
|
38
35
|
}, opts);
|
|
39
36
|
}
|
|
40
37
|
exports.getDomainRecord = getDomainRecord;
|
|
38
|
+
/**
|
|
39
|
+
* Provides information about a Linode Domain Record.
|
|
40
|
+
*
|
|
41
|
+
* ## Example Usage
|
|
42
|
+
*
|
|
43
|
+
* The following example shows how one might use this data source to access information about a Linode Domain Record.
|
|
44
|
+
*
|
|
45
|
+
* ```typescript
|
|
46
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
47
|
+
* import * as linode from "@pulumi/linode";
|
|
48
|
+
*
|
|
49
|
+
* const myRecord = linode.getDomainRecord({
|
|
50
|
+
* domainId: 3150401,
|
|
51
|
+
* id: 14950401,
|
|
52
|
+
* });
|
|
53
|
+
* const myWwwRecord = linode.getDomainRecord({
|
|
54
|
+
* domainId: 3150401,
|
|
55
|
+
* name: "www",
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
41
59
|
function getDomainRecordOutput(args, opts) {
|
|
42
|
-
return pulumi.output(args).apply(a => getDomainRecord(a, opts));
|
|
60
|
+
return pulumi.output(args).apply((a) => getDomainRecord(a, opts));
|
|
43
61
|
}
|
|
44
62
|
exports.getDomainRecordOutput = getDomainRecordOutput;
|
|
45
63
|
//# sourceMappingURL=getDomainRecord.js.map
|
package/getDomainRecord.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDomainRecord.js","sourceRoot":"","sources":["../getDomainRecord.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getDomainRecord.js","sourceRoot":"","sources":["../getDomainRecord.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;AAyED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
|
package/getDomainZonefile.d.ts
CHANGED
|
@@ -10,9 +10,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as linode from "@pulumi/linode";
|
|
12
12
|
*
|
|
13
|
-
* const myZonefile =
|
|
13
|
+
* const myZonefile = linode.getDomainZonefile({
|
|
14
14
|
* domainId: 3150401,
|
|
15
|
-
* })
|
|
15
|
+
* });
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
18
|
export declare function getDomainZonefile(args: GetDomainZonefileArgs, opts?: pulumi.InvokeOptions): Promise<GetDomainZonefileResult>;
|
|
@@ -46,6 +46,22 @@ export interface GetDomainZonefileResult {
|
|
|
46
46
|
*/
|
|
47
47
|
readonly zoneFiles?: string[];
|
|
48
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* Provides information about a Linode Domain Zonefile.
|
|
51
|
+
*
|
|
52
|
+
* ## Example Usage
|
|
53
|
+
*
|
|
54
|
+
* The following example shows how one might use this data source to access information about a Linode Domain Zonefile.
|
|
55
|
+
*
|
|
56
|
+
* ```typescript
|
|
57
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
+
* import * as linode from "@pulumi/linode";
|
|
59
|
+
*
|
|
60
|
+
* const myZonefile = linode.getDomainZonefile({
|
|
61
|
+
* domainId: 3150401,
|
|
62
|
+
* });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
49
65
|
export declare function getDomainZonefileOutput(args: GetDomainZonefileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDomainZonefileResult>;
|
|
50
66
|
/**
|
|
51
67
|
* A collection of arguments for invoking getDomainZonefile.
|
package/getDomainZonefile.js
CHANGED
|
@@ -16,24 +16,37 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as linode from "@pulumi/linode";
|
|
18
18
|
*
|
|
19
|
-
* const myZonefile =
|
|
19
|
+
* const myZonefile = linode.getDomainZonefile({
|
|
20
20
|
* domainId: 3150401,
|
|
21
|
-
* })
|
|
21
|
+
* });
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
24
|
function getDomainZonefile(args, opts) {
|
|
25
|
-
|
|
26
|
-
opts = {};
|
|
27
|
-
}
|
|
28
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
29
26
|
return pulumi.runtime.invoke("linode:index/getDomainZonefile:getDomainZonefile", {
|
|
30
27
|
"domainId": args.domainId,
|
|
31
28
|
"zoneFiles": args.zoneFiles,
|
|
32
29
|
}, opts);
|
|
33
30
|
}
|
|
34
31
|
exports.getDomainZonefile = getDomainZonefile;
|
|
32
|
+
/**
|
|
33
|
+
* Provides information about a Linode Domain Zonefile.
|
|
34
|
+
*
|
|
35
|
+
* ## Example Usage
|
|
36
|
+
*
|
|
37
|
+
* The following example shows how one might use this data source to access information about a Linode Domain Zonefile.
|
|
38
|
+
*
|
|
39
|
+
* ```typescript
|
|
40
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
+
* import * as linode from "@pulumi/linode";
|
|
42
|
+
*
|
|
43
|
+
* const myZonefile = linode.getDomainZonefile({
|
|
44
|
+
* domainId: 3150401,
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
35
48
|
function getDomainZonefileOutput(args, opts) {
|
|
36
|
-
return pulumi.output(args).apply(a => getDomainZonefile(a, opts));
|
|
49
|
+
return pulumi.output(args).apply((a) => getDomainZonefile(a, opts));
|
|
37
50
|
}
|
|
38
51
|
exports.getDomainZonefileOutput = getDomainZonefileOutput;
|
|
39
52
|
//# sourceMappingURL=getDomainZonefile.js.map
|
package/getDomainZonefile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDomainZonefile.js","sourceRoot":"","sources":["../getDomainZonefile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getDomainZonefile.js","sourceRoot":"","sources":["../getDomainZonefile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC;AAiCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
|
package/getFirewall.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 details about a Linode Firewall.
|
|
5
5
|
*
|
|
@@ -9,9 +9,9 @@ import { output as outputs } from "./types";
|
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
10
|
* import * as linode from "@pulumi/linode";
|
|
11
11
|
*
|
|
12
|
-
* const
|
|
12
|
+
* const my-firewall = linode.getFirewall({
|
|
13
13
|
* id: 123,
|
|
14
|
-
* })
|
|
14
|
+
* });
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
17
|
export declare function getFirewall(args: GetFirewallArgs, opts?: pulumi.InvokeOptions): Promise<GetFirewallResult>;
|
|
@@ -64,6 +64,20 @@ export interface GetFirewallResult {
|
|
|
64
64
|
*/
|
|
65
65
|
readonly tags: string[];
|
|
66
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* Provides details about a Linode Firewall.
|
|
69
|
+
*
|
|
70
|
+
* ## Example Usage
|
|
71
|
+
*
|
|
72
|
+
* ```typescript
|
|
73
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
74
|
+
* import * as linode from "@pulumi/linode";
|
|
75
|
+
*
|
|
76
|
+
* const my-firewall = linode.getFirewall({
|
|
77
|
+
* id: 123,
|
|
78
|
+
* });
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
67
81
|
export declare function getFirewallOutput(args: GetFirewallOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFirewallResult>;
|
|
68
82
|
/**
|
|
69
83
|
* A collection of arguments for invoking getFirewall.
|