@pulumi/linode 4.32.0-alpha.1737525368 → 4.32.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.
Files changed (56) hide show
  1. package/databaseMysql.d.ts +2 -0
  2. package/databaseMysql.js +2 -0
  3. package/databaseMysql.js.map +1 -1
  4. package/databaseMysqlV2.d.ts +333 -0
  5. package/databaseMysqlV2.js +147 -0
  6. package/databaseMysqlV2.js.map +1 -0
  7. package/databasePostgresql.d.ts +2 -0
  8. package/databasePostgresql.js +2 -0
  9. package/databasePostgresql.js.map +1 -1
  10. package/databasePostgresqlV2.d.ts +333 -0
  11. package/databasePostgresqlV2.js +147 -0
  12. package/databasePostgresqlV2.js.map +1 -0
  13. package/getDatabaseBackups.d.ts +4 -0
  14. package/getDatabaseBackups.js +4 -0
  15. package/getDatabaseBackups.js.map +1 -1
  16. package/getDatabaseMysql.d.ts +4 -0
  17. package/getDatabaseMysql.js +4 -0
  18. package/getDatabaseMysql.js.map +1 -1
  19. package/getDatabaseMysqlBackups.d.ts +4 -4
  20. package/getDatabaseMysqlBackups.js +4 -4
  21. package/getDatabaseMysqlV2.d.ts +204 -0
  22. package/getDatabaseMysqlV2.js +104 -0
  23. package/getDatabaseMysqlV2.js.map +1 -0
  24. package/getDatabasePostgresql.d.ts +4 -0
  25. package/getDatabasePostgresql.js +4 -0
  26. package/getDatabasePostgresql.js.map +1 -1
  27. package/getDatabasePostgresqlV2.d.ts +204 -0
  28. package/getDatabasePostgresqlV2.js +104 -0
  29. package/getDatabasePostgresqlV2.js.map +1 -0
  30. package/getInstanceType.d.ts +4 -0
  31. package/getInstanceType.js.map +1 -1
  32. package/getNetworkingIp.d.ts +3 -0
  33. package/getNetworkingIp.js.map +1 -1
  34. package/getNetworkingIps.d.ts +112 -0
  35. package/getNetworkingIps.js +100 -0
  36. package/getNetworkingIps.js.map +1 -1
  37. package/getPlacementGroup.d.ts +12 -0
  38. package/getPlacementGroup.js +2 -0
  39. package/getPlacementGroup.js.map +1 -1
  40. package/index.d.ts +12 -0
  41. package/index.js +20 -4
  42. package/index.js.map +1 -1
  43. package/instance.d.ts +9 -3
  44. package/instance.js.map +1 -1
  45. package/networkingIp.d.ts +37 -11
  46. package/networkingIp.js +26 -0
  47. package/networkingIp.js.map +1 -1
  48. package/networkingIpAssignment.d.ts +17 -3
  49. package/networkingIpAssignment.js +5 -0
  50. package/networkingIpAssignment.js.map +1 -1
  51. package/objectStorageKey.d.ts +23 -0
  52. package/objectStorageKey.js +23 -0
  53. package/objectStorageKey.js.map +1 -1
  54. package/package.json +2 -2
  55. package/types/input.d.ts +183 -13
  56. package/types/output.d.ts +155 -7
package/types/output.d.ts CHANGED
@@ -21,6 +21,31 @@ export interface DatabaseMysqlUpdates {
21
21
  */
22
22
  weekOfMonth?: number;
23
23
  }
24
+ export interface DatabaseMysqlV2PendingUpdate {
25
+ deadline: string;
26
+ description: string;
27
+ plannedFor: string;
28
+ }
29
+ export interface DatabaseMysqlV2Timeouts {
30
+ /**
31
+ * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
32
+ */
33
+ create?: string;
34
+ /**
35
+ * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
36
+ */
37
+ delete?: string;
38
+ /**
39
+ * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
40
+ */
41
+ update?: string;
42
+ }
43
+ export interface DatabaseMysqlV2Updates {
44
+ dayOfWeek: number;
45
+ duration: number;
46
+ frequency: string;
47
+ hourOfDay: number;
48
+ }
24
49
  export interface DatabasePostgresqlUpdates {
25
50
  /**
26
51
  * The day to perform maintenance.
@@ -43,6 +68,31 @@ export interface DatabasePostgresqlUpdates {
43
68
  */
44
69
  weekOfMonth?: number;
45
70
  }
