@pulumi/digitalocean 4.77.0-alpha.1785220775 → 4.77.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 (47) hide show
  1. package/droplet.d.ts +39 -6
  2. package/droplet.d.ts.map +1 -1
  3. package/droplet.js +2 -0
  4. package/droplet.js.map +1 -1
  5. package/getDroplet.d.ts +4 -0
  6. package/getDroplet.d.ts.map +1 -1
  7. package/getDroplet.js.map +1 -1
  8. package/getMicrodroplet.d.ts +92 -0
  9. package/getMicrodroplet.d.ts.map +1 -0
  10. package/getMicrodroplet.js +83 -0
  11. package/getMicrodroplet.js.map +1 -0
  12. package/getMicrodropletCheckpoints.d.ts +113 -0
  13. package/getMicrodropletCheckpoints.d.ts.map +1 -0
  14. package/getMicrodropletCheckpoints.js +103 -0
  15. package/getMicrodropletCheckpoints.js.map +1 -0
  16. package/getMicrodropletImage.d.ts +91 -0
  17. package/getMicrodropletImage.d.ts.map +1 -0
  18. package/getMicrodropletImage.js +87 -0
  19. package/getMicrodropletImage.js.map +1 -0
  20. package/getMicrodropletImages.d.ts +95 -0
  21. package/getMicrodropletImages.d.ts.map +1 -0
  22. package/getMicrodropletImages.js +97 -0
  23. package/getMicrodropletImages.js.map +1 -0
  24. package/getMicrodroplets.d.ts +113 -0
  25. package/getMicrodroplets.d.ts.map +1 -0
  26. package/getMicrodroplets.js +101 -0
  27. package/getMicrodroplets.js.map +1 -0
  28. package/index.d.ts +21 -0
  29. package/index.d.ts.map +1 -1
  30. package/index.js +28 -3
  31. package/index.js.map +1 -1
  32. package/microdroplet.d.ts +285 -0
  33. package/microdroplet.d.ts.map +1 -0
  34. package/microdroplet.js +165 -0
  35. package/microdroplet.js.map +1 -0
  36. package/microdropletImage.d.ts +116 -0
  37. package/microdropletImage.d.ts.map +1 -0
  38. package/microdropletImage.js +114 -0
  39. package/microdropletImage.js.map +1 -0
  40. package/package.json +2 -2
  41. package/provider.d.ts.map +1 -1
  42. package/provider.js +3 -1
  43. package/provider.js.map +1 -1
  44. package/types/input.d.ts +178 -0
  45. package/types/input.d.ts.map +1 -1
  46. package/types/output.d.ts +270 -0
  47. package/types/output.d.ts.map +1 -1
