@pulumi/linode 4.4.1 → 4.4.2

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 CHANGED
@@ -28,6 +28,10 @@ export declare const maxRetryDelayMs: number | undefined;
28
28
  * Minimum delay in milliseconds before retrying a request.
29
29
  */
30
30
  export declare const minRetryDelayMs: number | undefined;
31
+ /**
32
+ * If true, Linode Instances will not be rebooted on config and interface changes.
33
+ */
34
+ export declare const skipImplicitReboots: boolean | undefined;
31
35
  /**
32
36
  * Skip waiting for a linode_instance resource to finish deleting.
33
37
  */
package/config/vars.js CHANGED
@@ -60,6 +60,12 @@ Object.defineProperty(exports, "minRetryDelayMs", {
60
60
  },
61
61
  enumerable: true,
62
62
  });
63
+ Object.defineProperty(exports, "skipImplicitReboots", {
64
+ get() {
65
+ return __config.getObject("skipImplicitReboots");
66
+ },
67
+ enumerable: true,
68
+ });
63
69
  Object.defineProperty(exports, "skipInstanceDeletePoll", {
64
70
  get() {
65
71
  return __config.getObject("skipInstanceDeletePoll");
@@ -1 +1 @@
1
- {"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,0CAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAM7C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE;IACzC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC;IAChF,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAGH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE;IACzC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IAC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AC,GAAG,CAAC,UAAU,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;IAC5E,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,KAAK,EAAE;IAClC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IACjE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
@@ -18,7 +18,7 @@ import * as pulumi from "@pulumi/pulumi";
18
18
  * });
19
19
  * const my_db = new linode.DatabaseMysql("my-db", {
20
20
  * label: "mydatabase",
21
- * engineId: "mysql/8.0.26",
21
+ * engineId: "mysql/8.0.30",
22
22
  * region: "us-southeast",
23
23
  * type: "g6-nanode-1",
24
24
  * });
@@ -24,7 +24,7 @@ const utilities = require("./utilities");
24
24
  * });
25
25
  * const my_db = new linode.DatabaseMysql("my-db", {
26
26
  * label: "mydatabase",
27
- * engineId: "mysql/8.0.26",
27
+ * engineId: "mysql/8.0.30",
28
28
  * region: "us-southeast",
29
29
  * type: "g6-nanode-1",
30
30
  * });
@@ -16,7 +16,7 @@ import * as outputs from "./types/output";
16
16
  * import * as linode from "@pulumi/linode";
17
17
  *