71
+ export interface DatabasePostgresqlV2PendingUpdate {
72
+ deadline: string;
73
+ description: string;
74
+ plannedFor: string;
75
+ }
76
+ export interface DatabasePostgresqlV2Timeouts {
77
+ /**
78
+ * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
79
+ */
80
+ create?: string;
81
+ /**
82
+ * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
83
+ */
84
+ delete?: string;
85
+ /**
86
+ * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
87
+ */
88
+ update?: string;
89
+ }
90
+ export interface DatabasePostgresqlV2Updates {
91
+ dayOfWeek: number;
92
+ duration: number;
93
+ frequency: string;
94
+ hourOfDay: number;
95
+ }
46
96
  export interface FirewallDevice {
47
97
  /**
48
98
  * The ID of the underlying entity this device references (i.e. the Linode's ID).
@@ -372,6 +422,17 @@ export interface GetDatabaseMysqlUpdate {
372
422
  hourOfDay: number;
373
423
  weekOfMonth: number;
374
424
  }
425
+ export interface GetDatabaseMysqlV2PendingUpdate {
426
+ deadline: string;
427
+ description: string;
428
+ plannedFor: string;
429
+ }
430
+ export interface GetDatabaseMysqlV2Updates {
431
+ dayOfWeek: number;
432
+ duration: number;
433
+ frequency: string;
434
+ hourOfDay: number;
435
+ }
375
436
  export interface GetDatabasePostgresqlUpdate {
376
437
  dayOfWeek: string;
377
438
  duration: number;
@@ -379,6 +440,17 @@ export interface GetDatabasePostgresqlUpdate {
379
440
  hourOfDay: number;
380
441
  weekOfMonth: number;
381
442
  }
443
+ export interface GetDatabasePostgresqlV2PendingUpdate {
444
+ deadline: string;
445
+ description: string;
446
+ plannedFor: string;
447
+ }
448
+ export interface GetDatabasePostgresqlV2Updates {
449
+ dayOfWeek: number;
450
+ duration: number;
451
+ frequency: string;
452
+ hourOfDay: number;
453
+ }
382
454
  export interface GetDatabasesDatabase {
383
455
  /**
384
456
  * A list of IP addresses that can access the Managed Database.
@@ -1488,6 +1560,10 @@ export interface GetInstanceTypesFilter {
1488
1560
  values: string[];
1489
1561
  }
1490
1562
  export interface GetInstanceTypesType {
1563
+ /**
1564
+ * The number of VPUs this Linode Type offers.
1565
+ */
1566
+ acceleratedDevices: number;
1491
1567
  /**
1492
1568
  * Information about the optional Backup service offered for Linodes.
1493
1569
  */
@@ -2033,10 +2109,18 @@ export interface GetInstancesInstancePlacementGroup {
2033
2109
  placementGroupType: string;
2034
2110
  }
2035
2111
  export interface GetInstancesInstanceSpec {
2112
+ /**
2113
+ * The number of VPUs this Linode has access to.
2114
+ */
2115
+ acceleratedDevices: number;
2036
2116
  /**
2037
2117
  * The amount of storage space, in GB. this Linode has access to. A typical Linode will divide this space between a primary disk with an image deployed to it, and a swap disk, usually 512 MB. This is the default configuration created when deploying a Linode with an image through POST /linode/instances.
2038
2118
  */
2039
2119
  disk: number;
2120
+ /**
2121
+ * The number of GPUs this Linode has access to.
2122
+ */
2123
+ gpus: number;
2040
2124
  /**
2041
2125
  * The amount of RAM, in MB, this Linode has access to. Typically a Linode will choose to boot with all of its available RAM, but this can be configured in a Config profile.
2042
2126
  */
@@ -2479,15 +2563,15 @@ export interface GetNetworkTransferPricesTypeRegionPrice {
2479
2563
  }
2480
2564
  export interface GetNetworkingIpsFilter {
2481
2565
  /**
2482
- * The type of comparison to use for this filter.
2566
+ * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
2483
2567
  */
2484
2568
  matchBy?: string;
2485
2569
  /**
2486
- * The name of the attribute to filter on.
2570
+ * The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
2487
2571
  */
2488
2572
  name: string;
2489
2573
  /**
2490
- * The value(s) to be used in the filter.
2574
+ * A list of values for the filter to allow. These values should all be in string form.
2491
2575
  */
2492
2576
  values: string[];
2493
2577
  }
@@ -2517,11 +2601,11 @@ export interface GetNetworkingIpsIpAddress {
2517
2601
  */
2518
2602
  rdns: string;
2519
2603
  /**
2520
- * The Region this IP address resides in.
2604
+ * The Region this IP address resides in. See all regions [here](https://api.linode.com/v4/regions).
2521
2605
  */
2522
2606
  region: string;
2523
2607
  /**
2524
- * Whether this IP is reserved or not.
2608
+ * Whether this IP address is a reserved IP.
2525
2609
  */
2526
2610
  reserved: boolean;
2527
2611
  /**
@@ -2835,6 +2919,28 @@ export interface GetPlacementGroupMember {
2835
2919
  */
2836
2920
  linodeId: number;
2837
2921
  }
2922
+ export interface GetPlacementGroupMigrations {
2923
+ /**
2924
+ * A list of the Linodes the system is migrating into the placement group.
2925
+ */
2926
+ inbounds: outputs.GetPlacementGroupMigrationsInbound[];
2927
+ /**
2928
+ * A list of the Linodes the system is migrating out of the placement group.
2929
+ */
2930
+ outbounds: outputs.GetPlacementGroupMigrationsOutbound[];
2931
+ }
2932
+ export interface GetPlacementGroupMigrationsInbound {
2933
+ /**
2934
+ * The ID of the Linode.
2935
+ */
2936
+ linodeId: number;
2937
+ }
2938
+ export interface GetPlacementGroupMigrationsOutbound {
2939
+ /**
2940
+ * The ID of the Linode.
2941
+ */
2942
+ linodeId: number;
2943
+ }
2838
2944
  export interface GetPlacementGroupsFilter {
2839
2945
  /**
2840
2946
  * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
@@ -2866,6 +2972,10 @@ export interface GetPlacementGroupsPlacementGroup {
2866
2972
  * A set of Linodes currently assigned to this Placement Group.
2867
2973
  */
2868
2974
  members?: outputs.GetPlacementGroupsPlacementGroupMember[];
2975
+ /**
2976
+ * Any Linodes that are being migrated to or from the placement group.
2977
+ */
2978
+ migrations?: outputs.GetPlacementGroupsPlacementGroupMigrations;
2869
2979
  /**
2870
2980
  * Whether Linodes must be able to become compliant during assignment. (Default `strict`)
2871
2981
  */
@@ -2885,7 +2995,29 @@ export interface GetPlacementGroupsPlacementGroupMember {
2885
2995
  */
2886
2996
  isCompliant: boolean;
2887
2997
  /**
2888
- * The ID of the Linode.
2998
+ * The unique identifier for the Linode being migrated out of the placement group.
2999
+ */
3000
+ linodeId: number;
3001
+ }
3002
+ export interface GetPlacementGroupsPlacementGroupMigrations {
3003
+ /**
3004
+ * A list of the Linodes the system is migrating into the placement group.
3005
+ */
3006
+ inbounds: outputs.GetPlacementGroupsPlacementGroupMigrationsInbound[];
3007
+ /**
3008
+ * A list of the Linodes the system is migrating out of the placement group.
3009
+ */
3010
+ outbounds: outputs.GetPlacementGroupsPlacementGroupMigrationsOutbound[];
3011
+ }
3012
+ export interface GetPlacementGroupsPlacementGroupMigrationsInbound {
3013
+ /**
3014
+ * The unique identifier for the Linode being migrated out of the placement group.
3015
+ */
3016
+ linodeId: number;
3017
+ }
3018
+ export interface GetPlacementGroupsPlacementGroupMigrationsOutbound {
3019
+ /**
3020
+ * The unique identifier for the Linode being migrated out of the placement group.
2889
3021
  */
2890
3022
  linodeId: number;
2891
3023
  }
@@ -4331,7 +4463,9 @@ export interface InstanceInterface {
4331
4463
  */
4332
4464
  ipamAddress?: string;
4333
4465
  /**
4334
- * This Linode's IPv4 Addresses. Each Linode is assigned a single public IPv4 address upon creation, and may get a single private IPv4 address if needed. You may need to open a support ticket to get additional IPv4 addresses.
4466
+ * A set of reserved IPv4 addresses to assign to this Linode on creation.
4467
+ *
4468
+ * * **NOTE: IP reservation is not currently available to all users.**
4335
4469
  */
4336
4470
  ipv4: outputs.InstanceInterfaceIpv4;
4337
4471
  /**
@@ -4403,10 +4537,18 @@ export interface InstancePlacementGroup {
4403
4537
  placementGroupType: string;
4404
4538
  }
4405
4539
  export interface InstanceSpecs {
4540
+ /**
4541
+ * The number of VPUs this Linode has access to.
4542
+ */
4543
+ acceleratedDevices: number;
4406
4544
  /**
4407
4545
  * The amount of storage space, in GB. this Linode has access to. A typical Linode will divide this space between a primary disk with an image deployed to it, and a swap disk, usually 512 MB. This is the default configuration created when deploying a Linode with an image through POST /linode/instances.
4408
4546
  */
4409
4547
  disk: number;
4548
+ /**
4549
+ * The number of GPUs this Linode has access to.
4550
+ */
4551
+ gpus: number;
4410
4552
  /**
4411
4553
  * The amount of RAM, in MB, this Linode has access to. Typically a Linode will choose to boot with all of its available RAM, but this can be configured in a Config profile.
4412
4554
  */
@@ -4573,7 +4715,13 @@ export interface LkeNodePoolTaint {
4573
4715
  value: string;
4574
4716
  }
4575
4717
  export interface NetworkingIpAssignmentAssignment {
4718
+ /**
4719
+ * The IPv4 address or IPv6 range to assign.
4720
+ */
4576
4721
  address: string;
4722
+ /**
4723
+ * The ID of the Linode to which the IP address will be assigned.
4724
+ */
4577
4725
  linodeId: number;
4578
4726
  }
4579
4727
  export interface NodeBalancerConfigNodeStatus {