@pulumi/linode 4.3.0-alpha.1687055232 → 4.3.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.
@@ -12,7 +12,7 @@ import * as outputs from "./types/output";
12
12
  * import * as linode from "@pulumi/linode";
13
13
  *
14
14
  * const my-db = linode.getDatabaseMysql({
15
- * databaseId: 12345,
15
+ * id: 12345,
16
16
  * });
17
17
  * ```
18
18
  * ## updates
@@ -29,15 +29,19 @@ import * as outputs from "./types/output";
29
29
  *
30
30
  * * `weekOfMonth` - The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
31
31
  */
32
- export declare function getDatabaseMysql(args: GetDatabaseMysqlArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseMysqlResult>;
32
+ export declare function getDatabaseMysql(args?: GetDatabaseMysqlArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseMysqlResult>;
33
33
  /**
34
34
  * A collection of arguments for invoking getDatabaseMysql.
35
35
  */
36
36
  export interface GetDatabaseMysqlArgs {
37
37
  /**
38
- * The ID of the MySQL database.
38
+ * The ID of the MySQL database. Deprecated: Use id instead.
39
39
  */
40
- databaseId: number;
40
+ databaseId?: number;
41
+ /**
42
+ * The ID of the MySQL database. Mutually exclusive with `databaseId`.
43
+ */
44
+ id?: number;
41
45
  }
42
46
  /**
43
47
  * A collection of values returned by getDatabaseMysql.
@@ -59,7 +63,7 @@ export interface GetDatabaseMysqlResult {
59
63
  * When this Managed Database was created.
60
64
  */
61
65
  readonly created: string;
62
- readonly databaseId: number;
66
+ readonly databaseId?: number;
63
67
  /**
64
68
  * Whether the Managed Databases is encrypted.
65
69
  */
@@ -80,10 +84,7 @@ export interface GetDatabaseMysqlResult {
80
84
  * The secondary/private network host for the Managed Database.
81
85
  */
82
86
  readonly hostSecondary: string;
83
- /**
84
- * The provider-assigned unique ID for this managed resource.
85
- */
86
- readonly id: string;
87
+ readonly id?: number;
87
88
  /**
88
89
  * A unique, user-defined string referring to the Managed Database.
89
90
  */
@@ -138,7 +139,7 @@ export interface GetDatabaseMysqlResult {
138
139
  * import * as linode from "@pulumi/linode";
139
140
  *
140
141
  * const my-db = linode.getDatabaseMysql({
141
- * databaseId: 12345,
142
+ * id: 12345,
142
143
  * });
143
144
  * ```
144
145
  * ## updates
