@pulumi/linode 4.1.0-alpha.1684215503 → 4.1.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/databaseMysql.d.ts +24 -0
- package/databaseMysql.js.map +1 -1
- package/databasePostgresql.d.ts +36 -0
- package/databasePostgresql.js.map +1 -1
- package/domain.d.ts +6 -0
- package/domain.js.map +1 -1
- package/domainRecord.d.ts +6 -0
- package/domainRecord.js.map +1 -1
- package/firewall.d.ts +12 -0
- package/firewall.js.map +1 -1
- package/getAccount.d.ts +0 -3
- package/getAccountLogins.d.ts +2 -2
- package/getAccountLogins.js +2 -2
- package/getDatabaseBackups.d.ts +10 -6
- package/getDatabaseBackups.js +4 -4
- package/getDatabaseBackups.js.map +1 -1
- package/getDatabaseEngines.d.ts +8 -4
- package/getDatabaseEngines.js +4 -4
- package/getDatabaseEngines.js.map +1 -1
- package/getDatabaseMysqlBackups.d.ts +4 -0
- package/getDatabaseMysqlBackups.js.map +1 -1
- package/getDatabases.d.ts +8 -4
- package/getDatabases.js +4 -4
- package/getDatabases.js.map +1 -1
- package/getImages.d.ts +6 -2
- package/getImages.js +2 -2
- package/getImages.js.map +1 -1
- package/getInstanceBackups.d.ts +2 -2
- package/getInstanceTypes.d.ts +4 -4
- package/getInstanceTypes.js +4 -4
- package/getInstances.d.ts +2 -2
- package/getInstances.js +2 -2
- package/getLkeVersions.d.ts +1 -1
- package/getNetworkingIp.d.ts +0 -3
- package/getNetworkingIp.js.map +1 -1
- package/getStackScript.d.ts +6 -15
- package/getStackScript.js +2 -3
- package/getStackScript.js.map +1 -1
- package/getStackScripts.d.ts +4 -0
- package/getStackScripts.js.map +1 -1
- package/image.d.ts +30 -0
- package/image.js.map +1 -1
- package/index.d.ts +3 -6
- package/index.js +8 -11
- package/index.js.map +1 -1
- package/instance.d.ts +42 -0
- package/instance.js.map +1 -1
- package/instanceDisk.d.ts +6 -0
- package/instanceDisk.js.map +1 -1
- package/lkeCluster.d.ts +12 -0
- package/lkeCluster.js.map +1 -1
- package/nodeBalancer.d.ts +6 -0
- package/nodeBalancer.js.map +1 -1
- package/nodeBalancerNode.d.ts +6 -0
- package/nodeBalancerNode.js.map +1 -1
- package/objectStorageBucket.d.ts +12 -0
- package/objectStorageBucket.js.map +1 -1
- package/objectStorageKey.d.ts +6 -0
- package/objectStorageKey.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/stackScript.d.ts +11 -9
- package/stackScript.js +1 -1
- package/stackScript.js.map +1 -1
- package/token.d.ts +121 -0
- package/token.js +95 -0
- package/token.js.map +1 -0
- package/types/input.d.ts +14 -65
- package/types/output.d.ts +8 -14
- package/user.d.ts +12 -0
- package/user.js.map +1 -1
- package/volume.d.ts +6 -0
- package/volume.js.map +1 -1
- package/databaseMongodb.d.ts +0 -344
- package/databaseMongodb.js +0 -179
- package/databaseMongodb.js.map +0 -1
- package/getDatabaseMongodb.d.ts +0 -183
- package/getDatabaseMongodb.js +0 -77
- package/getDatabaseMongodb.js.map +0 -1
package/stackScript.d.ts
CHANGED
|
@@ -82,13 +82,15 @@ export declare class StackScript extends pulumi.CustomResource {
|
|
|
82
82
|
*/
|
|
83
83
|
readonly description: pulumi.Output<string>;
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* A set of Image IDs representing the Images that this StackScript is compatible for deploying with. `any/all` indicates that all available image distributions, including private images, are accepted. Currently private image IDs are not supported.
|
|
86
|
+
*
|
|
87
|
+
* - - -
|
|
86
88
|
*/
|
|
87
89
|
readonly images: pulumi.Output<string[]>;
|
|
88
90
|
/**
|
|
89
91
|
* This determines whether other users can use your StackScript. Once a StackScript is made public, it cannot be made private. *Changing `isPublic` forces the creation of a new StackScript*
|
|
90
92
|
*/
|
|
91
|
-
readonly isPublic: pulumi.Output<boolean
|
|
93
|
+
readonly isPublic: pulumi.Output<boolean>;
|
|
92
94
|
/**
|
|
93
95
|
* The StackScript's label is for display purposes only.
|
|
94
96
|
*/
|
|
@@ -96,7 +98,7 @@ export declare class StackScript extends pulumi.CustomResource {
|
|
|
96
98
|
/**
|
|
97
99
|
* This field allows you to add notes for the set of revisions made to this StackScript.
|
|
98
100
|
*/
|
|
99
|
-
readonly revNote: pulumi.Output<string
|
|
101
|
+
readonly revNote: pulumi.Output<string>;
|
|
100
102
|
/**
|
|
101
103
|
* The script to execute when provisioning a new Linode with this StackScript.
|
|
102
104
|
*/
|
|
@@ -147,7 +149,9 @@ export interface StackScriptState {
|
|
|
147
149
|
*/
|
|
148
150
|
description?: pulumi.Input<string>;
|
|
149
151
|
/**
|
|
150
|
-
*
|
|
152
|
+
* A set of Image IDs representing the Images that this StackScript is compatible for deploying with. `any/all` indicates that all available image distributions, including private images, are accepted. Currently private image IDs are not supported.
|
|
153
|
+
*
|
|
154
|
+
* - - -
|
|
151
155
|
*/
|
|
152
156
|
images?: pulumi.Input<pulumi.Input<string>[]>;
|
|
153
157
|
/**
|
|
@@ -192,7 +196,9 @@ export interface StackScriptArgs {
|
|
|
192
196
|
*/
|
|
193
197
|
description: pulumi.Input<string>;
|
|
194
198
|
/**
|
|
195
|
-
*
|
|
199
|
+
* A set of Image IDs representing the Images that this StackScript is compatible for deploying with. `any/all` indicates that all available image distributions, including private images, are accepted. Currently private image IDs are not supported.
|
|
200
|
+
*
|
|
201
|
+
* - - -
|
|
196
202
|
*/
|
|
197
203
|
images: pulumi.Input<pulumi.Input<string>[]>;
|
|
198
204
|
/**
|
|
@@ -211,8 +217,4 @@ export interface StackScriptArgs {
|
|
|
211
217
|
* The script to execute when provisioning a new Linode with this StackScript.
|
|
212
218
|
*/
|
|
213
219
|
script: pulumi.Input<string>;
|
|
214
|
-
/**
|
|
215
|
-
* This is a list of fields defined with a special syntax inside this StackScript that allow for supplying customized parameters during deployment.
|
|
216
|
-
*/
|
|
217
|
-
userDefinedFields?: pulumi.Input<pulumi.Input<inputs.StackScriptUserDefinedField>[]>;
|
|
218
220
|
}
|
package/stackScript.js
CHANGED
|
@@ -115,11 +115,11 @@ class StackScript extends pulumi.CustomResource {
|
|
|
115
115
|
resourceInputs["label"] = args ? args.label : undefined;
|
|
116
116
|
resourceInputs["revNote"] = args ? args.revNote : undefined;
|
|
117
117
|
resourceInputs["script"] = args ? args.script : undefined;
|
|
118
|
-
resourceInputs["userDefinedFields"] = args ? args.userDefinedFields : undefined;
|
|
119
118
|
resourceInputs["created"] = undefined /*out*/;
|
|
120
119
|
resourceInputs["deploymentsActive"] = undefined /*out*/;
|
|
121
120
|
resourceInputs["deploymentsTotal"] = undefined /*out*/;
|
|
122
121
|
resourceInputs["updated"] = undefined /*out*/;
|
|
122
|
+
resourceInputs["userDefinedFields"] = undefined /*out*/;
|
|
123
123
|
resourceInputs["userGravatarId"] = undefined /*out*/;
|
|
124
124
|
resourceInputs["username"] = undefined /*out*/;
|
|
125
125
|
}
|
package/stackScript.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stackScript.js","sourceRoot":"","sources":["../stackScript.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CA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C,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA3IL,kCA4IC;AA9HG,gBAAgB;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
|
package/token.d.ts
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a Linode Token resource. This can be used to create, modify, and delete Linode API Personal Access Tokens. Personal Access Tokens proxy user credentials for Linode API access. This is necessary for tools, to interact with Linode services on a user's behalf.
|
|
4
|
+
*
|
|
5
|
+
* It is common for the provider itself to be configured with broadly scoped Personal Access Tokens. Provisioning scripts or tools configured within a Linode Instance should follow the principle of least privilege to afford only the required roles for tools to perform their necessary tasks. The `linode.Token` resource allows for the management of Personal Access Tokens with scopes mirroring or narrowing the scope of the parent token.
|
|
6
|
+
*
|
|
7
|
+
* For more information, see the [Linode APIv4 docs](https://developers.linode.com/api/v4#operation/getTokens).
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* The following example shows how one might use this resource to configure a token for use in another tool that needs access to Linode resources.
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as linode from "@pulumi/linode";
|
|
16
|
+
*
|
|
17
|
+
* const fooToken = new linode.Token("fooToken", {
|
|
18
|
+
* expiry: "2100-01-02T03:04:05Z",
|
|
19
|
+
* label: "token",
|
|
20
|
+
* scopes: "linodes:read_only",
|
|
21
|
+
* });
|
|
22
|
+
* const fooInstance = new linode.Instance("fooInstance", {});
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* Linodes Tokens can be imported using the Linode Token `id`, e.g.
|
|
28
|
+
*
|
|
29
|
+
* The secret token will not be imported.
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import linode:index/token:Token mytoken 1234567
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export declare class Token extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing Token resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param state Any extra arguments used during the lookup.
|
|
43
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
|
+
*/
|
|
45
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TokenState, opts?: pulumi.CustomResourceOptions): Token;
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of Token. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj: any): obj is Token;
|
|
51
|
+
/**
|
|
52
|
+
* The date this Token was created.
|
|
53
|
+
*/
|
|
54
|
+
readonly created: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with 'null' as their expiry and will never expire unless revoked.
|
|
57
|
+
*/
|
|
58
|
+
readonly expiry: pulumi.Output<string | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* A label for the Token.
|
|
61
|
+
*/
|
|
62
|
+
readonly label: pulumi.Output<string | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure. All scopes can be viewed in [the Linode API documentation](https://www.linode.com/docs/api/#oauth-reference).
|
|
65
|
+
*/
|
|
66
|
+
readonly scopes: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* The token used to access the API.
|
|
69
|
+
*/
|
|
70
|
+
readonly token: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Create a Token resource with the given unique name, arguments, and options.
|
|
73
|
+
*
|
|
74
|
+
* @param name The _unique_ name of the resource.
|
|
75
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
76
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
77
|
+
*/
|
|
78
|
+
constructor(name: string, args: TokenArgs, opts?: pulumi.CustomResourceOptions);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Input properties used for looking up and filtering Token resources.
|
|
82
|
+
*/
|
|
83
|
+
export interface TokenState {
|
|
84
|
+
/**
|
|
85
|
+
* The date this Token was created.
|
|
86
|
+
*/
|
|
87
|
+
created?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with 'null' as their expiry and will never expire unless revoked.
|
|
90
|
+
*/
|
|
91
|
+
expiry?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* A label for the Token.
|
|
94
|
+
*/
|
|
95
|
+
label?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure. All scopes can be viewed in [the Linode API documentation](https://www.linode.com/docs/api/#oauth-reference).
|
|
98
|
+
*/
|
|
99
|
+
scopes?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The token used to access the API.
|
|
102
|
+
*/
|
|
103
|
+
token?: pulumi.Input<string>;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* The set of arguments for constructing a Token resource.
|
|
107
|
+
*/
|
|
108
|
+
export interface TokenArgs {
|
|
109
|
+
/**
|
|
110
|
+
* When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with 'null' as their expiry and will never expire unless revoked.
|
|
111
|
+
*/
|
|
112
|
+
expiry?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* A label for the Token.
|
|
115
|
+
*/
|
|
116
|
+
label?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure. All scopes can be viewed in [the Linode API documentation](https://www.linode.com/docs/api/#oauth-reference).
|
|
119
|
+
*/
|
|
120
|
+
scopes: pulumi.Input<string>;
|
|
121
|
+
}
|
package/token.js
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Token = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Linode Token resource. This can be used to create, modify, and delete Linode API Personal Access Tokens. Personal Access Tokens proxy user credentials for Linode API access. This is necessary for tools, to interact with Linode services on a user's behalf.
|
|
10
|
+
*
|
|
11
|
+
* It is common for the provider itself to be configured with broadly scoped Personal Access Tokens. Provisioning scripts or tools configured within a Linode Instance should follow the principle of least privilege to afford only the required roles for tools to perform their necessary tasks. The `linode.Token` resource allows for the management of Personal Access Tokens with scopes mirroring or narrowing the scope of the parent token.
|
|
12
|
+
*
|
|
13
|
+
* For more information, see the [Linode APIv4 docs](https://developers.linode.com/api/v4#operation/getTokens).
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* The following example shows how one might use this resource to configure a token for use in another tool that needs access to Linode resources.
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as linode from "@pulumi/linode";
|
|
22
|
+
*
|
|
23
|
+
* const fooToken = new linode.Token("fooToken", {
|
|
24
|
+
* expiry: "2100-01-02T03:04:05Z",
|
|
25
|
+
* label: "token",
|
|
26
|
+
* scopes: "linodes:read_only",
|
|
27
|
+
* });
|
|
28
|
+
* const fooInstance = new linode.Instance("fooInstance", {});
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* Linodes Tokens can be imported using the Linode Token `id`, e.g.
|
|
34
|
+
*
|
|
35
|
+
* The secret token will not be imported.
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import linode:index/token:Token mytoken 1234567
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
class Token extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing Token resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name, id, state, opts) {
|
|
52
|
+
return new Token(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of Token. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj) {
|
|
59
|
+
if (obj === undefined || obj === null) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
return obj['__pulumiType'] === Token.__pulumiType;
|
|
63
|
+
}
|
|
64
|
+
constructor(name, argsOrState, opts) {
|
|
65
|
+
let resourceInputs = {};
|
|
66
|
+
opts = opts || {};
|
|
67
|
+
if (opts.id) {
|
|
68
|
+
const state = argsOrState;
|
|
69
|
+
resourceInputs["created"] = state ? state.created : undefined;
|
|
70
|
+
resourceInputs["expiry"] = state ? state.expiry : undefined;
|
|
71
|
+
resourceInputs["label"] = state ? state.label : undefined;
|
|
72
|
+
resourceInputs["scopes"] = state ? state.scopes : undefined;
|
|
73
|
+
resourceInputs["token"] = state ? state.token : undefined;
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
const args = argsOrState;
|
|
77
|
+
if ((!args || args.scopes === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'scopes'");
|
|
79
|
+
}
|
|
80
|
+
resourceInputs["expiry"] = args ? args.expiry : undefined;
|
|
81
|
+
resourceInputs["label"] = args ? args.label : undefined;
|
|
82
|
+
resourceInputs["scopes"] = args ? args.scopes : undefined;
|
|
83
|
+
resourceInputs["created"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["token"] = undefined /*out*/;
|
|
85
|
+
}
|
|
86
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
|
+
const secretOpts = { additionalSecretOutputs: ["token"] };
|
|
88
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
89
|
+
super(Token.__pulumiType, name, resourceInputs, opts);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.Token = Token;
|
|
93
|
+
/** @internal */
|
|
94
|
+
Token.__pulumiType = 'linode:index/token:Token';
|
|
95
|
+
//# sourceMappingURL=token.js.map
|
package/token.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"token.js","sourceRoot":"","sources":["../token.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,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E,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;QAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAlFL,sBAmFC;AArEG,gBAAgB;AACO,kBAAY,GAAG,0BAA0B,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
|
-
export interface DatabaseMongodbUpdates {
|
|
4
|
-
dayOfWeek: pulumi.Input<string>;
|
|
5
|
-
duration: pulumi.Input<number>;
|
|
6
|
-
frequency: pulumi.Input<string>;
|
|
7
|
-
hourOfDay: pulumi.Input<number>;
|
|
8
|
-
weekOfMonth?: pulumi.Input<number>;
|
|
9
|
-
}
|
|
10
3
|
export interface DatabaseMysqlUpdates {
|
|
11
4
|
dayOfWeek: pulumi.Input<string>;
|
|
12
5
|
duration: pulumi.Input<number>;
|
|
@@ -347,58 +340,6 @@ export interface GetRegionsFilterArgs {
|
|
|
347
340
|
*/
|
|
348
341
|
values: pulumi.Input<pulumi.Input<string>[]>;
|
|
349
342
|
}
|
|
350
|
-
export interface GetStackScriptUserDefinedField {
|
|
351
|
-
/**
|
|
352
|
-
* The default value. If not specified, this value will be used.
|
|
353
|
-
*/
|
|
354
|
-
default?: string;
|
|
355
|
-
/**
|
|
356
|
-
* An example value for the field.
|
|
357
|
-
*/
|
|
358
|
-
example?: string;
|
|
359
|
-
/**
|
|
360
|
-
* A human-readable label for the field that will serve as the input prompt for entering the value during deployment.
|
|
361
|
-
*/
|
|
362
|
-
label?: string;
|
|
363
|
-
/**
|
|
364
|
-
* A list of acceptable values for the field in any quantity, combination or order.
|
|
365
|
-
*/
|
|
366
|
-
manyOf?: string;
|
|
367
|
-
/**
|
|
368
|
-
* The name of the field.
|
|
369
|
-
*/
|
|
370
|
-
name?: string;
|
|
371
|
-
/**
|
|
372
|
-
* A list of acceptable single values for the field.
|
|
373
|
-
*/
|
|
374
|
-
oneOf?: string;
|
|
375
|
-
}
|
|
376
|
-
export interface GetStackScriptUserDefinedFieldArgs {
|
|
377
|
-
/**
|
|
378
|
-
* The default value. If not specified, this value will be used.
|
|
379
|
-
*/
|
|
380
|
-
default?: pulumi.Input<string>;
|
|
381
|
-
/**
|
|
382
|
-
* An example value for the field.
|
|
383
|
-
*/
|
|
384
|
-
example?: pulumi.Input<string>;
|
|
385
|
-
/**
|
|
386
|
-
* A human-readable label for the field that will serve as the input prompt for entering the value during deployment.
|
|
387
|
-
*/
|
|
388
|
-
label?: pulumi.Input<string>;
|
|
389
|
-
/**
|
|
390
|
-
* A list of acceptable values for the field in any quantity, combination or order.
|
|
391
|
-
*/
|
|
392
|
-
manyOf?: pulumi.Input<string>;
|
|
393
|
-
/**
|
|
394
|
-
* The name of the field.
|
|
395
|
-
*/
|
|
396
|
-
name?: pulumi.Input<string>;
|
|
397
|
-
/**
|
|
398
|
-
* A list of acceptable single values for the field.
|
|
399
|
-
*/
|
|
400
|
-
oneOf?: pulumi.Input<string>;
|
|
401
|
-
}
|
|
402
343
|
export interface GetStackScriptsFilter {
|
|
403
344
|
/**
|
|
404
345
|
* The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
|
|
@@ -568,6 +509,8 @@ export interface InstanceConfig {
|
|
|
568
509
|
label: pulumi.Input<string>;
|
|
569
510
|
/**
|
|
570
511
|
* Defaults to the total RAM of the Linode
|
|
512
|
+
*
|
|
513
|
+
* * `interface` - (Optional) A list of network interfaces to be assigned to the Linode.
|
|
571
514
|
*/
|
|
572
515
|
memoryLimit?: pulumi.Input<number>;
|
|
573
516
|
/**
|
|
@@ -819,6 +762,8 @@ export interface LkeClusterPool {
|
|
|
819
762
|
autoscaler?: pulumi.Input<inputs.LkeClusterPoolAutoscaler>;
|
|
820
763
|
/**
|
|
821
764
|
* The number of nodes in the Node Pool.
|
|
765
|
+
*
|
|
766
|
+
* * `autoscaler` - (Optional) If defined, an autoscaler will be enabled with the given configuration.
|
|
822
767
|
*/
|
|
823
768
|
count: pulumi.Input<number>;
|
|
824
769
|
/**
|
|
@@ -892,6 +837,10 @@ export interface ObjectStorageBucketCert {
|
|
|
892
837
|
export interface ObjectStorageBucketLifecycleRule {
|
|
893
838
|
/**
|
|
894
839
|
* Specifies the number of days after initiating a multipart upload when the multipart upload must be completed.
|
|
840
|
+
*
|
|
841
|
+
* * `expiration` - (Optional) Specifies a period in the object's expire.
|
|
842
|
+
*
|
|
843
|
+
* * `noncurrentVersionExpiration` - (Optional) Specifies when non-current object versions expire.
|
|
895
844
|
*/
|
|
896
845
|
abortIncompleteMultipartUploadDays?: pulumi.Input<number>;
|
|
897
846
|
/**
|
|
@@ -947,27 +896,27 @@ export interface StackScriptUserDefinedField {
|
|
|
947
896
|
/**
|
|
948
897
|
* The default value. If not specified, this value will be used.
|
|
949
898
|
*/
|
|
950
|
-
default
|
|
899
|
+
default: pulumi.Input<string>;
|
|
951
900
|
/**
|
|
952
901
|
* An example value for the field.
|
|
953
902
|
*/
|
|
954
|
-
example
|
|
903
|
+
example: pulumi.Input<string>;
|
|
955
904
|
/**
|
|
956
905
|
* The StackScript's label is for display purposes only.
|
|
957
906
|
*/
|
|
958
|
-
label
|
|
907
|
+
label: pulumi.Input<string>;
|
|
959
908
|
/**
|
|
960
909
|
* A list of acceptable values for the field in any quantity, combination or order.
|
|
961
910
|
*/
|
|
962
|
-
manyOf
|
|
911
|
+
manyOf: pulumi.Input<string>;
|
|
963
912
|
/**
|
|
964
913
|
* The name of the field.
|
|
965
914
|
*/
|
|
966
|
-
name
|
|
915
|
+
name: pulumi.Input<string>;
|
|
967
916
|
/**
|
|
968
917
|
* A list of acceptable single values for the field.
|
|
969
918
|
*/
|
|
970
|
-
oneOf
|
|
919
|
+
oneOf: pulumi.Input<string>;
|
|
971
920
|
}
|
|
972
921
|
export interface UserDomainGrant {
|
|
973
922
|
id: pulumi.Input<number>;
|
package/types/output.d.ts
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
import * as outputs from "../types/output";
|
|
2
|
-
export interface DatabaseMongodbUpdates {
|
|
3
|
-
dayOfWeek: string;
|
|
4
|
-
duration: number;
|
|
5
|
-
frequency: string;
|
|
6
|
-
hourOfDay: number;
|
|
7
|
-
weekOfMonth?: number;
|
|
8
|
-
}
|
|
9
2
|
export interface DatabaseMysqlUpdates {
|
|
10
3
|
dayOfWeek: string;
|
|
11
4
|
duration: number;
|
|
@@ -191,13 +184,6 @@ export interface GetDatabaseEnginesFilter {
|
|
|
191
184
|
*/
|
|
192
185
|
values: string[];
|
|
193
186
|
}
|
|
194
|
-
export interface GetDatabaseMongodbUpdate {
|
|
195
|
-
dayOfWeek: string;
|
|
196
|
-
duration: number;
|
|
197
|
-
frequency: string;
|
|
198
|
-
hourOfDay: number;
|
|
199
|
-
weekOfMonth: number;
|
|
200
|
-
}
|
|
201
187
|
export interface GetDatabaseMysqlBackupsBackup {
|
|
202
188
|
/**
|
|
203
189
|
* A time value given in a combined date and time format that represents when the database backup was created.
|
|
@@ -1614,6 +1600,8 @@ export interface InstanceConfig {
|
|
|
1614
1600
|
label: string;
|
|
1615
1601
|
/**
|
|
1616
1602
|
* Defaults to the total RAM of the Linode
|
|
1603
|
+
*
|
|
1604
|
+
* * `interface` - (Optional) A list of network interfaces to be assigned to the Linode.
|
|
1617
1605
|
*/
|
|
1618
1606
|
memoryLimit?: number;
|
|
1619
1607
|
/**
|
|
@@ -1865,6 +1853,8 @@ export interface LkeClusterPool {
|
|
|
1865
1853
|
autoscaler?: outputs.LkeClusterPoolAutoscaler;
|
|
1866
1854
|
/**
|
|
1867
1855
|
* The number of nodes in the Node Pool.
|
|
1856
|
+
*
|
|
1857
|
+
* * `autoscaler` - (Optional) If defined, an autoscaler will be enabled with the given configuration.
|
|
1868
1858
|
*/
|
|
1869
1859
|
count: number;
|
|
1870
1860
|
/**
|
|
@@ -1938,6 +1928,10 @@ export interface ObjectStorageBucketCert {
|
|
|
1938
1928
|
export interface ObjectStorageBucketLifecycleRule {
|
|
1939
1929
|
/**
|
|
1940
1930
|
* Specifies the number of days after initiating a multipart upload when the multipart upload must be completed.
|
|
1931
|
+
*
|
|
1932
|
+
* * `expiration` - (Optional) Specifies a period in the object's expire.
|
|
1933
|
+
*
|
|
1934
|
+
* * `noncurrentVersionExpiration` - (Optional) Specifies when non-current object versions expire.
|
|
1941
1935
|
*/
|
|
1942
1936
|
abortIncompleteMultipartUploadDays?: number;
|
|
1943
1937
|
/**
|
package/user.d.ts
CHANGED
|
@@ -118,6 +118,10 @@ export declare class User extends pulumi.CustomResource {
|
|
|
118
118
|
readonly nodebalancerGrants: pulumi.Output<outputs.UserNodebalancerGrant[]>;
|
|
119
119
|
/**
|
|
120
120
|
* If true, this user will only have explicit permissions granted.
|
|
121
|
+
*
|
|
122
|
+
* * `globalGrants` - (optional) A structure containing the Account-level grants a User has.
|
|
123
|
+
*
|
|
124
|
+
* The following arguments are sets of entity grants:
|
|
121
125
|
*/
|
|
122
126
|
readonly restricted: pulumi.Output<boolean | undefined>;
|
|
123
127
|
/**
|
|
@@ -187,6 +191,10 @@ export interface UserState {
|
|
|
187
191
|
nodebalancerGrants?: pulumi.Input<pulumi.Input<inputs.UserNodebalancerGrant>[]>;
|
|
188
192
|
/**
|
|
189
193
|
* If true, this user will only have explicit permissions granted.
|
|
194
|
+
*
|
|
195
|
+
* * `globalGrants` - (optional) A structure containing the Account-level grants a User has.
|
|
196
|
+
*
|
|
197
|
+
* The following arguments are sets of entity grants:
|
|
190
198
|
*/
|
|
191
199
|
restricted?: pulumi.Input<boolean>;
|
|
192
200
|
/**
|
|
@@ -248,6 +256,10 @@ export interface UserArgs {
|
|
|
248
256
|
nodebalancerGrants?: pulumi.Input<pulumi.Input<inputs.UserNodebalancerGrant>[]>;
|
|
249
257
|
/**
|
|
250
258
|
* If true, this user will only have explicit permissions granted.
|
|
259
|
+
*
|
|
260
|
+
* * `globalGrants` - (optional) A structure containing the Account-level grants a User has.
|
|
261
|
+
*
|
|
262
|
+
* The following arguments are sets of entity grants:
|
|
251
263
|
*/
|
|
252
264
|
restricted?: pulumi.Input<boolean>;
|
|
253
265
|
/**
|
package/user.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../user.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../user.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH,MAAa,IAAK,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,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA7IL,oBA8IC;AAhIG,gBAAgB;AACO,iBAAY,GAAG,wBAAwB,CAAC"}
|
package/volume.d.ts
CHANGED
|
@@ -98,6 +98,8 @@ export declare class Volume extends pulumi.CustomResource {
|
|
|
98
98
|
readonly linodeId: pulumi.Output<number>;
|
|
99
99
|
/**
|
|
100
100
|
* The region where this volume will be deployed. Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc. See all regions [here](https://api.linode.com/v4/regions). This field is optional for cloned volumes. *Changing `region` forces the creation of a new Linode Volume.*.
|
|
101
|
+
*
|
|
102
|
+
* - - -
|
|
101
103
|
*/
|
|
102
104
|
readonly region: pulumi.Output<string>;
|
|
103
105
|
/**
|
|
@@ -143,6 +145,8 @@ export interface VolumeState {
|
|
|
143
145
|
linodeId?: pulumi.Input<number>;
|
|
144
146
|
/**
|
|
145
147
|
* The region where this volume will be deployed. Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc. See all regions [here](https://api.linode.com/v4/regions). This field is optional for cloned volumes. *Changing `region` forces the creation of a new Linode Volume.*.
|
|
148
|
+
*
|
|
149
|
+
* - - -
|
|
146
150
|
*/
|
|
147
151
|
region?: pulumi.Input<string>;
|
|
148
152
|
/**
|
|
@@ -176,6 +180,8 @@ export interface VolumeArgs {
|
|
|
176
180
|
linodeId?: pulumi.Input<number>;
|
|
177
181
|
/**
|
|
178
182
|
* The region where this volume will be deployed. Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc. See all regions [here](https://api.linode.com/v4/regions). This field is optional for cloned volumes. *Changing `region` forces the creation of a new Linode Volume.*.
|
|
183
|
+
*
|
|
184
|
+
* - - -
|
|
179
185
|
*/
|
|
180
186
|
region?: pulumi.Input<string>;
|
|
181
187
|
/**
|
package/volume.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volume.js","sourceRoot":"","sources":["../volume.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;
|
|
1
|
+
{"version":3,"file":"volume.js","sourceRoot":"","sources":["../volume.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;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