@pulumi/digitalocean 4.82.0 → 4.83.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/getMicrovm.d.ts +174 -0
- package/getMicrovm.d.ts.map +1 -0
- package/getMicrovm.js +117 -0
- package/getMicrovm.js.map +1 -0
- package/getMicrovmCheckpoints.d.ts +131 -0
- package/getMicrovmCheckpoints.d.ts.map +1 -0
- package/getMicrovmCheckpoints.js +119 -0
- package/getMicrovmCheckpoints.js.map +1 -0
- package/getMicrovms.d.ts +174 -0
- package/getMicrovms.d.ts.map +1 -0
- package/getMicrovms.js +149 -0
- package/getMicrovms.js.map +1 -0
- package/index.d.ts +15 -0
- package/index.d.ts.map +1 -1
- package/index.js +22 -3
- package/index.js.map +1 -1
- package/microvm.d.ts +343 -0
- package/microvm.d.ts.map +1 -0
- package/microvm.js +201 -0
- package/microvm.js.map +1 -0
- package/microvmCheckpoint.d.ts +157 -0
- package/microvmCheckpoint.d.ts.map +1 -0
- package/microvmCheckpoint.js +129 -0
- package/microvmCheckpoint.js.map +1 -0
- package/package.json +2 -2
- package/types/input.d.ts +212 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +380 -0
- package/types/output.d.ts.map +1 -1
package/types/output.d.ts
CHANGED
|
@@ -15336,6 +15336,320 @@ export interface GetLoadBalancerStickySession {
|
|
|
15336
15336
|
*/
|
|
15337
15337
|
type: string;
|
|
15338
15338
|
}
|
|
15339
|
+
export interface GetMicrovmAutoPause {
|
|
15340
|
+
/**
|
|
15341
|
+
* Whether auto-pause is enabled.
|
|
15342
|
+
*/
|
|
15343
|
+
enabled: boolean;
|
|
15344
|
+
/**
|
|
15345
|
+
* How long the MicroVM must be idle before it pauses.
|
|
15346
|
+
*/
|
|
15347
|
+
idleTimeout: string;
|
|
15348
|
+
}
|
|
15349
|
+
export interface GetMicrovmCheckpointsCheckpoint {
|
|
15350
|
+
/**
|
|
15351
|
+
* The date and time the checkpoint was created.
|
|
15352
|
+
*/
|
|
15353
|
+
createdAt: string;
|
|
15354
|
+
/**
|
|
15355
|
+
* The size of the persisted disk image in bytes.
|
|
15356
|
+
*/
|
|
15357
|
+
diskBytes: number;
|
|
15358
|
+
/**
|
|
15359
|
+
* The ID of the checkpoint.
|
|
15360
|
+
*/
|
|
15361
|
+
id: string;
|
|
15362
|
+
/**
|
|
15363
|
+
* The size of the persisted memory image in bytes.
|
|
15364
|
+
*/
|
|
15365
|
+
memoryBytes: number;
|
|
15366
|
+
/**
|
|
15367
|
+
* Only return checkpoints captured from this MicroVM.
|
|
15368
|
+
*/
|
|
15369
|
+
microvmId: string;
|
|
15370
|
+
/**
|
|
15371
|
+
* The name of the MicroVM the checkpoint was captured from.
|
|
15372
|
+
*/
|
|
15373
|
+
microvmName: string;
|
|
15374
|
+
/**
|
|
15375
|
+
* The name of the checkpoint.
|
|
15376
|
+
*/
|
|
15377
|
+
name: string;
|
|
15378
|
+
/**
|
|
15379
|
+
* The slug of the region the checkpoint is stored in.
|
|
15380
|
+
*/
|
|
15381
|
+
region: string;
|
|
15382
|
+
/**
|
|
15383
|
+
* The size a MicroVM restored from this checkpoint inherits (`cpu`, `memory`, `disk`). Empty when the checkpoint does not record one.
|
|
15384
|
+
*/
|
|
15385
|
+
sizes: outputs.GetMicrovmCheckpointsCheckpointSize[];
|
|
15386
|
+
/**
|
|
15387
|
+
* The status of the checkpoint, such as `CHECKPOINT_AVAILABLE`.
|
|
15388
|
+
*/
|
|
15389
|
+
status: string;
|
|
15390
|
+
}
|
|
15391
|
+
export interface GetMicrovmCheckpointsCheckpointSize {
|
|
15392
|
+
/**
|
|
15393
|
+
* Number of vCPUs
|
|
15394
|
+
*/
|
|
15395
|
+
cpu: number;
|
|
15396
|
+
/**
|
|
15397
|
+
* Attached disk in GB
|
|
15398
|
+
*/
|
|
15399
|
+
disk: number;
|
|
15400
|
+
/**
|
|
15401
|
+
* Memory in MiB
|
|
15402
|
+
*/
|
|
15403
|
+
memory: number;
|
|
15404
|
+
}
|
|
15405
|
+
export interface GetMicrovmCheckpointsFilter {
|
|
15406
|
+
/**
|
|
15407
|
+
* Set to `true` to require that a field match all of the
|
|
15408
|
+
* `values` instead of just one or more of them.
|
|
15409
|
+
*/
|
|
15410
|
+
all?: boolean;
|
|
15411
|
+
/**
|
|
15412
|
+
* Filter the checkpoints by this key. This may be one of
|
|
15413
|
+
* `id`, `name`, `microvmId`, `microvmName`, `region`, `status`,
|
|
15414
|
+
* `memoryBytes`, `diskBytes`, or `createdAt`.
|
|
15415
|
+
*/
|
|
15416
|
+
key: string;
|
|
15417
|
+
/**
|
|
15418
|
+
* One of `exact` (default), `re`, or `substring`.
|
|
15419
|
+
*/
|
|
15420
|
+
matchBy?: string;
|
|
15421
|
+
/**
|
|
15422
|
+
* A list of values to match against the `key` field.
|
|
15423
|
+
*/
|
|
15424
|
+
values: string[];
|
|
15425
|
+
}
|
|
15426
|
+
export interface GetMicrovmCheckpointsSort {
|
|
15427
|
+
/**
|
|
15428
|
+
* The sort direction. This may be either `asc` or `desc`.
|
|
15429
|
+
*/
|
|
15430
|
+
direction?: string;
|
|
15431
|
+
/**
|
|
15432
|
+
* Sort the checkpoints by this key. This may be one of `id`,
|
|
15433
|
+
* `name`, `microvmId`, `microvmName`, `region`, `status`, `memoryBytes`,
|
|
15434
|
+
* `diskBytes`, or `createdAt`.
|
|
15435
|
+
*/
|
|
15436
|
+
key: string;
|
|
15437
|
+
}
|
|
15438
|
+
export interface GetMicrovmSize {
|
|
15439
|
+
/**
|
|
15440
|
+
* The number of vCPUs.
|
|
15441
|
+
*/
|
|
15442
|
+
cpu: number;
|
|
15443
|
+
/**
|
|
15444
|
+
* The size of the attached disk in GB.
|
|
15445
|
+
*/
|
|
15446
|
+
disk: number;
|
|
15447
|
+
/**
|
|
15448
|
+
* The amount of memory in MiB.
|
|
15449
|
+
*/
|
|
15450
|
+
memory: number;
|
|
15451
|
+
}
|
|
15452
|
+
export interface GetMicrovmSource {
|
|
15453
|
+
/**
|
|
15454
|
+
* The ID of the checkpoint the MicroVM was restored from.
|
|
15455
|
+
*/
|
|
15456
|
+
checkpointId?: string;
|
|
15457
|
+
/**
|
|
15458
|
+
* The OCI reference of the workload container image.
|
|
15459
|
+
*/
|
|
15460
|
+
ociRef?: string;
|
|
15461
|
+
}
|
|
15462
|
+
export interface GetMicrovmUrl {
|
|
15463
|
+
/**
|
|
15464
|
+
* Whether this is the default URL.
|
|
15465
|
+
*/
|
|
15466
|
+
default: boolean;
|
|
15467
|
+
/**
|
|
15468
|
+
* The hostname, without a scheme.
|
|
15469
|
+
*/
|
|
15470
|
+
hostname: string;
|
|
15471
|
+
/**
|
|
15472
|
+
* The guest port the URL forwards to.
|
|
15473
|
+
*/
|
|
15474
|
+
port: number;
|
|
15475
|
+
/**
|
|
15476
|
+
* The URL status: `PENDING` or `ACTIVE`.
|
|
15477
|
+
*/
|
|
15478
|
+
status: string;
|
|
15479
|
+
}
|
|
15480
|
+
export interface GetMicrovmsFilter {
|
|
15481
|
+
/**
|
|
15482
|
+
* Set to `true` to require that a field match all of the
|
|
15483
|
+
* `values` instead of just one or more of them. This is useful when matching
|
|
15484
|
+
* against multi-valued fields such as lists or sets where you want to ensure
|
|
15485
|
+
* that all of the `values` are present in the list or set.
|
|
15486
|
+
*/
|
|
15487
|
+
all?: boolean;
|
|
15488
|
+
/**
|
|
15489
|
+
* Filter the MicroVMs by this key. This may be one of `id`,
|
|
15490
|
+
* `name`, `region`, `networking`, `httpProtocol`, `currentState`,
|
|
15491
|
+
* `failureReason`, `autoResume`, `ports`, `tags`, `urn`, or `createdAt`.
|
|
15492
|
+
*/
|
|
15493
|
+
key: string;
|
|
15494
|
+
/**
|
|
15495
|
+
* One of `exact` (default), `re`, or `substring`. For
|
|
15496
|
+
* string-typed fields, specify `re` to match by using the `values` as regular
|
|
15497
|
+
* expressions, or specify `substring` to match by treating the `values` as
|
|
15498
|
+
* substrings to find within the string field.
|
|
15499
|
+
*/
|
|
15500
|
+
matchBy?: string;
|
|
15501
|
+
/**
|
|
15502
|
+
* A list of values to match against the `key` field. Only
|
|
15503
|
+
* retrieves MicroVMs where the `key` field takes on one or more of the values
|
|
15504
|
+
* provided here.
|
|
15505
|
+
*/
|
|
15506
|
+
values: string[];
|
|
15507
|
+
}
|
|
15508
|
+
export interface GetMicrovmsMicroVm {
|
|
15509
|
+
/**
|
|
15510
|
+
* Auto-pause configuration. Forces recreation on change: the MicroVMs API has no in-place update path for auto_pause.
|
|
15511
|
+
*/
|
|
15512
|
+
autoPauses: outputs.GetMicrovmsMicroVmAutoPause[];
|
|
15513
|
+
/**
|
|
15514
|
+
* Whether the MicroVM should auto-resume on request. Forces recreation on change: the MicroVMs API has no in-place update path for auto_resume.
|
|
15515
|
+
*/
|
|
15516
|
+
autoResume: boolean;
|
|
15517
|
+
/**
|
|
15518
|
+
* The creation timestamp for the MicroVM
|
|
15519
|
+
*/
|
|
15520
|
+
createdAt: string;
|
|
15521
|
+
/**
|
|
15522
|
+
* Observed lifecycle state of the MicroVM
|
|
15523
|
+
*/
|
|
15524
|
+
currentState: string;
|
|
15525
|
+
/**
|
|
15526
|
+
* Environment variables passed to the MicroVM
|
|
15527
|
+
*/
|
|
15528
|
+
environment: {
|
|
15529
|
+
[key: string]: string;
|
|
15530
|
+
};
|
|
15531
|
+
/**
|
|
15532
|
+
* Human-readable explanation when currentState is failed
|
|
15533
|
+
*/
|
|
15534
|
+
failureReason: string;
|
|
15535
|
+
/**
|
|
15536
|
+
* Port the MicroVM exposes over HTTP
|
|
15537
|
+
*/
|
|
15538
|
+
httpPort: number;
|
|
15539
|
+
/**
|
|
15540
|
+
* HTTP protocol: 'http' or 'http2'
|
|
15541
|
+
*/
|
|
15542
|
+
httpProtocol: string;
|
|
15543
|
+
/**
|
|
15544
|
+
* MicroVM ID
|
|
15545
|
+
*/
|
|
15546
|
+
id: string;
|
|
15547
|
+
/**
|
|
15548
|
+
* Only return MicroVMs with this exact name.
|
|
15549
|
+
*/
|
|
15550
|
+
name: string;
|
|
15551
|
+
/**
|
|
15552
|
+
* Networking mode: 'public' or 'vpc'
|
|
15553
|
+
*/
|
|
15554
|
+
networking: string;
|
|
15555
|
+
/**
|
|
15556
|
+
* Guest ports open for ingress. Defaults to just httpPort when omitted.
|
|
15557
|
+
*/
|
|
15558
|
+
ports: number[];
|
|
15559
|
+
/**
|
|
15560
|
+
* Only return MicroVMs in this region.
|
|
15561
|
+
*/
|
|
15562
|
+
region: string;
|
|
15563
|
+
/**
|
|
15564
|
+
* Compute size. Required when creating from oci_ref; optional when restoring from a checkpoint (inherited).
|
|
15565
|
+
*/
|
|
15566
|
+
sizes: outputs.GetMicrovmsMicroVmSize[];
|
|
15567
|
+
/**
|
|
15568
|
+
* Workload source. Exactly one of ociRef or checkpointId must be set.
|
|
15569
|
+
*/
|
|
15570
|
+
sources: outputs.GetMicrovmsMicroVmSource[];
|
|
15571
|
+
/**
|
|
15572
|
+
* Desired lifecycle state: 'running' or 'paused'. Changes are applied by calling the microvm pause / resume action endpoints.
|
|
15573
|
+
*/
|
|
15574
|
+
state: string;
|
|
15575
|
+
tags: string[];
|
|
15576
|
+
/**
|
|
15577
|
+
* Ingress URLs for the MicroVM
|
|
15578
|
+
*/
|
|
15579
|
+
urls: outputs.GetMicrovmsMicroVmUrl[];
|
|
15580
|
+
/**
|
|
15581
|
+
* The uniform resource name (URN) for the MicroVM
|
|
15582
|
+
*/
|
|
15583
|
+
urn: string;
|
|
15584
|
+
/**
|
|
15585
|
+
* UUID of the VPC to attach the MicroVM to. Only valid when networking is 'vpc'.
|
|
15586
|
+
*/
|
|
15587
|
+
vpcUuid: string;
|
|
15588
|
+
}
|
|
15589
|
+
export interface GetMicrovmsMicroVmAutoPause {
|
|
15590
|
+
/**
|
|
15591
|
+
* Whether auto-pause is enabled. Forces recreation on change (no in-place API path).
|
|
15592
|
+
*/
|
|
15593
|
+
enabled: boolean;
|
|
15594
|
+
/**
|
|
15595
|
+
* Idle timeout as a Go duration string (e.g. '5m', '30s'). Forces recreation on change (no in-place API path).
|
|
15596
|
+
*/
|
|
15597
|
+
idleTimeout: string;
|
|
15598
|
+
}
|
|
15599
|
+
export interface GetMicrovmsMicroVmSize {
|
|
15600
|
+
/**
|
|
15601
|
+
* Number of vCPUs
|
|
15602
|
+
*/
|
|
15603
|
+
cpu: number;
|
|
15604
|
+
/**
|
|
15605
|
+
* Attached disk in GB (provisioned with the size)
|
|
15606
|
+
*/
|
|
15607
|
+
disk: number;
|
|
15608
|
+
/**
|
|
15609
|
+
* Memory in MiB
|
|
15610
|
+
*/
|
|
15611
|
+
memory: number;
|
|
15612
|
+
}
|
|
15613
|
+
export interface GetMicrovmsMicroVmSource {
|
|
15614
|
+
/**
|
|
15615
|
+
* Checkpoint UUID to restore
|
|
15616
|
+
*/
|
|
15617
|
+
checkpointId?: string;
|
|
15618
|
+
/**
|
|
15619
|
+
* OCI reference for the workload container
|
|
15620
|
+
*/
|
|
15621
|
+
ociRef?: string;
|
|
15622
|
+
}
|
|
15623
|
+
export interface GetMicrovmsMicroVmUrl {
|
|
15624
|
+
/**
|
|
15625
|
+
* Whether this is the system default URL
|
|
15626
|
+
*/
|
|
15627
|
+
default: boolean;
|
|
15628
|
+
/**
|
|
15629
|
+
* Hostname (no scheme)
|
|
15630
|
+
*/
|
|
15631
|
+
hostname: string;
|
|
15632
|
+
/**
|
|
15633
|
+
* Guest port this URL forwards to
|
|
15634
|
+
*/
|
|
15635
|
+
port: number;
|
|
15636
|
+
/**
|
|
15637
|
+
* URL lifecycle status (PENDING or ACTIVE)
|
|
15638
|
+
*/
|
|
15639
|
+
status: string;
|
|
15640
|
+
}
|
|
15641
|
+
export interface GetMicrovmsSort {
|
|
15642
|
+
/**
|
|
15643
|
+
* The sort direction. This may be either `asc` or `desc`.
|
|
15644
|
+
*/
|
|
15645
|
+
direction?: string;
|
|
15646
|
+
/**
|
|
15647
|
+
* Sort the MicroVMs by this key. This may be one of `id`,
|
|
15648
|
+
* `name`, `region`, `networking`, `httpProtocol`, `currentState`,
|
|
15649
|
+
* `autoResume`, `urn`, or `createdAt`.
|
|
15650
|
+
*/
|
|
15651
|
+
key: string;
|
|
15652
|
+
}
|
|
15339
15653
|
export interface GetNfsAccessPointAccessPolicy {
|
|
15340
15654
|
anongid: number;
|
|
15341
15655
|
anonuid: number;
|
|
@@ -17485,6 +17799,72 @@ export interface LoadBalancerStickySessions {
|
|
|
17485
17799
|
*/
|
|
17486
17800
|
type?: string;
|
|
17487
17801
|
}
|
|
17802
|
+
export interface MicrovmAutoPause {
|
|
17803
|
+
/**
|
|
17804
|
+
* Whether the MicroVM pauses after it has been idle for `idleTimeout`.
|
|
17805
|
+
*/
|
|
17806
|
+
enabled: boolean;
|
|
17807
|
+
/**
|
|
17808
|
+
* How long the MicroVM must be idle before it pauses, as a duration such as `5m` or `30s`.
|
|
17809
|
+
*/
|
|
17810
|
+
idleTimeout: string;
|
|
17811
|
+
}
|
|
17812
|
+
export interface MicrovmCheckpointSize {
|
|
17813
|
+
/**
|
|
17814
|
+
* The number of vCPUs.
|
|
17815
|
+
*/
|
|
17816
|
+
cpu: number;
|
|
17817
|
+
/**
|
|
17818
|
+
* The size of the disk in GB.
|
|
17819
|
+
*/
|
|
17820
|
+
disk: number;
|
|
17821
|
+
/**
|
|
17822
|
+
* The amount of memory in MiB.
|
|
17823
|
+
*/
|
|
17824
|
+
memory: number;
|
|
17825
|
+
}
|
|
17826
|
+
export interface MicrovmSize {
|
|
17827
|
+
/**
|
|
17828
|
+
* The number of vCPUs.
|
|
17829
|
+
*/
|
|
17830
|
+
cpu: number;
|
|
17831
|
+
/**
|
|
17832
|
+
* The size of the attached disk in GB.
|
|
17833
|
+
*/
|
|
17834
|
+
disk: number;
|
|
17835
|
+
/**
|
|
17836
|
+
* The amount of memory in MiB.
|
|
17837
|
+
*/
|
|
17838
|
+
memory: number;
|
|
17839
|
+
}
|
|
17840
|
+
export interface MicrovmSource {
|
|
17841
|
+
/**
|
|
17842
|
+
* The ID of a checkpoint to restore.
|
|
17843
|
+
*/
|
|
17844
|
+
checkpointId?: string;
|
|
17845
|
+
/**
|
|
17846
|
+
* The OCI reference of the workload container image, such as `docker.io/library/nginx:latest`.
|
|
17847
|
+
*/
|
|
17848
|
+
ociRef?: string;
|
|
17849
|
+
}
|
|
17850
|
+
export interface MicrovmUrl {
|
|
17851
|
+
/**
|
|
17852
|
+
* Whether this is the default URL.
|
|
17853
|
+
*/
|
|
17854
|
+
default: boolean;
|
|
17855
|
+
/**
|
|
17856
|
+
* The hostname, without a scheme.
|
|
17857
|
+
*/
|
|
17858
|
+
hostname: string;
|
|
17859
|
+
/**
|
|
17860
|
+
* The guest port the URL forwards to.
|
|
17861
|
+
*/
|
|
17862
|
+
port: number;
|
|
17863
|
+
/**
|
|
17864
|
+
* The URL status: `PENDING` or `ACTIVE`.
|
|
17865
|
+
*/
|
|
17866
|
+
status: string;
|
|
17867
|
+
}
|
|
17488
17868
|
export interface MonitorAlertAlerts {
|
|
17489
17869
|
/**
|
|
17490
17870
|
* List of email addresses to sent notifications to
|