@@ -155,13 +156,17 @@ export interface GetDatabaseMysqlResult {
155
156
  *
156
157
  * * `weekOfMonth` - The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
157
158
  */
158
- export declare function getDatabaseMysqlOutput(args: GetDatabaseMysqlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabaseMysqlResult>;
159
+ export declare function getDatabaseMysqlOutput(args?: GetDatabaseMysqlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabaseMysqlResult>;
159
160
  /**
160
161
  * A collection of arguments for invoking getDatabaseMysql.
161
162
  */
162
163
  export interface GetDatabaseMysqlOutputArgs {
163
164
  /**
164
- * The ID of the MySQL database.
165
+ * The ID of the MySQL database. Deprecated: Use id instead.
166
+ */
167
+ databaseId?: pulumi.Input<number>;
168
+ /**
169
+ * The ID of the MySQL database. Mutually exclusive with `databaseId`.
165
170
  */
166
- databaseId: pulumi.Input<number>;
171
+ id?: pulumi.Input<number>;
167
172
  }
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
17
17
  * import * as linode from "@pulumi/linode";
18
18
  *
19
19
  * const my-db = linode.getDatabaseMysql({
20
- * databaseId: 12345,
20
+ * id: 12345,
21
21
  * });
22
22
  * ```
23
23
  * ## updates
@@ -35,9 +35,11 @@ const utilities = require("./utilities");
35
35
  * * `weekOfMonth` - The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
36
36
  */
37
37
  function getDatabaseMysql(args, opts) {
38
+ args = args || {};
38
39
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
39
40
  return pulumi.runtime.invoke("linode:index/getDatabaseMysql:getDatabaseMysql", {
40
41
  "databaseId": args.databaseId,
42
+ "id": args.id,
41
43
  }, opts);
42
44
  }
43
45
  exports.getDatabaseMysql = getDatabaseMysql;
@@ -53,7 +55,7 @@ exports.getDatabaseMysql = getDatabaseMysql;
53
55
  * import * as linode from "@pulumi/linode";
54
56
  *
55
57
  * const my-db = linode.getDatabaseMysql({
56
- * databaseId: 12345,
58
+ * id: 12345,
57
59
  * });
58
60
  * ```
59
61
  * ## updates
@@ -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,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC;AAmGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
1
+ {"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"}
@@ -12,7 +12,7 @@ import * as outputs from "./types/output";
12
12
  * import * as linode from "@pulumi/linode";
13
13
  *
14
14
  * const my-db = linode.getDatabasePostgresql({
15
- * databaseId: 12345,
15
+ * id: 12345,
16
16
  * });
17
17
  * ```
18
18
  * ## updates
@@ -29,15 +29,19 @@ import * as outputs from "./types/output";
29
29
  *
30
30
  * * `weekOfMonth` - The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
31
31
  */
32
- export declare function getDatabasePostgresql(args: GetDatabasePostgresqlArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabasePostgresqlResult>;
32
+ export declare function getDatabasePostgresql(args?: GetDatabasePostgresqlArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabasePostgresqlResult>;
33
33
  /**
34
34
  * A collection of arguments for invoking getDatabasePostgresql.
35
35
  */
36
36
  export interface GetDatabasePostgresqlArgs {
37
37
  /**
38
- * The ID of the PostgreSQL database.
38
+ * The ID of the PostgreSQL database. Deprecated: Use id instead.
39
39
  */
40
- databaseId: number;
40
+ databaseId?: number;
41
+ /**
42
+ * The ID of the PostgreSQL database. Mutually exclusive with `databaseId`.
43
+ */
44
+ id?: number;
41
45
  }
42
46
  /**
43
47
  * A collection of values returned by getDatabasePostgresql.
@@ -59,7 +63,7 @@ export interface GetDatabasePostgresqlResult {
59
63
  * When this Managed Database was created.
60
64
  */
61
65
  readonly created: string;
62
- readonly databaseId: number;
66
+ readonly databaseId?: number;
63
67
  /**
64
68
  * Whether the Managed Databases is encrypted.
65
69
  */
@@ -80,10 +84,7 @@ export interface GetDatabasePostgresqlResult {
80
84
  * The secondary/private network host for the Managed Database.
81
85
  */
82
86
  readonly hostSecondary: string;
83
- /**
84
- * The provider-assigned unique ID for this managed resource.
85
- */
86
- readonly id: string;
87
+ readonly id?: number;
87
88
  /**
88
89
  * A unique, user-defined string referring to the Managed Database.
89
90
  */
@@ -143,7 +144,7 @@ export interface GetDatabasePostgresqlResult {
143
144
  * import * as linode from "@pulumi/linode";
144
145
  *
145
146
  * const my-db = linode.getDatabasePostgresql({
146
- * databaseId: 12345,
147
+ * id: 12345,
147
148
  * });
148
149
  * ```
149
150
  * ## updates
@@ -160,13 +161,17 @@ export interface GetDatabasePostgresqlResult {
160
161
  *
161
162
  * * `weekOfMonth` - The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
162
163
  */
163
- export declare function getDatabasePostgresqlOutput(args: GetDatabasePostgresqlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabasePostgresqlResult>;
164
+ export declare function getDatabasePostgresqlOutput(args?: GetDatabasePostgresqlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabasePostgresqlResult>;
164
165
  /**
165
166
  * A collection of arguments for invoking getDatabasePostgresql.
166
167
  */
167
168
  export interface GetDatabasePostgresqlOutputArgs {
168
169
  /**
169
- * The ID of the PostgreSQL database.
170
+ * The ID of the PostgreSQL database. Deprecated: Use id instead.
171
+ */
172
+ databaseId?: pulumi.Input<number>;
173
+ /**
174
+ * The ID of the PostgreSQL database. Mutually exclusive with `databaseId`.
170
175
  */
171
- databaseId: pulumi.Input<number>;
176
+ id?: pulumi.Input<number>;
172
177
  }
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
17
17
  * import * as linode from "@pulumi/linode";
18
18
  *
19
19
  * const my-db = linode.getDatabasePostgresql({
20
- * databaseId: 12345,
20
+ * id: 12345,
21
21
  * });
22
22
  * ```
23
23
  * ## updates
@@ -35,9 +35,11 @@ const utilities = require("./utilities");
35
35
  * * `weekOfMonth` - The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
36
36
  */
37
37
  function getDatabasePostgresql(args, opts) {
38
+ args = args || {};
38
39
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
39
40
  return pulumi.runtime.invoke("linode:index/getDatabasePostgresql:getDatabasePostgresql", {
40
41
  "databaseId": args.databaseId,
42
+ "id": args.id,
41
43
  }, opts);
42
44
  }
43
45
  exports.getDatabasePostgresql = getDatabasePostgresql;
@@ -53,7 +55,7 @@ exports.getDatabasePostgresql = getDatabasePostgresql;
53
55
  * import * as linode from "@pulumi/linode";
54
56
  *
55
57
  * const my-db = linode.getDatabasePostgresql({
56
- * databaseId: 12345,
58
+ * id: 12345,
57
59
  * });
58
60
  * ```
59
61
  * ## updates
@@ -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,IAA+B,EAAE,IAA2B;IAE9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE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CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}
package/getDomain.d.ts CHANGED
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  * import * as linode from "@pulumi/linode";
12
12
  *
13
13
  * const foo = linode.getDomain({
14
- * id: "1234567",
14
+ * id: 1234567,
15
15
  * });
16
16
  * const bar = linode.getDomain({
17
17
  * domain: "bar.example.com",
@@ -30,7 +30,7 @@ export interface GetDomainArgs {
30
30
  /**
31
31
  * The unique numeric ID of the Domain record to query.
32
32
  */
33
- id?: string;
33
+ id?: number;
34
34
  }
35
35
  /**
36
36
  * A collection of values returned by getDomain.
@@ -59,7 +59,7 @@ export interface GetDomainResult {
59
59
  /**
60
60
  * The unique ID of this Domain.
61
61
  */
62
- readonly id?: string;
62
+ readonly id?: number;
63
63
  /**
64
64
  * The IP addresses representing the master DNS for this Domain.
65
65
  */
@@ -105,7 +105,7 @@ export interface GetDomainResult {
105
105
  * import * as linode from "@pulumi/linode";
106
106
  *
107
107
  * const foo = linode.getDomain({
108
- * id: "1234567",
108
+ * id: 1234567,
109
109
  * });
110
110
  * const bar = linode.getDomain({
111
111
  * domain: "bar.example.com",
@@ -124,5 +124,5 @@ export interface GetDomainOutputArgs {
124
124
  /**
125
125
  * The unique numeric ID of the Domain record to query.
126
126
  */
127
- id?: pulumi.Input<string>;
127
+ id?: pulumi.Input<number>;
128
128
  }
package/getDomain.js CHANGED
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
17
17
  * import * as linode from "@pulumi/linode";
18
18
  *
19
19
  * const foo = linode.getDomain({
20
- * id: "1234567",
20
+ * id: 1234567,
21
21
  * });
22
22
  * const bar = linode.getDomain({
23
23
  * domain: "bar.example.com",
@@ -45,7 +45,7 @@ exports.getDomain = getDomain;
45
45
  * import * as linode from "@pulumi/linode";
46
46
  *
47
47
  * const foo = linode.getDomain({
48
- * id: "1234567",
48
+ * id: 1234567,
49
49
  * });
50
50
  * const bar = linode.getDomain({
51
51
  * domain: "bar.example.com",
@@ -24,10 +24,6 @@ export interface GetDomainZonefileArgs {
24
24
  * The associated domain's unique ID.
25
25
  */
26
26
  domainId: number;
27
- /**
28
- * Array of strings representing the Domain Zonefile.
29
- */
30
- zoneFiles?: string[];
31
27
  }
32
28
  /**
33
29
  * A collection of values returned by getDomainZonefile.
@@ -37,14 +33,11 @@ export interface GetDomainZonefileResult {
37
33
  * The associated domain's unique ID.
38
34
  */
39
35
  readonly domainId: number;
40
- /**
41
- * The provider-assigned unique ID for this managed resource.
42
- */
43
36
  readonly id: string;
44
37
  /**
45
38
  * Array of strings representing the Domain Zonefile.
46
39
  */
47
- readonly zoneFiles?: string[];
40
+ readonly zoneFiles: string[];
48
41
  }
49
42
  /**
50
43
  * Provides information about a Linode Domain Zonefile.
@@ -71,8 +64,4 @@ export interface GetDomainZonefileOutputArgs {
71
64
  * The associated domain's unique ID.
72
65
  */
73
66
  domainId: pulumi.Input<number>;
74
- /**
75
- * Array of strings representing the Domain Zonefile.
76
- */
77
- zoneFiles?: pulumi.Input<pulumi.Input<string>[]>;
78
67
  }
@@ -25,7 +25,6 @@ function getDomainZonefile(args, opts) {
25
25
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
26
  return pulumi.runtime.invoke("linode:index/getDomainZonefile:getDomainZonefile", {
27
27
  "domainId": args.domainId,
28
- "zoneFiles": args.zoneFiles,
29
28
  }, opts);
30
29
  }
31
30
  exports.getDomainZonefile = getDomainZonefile;
@@ -1 +1 @@
1
- {"version":3,"file":"getDomainZonefile.js","sourceRoot":"","sources":["../getDomainZonefile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE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face GetInstanceNetworkingArgs {
17
17
  * A collection of values returned by getInstanceNetworking.
18
18
  */
19
19
  export interface GetInstanceNetworkingResult {
20
- /**
21
- * The provider-assigned unique ID for this managed resource.
22
- */
23
20
  readonly id: string;
24
21
  readonly ipv4s: outputs.GetInstanceNetworkingIpv4[];
25
22
  readonly ipv6s: outputs.GetInstanceNetworkingIpv6[];
@@ -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;AA2BD;;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;;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"}
package/getIpv6Range.d.ts CHANGED
@@ -29,9 +29,6 @@ export interface GetIpv6RangeArgs {
29
29
  * A collection of values returned by getIpv6Range.
30
30
  */
31
31
  export interface GetIpv6RangeResult {
32
- /**
33
- * The provider-assigned unique ID for this managed resource.
34
- */
35
32
  readonly id: string;
36
33
  readonly isBgp: boolean;
37
34
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"getIpv6Range.js","sourceRoot":"","sources":["../getIpv6Range.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oCAMC;AAmCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
1
+ {"version":3,"file":"getIpv6Range.js","sourceRoot":"","sources":["../getIpv6Range.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oCAMC;AAgCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
@@ -20,26 +20,10 @@ export declare function getObjectStorageCluster(args: GetObjectStorageClusterArg
20
20
  * A collection of arguments for invoking getObjectStorageCluster.
21
21
  */
22
22
  export interface GetObjectStorageClusterArgs {
23
- /**
24
- * The base URL for this cluster.
25
- */
26
- domain?: string;
27
23
  /**
28
24
  * The unique ID of this cluster.
29
25
  */
30
26
  id: string;
31
- /**
32
- * The region this cluster is located in. See all regions [here](https://api.linode.com/v4/regions).
33
- */
34
- region?: string;
35
- /**
36
- * The base URL for this cluster used when hosting static sites.
37
- */
38
- staticSiteDomain?: string;
39
- /**
40
- * This cluster's status. (`available`, `unavailable`)
41
- */
42
- status?: string;
43
27
  }
44
28
  /**
45
29
  * A collection of values returned by getObjectStorageCluster.
@@ -84,24 +68,8 @@ export declare function getObjectStorageClusterOutput(args: GetObjectStorageClus
84
68
  * A collection of arguments for invoking getObjectStorageCluster.
85
69
  */
86
70
  export interface GetObjectStorageClusterOutputArgs {
87
- /**
88
- * The base URL for this cluster.
89
- */
90
- domain?: pulumi.Input<string>;
91
71
  /**
92
72
  * The unique ID of this cluster.
93
73
  */
94
74
  id: pulumi.Input<string>;
95
- /**
96
- * The region this cluster is located in. See all regions [here](https://api.linode.com/v4/regions).
97
- */
98
- region?: pulumi.Input<string>;
99
- /**
100
- * The base URL for this cluster used when hosting static sites.
101
- */
102
- staticSiteDomain?: pulumi.Input<string>;
103
- /**
104
- * This cluster's status. (`available`, `unavailable`)
105
- */
106
- status?: pulumi.Input<string>;
107
75
  }
@@ -24,11 +24,7 @@ const utilities = require("./utilities");
24
24
  function getObjectStorageCluster(args, opts) {
25
25
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
26
  return pulumi.runtime.invoke("linode:index/getObjectStorageCluster:getObjectStorageCluster", {
27
- "domain": args.domain,
28
27
  "id": args.id,
29
- "region": args.region,
30
- "staticSiteDomain": args.staticSiteDomain,
31
- "status": args.status,
32
28
  }, opts);
33
29
  }
34
30
  exports.getObjectStorageCluster = getObjectStorageCluster;
@@ -1 +1 @@
1
- {"version":3,"file":"getObjectStorageCluster.js","sourceRoot":"","sources":["../getObjectStorageCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAElG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC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EC"}
package/getRegions.d.ts CHANGED
@@ -37,17 +37,15 @@ export declare function getRegions(args?: GetRegionsArgs, opts?: pulumi.InvokeOp
37
37
  */
38
38
  export interface GetRegionsArgs {
39
39
  filters?: inputs.GetRegionsFilter[];
40
+ regions?: inputs.GetRegionsRegion[];
40
41
  }
41
42
  /**
42
43
  * A collection of values returned by getRegions.
43
44
  */
44
45
  export interface GetRegionsResult {
45
46
  readonly filters?: outputs.GetRegionsFilter[];
46
- /**
47
- * The provider-assigned unique ID for this managed resource.
48
- */
49
47
  readonly id: string;
50
- readonly regions: outputs.GetRegionsRegion[];
48
+ readonly regions?: outputs.GetRegionsRegion[];
51
49
  }
52
50
  /**
53
51
  * Provides information about Linode regions that match a set of filters.
@@ -85,4 +83,5 @@ export declare function getRegionsOutput(args?: GetRegionsOutputArgs, opts?: pul
85
83
  */
86
84
  export interface GetRegionsOutputArgs {
87
85
  filters?: pulumi.Input<pulumi.Input<inputs.GetRegionsFilterArgs>[]>;
86
+ regions?: pulumi.Input<pulumi.Input<inputs.GetRegionsRegionArgs>[]>;
88
87
  }
package/getRegions.js CHANGED
@@ -40,6 +40,7 @@ function getRegions(args, opts) {
40
40
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
41
41
  return pulumi.runtime.invoke("linode:index/getRegions:getRegions", {
42
42
  "filters": args.filters,
43
+ "regions": args.regions,
43
44
  }, opts);
44
45
  }
45
46
  exports.getRegions = getRegions;
package/getRegions.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getRegions.js","sourceRoot":"","sources":["../getRegions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CA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CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
package/getSshKey.d.ts CHANGED
@@ -20,6 +20,10 @@ export declare function getSshKey(args: GetSshKeyArgs, opts?: pulumi.InvokeOptio
20
20
  * A collection of arguments for invoking getSshKey.
21
21
  */
22
22
  export interface GetSshKeyArgs {
23
+ /**
24
+ * The ID of the SSH Key
25
+ */
26
+ id?: string;
23
27
  /**
24
28
  * The label of the SSH Key to select.
25
29
  */
@@ -34,9 +38,9 @@ export interface GetSshKeyResult {
34
38
  */
35
39
  readonly created: string;
36
40
  /**
37
- * The provider-assigned unique ID for this managed resource.
41
+ * The ID of the SSH Key
38
42
  */
39
- readonly id: string;
43
+ readonly id?: string;
40
44
  readonly label: string;
41
45
  /**
42
46
  * The public SSH Key, which is used to authenticate to the root user of the Linodes you deploy.
@@ -64,6 +68,10 @@ export declare function getSshKeyOutput(args: GetSshKeyOutputArgs, opts?: pulumi
64
68
  * A collection of arguments for invoking getSshKey.
65
69
  */
66
70
  export interface GetSshKeyOutputArgs {
71
+ /**
72
+ * The ID of the SSH Key
73
+ */
74
+ id?: pulumi.Input<string>;
67
75
  /**
68
76
  * The label of the SSH Key to select.
69
77
  */
package/getSshKey.js CHANGED
@@ -24,6 +24,7 @@ const utilities = require("./utilities");
24
24
  function getSshKey(args, opts) {
25
25
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
26
  return pulumi.runtime.invoke("linode:index/getSshKey:getSshKey", {
27
+ "id": args.id,
27
28
  "label": args.label,
28
29
  }, opts);
29
30
  }
package/getSshKey.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getSshKey.js","sourceRoot":"","sources":["../getSshKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IA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E,CAAC;AAFD,0CAEC"}
@@ -3,54 +3,6 @@ import * as pulumi from "@pulumi/pulumi";
3
3
  * Provides a Linode NodeBalancer Node resource. This can be used to create, modify, and delete Linodes NodeBalancer Nodes.
4
4
  * For more information, see [Getting Started with NodeBalancers](https://www.linode.com/docs/platform/nodebalancer/getting-started-with-nodebalancers/) and the [Linode APIv4 docs](https://developers.linode.com/api/v4#operation/createNodeBalancerNode).
5
5
  *
6
- * ## Example Usage
7
- *
8
- * The following example shows how one might use this resource to configure NodeBalancer Nodes attached to Linode instances.
9
- *
10
- * ```typescript
11
- * import * as pulumi from "@pulumi/pulumi";
12
- * import * as linode from "@pulumi/linode";
13
- *
14
- * const web: linode.Instance[] = [];
15
- * for (const range = {value: 0}; range.value < "3"; range.value++) {
16
- * web.push(new linode.Instance(`web-${range.value}`, {
17
- * label: `web-${range.value + 1}`,
18
- * image: "linode/ubuntu18.04",
19
- * region: "us-east",
20
- * type: "g6-standard-1",
21
- * authorizedKeys: ["ssh-rsa AAAA...Gw== user@example.local"],
22
- * rootPass: "test",
23
- * privateIp: true,
24
- * }));
25
- * }
26
- * const foobar = new linode.NodeBalancer("foobar", {
27
- * label: "mynodebalancer",
28
- * region: "us-east",
29
- * clientConnThrottle: 20,
30
- * });
31
- * const foofig = new linode.NodeBalancerConfig("foofig", {
32
- * nodebalancerId: foobar.id,
33
- * port: 80,
34
- * protocol: "http",
35
- * check: "http",
36
- * checkPath: "/foo",
37
- * checkAttempts: 3,
38
- * checkTimeout: 30,
39
- * stickiness: "http_cookie",
40
- * algorithm: "source",
41
- * });
42
- * const foonode: linode.NodeBalancerNode[] = [];
43
- * for (const range = {value: 0}; range.value < "3"; range.value++) {
44
- * foonode.push(new linode.NodeBalancerNode(`foonode-${range.value}`, {
45
- * nodebalancerId: foobar.id,
46
- * configId: foofig.id,
47
- * address: web.map(__item => __item.privateIpAddress)[range.value].apply(privateIpAddresses => `${privateIpAddresses}:80`),
48
- * label: "mynodebalancernode",
49
- * weight: 50,
50
- * }));
51
- * }
52
- * ```
53
- *
54
6
  * ## Import
55
7
  *
56
8
  * NodeBalancer Nodes can be imported using the NodeBalancer `nodebalancer_id` followed by the NodeBalancer Config `config_id` followed by the NodeBalancer Node `id`, separated by a comma, e.g.
@@ -9,54 +9,6 @@ const utilities = require("./utilities");
9
9
  * Provides a Linode NodeBalancer Node resource. This can be used to create, modify, and delete Linodes NodeBalancer Nodes.
10
10
  * For more information, see [Getting Started with NodeBalancers](https://www.linode.com/docs/platform/nodebalancer/getting-started-with-nodebalancers/) and the [Linode APIv4 docs](https://developers.linode.com/api/v4#operation/createNodeBalancerNode).
11
11
  *
12
- * ## Example Usage
13
- *
14
- * The following example shows how one might use this resource to configure NodeBalancer Nodes attached to Linode instances.
15
- *
16
- * ```typescript
17
- * import * as pulumi from "@pulumi/pulumi";
18
- * import * as linode from "@pulumi/linode";
19
- *
20
- * const web: linode.Instance[] = [];
21
- * for (const range = {value: 0}; range.value < "3"; range.value++) {
22
- * web.push(new linode.Instance(`web-${range.value}`, {
23
- * label: `web-${range.value + 1}`,
24
- * image: "linode/ubuntu18.04",
25
- * region: "us-east",
26
- * type: "g6-standard-1",
27
- * authorizedKeys: ["ssh-rsa AAAA...Gw== user@example.local"],
28
- * rootPass: "test",
29
- * privateIp: true,
30
- * }));
31
- * }
32
- * const foobar = new linode.NodeBalancer("foobar", {
33
- * label: "mynodebalancer",
34
- * region: "us-east",
35
- * clientConnThrottle: 20,
36
- * });
37
- * const foofig = new linode.NodeBalancerConfig("foofig", {
38
- * nodebalancerId: foobar.id,
39
- * port: 80,
40
- * protocol: "http",
41
- * check: "http",
42
- * checkPath: "/foo",
43
- * checkAttempts: 3,
44
- * checkTimeout: 30,
45
- * stickiness: "http_cookie",
46
- * algorithm: "source",
47
- * });
48
- * const foonode: linode.NodeBalancerNode[] = [];
49
- * for (const range = {value: 0}; range.value < "3"; range.value++) {
50
- * foonode.push(new linode.NodeBalancerNode(`foonode-${range.value}`, {
51
- * nodebalancerId: foobar.id,
52
- * configId: foofig.id,
53
- * address: web.map(__item => __item.privateIpAddress)[range.value].apply(privateIpAddresses => `${privateIpAddresses}:80`),
54
- * label: "mynodebalancernode",
55
- * weight: 50,
56
- * }));
57
- * }
58
- * ```
59
- *
60
12
  * ## Import
61
13
  *
62
14
  * NodeBalancer Nodes can be imported using the NodeBalancer `nodebalancer_id` followed by the NodeBalancer Config `config_id` followed by the NodeBalancer Node `id`, separated by a comma, e.g.
@@ -1 +1 @@
1
- {"version":3,"file":"nodeBalancerNode.js","sourceRoot":"","sources":["../nodeBalancerNode.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAyCD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,SAAS,CAAC,GAAG,KA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CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAvGL,4CAwGC;AA1FG,gBAAgB;AACO,6BAAY,GAAG,gDAAgD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/linode",
3
- "version": "v4.3.0-alpha.1687055232+65412787",
3
+ "version": "v4.3.0",
4
4
  "description": "A Pulumi package for creating and managing linode cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource linode v4.3.0-alpha.1687055232+65412787"
14
+ "install": "node scripts/install-pulumi-plugin.js resource linode v4.3.0"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
package/types/input.d.ts CHANGED
@@ -340,6 +340,66 @@ export interface GetRegionsFilterArgs {
340
340
  */
341
341
  values: pulumi.Input<pulumi.Input<string>[]>;
342
342
  }
343
+ export interface GetRegionsRegion {
344
+ /**
345
+ * A list of capabilities of this region.
346
+ */
347
+ capabilities?: string[];
348
+ /**
349
+ * The country the region resides in.
350
+ */
351
+ country?: string;
352
+ id?: string;
353
+ /**
354
+ * Detailed location information for this Region, including city, state or region, and country.
355
+ */
356
+ label?: string;
357
+ resolvers?: inputs.GetRegionsRegionResolver[];
358
+ /**
359
+ * This region’s current operational status (ok or outage).
360
+ */
361
+ status?: string;
362
+ }
363
+ export interface GetRegionsRegionArgs {
364
+ /**
365
+ * A list of capabilities of this region.
366
+ */
367
+ capabilities?: pulumi.Input<pulumi.Input<string>[]>;
368
+ /**
369
+ * The country the region resides in.
370
+ */
371
+ country?: pulumi.Input<string>;
372
+ id?: pulumi.Input<string>;
373
+ /**
374
+ * Detailed location information for this Region, including city, state or region, and country.
375
+ */
376
+ label?: pulumi.Input<string>;
377
+ resolvers?: pulumi.Input<pulumi.Input<inputs.GetRegionsRegionResolverArgs>[]>;
378
+ /**
379
+ * This region’s current operational status (ok or outage).
380
+ */
381
+ status?: pulumi.Input<string>;
382
+ }
383
+ export interface GetRegionsRegionResolver {
384
+ /**
385
+ * The IPv4 addresses for this region’s DNS resolvers, separated by commas.
386
+ */
387
+ ipv4?: string;
388
+ /**
389
+ * The IPv6 addresses for this region’s DNS resolvers, separated by commas.
390
+ */
391
+ ipv6?: string;
392
+ }
393
+ export interface GetRegionsRegionResolverArgs {
394
+ /**
395
+ * The IPv4 addresses for this region’s DNS resolvers, separated by commas.
396
+ */
397
+ ipv4?: pulumi.Input<string>;
398
+ /**
399
+ * The IPv6 addresses for this region’s DNS resolvers, separated by commas.
400
+ */
401
+ ipv6?: pulumi.Input<string>;
402
+ }
343
403
  export interface GetStackScriptsFilter {
344
404
  /**
345
405
  * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
package/types/output.d.ts CHANGED
@@ -614,10 +614,18 @@ export interface GetInstanceNetworkingIpv4Private {
614
614
  * The default gateway for this address.
615
615
  */
616
616
  gateway: string;
617
+ /**
618
+ * The Linode instance's ID.
619
+ */
620
+ linodeId: number;
617
621
  /**
618
622
  * The network prefix.
619
623
  */
620
624
  prefix: number;
625
+ /**
626
+ * Whether this is a public or private IP address.
627
+ */
628
+ public: boolean;
621
629
  /**
622
630
  * The reverse DNS assigned to this address.
623
631
  */
@@ -644,10 +652,18 @@ export interface GetInstanceNetworkingIpv4Public {
644
652
  * The default gateway for this address.
645
653
  */
646
654
  gateway: string;
655
+ /**
656
+ * The Linode instance's ID.
657
+ */
658
+ linodeId: number;
647
659
  /**
648
660
  * The network prefix.
649
661
  */
650
662
  prefix: number;
663
+ /**
664
+ * Whether this is a public or private IP address.
665
+ */
666
+ public: boolean;
651
667
  /**
652
668
  * The reverse DNS assigned to this address.
653
669
  */
@@ -674,10 +690,18 @@ export interface GetInstanceNetworkingIpv4Reserved {
674
690
  * The default gateway for this address.
675
691
  */
676
692
  gateway: string;
693
+ /**
694
+ * The Linode instance's ID.
695
+ */
696
+ linodeId: number;
677
697
  /**
678
698
  * The network prefix.
679
699
  */
680
700
  prefix: number;
701
+ /**
702
+ * Whether this is a public or private IP address.
703
+ */
704
+ public: boolean;
681
705
  /**
682
706
  * The reverse DNS assigned to this address.
683
707
  */
@@ -704,10 +728,18 @@ export interface GetInstanceNetworkingIpv4Shared {
704
728
  * The default gateway for this address.
705
729
  */
706
730
  gateway: string;
731
+ /**
732
+ * The Linode instance's ID.
733
+ */
734
+ linodeId: number;
707
735
  /**
708
736
  * The network prefix.
709
737
  */
710
738
  prefix: number;
739
+ /**
740
+ * Whether this is a public or private IP address.
741
+ */
742
+ public: boolean;
711
743
  /**
712
744
  * The reverse DNS assigned to this address.
713
745
  */
@@ -727,8 +759,8 @@ export interface GetInstanceNetworkingIpv4Shared {
727
759
  }
728
760
  export interface GetInstanceNetworkingIpv6 {
729
761
  globals: outputs.GetInstanceNetworkingIpv6Global[];
730
- linkLocals: outputs.GetInstanceNetworkingIpv6LinkLocal[];
731
- slaacs: outputs.GetInstanceNetworkingIpv6Slaac[];
762
+ linkLocal: outputs.GetInstanceNetworkingIpv6LinkLocal;
763
+ slaac: outputs.GetInstanceNetworkingIpv6Slaac;
732
764
  }
733
765
  export interface GetInstanceNetworkingIpv6Global {
734
766
  /**
@@ -757,10 +789,18 @@ export interface GetInstanceNetworkingIpv6LinkLocal {
757
789
  * The default gateway for this address.
758
790
  */
759
791
  gateway: string;
792
+ /**
793
+ * The Linode instance's ID.
794
+ */
795
+ linodeId: number;
760
796
  /**
761
797
  * The network prefix.
762
798
  */
763
799
  prefix: number;
800
+ /**
801
+ * Whether this is a public or private IP address.
802
+ */
803
+ public: boolean;
764
804
  /**
765
805
  * The reverse DNS assigned to this address.
766
806
  */
@@ -787,10 +827,18 @@ export interface GetInstanceNetworkingIpv6Slaac {
787
827
  * The default gateway for this address.
788
828
  */
789
829
  gateway: string;
830
+ /**
831
+ * The Linode instance's ID.
832
+ */
833
+ linodeId: number;
790
834
  /**
791
835
  * The network prefix.
792
836
  */
793
837
  prefix: number;
838
+ /**
839
+ * Whether this is a public or private IP address.
840
+ */
841
+ public: boolean;
794
842
  /**
795
843
  * The reverse DNS assigned to this address.
796
844
  */
@@ -1333,7 +1381,7 @@ export interface GetRegionsRegion {
1333
1381
  * Detailed location information for this Region, including city, state or region, and country.
1334
1382
  */
1335
1383
  label: string;
1336
- resolvers: outputs.GetRegionsRegionResolver[];
1384
+ resolvers?: outputs.GetRegionsRegionResolver[];
1337
1385
  /**
1338
1386
  * This region’s current operational status (ok or outage).
1339
1387
  */