published on Friday, Jul 31, 2026 by Pulumi
published on Friday, Jul 31, 2026 by Pulumi
Fetches the list of checkpoints belonging to a DigitalOcean MicroDroplet.
Checkpoints are read-only artifacts: DigitalOcean captures one automatically each time a MicroDroplet is paused, preserving the memory and disk state needed to resume. They cannot be created or deleted directly through the customer API, so this provider only exposes them as a data source.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as digitalocean from "@pulumi/digitalocean";
const exampleMicrodroplet = new digitalocean.Microdroplet("example", {
name: "example-microdroplet",
region: "nyc3",
size: "microdroplet-1",
image: "docker.io/library/nginx:latest",
autoPause: {
enabled: true,
idleTimeout: "5m",
},
});
const example = digitalocean.getMicrodropletCheckpointsOutput({
microdropletId: exampleMicrodroplet.id,
});
export const checkpointIds = example.apply(example => .map(c => (c.id)));
import pulumi
import pulumi_digitalocean as digitalocean
example_microdroplet = digitalocean.Microdroplet("example",
name="example-microdroplet",
region="nyc3",
size="microdroplet-1",
image="docker.io/library/nginx:latest",
auto_pause={
"enabled": True,
"idle_timeout": "5m",
})
example = digitalocean.get_microdroplet_checkpoints_output(microdroplet_id=example_microdroplet.id)
pulumi.export("checkpointIds", example.apply(lambda example: [c.id for c in example.checkpoints]))
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using DigitalOcean = Pulumi.DigitalOcean;
return await Deployment.RunAsync(() =>
{
var exampleMicrodroplet = new DigitalOcean.Microdroplet("example", new()
{
Name = "example-microdroplet",
Region = "nyc3",
Size = "microdroplet-1",
Image = "docker.io/library/nginx:latest",
AutoPause = new DigitalOcean.Inputs.MicrodropletAutoPauseArgs
{
Enabled = true,
IdleTimeout = "5m",
},
});
var example = DigitalOcean.GetMicrodropletCheckpoints.Invoke(new()
{
MicrodropletId = exampleMicrodroplet.Id,
});
return new Dictionary<string, object?>
{
["checkpointIds"] = .Select(c =>
{
return c.Id;
}).ToList(),
};
});
Example coming soon!
Example coming soon!
pulumi {
required_providers {
digitalocean = {
source = "pulumi/digitalocean"
}
}
}
data "digitalocean_getmicrodropletcheckpoints" "example" {
microdroplet_id = digitalocean_microdroplet.example.id
}
resource "digitalocean_microdroplet" "example" {
name = "example-microdroplet"
region = "nyc3"
size = "microdroplet-1"
image = "docker.io/library/nginx:latest"
auto_pause = {
enabled = true
idle_timeout = "5m"
}
}
output "checkpointIds" {
value = [for c in data.digitalocean_getmicrodropletcheckpoints.example.checkpoints : c.id]
}
Using getMicrodropletCheckpoints
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMicrodropletCheckpoints(args: GetMicrodropletCheckpointsArgs, opts?: InvokeOptions): Promise<GetMicrodropletCheckpointsResult>
function getMicrodropletCheckpointsOutput(args: GetMicrodropletCheckpointsOutputArgs, opts?: InvokeOptions): Output<GetMicrodropletCheckpointsResult>def get_microdroplet_checkpoints(filters: Optional[Sequence[GetMicrodropletCheckpointsFilter]] = None,
microdroplet_id: Optional[str] = None,
sorts: Optional[Sequence[GetMicrodropletCheckpointsSort]] = None,
opts: Optional[InvokeOptions] = None) -> GetMicrodropletCheckpointsResult
def get_microdroplet_checkpoints_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetMicrodropletCheckpointsFilterArgs]]]] = None,
microdroplet_id: pulumi.Input[Optional[str]] = None,
sorts: pulumi.Input[Optional[Sequence[pulumi.Input[GetMicrodropletCheckpointsSortArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMicrodropletCheckpointsResult]func GetMicrodropletCheckpoints(ctx *Context, args *GetMicrodropletCheckpointsArgs, opts ...InvokeOption) (*GetMicrodropletCheckpointsResult, error)
func GetMicrodropletCheckpointsOutput(ctx *Context, args *GetMicrodropletCheckpointsOutputArgs, opts ...InvokeOption) GetMicrodropletCheckpointsResultOutput> Note: This function is named GetMicrodropletCheckpoints in the Go SDK.
public static class GetMicrodropletCheckpoints
{
public static Task<GetMicrodropletCheckpointsResult> InvokeAsync(GetMicrodropletCheckpointsArgs args, InvokeOptions? opts = null)
public static Output<GetMicrodropletCheckpointsResult> Invoke(GetMicrodropletCheckpointsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMicrodropletCheckpointsResult> getMicrodropletCheckpoints(GetMicrodropletCheckpointsArgs args, InvokeOptions options)
public static Output<GetMicrodropletCheckpointsResult> getMicrodropletCheckpoints(GetMicrodropletCheckpointsArgs args, InvokeOptions options)
fn::invoke:
function: digitalocean:index/getMicrodropletCheckpoints:getMicrodropletCheckpoints
arguments:
# arguments dictionarydata "digitalocean_get_microdroplet_checkpoints" "name" {
# arguments
}The following arguments are supported:
- Microdroplet
Id string - ID of the MicroDroplet whose checkpoints should be listed.
- Filters
List<Pulumi.
Digital Ocean. Inputs. Get Microdroplet Checkpoints Filter> - Repeatable client-side filter block:
- Sorts
List<Pulumi.
Digital Ocean. Inputs. Get Microdroplet Checkpoints Sort> - Repeatable client-side sort block:
- Microdroplet
Id string - ID of the MicroDroplet whose checkpoints should be listed.
- Filters
[]Get
Microdroplet Checkpoints Filter - Repeatable client-side filter block:
- Sorts
[]Get
Microdroplet Checkpoints Sort - Repeatable client-side sort block:
- microdroplet_
id string - ID of the MicroDroplet whose checkpoints should be listed.
- filters list(object)
- Repeatable client-side filter block:
- sorts list(object)
- Repeatable client-side sort block:
- microdroplet
Id String - ID of the MicroDroplet whose checkpoints should be listed.
- filters
List<Get
Microdroplet Checkpoints Filter> - Repeatable client-side filter block:
- sorts
List<Get
Microdroplet Checkpoints Sort> - Repeatable client-side sort block:
- microdroplet
Id string - ID of the MicroDroplet whose checkpoints should be listed.
- filters
Get
Microdroplet Checkpoints Filter[] - Repeatable client-side filter block:
- sorts
Get
Microdroplet Checkpoints Sort[] - Repeatable client-side sort block:
- microdroplet_
id str - ID of the MicroDroplet whose checkpoints should be listed.
- filters
Sequence[Get
Microdroplet Checkpoints Filter] - Repeatable client-side filter block:
- sorts
Sequence[Get
Microdroplet Checkpoints Sort] - Repeatable client-side sort block:
- microdroplet
Id String - ID of the MicroDroplet whose checkpoints should be listed.
- filters List<Property Map>
- Repeatable client-side filter block:
- sorts List<Property Map>
- Repeatable client-side sort block:
getMicrodropletCheckpoints Result
The following output properties are available:
- Checkpoints
List<Pulumi.
Digital Ocean. Outputs. Get Microdroplet Checkpoints Checkpoint> - A list of checkpoint records. Each entry contains:
- Id string
- The provider-assigned unique ID for this managed resource.
- Microdroplet
Id string - ID of the parent MicroDroplet.
- Filters
List<Pulumi.
Digital Ocean. Outputs. Get Microdroplet Checkpoints Filter> - Sorts
List<Pulumi.
Digital Ocean. Outputs. Get Microdroplet Checkpoints Sort>
- Checkpoints
[]Get
Microdroplet Checkpoints Checkpoint - A list of checkpoint records. Each entry contains:
- Id string
- The provider-assigned unique ID for this managed resource.
- Microdroplet
Id string - ID of the parent MicroDroplet.
- Filters
[]Get
Microdroplet Checkpoints Filter - Sorts
[]Get
Microdroplet Checkpoints Sort
- checkpoints list(object)
- A list of checkpoint records. Each entry contains:
- id string
- The provider-assigned unique ID for this managed resource.
- microdroplet_
id string - ID of the parent MicroDroplet.
- filters list(object)
- sorts list(object)
- checkpoints
List<Get
Microdroplet Checkpoints Checkpoint> - A list of checkpoint records. Each entry contains:
- id String
- The provider-assigned unique ID for this managed resource.
- microdroplet
Id String - ID of the parent MicroDroplet.
- filters
List<Get
Microdroplet Checkpoints Filter> - sorts
List<Get
Microdroplet Checkpoints Sort>
- checkpoints
Get
Microdroplet Checkpoints Checkpoint[] - A list of checkpoint records. Each entry contains:
- id string
- The provider-assigned unique ID for this managed resource.
- microdroplet
Id string - ID of the parent MicroDroplet.
- filters
Get
Microdroplet Checkpoints Filter[] - sorts
Get
Microdroplet Checkpoints Sort[]
- checkpoints
Sequence[Get
Microdroplet Checkpoints Checkpoint] - A list of checkpoint records. Each entry contains:
- id str
- The provider-assigned unique ID for this managed resource.
- microdroplet_
id str - ID of the parent MicroDroplet.
- filters
Sequence[Get
Microdroplet Checkpoints Filter] - sorts
Sequence[Get
Microdroplet Checkpoints Sort]
- checkpoints List<Property Map>
- A list of checkpoint records. Each entry contains:
- id String
- The provider-assigned unique ID for this managed resource.
- microdroplet
Id String - ID of the parent MicroDroplet.
- filters List<Property Map>
- sorts List<Property Map>
Supporting Types
GetMicrodropletCheckpointsCheckpoint
- Created
At string - RFC3339 timestamp of when the checkpoint was created.
- Disk
Bytes int - Size of the persisted disk image, in bytes.
- Id string
- Checkpoint ID.
- Memory
Bytes int - Size of the persisted memory image, in bytes.
- Microdroplet
Id string - ID of the MicroDroplet whose checkpoints should be listed.
- Name string
- Checkpoint name.
- Status string
- Lifecycle status of the checkpoint (e.g.
CHECKPOINT_AVAILABLE).
- Created
At string - RFC3339 timestamp of when the checkpoint was created.
- Disk
Bytes int - Size of the persisted disk image, in bytes.
- Id string
- Checkpoint ID.
- Memory
Bytes int - Size of the persisted memory image, in bytes.
- Microdroplet
Id string - ID of the MicroDroplet whose checkpoints should be listed.
- Name string
- Checkpoint name.
- Status string
- Lifecycle status of the checkpoint (e.g.
CHECKPOINT_AVAILABLE).
- created_
at string - RFC3339 timestamp of when the checkpoint was created.
- disk_
bytes number - Size of the persisted disk image, in bytes.
- id string
- Checkpoint ID.
- memory_
bytes number - Size of the persisted memory image, in bytes.
- microdroplet_
id string - ID of the MicroDroplet whose checkpoints should be listed.
- name string
- Checkpoint name.
- status string
- Lifecycle status of the checkpoint (e.g.
CHECKPOINT_AVAILABLE).
- created
At String - RFC3339 timestamp of when the checkpoint was created.
- disk
Bytes Integer - Size of the persisted disk image, in bytes.
- id String
- Checkpoint ID.
- memory
Bytes Integer - Size of the persisted memory image, in bytes.
- microdroplet
Id String - ID of the MicroDroplet whose checkpoints should be listed.
- name String
- Checkpoint name.
- status String
- Lifecycle status of the checkpoint (e.g.
CHECKPOINT_AVAILABLE).
- created
At string - RFC3339 timestamp of when the checkpoint was created.
- disk
Bytes number - Size of the persisted disk image, in bytes.
- id string
- Checkpoint ID.
- memory
Bytes number - Size of the persisted memory image, in bytes.
- microdroplet
Id string - ID of the MicroDroplet whose checkpoints should be listed.
- name string
- Checkpoint name.
- status string
- Lifecycle status of the checkpoint (e.g.
CHECKPOINT_AVAILABLE).
- created_
at str - RFC3339 timestamp of when the checkpoint was created.
- disk_
bytes int - Size of the persisted disk image, in bytes.
- id str
- Checkpoint ID.
- memory_
bytes int - Size of the persisted memory image, in bytes.
- microdroplet_
id str - ID of the MicroDroplet whose checkpoints should be listed.
- name str
- Checkpoint name.
- status str
- Lifecycle status of the checkpoint (e.g.
CHECKPOINT_AVAILABLE).
- created
At String - RFC3339 timestamp of when the checkpoint was created.
- disk
Bytes Number - Size of the persisted disk image, in bytes.
- id String
- Checkpoint ID.
- memory
Bytes Number - Size of the persisted memory image, in bytes.
- microdroplet
Id String - ID of the MicroDroplet whose checkpoints should be listed.
- name String
- Checkpoint name.
- status String
- Lifecycle status of the checkpoint (e.g.
CHECKPOINT_AVAILABLE).
GetMicrodropletCheckpointsFilter
GetMicrodropletCheckpointsSort
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitaloceanTerraform Provider.
published on Friday, Jul 31, 2026 by Pulumi