@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/getStackScript.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 myStackscript =
|
|
19
|
+
* const myStackscript = linode.getStackScript({
|
|
20
20
|
* id: 355872,
|
|
21
|
-
* })
|
|
21
|
+
* });
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
24
|
function getStackScript(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/getStackScript:getStackScript", {
|
|
30
27
|
"id": args.id,
|
|
31
28
|
"userDefinedFields": args.userDefinedFields,
|
|
32
29
|
}, opts);
|
|
33
30
|
}
|
|
34
31
|
exports.getStackScript = getStackScript;
|
|
32
|
+
/**
|
|
33
|
+
* Provides details about a specific Linode StackScript.
|
|
34
|
+
*
|
|
35
|
+
* ## Example Usage
|
|
36
|
+
*
|
|
37
|
+
* The following example shows how one might use this data source to access information about a Linode StackScript.
|
|
38
|
+
*
|
|
39
|
+
* ```typescript
|
|
40
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
+
* import * as linode from "@pulumi/linode";
|
|
42
|
+
*
|
|
43
|
+
* const myStackscript = linode.getStackScript({
|
|
44
|
+
* id: 355872,
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
35
48
|
function getStackScriptOutput(args, opts) {
|
|
36
|
-
return pulumi.output(args).apply(a => getStackScript(a, opts));
|
|
49
|
+
return pulumi.output(args).apply((a) => getStackScript(a, opts));
|
|
37
50
|
}
|
|
38
51
|
exports.getStackScriptOutput = getStackScriptOutput;
|
|
39
52
|
//# sourceMappingURL=getStackScript.js.map
|
package/getStackScript.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getStackScript.js","sourceRoot":"","sources":["../getStackScript.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getStackScript.js","sourceRoot":"","sources":["../getStackScript.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wCAOC;AA0ED;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
package/getStackScripts.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 StackScripts that match a set of filters.
|
|
5
6
|
*
|
|
@@ -25,7 +26,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
25
26
|
* },
|
|
26
27
|
* ],
|
|
27
28
|
* });
|
|
28
|
-
* export const stackscriptId = specific_stackscripts.then(specific_stackscripts => specific_stackscripts.stackscripts
|
|
29
|
+
* export const stackscriptId = specific_stackscripts.then(specific_stackscripts => specific_stackscripts.stackscripts?.[0]?.id);
|
|
29
30
|
* ```
|
|
30
31
|
* ## Filterable Fields
|
|
31
32
|
*
|
|
@@ -80,6 +81,53 @@ export interface GetStackScriptsResult {
|
|
|
80
81
|
readonly orderBy?: string;
|
|
81
82
|
readonly stackscripts: outputs.GetStackScriptsStackscript[];
|
|
82
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* Provides information about Linode StackScripts that match a set of filters.
|
|
86
|
+
*
|
|
87
|
+
* **NOTICE:** Due to the large number of public StackScripts, this data source may time out if `isPublic` is not filtered on.
|
|
88
|
+
*
|
|
89
|
+
* ## Example Usage
|
|
90
|
+
*
|
|
91
|
+
* The following example shows how one might use this data source to access information about a Linode StackScript.
|
|
92
|
+
*
|
|
93
|
+
* ```typescript
|
|
94
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
95
|
+
* import * as linode from "@pulumi/linode";
|
|
96
|
+
*
|
|
97
|
+
* const specific-stackscripts = linode.getStackScripts({
|
|
98
|
+
* filters: [
|
|
99
|
+
* {
|
|
100
|
+
* name: "label",
|
|
101
|
+
* values: ["my-cool-stackscript"],
|
|
102
|
+
* },
|
|
103
|
+
* {
|
|
104
|
+
* name: "is_public",
|
|
105
|
+
* values: ["false"],
|
|
106
|
+
* },
|
|
107
|
+
* ],
|
|
108
|
+
* });
|
|
109
|
+
* export const stackscriptId = specific_stackscripts.then(specific_stackscripts => specific_stackscripts.stackscripts?.[0]?.id);
|
|
110
|
+
* ```
|
|
111
|
+
* ## Filterable Fields
|
|
112
|
+
*
|
|
113
|
+
* * `deploymentsActive`
|
|
114
|
+
*
|
|
115
|
+
* * `deploymentsTotal`
|
|
116
|
+
*
|
|
117
|
+
* * `description`
|
|
118
|
+
*
|
|
119
|
+
* * `images`
|
|
120
|
+
*
|
|
121
|
+
* * `isPublic`
|
|
122
|
+
*
|
|
123
|
+
* * `label`
|
|
124
|
+
*
|
|
125
|
+
* * `mine`
|
|
126
|
+
*
|
|
127
|
+
* * `revNote`
|
|
128
|
+
*
|
|
129
|
+
* * `username`
|
|
130
|
+
*/
|
|
83
131
|
export declare function getStackScriptsOutput(args?: GetStackScriptsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetStackScriptsResult>;
|
|
84
132
|
/**
|
|
85
133
|
* A collection of arguments for invoking getStackScripts.
|
package/getStackScripts.js
CHANGED
|
@@ -30,7 +30,7 @@ const utilities = require("./utilities");
|
|
|
30
30
|
* },
|
|
31
31
|
* ],
|
|
32
32
|
* });
|
|
33
|
-
* export const stackscriptId = specific_stackscripts.then(specific_stackscripts => specific_stackscripts.stackscripts
|
|
33
|
+
* export const stackscriptId = specific_stackscripts.then(specific_stackscripts => specific_stackscripts.stackscripts?.[0]?.id);
|
|
34
34
|
* ```
|
|
35
35
|
* ## Filterable Fields
|
|
36
36
|
*
|
|
@@ -54,10 +54,7 @@ const utilities = require("./utilities");
|
|
|
54
54
|
*/
|
|
55
55
|
function getStackScripts(args, opts) {
|
|
56
56
|
args = args || {};
|
|
57
|
-
|
|
58
|
-
opts = {};
|
|
59
|
-
}
|
|
60
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
57
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
61
58
|
return pulumi.runtime.invoke("linode:index/getStackScripts:getStackScripts", {
|
|
62
59
|
"filters": args.filters,
|
|
63
60
|
"latest": args.latest,
|
|
@@ -66,8 +63,55 @@ function getStackScripts(args, opts) {
|
|
|
66
63
|
}, opts);
|
|
67
64
|
}
|
|
68
65
|
exports.getStackScripts = getStackScripts;
|
|
66
|
+
/**
|
|
67
|
+
* Provides information about Linode StackScripts that match a set of filters.
|
|
68
|
+
*
|
|
69
|
+
* **NOTICE:** Due to the large number of public StackScripts, this data source may time out if `isPublic` is not filtered on.
|
|
70
|
+
*
|
|
71
|
+
* ## Example Usage
|
|
72
|
+
*
|
|
73
|
+
* The following example shows how one might use this data source to access information about a Linode StackScript.
|
|
74
|
+
*
|
|
75
|
+
* ```typescript
|
|
76
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
77
|
+
* import * as linode from "@pulumi/linode";
|
|
78
|
+
*
|
|
79
|
+
* const specific-stackscripts = linode.getStackScripts({
|
|
80
|
+
* filters: [
|
|
81
|
+
* {
|
|
82
|
+
* name: "label",
|
|
83
|
+
* values: ["my-cool-stackscript"],
|
|
84
|
+
* },
|
|
85
|
+
* {
|
|
86
|
+
* name: "is_public",
|
|
87
|
+
* values: ["false"],
|
|
88
|
+
* },
|
|
89
|
+
* ],
|
|
90
|
+
* });
|
|
91
|
+
* export const stackscriptId = specific_stackscripts.then(specific_stackscripts => specific_stackscripts.stackscripts?.[0]?.id);
|
|
92
|
+
* ```
|
|
93
|
+
* ## Filterable Fields
|
|
94
|
+
*
|
|
95
|
+
* * `deploymentsActive`
|
|
96
|
+
*
|
|
97
|
+
* * `deploymentsTotal`
|
|
98
|
+
*
|
|
99
|
+
* * `description`
|
|
100
|
+
*
|
|
101
|
+
* * `images`
|
|
102
|
+
*
|
|
103
|
+
* * `isPublic`
|
|
104
|
+
*
|
|
105
|
+
* * `label`
|
|
106
|
+
*
|
|
107
|
+
* * `mine`
|
|
108
|
+
*
|
|
109
|
+
* * `revNote`
|
|
110
|
+
*
|
|
111
|
+
* * `username`
|
|
112
|
+
*/
|
|
69
113
|
function getStackScriptsOutput(args, opts) {
|
|
70
|
-
return pulumi.output(args).apply(a => getStackScripts(a, opts));
|
|
114
|
+
return pulumi.output(args).apply((a) => getStackScripts(a, opts));
|
|
71
115
|
}
|
|
72
116
|
exports.getStackScriptsOutput = getStackScriptsOutput;
|
|
73
117
|
//# sourceMappingURL=getStackScripts.js.map
|
package/getStackScripts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getStackScripts.js","sourceRoot":"","sources":["../getStackScripts.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getStackScripts.js","sourceRoot":"","sources":["../getStackScripts.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,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,8CAA8C,EAAE;QACzE,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,0CAUC;AAmCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,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/getUser.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
2
4
|
/**
|
|
3
5
|
* Provides information about a Linode user
|
|
4
6
|
*
|
|
@@ -10,9 +12,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
13
|
* import * as linode from "@pulumi/linode";
|
|
12
14
|
*
|
|
13
|
-
* const foo =
|
|
15
|
+
* const foo = linode.getUser({
|
|
14
16
|
* username: "foo",
|
|
15
|
-
* })
|
|
17
|
+
* });
|
|
16
18
|
* ```
|
|
17
19
|
*/
|
|
18
20
|
export declare function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise<GetUserResult>;
|
|
@@ -20,23 +22,83 @@ export declare function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions):
|
|
|
20
22
|
* A collection of arguments for invoking getUser.
|
|
21
23
|
*/
|
|
22
24
|
export interface GetUserArgs {
|
|
25
|
+
/**
|
|
26
|
+
* The grants this User has pertaining to Domains on this Account.
|
|
27
|
+
*/
|
|
28
|
+
domainGrants?: inputs.GetUserDomainGrant[];
|
|
29
|
+
/**
|
|
30
|
+
* The grants this User has pertaining to Firewalls on this Account.
|
|
31
|
+
*/
|
|
32
|
+
firewallGrants?: inputs.GetUserFirewallGrant[];
|
|
33
|
+
/**
|
|
34
|
+
* The grants this User has pertaining to Images on this Account.
|
|
35
|
+
*/
|
|
36
|
+
imageGrants?: inputs.GetUserImageGrant[];
|
|
37
|
+
/**
|
|
38
|
+
* The grants this User has pertaining to Linodes on this Account.
|
|
39
|
+
*/
|
|
40
|
+
linodeGrants?: inputs.GetUserLinodeGrant[];
|
|
41
|
+
/**
|
|
42
|
+
* The grants this User has pertaining to Longview Clients on this Account.
|
|
43
|
+
*/
|
|
44
|
+
longviewGrants?: inputs.GetUserLongviewGrant[];
|
|
45
|
+
/**
|
|
46
|
+
* The grants this User has pertaining to NodeBalancers on this Account.
|
|
47
|
+
*/
|
|
48
|
+
nodebalancerGrants?: inputs.GetUserNodebalancerGrant[];
|
|
49
|
+
/**
|
|
50
|
+
* The grants this User has pertaining to StackScripts on this Account.
|
|
51
|
+
*/
|
|
52
|
+
stackscriptGrants?: inputs.GetUserStackscriptGrant[];
|
|
23
53
|
/**
|
|
24
54
|
* The unique username of this User.
|
|
25
55
|
*/
|
|
26
56
|
username: string;
|
|
57
|
+
/**
|
|
58
|
+
* The grants this User has pertaining to Volumes on this Account.
|
|
59
|
+
*/
|
|
60
|
+
volumeGrants?: inputs.GetUserVolumeGrant[];
|
|
27
61
|
}
|
|
28
62
|
/**
|
|
29
63
|
* A collection of values returned by getUser.
|
|
30
64
|
*/
|
|
31
65
|
export interface GetUserResult {
|
|
66
|
+
/**
|
|
67
|
+
* The grants this User has pertaining to Domains on this Account.
|
|
68
|
+
*/
|
|
69
|
+
readonly domainGrants: outputs.GetUserDomainGrant[];
|
|
32
70
|
/**
|
|
33
71
|
* The email address for this User, for account management communications, and may be used for other communications as configured.
|
|
34
72
|
*/
|
|
35
73
|
readonly email: string;
|
|
74
|
+
/**
|
|
75
|
+
* The grants this User has pertaining to Firewalls on this Account.
|
|
76
|
+
*/
|
|
77
|
+
readonly firewallGrants: outputs.GetUserFirewallGrant[];
|
|
78
|
+
/**
|
|
79
|
+
* The Account-level grants a User has.
|
|
80
|
+
*/
|
|
81
|
+
readonly globalGrants: outputs.GetUserGlobalGrant[];
|
|
36
82
|
/**
|
|
37
83
|
* The provider-assigned unique ID for this managed resource.
|
|
38
84
|
*/
|
|
39
85
|
readonly id: string;
|
|
86
|
+
/**
|
|
87
|
+
* The grants this User has pertaining to Images on this Account.
|
|
88
|
+
*/
|
|
89
|
+
readonly imageGrants: outputs.GetUserImageGrant[];
|
|
90
|
+
/**
|
|
91
|
+
* The grants this User has pertaining to Linodes on this Account.
|
|
92
|
+
*/
|
|
93
|
+
readonly linodeGrants: outputs.GetUserLinodeGrant[];
|
|
94
|
+
/**
|
|
95
|
+
* The grants this User has pertaining to Longview Clients on this Account.
|
|
96
|
+
*/
|
|
97
|
+
readonly longviewGrants: outputs.GetUserLongviewGrant[];
|
|
98
|
+
/**
|
|
99
|
+
* The grants this User has pertaining to NodeBalancers on this Account.
|
|
100
|
+
*/
|
|
101
|
+
readonly nodebalancerGrants: outputs.GetUserNodebalancerGrant[];
|
|
40
102
|
/**
|
|
41
103
|
* If true, this User must be granted access to perform actions or access entities on this Account.
|
|
42
104
|
*/
|
|
@@ -45,15 +107,71 @@ export interface GetUserResult {
|
|
|
45
107
|
* A list of SSH Key labels added by this User. These are the keys that will be deployed if this User is included in the authorizedUsers field of a create Linode, rebuild Linode, or create Disk request.
|
|
46
108
|
*/
|
|
47
109
|
readonly sshKeys: string[];
|
|
110
|
+
/**
|
|
111
|
+
* The grants this User has pertaining to StackScripts on this Account.
|
|
112
|
+
*/
|
|
113
|
+
readonly stackscriptGrants: outputs.GetUserStackscriptGrant[];
|
|
48
114
|
readonly username: string;
|
|
115
|
+
/**
|
|
116
|
+
* The grants this User has pertaining to Volumes on this Account.
|
|
117
|
+
*/
|
|
118
|
+
readonly volumeGrants: outputs.GetUserVolumeGrant[];
|
|
49
119
|
}
|
|
120
|
+
/**
|
|
121
|
+
* Provides information about a Linode user
|
|
122
|
+
*
|
|
123
|
+
* ## Example Usage
|
|
124
|
+
*
|
|
125
|
+
* The following example shows how one might use this data source to access information about a Linode user.
|
|
126
|
+
*
|
|
127
|
+
* ```typescript
|
|
128
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
129
|
+
* import * as linode from "@pulumi/linode";
|
|
130
|
+
*
|
|
131
|
+
* const foo = linode.getUser({
|
|
132
|
+
* username: "foo",
|
|
133
|
+
* });
|
|
134
|
+
* ```
|
|
135
|
+
*/
|
|
50
136
|
export declare function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserResult>;
|
|
51
137
|
/**
|
|
52
138
|
* A collection of arguments for invoking getUser.
|
|
53
139
|
*/
|
|
54
140
|
export interface GetUserOutputArgs {
|
|
141
|
+
/**
|
|
142
|
+
* The grants this User has pertaining to Domains on this Account.
|
|
143
|
+
*/
|
|
144
|
+
domainGrants?: pulumi.Input<pulumi.Input<inputs.GetUserDomainGrantArgs>[]>;
|
|
145
|
+
/**
|
|
146
|
+
* The grants this User has pertaining to Firewalls on this Account.
|
|
147
|
+
*/
|
|
148
|
+
firewallGrants?: pulumi.Input<pulumi.Input<inputs.GetUserFirewallGrantArgs>[]>;
|
|
149
|
+
/**
|
|
150
|
+
* The grants this User has pertaining to Images on this Account.
|
|
151
|
+
*/
|
|
152
|
+
imageGrants?: pulumi.Input<pulumi.Input<inputs.GetUserImageGrantArgs>[]>;
|
|
153
|
+
/**
|
|
154
|
+
* The grants this User has pertaining to Linodes on this Account.
|
|
155
|
+
*/
|
|
156
|
+
linodeGrants?: pulumi.Input<pulumi.Input<inputs.GetUserLinodeGrantArgs>[]>;
|
|
157
|
+
/**
|
|
158
|
+
* The grants this User has pertaining to Longview Clients on this Account.
|
|
159
|
+
*/
|
|
160
|
+
longviewGrants?: pulumi.Input<pulumi.Input<inputs.GetUserLongviewGrantArgs>[]>;
|
|
161
|
+
/**
|
|
162
|
+
* The grants this User has pertaining to NodeBalancers on this Account.
|
|
163
|
+
*/
|
|
164
|
+
nodebalancerGrants?: pulumi.Input<pulumi.Input<inputs.GetUserNodebalancerGrantArgs>[]>;
|
|
165
|
+
/**
|
|
166
|
+
* The grants this User has pertaining to StackScripts on this Account.
|
|
167
|
+
*/
|
|
168
|
+
stackscriptGrants?: pulumi.Input<pulumi.Input<inputs.GetUserStackscriptGrantArgs>[]>;
|
|
55
169
|
/**
|
|
56
170
|
* The unique username of this User.
|
|
57
171
|
*/
|
|
58
172
|
username: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* The grants this User has pertaining to Volumes on this Account.
|
|
175
|
+
*/
|
|
176
|
+
volumeGrants?: pulumi.Input<pulumi.Input<inputs.GetUserVolumeGrantArgs>[]>;
|
|
59
177
|
}
|
package/getUser.js
CHANGED
|
@@ -16,23 +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.getUser({
|
|
20
20
|
* username: "foo",
|
|
21
|
-
* })
|
|
21
|
+
* });
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
24
|
function getUser(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/getUser:getUser", {
|
|
27
|
+
"domainGrants": args.domainGrants,
|
|
28
|
+
"firewallGrants": args.firewallGrants,
|
|
29
|
+
"imageGrants": args.imageGrants,
|
|
30
|
+
"linodeGrants": args.linodeGrants,
|
|
31
|
+
"longviewGrants": args.longviewGrants,
|
|
32
|
+
"nodebalancerGrants": args.nodebalancerGrants,
|
|
33
|
+
"stackscriptGrants": args.stackscriptGrants,
|
|
30
34
|
"username": args.username,
|
|
35
|
+
"volumeGrants": args.volumeGrants,
|
|
31
36
|
}, opts);
|
|
32
37
|
}
|
|
33
38
|
exports.getUser = getUser;
|
|
39
|
+
/**
|
|
40
|
+
* Provides information about a Linode user
|
|
41
|
+
*
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* The following example shows how one might use this data source to access information about a Linode user.
|
|
45
|
+
*
|
|
46
|
+
* ```typescript
|
|
47
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
48
|
+
* import * as linode from "@pulumi/linode";
|
|
49
|
+
*
|
|
50
|
+
* const foo = linode.getUser({
|
|
51
|
+
* username: "foo",
|
|
52
|
+
* });
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
34
55
|
function getUserOutput(args, opts) {
|
|
35
|
-
return pulumi.output(args).apply(a => getUser(a, opts));
|
|
56
|
+
return pulumi.output(args).apply((a) => getUser(a, opts));
|
|
36
57
|
}
|
|
37
58
|
exports.getUserOutput = getUserOutput;
|
|
38
59
|
//# sourceMappingURL=getUser.js.map
|
package/getUser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,0BAcC;AAsGD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
|
package/getVlans.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 details about Linode VLANs.
|
|
5
6
|
*
|
|
@@ -26,7 +27,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
26
27
|
* values: ["my-vlan"],
|
|
27
28
|
* }],
|
|
28
29
|
* });
|
|
29
|
-
* export const vlanLinodes = my_vlans.then(my_vlans => my_vlans.vlans
|
|
30
|
+
* export const vlanLinodes = my_vlans.then(my_vlans => my_vlans.vlans?.[0]?.linodes);
|
|
30
31
|
* ```
|
|
31
32
|
* ## Filterable Fields
|
|
32
33
|
*
|
|
@@ -62,6 +63,40 @@ export interface GetVlansResult {
|
|
|
62
63
|
readonly orderBy?: string;
|
|
63
64
|
readonly vlans: outputs.GetVlansVlan[];
|
|
64
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* Provides details about Linode VLANs.
|
|
68
|
+
*
|
|
69
|
+
* ## Example Usage
|
|
70
|
+
*
|
|
71
|
+
* ```typescript
|
|
72
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
73
|
+
* import * as linode from "@pulumi/linode";
|
|
74
|
+
*
|
|
75
|
+
* const myInstance = new linode.Instance("myInstance", {
|
|
76
|
+
* label: "my_instance",
|
|
77
|
+
* image: "linode/ubuntu18.04",
|
|
78
|
+
* region: "us-southeast",
|
|
79
|
+
* type: "g6-standard-1",
|
|
80
|
+
* rootPass: `bogusPassword$`,
|
|
81
|
+
* interfaces: [{
|
|
82
|
+
* purpose: "vlan",
|
|
83
|
+
* label: "my-vlan",
|
|
84
|
+
* }],
|
|
85
|
+
* });
|
|
86
|
+
* const my-vlans = linode.getVlans({
|
|
87
|
+
* filters: [{
|
|
88
|
+
* name: "label",
|
|
89
|
+
* values: ["my-vlan"],
|
|
90
|
+
* }],
|
|
91
|
+
* });
|
|
92
|
+
* export const vlanLinodes = my_vlans.then(my_vlans => my_vlans.vlans?.[0]?.linodes);
|
|
93
|
+
* ```
|
|
94
|
+
* ## Filterable Fields
|
|
95
|
+
*
|
|
96
|
+
* * `label`
|
|
97
|
+
*
|
|
98
|
+
* * `region`
|
|
99
|
+
*/
|
|
65
100
|
export declare function getVlansOutput(args?: GetVlansOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVlansResult>;
|
|
66
101
|
/**
|
|
67
102
|
* A collection of arguments for invoking getVlans.
|
package/getVlans.js
CHANGED
|
@@ -31,7 +31,7 @@ const utilities = require("./utilities");
|
|
|
31
31
|
* values: ["my-vlan"],
|
|
32
32
|
* }],
|
|
33
33
|
* });
|
|
34
|
-
* export const vlanLinodes = my_vlans.then(my_vlans => my_vlans.vlans
|
|
34
|
+
* export const vlanLinodes = my_vlans.then(my_vlans => my_vlans.vlans?.[0]?.linodes);
|
|
35
35
|
* ```
|
|
36
36
|
* ## Filterable Fields
|
|
37
37
|
*
|
|
@@ -41,10 +41,7 @@ const utilities = require("./utilities");
|
|
|
41
41
|
*/
|
|
42
42
|
function getVlans(args, opts) {
|
|
43
43
|
args = args || {};
|
|
44
|
-
|
|
45
|
-
opts = {};
|
|
46
|
-
}
|
|
47
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
44
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
48
45
|
return pulumi.runtime.invoke("linode:index/getVlans:getVlans", {
|
|
49
46
|
"filters": args.filters,
|
|
50
47
|
"order": args.order,
|
|
@@ -52,8 +49,42 @@ function getVlans(args, opts) {
|
|
|
52
49
|
}, opts);
|
|
53
50
|
}
|
|
54
51
|
exports.getVlans = getVlans;
|
|
52
|
+
/**
|
|
53
|
+
* Provides details about Linode VLANs.
|
|
54
|
+
*
|
|
55
|
+
* ## Example Usage
|
|
56
|
+
*
|
|
57
|
+
* ```typescript
|
|
58
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
59
|
+
* import * as linode from "@pulumi/linode";
|
|
60
|
+
*
|
|
61
|
+
* const myInstance = new linode.Instance("myInstance", {
|
|
62
|
+
* label: "my_instance",
|
|
63
|
+
* image: "linode/ubuntu18.04",
|
|
64
|
+
* region: "us-southeast",
|
|
65
|
+
* type: "g6-standard-1",
|
|
66
|
+
* rootPass: `bogusPassword$`,
|
|
67
|
+
* interfaces: [{
|
|
68
|
+
* purpose: "vlan",
|
|
69
|
+
* label: "my-vlan",
|
|
70
|
+
* }],
|
|
71
|
+
* });
|
|
72
|
+
* const my-vlans = linode.getVlans({
|
|
73
|
+
* filters: [{
|
|
74
|
+
* name: "label",
|
|
75
|
+
* values: ["my-vlan"],
|
|
76
|
+
* }],
|
|
77
|
+
* });
|
|
78
|
+
* export const vlanLinodes = my_vlans.then(my_vlans => my_vlans.vlans?.[0]?.linodes);
|
|
79
|
+
* ```
|
|
80
|
+
* ## Filterable Fields
|
|
81
|
+
*
|
|
82
|
+
* * `label`
|
|
83
|
+
*
|
|
84
|
+
* * `region`
|
|
85
|
+
*/
|
|
55
86
|
function getVlansOutput(args, opts) {
|
|
56
|
-
return pulumi.output(args).apply(a => getVlans(a, opts));
|
|
87
|
+
return pulumi.output(args).apply((a) => getVlans(a, opts));
|
|
57
88
|
}
|
|
58
89
|
exports.getVlansOutput = getVlansOutput;
|
|
59
90
|
//# sourceMappingURL=getVlans.js.map
|
package/getVlans.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVlans.js","sourceRoot":"","sources":["../getVlans.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getVlans.js","sourceRoot":"","sources":["../getVlans.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,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,gCAAgC,EAAE;QAC3D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4BASC;AA8BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
package/getVolume.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 foo =
|
|
13
|
+
* const foo = linode.getVolume({
|
|
14
14
|
* id: 1234567,
|
|
15
|
-
* })
|
|
15
|
+
* });
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
18
|
export declare function getVolume(args: GetVolumeArgs, opts?: pulumi.InvokeOptions): Promise<GetVolumeResult>;
|
|
@@ -70,6 +70,22 @@ export interface GetVolumeResult {
|
|
|
70
70
|
*/
|
|
71
71
|
readonly updated: string;
|
|
72
72
|
}
|
|
73
|
+
/**
|
|
74
|
+
* Provides information about a Linode Volume.
|
|
75
|
+
*
|
|
76
|
+
* ## Example Usage
|
|
77
|
+
*
|
|
78
|
+
* The following example shows how one might use this data source to access information about a Linode Volume.
|
|
79
|
+
*
|
|
80
|
+
* ```typescript
|
|
81
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
82
|
+
* import * as linode from "@pulumi/linode";
|
|
83
|
+
*
|
|
84
|
+
* const foo = linode.getVolume({
|
|
85
|
+
* id: 1234567,
|
|
86
|
+
* });
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
73
89
|
export declare function getVolumeOutput(args: GetVolumeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVolumeResult>;
|
|
74
90
|
/**
|
|
75
91
|
* A collection of arguments for invoking getVolume.
|
package/getVolume.js
CHANGED
|
@@ -16,23 +16,36 @@ 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.getVolume({
|
|
20
20
|
* id: 1234567,
|
|
21
|
-
* })
|
|
21
|
+
* });
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
24
|
function getVolume(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/getVolume:getVolume", {
|
|
30
27
|
"id": args.id,
|
|
31
28
|
}, opts);
|
|
32
29
|
}
|
|
33
30
|
exports.getVolume = getVolume;
|
|
31
|
+
/**
|
|
32
|
+
* Provides information about a Linode Volume.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* The following example shows how one might use this data source to access information about a Linode Volume.
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as linode from "@pulumi/linode";
|
|
41
|
+
*
|
|
42
|
+
* const foo = linode.getVolume({
|
|
43
|
+
* id: 1234567,
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
34
47
|
function getVolumeOutput(args, opts) {
|
|
35
|
-
return pulumi.output(args).apply(a => getVolume(a, opts));
|
|
48
|
+
return pulumi.output(args).apply((a) => getVolume(a, opts));
|
|
36
49
|
}
|
|
37
50
|
exports.getVolumeOutput = getVolumeOutput;
|
|
38
51
|
//# sourceMappingURL=getVolume.js.map
|
package/getVolume.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVolume.js","sourceRoot":"","sources":["../getVolume.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getVolume.js","sourceRoot":"","sources":["../getVolume.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,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,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8BAMC;AAyDD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,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"}
|