package/types/output.d.ts CHANGED
@@ -5934,6 +5934,10 @@ export interface GetDropletsDroplet {
5934
5934
  * The size of the Droplet's disk in GB.
5935
5935
  */
5936
5936
  disk: number;
5937
+ /**
5938
+ * the GPU partition mode the Droplet was created with
5939
+ */
5940
+ gpuPartitionMode: string;
5937
5941
  /**
5938
5942
  * The ID of the Droplet.
5939
5943
  */
@@ -15142,6 +15146,230 @@ export interface GetLoadBalancerStickySession {
15142
15146
  */
15143
15147
  type: string;
15144
15148
  }
15149
+ export interface GetMicrodropletAutoPause {
15150
+ /**
15151
+ * Whether auto-pause is enabled. Forces recreation on change (no in-place API path).
15152
+ */
15153
+ enabled: boolean;
15154
+ /**
15155
+ * Idle timeout as a Go duration string (e.g. '5m', '30s'). Forces recreation on change (no in-place API path).
15156
+ */
15157
+ idleTimeout: string;
15158
+ }
15159
+ export interface GetMicrodropletCheckpointsCheckpoint {
15160
+ /**
15161
+ * RFC3339 timestamp of when the checkpoint was created.
15162
+ */
15163
+ createdAt: string;
15164
+ /**
15165
+ * Size of the persisted disk image, in bytes.
15166
+ */
15167
+ diskBytes: number;
15168
+ /**
15169
+ * Checkpoint ID.
15170
+ */
15171
+ id: string;
15172
+ /**
15173
+ * Size of the persisted memory image, in bytes.
15174
+ */
15175
+ memoryBytes: number;
15176
+ /**
15177
+ * ID of the MicroDroplet whose checkpoints should be listed.
15178
+ */
15179
+ microdropletId: string;
15180
+ /**
15181
+ * Checkpoint name.
15182
+ */
15183
+ name: string;
15184
+ /**
15185
+ * Lifecycle status of the checkpoint (e.g. `CHECKPOINT_AVAILABLE`).
15186
+ */
15187
+ status: string;
15188
+ }
15189
+ export interface GetMicrodropletCheckpointsFilter {
15190
+ /**
15191
+ * Require every value to match. Defaults to `false`.
15192
+ */
15193
+ all?: boolean;
15194
+ /**
15195
+ * Field to match. Valid keys include `id`, `name`, `status`.
15196
+ */
15197
+ key: string;
15198
+ /**
15199
+ * `exact`, `re`, or `substring`. Defaults to `exact`.
15200
+ */
15201
+ matchBy?: string;
15202
+ /**
15203
+ * List of values to match on `key`.
15204
+ */
15205
+ values: string[];
15206
+ }
15207
+ export interface GetMicrodropletCheckpointsSort {
15208
+ /**
15209
+ * `asc` (default) or `desc`.
15210
+ */
15211
+ direction?: string;
15212
+ /**
15213
+ * Field to sort by (e.g. `createdAt`).
15214
+ */
15215
+ key: string;
15216
+ }
15217
+ export interface GetMicrodropletImagesFilter {
15218
+ /**
15219
+ * Require every value to match. Defaults to `false`.
15220
+ */
15221
+ all?: boolean;
15222
+ /**
15223
+ * Field to match.
15224
+ */
15225
+ key: string;
15226
+ /**
15227
+ * `exact`, `re`, or `substring`. Defaults to `exact`.
15228
+ */
15229
+ matchBy?: string;
15230
+ /**
15231
+ * List of values to match on `key`.
15232
+ */
15233
+ values: string[];
15234
+ }
15235
+ export interface GetMicrodropletImagesMicroDropletImage {
15236
+ /**
15237
+ * The creation timestamp for the MicroDroplet image
15238
+ */
15239
+ createdAt: string;
15240
+ /**
15241
+ * Name of the MicroDroplet image
15242
+ */
15243
+ name: string;
15244
+ /**
15245
+ * Source OCI reference for the MicroDroplet image
15246
+ */
15247
+ source: string;
15248
+ /**
15249
+ * Lifecycle status of the MicroDroplet image
15250
+ */
15251
+ status: string;
15252
+ /**
15253
+ * The uniform resource name (URN) for the MicroDroplet image
15254
+ */
15255
+ urn: string;
15256
+ }
15257
+ export interface GetMicrodropletImagesSort {
15258
+ /**
15259
+ * `asc` (default) or `desc`.
15260
+ */
15261
+ direction?: string;
15262
+ /**
15263
+ * Field to sort by.
15264
+ */
15265
+ key: string;
15266
+ }
15267
+ export interface GetMicrodropletsFilter {
15268
+ /**
15269
+ * Require every value to match. Defaults to `false`.
15270
+ */
15271
+ all?: boolean;
15272
+ /**
15273
+ * Field to match.
15274
+ */
15275
+ key: string;
15276
+ /**
15277
+ * `exact`, `re`, or `substring`. Defaults to `exact`.
15278
+ */
15279
+ matchBy?: string;
15280
+ /**
15281
+ * List of values to match on `key`.
15282
+ */
15283
+ values: string[];
15284
+ }
15285
+ export interface GetMicrodropletsMicroDroplet {
15286
+ /**
15287
+ * Auto-pause configuration. Forces recreation on change: the MicroDroplets API has no in-place update path for auto_pause.
15288
+ */
15289
+ autoPauses: outputs.GetMicrodropletsMicroDropletAutoPause[];
15290
+ /**
15291
+ * Whether the MicroDroplet should auto-resume on request. Forces recreation on change: the MicroDroplets API has no in-place update path for auto_resume.
15292
+ */
15293
+ autoResume: boolean;
15294
+ /**
15295
+ * The creation timestamp for the MicroDroplet
15296
+ */
15297
+ createdAt: string;
15298
+ /**
15299
+ * Observed lifecycle state of the MicroDroplet
15300
+ */
15301
+ currentState: string;
15302
+ /**
15303
+ * Public endpoint URL for the MicroDroplet
15304
+ */
15305
+ endpoint: string;
15306
+ /**
15307
+ * Environment variables passed to the MicroDroplet
15308
+ */
15309
+ environment: {
15310
+ [key: string]: string;
15311
+ };
15312
+ /**
15313
+ * Port the MicroDroplet exposes over HTTP
15314
+ */
15315
+ httpPort: number;
15316
+ /**
15317
+ * HTTP protocol: 'http' or 'http2'
15318
+ */
15319
+ httpProtocol: string;
15320
+ /**
15321
+ * MicroDroplet image UUID or URN
15322
+ */
15323
+ image: string;
15324
+ /**
15325
+ * Server-side filter: only include MicroDroplets whose name matches exactly. Conflicts with `region`.
15326
+ */
15327
+ name: string;
15328
+ /**
15329
+ * Networking mode: 'public' or 'vpc'
15330
+ */
15331
+ networking: string;
15332
+ /**
15333
+ * Server-side filter: only include MicroDroplets in this region. Conflicts with `name`.
15334
+ */
15335
+ region: string;
15336
+ /**
15337
+ * MicroDroplet size slug
15338
+ */
15339
+ size: string;
15340
+ /**
15341
+ * Desired lifecycle state: 'running' or 'paused'. Changes are applied by calling the microdroplet pause / resume action endpoints.
15342
+ */
15343
+ state: string;
15344
+ /**
15345
+ * The uniform resource name (URN) for the MicroDroplet
15346
+ */
15347
+ urn: string;
15348
+ /**
15349
+ * UUID of the VPC to attach the MicroDroplet to. Only valid when networking is 'vpc'.
15350
+ */
15351
+ vpcUuid: string;
15352
+ }
15353
+ export interface GetMicrodropletsMicroDropletAutoPause {
15354
+ /**
15355
+ * Whether auto-pause is enabled. Forces recreation on change (no in-place API path).
15356
+ */
15357
+ enabled: boolean;
15358
+ /**
15359
+ * Idle timeout as a Go duration string (e.g. '5m', '30s'). Forces recreation on change (no in-place API path).
15360
+ */
15361
+ idleTimeout: string;
15362
+ }
15363
+ export interface GetMicrodropletsSort {
15364
+ /**
15365
+ * `asc` (default) or `desc`.
15366
+ */
15367
+ direction?: string;
15368
+ /**
15369
+ * Field to sort by.
15370
+ */
15371
+ key: string;
15372
+ }
15145
15373
  export interface GetNfsAccessPointAccessPolicy {
15146
15374
  anongid: number;
15147
15375
  anonuid: number;
@@ -15404,6 +15632,10 @@ export interface GetSizesSize {
15404
15632
  * The amount of disk space set aside for Droplets of this size. The value is measured in gigabytes.
15405
15633
  */
15406
15634
  disk: number;
15635
+ /**
15636
+ * Information about the GPU available to Droplets created with this size. Only present on GPU sizes. The `gpuInfo` block is documented below.
15637
+ */
15638
+ gpuInfos: outputs.GetSizesSizeGpuInfo[];
15407
15639
  /**
15408
15640
  * The amount of RAM allocated to Droplets created of this size. The value is measured in megabytes.
15409
15641
  */
@@ -15433,6 +15665,34 @@ export interface GetSizesSize {
15433
15665
  */
15434
15666
  vcpus: number;
15435
15667
  }
15668
+ export interface GetSizesSizeGpuInfo {
15669
+ /**
15670
+ * The number of GPUs allocated to Droplets of this size.
15671
+ */
15672
+ count: number;
15673
+ /**
15674
+ * The model of the GPU.
15675
+ */
15676
+ model: string;
15677
+ /**
15678
+ * The GPU partition modes available for this size (e.g. `PARTITION_MODE_SPX_NPS1`, `PARTITION_MODE_DPX_NPS2`). Only returned to callers with access to the feature; an empty list means partition-mode selection is unavailable.
15679
+ */
15680
+ supportedPartitionModes: string[];
15681
+ /**
15682
+ * Information about the VRAM available to the GPU. The `vram` block exports `amount` (the amount of VRAM) and `unit` (the unit of measurement).
15683
+ */
15684
+ vrams: outputs.GetSizesSizeGpuInfoVram[];
15685
+ }
15686
+ export interface GetSizesSizeGpuInfoVram {
15687
+ /**
15688
+ * The amount of VRAM available to the GPU.
15689
+ */
15690
+ amount: number;
15691
+ /**
15692
+ * The unit of measurement for the VRAM amount.
15693
+ */
15694
+ unit: string;
15695
+ }
15436
15696
  export interface GetSizesSort {
15437
15697
  /**
15438
15698
  * The sort direction. This may be either `asc` or `desc`.
@@ -17399,6 +17659,16 @@ export interface LoadBalancerStickySessions {
17399
17659
  */
17400
17660
  type?: string;
17401
17661
  }
17662
+ export interface MicrodropletAutoPause {
17663
+ /**
17664
+ * Whether auto-pause is enabled.
17665
+ */
17666
+ enabled: boolean;
17667
+ /**
17668
+ * Idle timeout as a Go duration string (e.g. `5m`, `30s`).
17669
+ */
17670
+ idleTimeout: string;
17671
+ }
17402
17672
  export interface MonitorAlertAlerts {
17403
17673
  /**
17404
17674
  * List of email addresses to sent notifications to