18
18
  * const foobar = new linode.DatabaseMysql("foobar", {
19
- * engineId: "mysql/8.0.26",
19
+ * engineId: "mysql/8.0.30",
20
20
  * label: "mydatabase",
21
21
  * region: "us-southeast",
22
22
  * type: "g6-nanode-1",
@@ -33,7 +33,7 @@ import * as outputs from "./types/output";
33
33
  * allowLists: ["0.0.0.0/0"],
34
34
  * clusterSize: 3,
35
35
  * encrypted: true,
36
- * engineId: "mysql/8.0.26",
36
+ * engineId: "mysql/8.0.30",
37
37
  * label: "mydatabase",
38
38
  * region: "us-southeast",
39
39
  * replicationType: "asynch",
@@ -111,7 +111,7 @@ export declare class DatabaseMysql extends pulumi.CustomResource {
111
111
  */
112
112
  readonly engine: pulumi.Output<string>;
113
113
  /**
114
- * The Managed Database engine in engine/version format. (e.g. `mysql/8.0.26`)
114
+ * The Managed Database engine in engine/version format. (e.g. `mysql/8.0.30`)
115
115
  */
116
116
  readonly engineId: pulumi.Output<string>;
117
117
  /**
@@ -212,7 +212,7 @@ export interface DatabaseMysqlState {
212
212
  */
213
213
  engine?: pulumi.Input<string>;
214
214
  /**
215
- * The Managed Database engine in engine/version format. (e.g. `mysql/8.0.26`)
215
+ * The Managed Database engine in engine/version format. (e.g. `mysql/8.0.30`)
216
216
  */
217
217
  engineId?: pulumi.Input<string>;
218
218
  /**
@@ -293,7 +293,7 @@ export interface DatabaseMysqlArgs {
293
293
  */
294
294
  encrypted?: pulumi.Input<boolean>;
295
295
  /**
296
- * The Managed Database engine in engine/version format. (e.g. `mysql/8.0.26`)
296
+ * The Managed Database engine in engine/version format. (e.g. `mysql/8.0.30`)
297
297
  */
298
298
  engineId: pulumi.Input<string>;
299
299
  /**
package/databaseMysql.js CHANGED
@@ -20,7 +20,7 @@ const utilities = require("./utilities");
20
20
  * import * as linode from "@pulumi/linode";
21
21
  *
22
22
  * const foobar = new linode.DatabaseMysql("foobar", {
23
- * engineId: "mysql/8.0.26",
23
+ * engineId: "mysql/8.0.30",
24
24
  * label: "mydatabase",
25
25
  * region: "us-southeast",
26
26
  * type: "g6-nanode-1",
@@ -37,7 +37,7 @@ const utilities = require("./utilities");
37
37
  * allowLists: ["0.0.0.0/0"],
38
38
  * clusterSize: 3,
39
39
  * encrypted: true,
40
- * engineId: "mysql/8.0.26",
40
+ * engineId: "mysql/8.0.30",
41
41
  * label: "mydatabase",
42
42
  * region: "us-southeast",
43
43
  * replicationType: "asynch",
@@ -36,6 +36,8 @@ export declare function getDatabaseMysql(args?: GetDatabaseMysqlArgs, opts?: pul
36
36
  export interface GetDatabaseMysqlArgs {
37
37
  /**
38
38
  * The ID of the MySQL database. Deprecated: Use id instead.
39
+ *
40
+ * @deprecated Configure `id` instead. This attribute will be removed in the next major version of the provider.
39
41
  */
40
42
  databaseId?: number;
41
43
  /**
@@ -63,6 +65,9 @@ export interface GetDatabaseMysqlResult {
63
65
  * When this Managed Database was created.
64
66
  */
65
67
  readonly created: string;
68
+ /**
69
+ * @deprecated Configure `id` instead. This attribute will be removed in the next major version of the provider.
70
+ */
66
71
  readonly databaseId?: number;
67
72
  /**
68
73
  * Whether the Managed Databases is encrypted.
@@ -73,7 +78,7 @@ export interface GetDatabaseMysqlResult {
73
78
  */
74
79
  readonly engine: string;
75
80
  /**
76
- * The Managed Database engine in engine/version format. (e.g. `mysql/8.0.26`)
81
+ * The Managed Database engine in engine/version format. (e.g. `mysql/8.0.30`)
77
82
  */
78
83
  readonly engineId: string;
79
84
  /**
@@ -163,6 +168,8 @@ export declare function getDatabaseMysqlOutput(args?: GetDatabaseMysqlOutputArgs
163
168
  export interface GetDatabaseMysqlOutputArgs {
164
169
  /**
165
170
  * The ID of the MySQL database. Deprecated: Use id instead.
171
+ *
172
+ * @deprecated Configure `id` instead. This attribute will be removed in the next major version of the provider.
166
173
  */
167
174
  databaseId?: pulumi.Input<number>;
168
175
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"getDatabaseMysql.js","sourceRoot":"","sources":["../getDatabaseMysql.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,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,gDAAgD,EAAE;QAC3E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4CAQC;AAoGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
1
+ {"version":3,"file":"getDatabaseMysql.js","sourceRoot":"","sources":["../getDatabaseMysql.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,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,gDAAgD,EAAE;QAC3E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4CAQC;AAyGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
@@ -36,6 +36,8 @@ export declare function getDatabasePostgresql(args?: GetDatabasePostgresqlArgs,
36
36
  export interface GetDatabasePostgresqlArgs {
37
37
  /**
38
38
  * The ID of the PostgreSQL database. Deprecated: Use id instead.
39
+ *
40
+ * @deprecated Configure `id` instead. This attribute will be removed in the next major version of the provider.
39
41
  */
40
42
  databaseId?: number;
41
43
  /**
@@ -63,6 +65,9 @@ export interface GetDatabasePostgresqlResult {
63
65
  * When this Managed Database was created.
64
66
  */
65
67
  readonly created: string;
68
+ /**
69
+ * @deprecated Configure `id` instead. This attribute will be removed in the next major version of the provider.
70
+ */
66
71
  readonly databaseId?: number;
67
72
  /**
68
73
  * Whether the Managed Databases is encrypted.
@@ -168,6 +173,8 @@ export declare function getDatabasePostgresqlOutput(args?: GetDatabasePostgresql
168
173
  export interface GetDatabasePostgresqlOutputArgs {
169
174
  /**
170
175
  * The ID of the PostgreSQL database. Deprecated: Use id instead.
176
+ *
177
+ * @deprecated Configure `id` instead. This attribute will be removed in the next major version of the provider.
171
178
  */
172
179
  databaseId?: pulumi.Input<number>;
173
180
  /**
@@ -1 +1 @@
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,IAAgC,EAAE,IAA2B;IAC/F,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,0DAA0D,EAAE;QACrF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC;AAyGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,2BAA2B,CAAC,IAAsC,EAAE,IAA2B;IAC3G,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"}
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,IAAgC,EAAE,IAA2B;IAC/F,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,0DAA0D,EAAE;QACrF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC;AA8GD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,2BAA2B,CAAC,IAAsC,EAAE,IAA2B;IAC3G,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/getImage.d.ts CHANGED
@@ -29,6 +29,7 @@ export interface GetImageArgs {
29
29
  * A collection of values returned by getImage.
30
30
  */
31
31
  export interface GetImageResult {
32
+ readonly capabilities: string[];
32
33
  /**
33
34
  * When this Image was created.
34
35
  */
package/getImage.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getImage.js","sourceRoot":"","sources":["../getImage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,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,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AA2DD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,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"}
1
+ {"version":3,"file":"getImage.js","sourceRoot":"","sources":["../getImage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,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,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AA4DD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,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"}
@@ -2,6 +2,17 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
3
  /**
4
4
  * Provides details about the networking configuration of an Instance.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as linode from "@pulumi/linode";
11
+ *
12
+ * const example = linode.getInstanceNetworking({
13
+ * linodeId: 123,
14
+ * });
15
+ * ```
5
16
  */
6
17
  export declare function getInstanceNetworking(args: GetInstanceNetworkingArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceNetworkingResult>;
7
18
  /**
@@ -27,6 +38,17 @@ export interface GetInstanceNetworkingResult {
27
38
  }
28
39
  /**
29
40
  * Provides details about the networking configuration of an Instance.
41
+ *
42
+ * ## Example Usage
43
+ *
44
+ * ```typescript
45
+ * import * as pulumi from "@pulumi/pulumi";
46
+ * import * as linode from "@pulumi/linode";
47
+ *
48
+ * const example = linode.getInstanceNetworking({
49
+ * linodeId: 123,
50
+ * });
51
+ * ```
30
52
  */
31
53
  export declare function getInstanceNetworkingOutput(args: GetInstanceNetworkingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstanceNetworkingResult>;
32
54
  /**
@@ -7,6 +7,17 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Provides details about the networking configuration of an Instance.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as linode from "@pulumi/linode";
16
+ *
17
+ * const example = linode.getInstanceNetworking({
18
+ * linodeId: 123,
19
+ * });
20
+ * ```
10
21
  */
11
22
  function getInstanceNetworking(args, opts) {
12
23
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -17,6 +28,17 @@ function getInstanceNetworking(args, opts) {
17
28
  exports.getInstanceNetworking = getInstanceNetworking;
18
29
  /**
19
30
  * Provides details about the networking configuration of an Instance.
31
+ *
32
+ * ## Example Usage
33
+ *
34
+ * ```typescript
35
+ * import * as pulumi from "@pulumi/pulumi";
36
+ * import * as linode from "@pulumi/linode";
37
+ *
38
+ * const example = linode.getInstanceNetworking({
39
+ * linodeId: 123,
40
+ * });
41
+ * ```
20
42
  */
21
43
  function getInstanceNetworkingOutput(args, opts) {
22
44
  return pulumi.output(args).apply((a) => getInstanceNetworking(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getInstanceNetworking.js","sourceRoot":"","sources":["../getInstanceNetworking.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;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,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AAwBD;;GAEG;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"}
1
+ {"version":3,"file":"getInstanceNetworking.js","sourceRoot":"","sources":["../getInstanceNetworking.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;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,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AAwBD;;;;;;;;;;;;;GAaG;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/getUser.d.ts CHANGED
@@ -9,88 +9,44 @@ export declare function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions):
9
9
  * A collection of arguments for invoking getUser.
10
10
  */
11
11
  export interface GetUserArgs {
12
- /**
13
- * The grants this User has pertaining to Databases on this Account.
14
- */
15
12
  databaseGrants?: inputs.GetUserDatabaseGrant[];
16
- /**
17
- * The grants this User has pertaining to Domains on this Account.
18
- */
19
13
  domainGrants?: inputs.GetUserDomainGrant[];
20
- /**
21
- * The grants this User has pertaining to Firewalls on this Account.
22
- */
23
14
  firewallGrants?: inputs.GetUserFirewallGrant[];
24
- /**
25
- * The grants this User has pertaining to Images on this Account.
26
- */
27
15
  imageGrants?: inputs.GetUserImageGrant[];
28
- /**
29
- * The grants this User has pertaining to Linodes on this Account.
30
- */
31
16
  linodeGrants?: inputs.GetUserLinodeGrant[];
32
- /**
33
- * The grants this User has pertaining to Longview Clients on this Account.
34
- */
35
17
  longviewGrants?: inputs.GetUserLongviewGrant[];
36
- /**
37
- * The grants this User has pertaining to NodeBalancers on this Account.
38
- */
39
18
  nodebalancerGrants?: inputs.GetUserNodebalancerGrant[];
40
- /**
41
- * The grants this User has pertaining to StackScripts on this Account.
42
- */
43
19
  stackscriptGrants?: inputs.GetUserStackscriptGrant[];
44
20
  /**
45
21
  * The unique username of this User.
46
22
  */
47
23
  username: string;
48
- /**
49
- * The grants this User has pertaining to Volumes on this Account.
50
- */
51
24
  volumeGrants?: inputs.GetUserVolumeGrant[];
52
25
  }
53
26
  /**
54
27
  * A collection of values returned by getUser.
55
28
  */
56
29
  export interface GetUserResult {
57
- /**
58
- * The grants this User has pertaining to Databases on this Account.
59
- */
60
30
  readonly databaseGrants: outputs.GetUserDatabaseGrant[];
61
- /**
62
- * The grants this User has pertaining to Domains on this Account.
63
- */
64
31
  readonly domainGrants: outputs.GetUserDomainGrant[];
65
32
  /**
66
33
  * The email address for this User, for account management communications, and may be used for other communications as configured.
67
34
  */
68
35
  readonly email: string;
69
- /**
70
- * The grants this User has pertaining to Firewalls on this Account.
71
- */
72
36
  readonly firewallGrants: outputs.GetUserFirewallGrant[];
73
- /**
74
- * The Account-level grants a User has.
75
- */
76
37
  readonly globalGrants: outputs.GetUserGlobalGrant[];
77
- readonly id: string;
78
38
  /**
79
- * The grants this User has pertaining to Images on this Account.
39
+ * The ID of entity this grant applies to.
80
40
  */
41
+ readonly id: string;
81
42
  readonly imageGrants: outputs.GetUserImageGrant[];
82
- /**
83
- * The grants this User has pertaining to Linodes on this Account.
84
- */
85
43
  readonly linodeGrants: outputs.GetUserLinodeGrant[];
86
- /**
87
- * The grants this User has pertaining to Longview Clients on this Account.
88
- */
89
44
  readonly longviewGrants: outputs.GetUserLongviewGrant[];
45
+ readonly nodebalancerGrants: outputs.GetUserNodebalancerGrant[];
90
46
  /**
91
- * The grants this User has pertaining to NodeBalancers on this Account.
47
+ * The date and time when this User’s current password was created. User passwords are first created during the Account sign-up process, and updated using the Reset Password webpage. null if this User has not created a password yet.
92
48
  */
93
- readonly nodebalancerGrants: outputs.GetUserNodebalancerGrant[];
49
+ readonly passwordCreated: string;
94
50
  /**
95
51
  * If true, this User must be granted access to perform actions or access entities on this Account.
96
52
  */
@@ -99,14 +55,16 @@ export interface GetUserResult {
99
55
  * 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.
100
56
  */
101
57
  readonly sshKeys: string[];
58
+ readonly stackscriptGrants: outputs.GetUserStackscriptGrant[];
102
59
  /**
103
- * The grants this User has pertaining to StackScripts on this Account.
60
+ * A boolean value indicating if the User has Two Factor Authentication (TFA) enabled.
104
61
  */
105
- readonly stackscriptGrants: outputs.GetUserStackscriptGrant[];
62
+ readonly tfaEnabled: boolean;
106
63
  readonly username: string;
107
64
  /**
108
- * The grants this User has pertaining to Volumes on this Account.
65
+ * The phone number verified for this User Profile with the Phone Number Verify command. null if this User Profile has no verified phone number.
109
66
  */
67
+ readonly verifiedPhoneNumber: string;
110
68
  readonly volumeGrants: outputs.GetUserVolumeGrant[];
111
69
  }
112
70
  /**
@@ -117,44 +75,17 @@ export declare function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.Inv
117
75
  * A collection of arguments for invoking getUser.
118
76
  */
119
77
  export interface GetUserOutputArgs {
120
- /**
121
- * The grants this User has pertaining to Databases on this Account.
122
- */
123
78
  databaseGrants?: pulumi.Input<pulumi.Input<inputs.GetUserDatabaseGrantArgs>[]>;
124
- /**
125
- * The grants this User has pertaining to Domains on this Account.
126
- */
127
79
  domainGrants?: pulumi.Input<pulumi.Input<inputs.GetUserDomainGrantArgs>[]>;
128
- /**
129
- * The grants this User has pertaining to Firewalls on this Account.
130
- */
131
80
  firewallGrants?: pulumi.Input<pulumi.Input<inputs.GetUserFirewallGrantArgs>[]>;
132
- /**
133
- * The grants this User has pertaining to Images on this Account.
134
- */
135
81
  imageGrants?: pulumi.Input<pulumi.Input<inputs.GetUserImageGrantArgs>[]>;
136
- /**
137
- * The grants this User has pertaining to Linodes on this Account.
138
- */
139
82
  linodeGrants?: pulumi.Input<pulumi.Input<inputs.GetUserLinodeGrantArgs>[]>;
140
- /**
141
- * The grants this User has pertaining to Longview Clients on this Account.
142
- */
143
83
  longviewGrants?: pulumi.Input<pulumi.Input<inputs.GetUserLongviewGrantArgs>[]>;
144
- /**
145
- * The grants this User has pertaining to NodeBalancers on this Account.
146
- */
147
84
  nodebalancerGrants?: pulumi.Input<pulumi.Input<inputs.GetUserNodebalancerGrantArgs>[]>;
148
- /**
149
- * The grants this User has pertaining to StackScripts on this Account.
150
- */
151
85
  stackscriptGrants?: pulumi.Input<pulumi.Input<inputs.GetUserStackscriptGrantArgs>[]>;
152
86
  /**
153
87
  * The unique username of this User.
154
88
  */
155
89
  username: pulumi.Input<string>;
156
- /**
157
- * The grants this User has pertaining to Volumes on this Account.
158
- */
159
90
  volumeGrants?: pulumi.Input<pulumi.Input<inputs.GetUserVolumeGrantArgs>[]>;
160
91
  }
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;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,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,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AI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,0BAeC;AAiED;;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/getUsers.d.ts ADDED
@@ -0,0 +1,108 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Provides information about Linode users that match a set of filters.
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as linode from "@pulumi/linode";
10
+ *
11
+ * const filtered-users = linode.getUsers({
12
+ * filters: [{
13
+ * name: "username",
14
+ * values: ["test-user"],
15
+ * }],
16
+ * });
17
+ * export const users = filtered_users.then(filtered_users => filtered_users.users);
18
+ * ```
19
+ *
20
+ * ## Filterable Fields
21
+ *
22
+ * * `username`
23
+ *
24
+ * * `email`
25
+ *
26
+ * * `restricted`
27
+ *
28
+ * * `passwordCreated`
29
+ *
30
+ * * `tfaEnabled`
31
+ *
32
+ * * `verfiedPhoneNumber`
33
+ */
34
+ export declare function getUsers(args?: GetUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetUsersResult>;
35
+ /**
36
+ * A collection of arguments for invoking getUsers.
37
+ */
38
+ export interface GetUsersArgs {
39
+ filters?: inputs.GetUsersFilter[];
40
+ /**
41
+ * The order in which results should be returned. (`asc`, `desc`; default `asc`)
42
+ */
43
+ order?: string;
44
+ /**
45
+ * The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
46
+ */
47
+ orderBy?: string;
48
+ users?: inputs.GetUsersUser[];
49
+ }
50
+ /**
51
+ * A collection of values returned by getUsers.
52
+ */
53
+ export interface GetUsersResult {
54
+ readonly filters?: outputs.GetUsersFilter[];
55
+ /**
56
+ * The ID of entity this grant applies to.
57
+ */
58
+ readonly id: string;
59
+ readonly order?: string;
60
+ readonly orderBy?: string;
61
+ readonly users?: outputs.GetUsersUser[];
62
+ }
63
+ /**
64
+ * Provides information about Linode users that match a set of filters.
65
+ *
66
+ * ```typescript
67
+ * import * as pulumi from "@pulumi/pulumi";
68
+ * import * as linode from "@pulumi/linode";
69
+ *
70
+ * const filtered-users = linode.getUsers({
71
+ * filters: [{
72
+ * name: "username",
73
+ * values: ["test-user"],
74
+ * }],
75
+ * });
76
+ * export const users = filtered_users.then(filtered_users => filtered_users.users);
77
+ * ```
78
+ *
79
+ * ## Filterable Fields
80
+ *
81
+ * * `username`
82
+ *
83
+ * * `email`
84
+ *
85
+ * * `restricted`
86
+ *
87
+ * * `passwordCreated`
88
+ *
89
+ * * `tfaEnabled`
90
+ *
91
+ * * `verfiedPhoneNumber`
92
+ */
93
+ export declare function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUsersResult>;
94
+ /**
95
+ * A collection of arguments for invoking getUsers.
96
+ */
97
+ export interface GetUsersOutputArgs {
98
+ filters?: pulumi.Input<pulumi.Input<inputs.GetUsersFilterArgs>[]>;
99
+ /**
100
+ * The order in which results should be returned. (`asc`, `desc`; default `asc`)
101
+ */
102
+ order?: pulumi.Input<string>;
103
+ /**
104
+ * The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
105
+ */
106
+ orderBy?: pulumi.Input<string>;
107
+ users?: pulumi.Input<pulumi.Input<inputs.GetUsersUserArgs>[]>;
108
+ }
package/getUsers.js ADDED
@@ -0,0 +1,83 @@
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.getUsersOutput = exports.getUsers = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides information about Linode users that match a set of filters.
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as linode from "@pulumi/linode";
14
+ *
15
+ * const filtered-users = linode.getUsers({
16
+ * filters: [{
17
+ * name: "username",
18
+ * values: ["test-user"],
19
+ * }],
20
+ * });
21
+ * export const users = filtered_users.then(filtered_users => filtered_users.users);
22
+ * ```
23
+ *
24
+ * ## Filterable Fields
25
+ *
26
+ * * `username`
27
+ *
28
+ * * `email`
29
+ *
30
+ * * `restricted`
31
+ *
32
+ * * `passwordCreated`
33
+ *
34
+ * * `tfaEnabled`
35
+ *
36
+ * * `verfiedPhoneNumber`
37
+ */
38
+ function getUsers(args, opts) {
39
+ args = args || {};
40
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
41
+ return pulumi.runtime.invoke("linode:index/getUsers:getUsers", {
42
+ "filters": args.filters,
43
+ "order": args.order,
44
+ "orderBy": args.orderBy,
45
+ "users": args.users,
46
+ }, opts);
47
+ }
48
+ exports.getUsers = getUsers;
49
+ /**
50
+ * Provides information about Linode users that match a set of filters.
51
+ *
52
+ * ```typescript
53
+ * import * as pulumi from "@pulumi/pulumi";
54
+ * import * as linode from "@pulumi/linode";
55
+ *
56
+ * const filtered-users = linode.getUsers({
57
+ * filters: [{
58
+ * name: "username",
59
+ * values: ["test-user"],
60
+ * }],
61
+ * });
62
+ * export const users = filtered_users.then(filtered_users => filtered_users.users);
63
+ * ```
64
+ *
65
+ * ## Filterable Fields
66
+ *
67
+ * * `username`
68
+ *
69
+ * * `email`
70
+ *
71
+ * * `restricted`
72
+ *
73
+ * * `passwordCreated`
74
+ *
75
+ * * `tfaEnabled`
76
+ *
77
+ * * `verfiedPhoneNumber`
78
+ */
79
+ function getUsersOutput(args, opts) {
80
+ return pulumi.output(args).apply((a) => getUsers(a, opts));
81
+ }
82
+ exports.getUsersOutput = getUsersOutput;
83
+ //# sourceMappingURL=getUsers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;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;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,4BAUC;AA+BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;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"}