published on Tuesday, Oct 13, 2026 by Pulumi
published on Tuesday, Oct 13, 2026 by Pulumi
Get information on MicroVMs for use in other resources, with the ability to filter and sort the results. If no filters are specified, all MicroVMs are returned.
The region, name, and tagName arguments are applied by the API and
combine with logical AND. The filter and sort blocks are applied to the
results afterwards.
Note: You can use the digitalocean.Microvm data source to obtain
metadata about a single MicroVM if you already know its id or unique name.
Note: MicroVMs are in public preview.
Example Usage
Get all MicroVMs in a region that carry a tag:
import * as pulumi from "@pulumi/pulumi";
import * as digitalocean from "@pulumi/digitalocean";
const web = digitalocean.getMicrovms({
region: "nyc3",
tagName: "web",
});
export const names = web.then(web => web.microVms.map(__item => __item.name));
import pulumi
import pulumi_digitalocean as digitalocean
web = digitalocean.get_microvms(region="nyc3",
tag_name="web")
pulumi.export("names", [__item.name for __item in web.micro_vms])
package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
web, err := digitalocean.GetMicrovms(ctx, &digitalocean.GetMicrovmsArgs{
Region: pulumi.StringRef("nyc3"),
TagName: pulumi.StringRef("web"),
}, nil);
if err != nil {
return err
}
ctx.Export("names", pulumi.StringArray(%!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:6,11-31)))
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using DigitalOcean = Pulumi.DigitalOcean;
return await Deployment.RunAsync(() =>
{
var web = DigitalOcean.GetMicrovms.Invoke(new()
{
Region = "nyc3",
TagName = "web",
});
return new Dictionary<string, object?>
{
["names"] = web.Apply(getMicrovmsResult => getMicrovmsResult.MicroVms).Select(__item => __item.Name).ToList(),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.digitalocean.DigitaloceanFunctions;
import com.pulumi.digitalocean.inputs.GetMicrovmsArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var web = DigitaloceanFunctions.getMicrovms(GetMicrovmsArgs.builder()
.region("nyc3")
.tagName("web")
.build());
ctx.export("names", web.microVms().stream().map(element -> element.name()).collect(toList()));
}
}
Example coming soon!
terraform {
required_providers {
digitalocean = {
source = "pulumi/digitalocean"
}
}
}
data "digitalocean_microvms" "web" {
region = "nyc3"
tag_name = "web"
}
output "names" {
value = data.digitalocean_microvms.web.micro_vms[*].name
}
Get all running MicroVMs, sorted by creation time:
import * as pulumi from "@pulumi/pulumi";
import * as digitalocean from "@pulumi/digitalocean";
const running = digitalocean.getMicrovms({
filters: [{
key: "current_state",
values: ["running"],
}],
sorts: [{
key: "created_at",
direction: "desc",
}],
});
import pulumi
import pulumi_digitalocean as digitalocean
running = digitalocean.get_microvms(filters=[{
"key": "current_state",
"values": ["running"],
}],
sorts=[{
"key": "created_at",
"direction": "desc",
}])
package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := digitalocean.GetMicrovms(ctx, &digitalocean.GetMicrovmsArgs{
Filters: []digitalocean.GetMicrovmsFilter{
{
Key: "current_state",
Values: []string{
"running",
},
},
},
Sorts: []digitalocean.GetMicrovmsSort{
{
Key: "created_at",
Direction: pulumi.StringRef("desc"),
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using DigitalOcean = Pulumi.DigitalOcean;
return await Deployment.RunAsync(() =>
{
var running = DigitalOcean.GetMicrovms.Invoke(new()
{
Filters = new[]
{
new DigitalOcean.Inputs.GetMicrovmsFilterInputArgs
{
Key = "current_state",
Values = new[]
{
"running",
},
},
},
Sorts = new[]
{
new DigitalOcean.Inputs.GetMicrovmsSortInputArgs
{
Key = "created_at",
Direction = "desc",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.digitalocean.DigitaloceanFunctions;
import com.pulumi.digitalocean.inputs.GetMicrovmsArgs;
import com.pulumi.digitalocean.inputs.GetMicrovmsFilterArgs;
import com.pulumi.digitalocean.inputs.GetMicrovmsSortArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var running = DigitaloceanFunctions.getMicrovms(GetMicrovmsArgs.builder()
.filters(GetMicrovmsFilterArgs.builder()
.key("current_state")
.values("running")
.build())
.sorts(GetMicrovmsSortArgs.builder()
.key("created_at")
.direction("desc")
.build())
.build());
}
}
variables:
running:
fn::invoke:
function: digitalocean:getMicrovms
arguments:
filters:
- key: current_state
values:
- running
sorts:
- key: created_at
direction: desc
terraform {
required_providers {
digitalocean = {
source = "pulumi/digitalocean"
}
}
}
data "digitalocean_microvms" "running" {
filters {
key = "current_state"
values = ["running"]
}
sorts {
key = "created_at"
direction = "desc"
}
}
Using getMicrovms
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 getMicrovms(args: GetMicrovmsArgs, opts?: InvokeOptions): Promise<GetMicrovmsResult>
function getMicrovmsOutput(args: GetMicrovmsOutputArgs, opts?: InvokeOutputOptions): Output<GetMicrovmsResult>def get_microvms(filters: Optional[Sequence[GetMicrovmsFilter]] = None,
name: Optional[str] = None,
region: Optional[str] = None,
sorts: Optional[Sequence[GetMicrovmsSort]] = None,
tag_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMicrovmsResult
def get_microvms_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetMicrovmsFilterArgs]]]] = None,
name: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
sorts: pulumi.Input[Optional[Sequence[pulumi.Input[GetMicrovmsSortArgs]]]] = None,
tag_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetMicrovmsResult]func GetMicrovms(ctx *Context, args *GetMicrovmsArgs, opts ...InvokeOption) (*GetMicrovmsResult, error)
func GetMicrovmsOutput(ctx *Context, args *GetMicrovmsOutputArgs, opts ...InvokeOption) GetMicrovmsResultOutput> Note: This function is named GetMicrovms in the Go SDK.
public static class GetMicrovms
{
public static Task<GetMicrovmsResult> InvokeAsync(GetMicrovmsArgs args, InvokeOptions? opts = null)
public static Output<GetMicrovmsResult> Invoke(GetMicrovmsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetMicrovmsResult> Invoke(GetMicrovmsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetMicrovmsResult> getMicrovms(GetMicrovmsArgs args, InvokeOptions options)
public static Output<GetMicrovmsResult> getMicrovms(GetMicrovmsArgs args, InvokeOptions options)
public static Output<GetMicrovmsResult> getMicrovms(GetMicrovmsArgs args, InvokeOutputOptions options)
fn::invoke:
function: digitalocean:index/getMicrovms:getMicrovms
arguments:
# arguments dictionarydata "digitalocean_get_microvms" "name" {
# arguments
}The following arguments are supported:
- Filters
List<Pulumi.
Digital Ocean. Inputs. Get Microvms Filter> - Filter the results.
The
filterblock is documented below. - Name string
- Only return MicroVMs with this exact name.
- Region string
- Only return MicroVMs in this region.
- Sorts
List<Pulumi.
Digital Ocean. Inputs. Get Microvms Sort> - Sort the results.
The
sortblock is documented below. - Tag
Name string - Only return MicroVMs that carry this tag.
- Filters
[]Get
Microvms Filter - Filter the results.
The
filterblock is documented below. - Name string
- Only return MicroVMs with this exact name.
- Region string
- Only return MicroVMs in this region.
- Sorts
[]Get
Microvms Sort - Sort the results.
The
sortblock is documented below. - Tag
Name string - Only return MicroVMs that carry this tag.
- filters list(object)
- Filter the results.
The
filterblock is documented below. - name string
- Only return MicroVMs with this exact name.
- region string
- Only return MicroVMs in this region.
- sorts list(object)
- Sort the results.
The
sortblock is documented below. - tag_
name string - Only return MicroVMs that carry this tag.
- filters
List<Get
Microvms Filter> - Filter the results.
The
filterblock is documented below. - name String
- Only return MicroVMs with this exact name.
- region String
- Only return MicroVMs in this region.
- sorts
List<Get
Microvms Sort> - Sort the results.
The
sortblock is documented below. - tag
Name String - Only return MicroVMs that carry this tag.
- filters
Get
Microvms Filter[] - Filter the results.
The
filterblock is documented below. - name string
- Only return MicroVMs with this exact name.
- region string
- Only return MicroVMs in this region.
- sorts
Get
Microvms Sort[] - Sort the results.
The
sortblock is documented below. - tag
Name string - Only return MicroVMs that carry this tag.
- filters
Sequence[Get
Microvms Filter] - Filter the results.
The
filterblock is documented below. - name str
- Only return MicroVMs with this exact name.
- region str
- Only return MicroVMs in this region.
- sorts
Sequence[Get
Microvms Sort] - Sort the results.
The
sortblock is documented below. - tag_
name str - Only return MicroVMs that carry this tag.
- filters List<Property Map>
- Filter the results.
The
filterblock is documented below. - name String
- Only return MicroVMs with this exact name.
- region String
- Only return MicroVMs in this region.
- sorts List<Property Map>
- Sort the results.
The
sortblock is documented below. - tag
Name String - Only return MicroVMs that carry this tag.
getMicrovms Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Micro
Vms List<Pulumi.Digital Ocean. Outputs. Get Microvms Micro Vm> - A list of MicroVMs satisfying any
filterandsortcriteria. Each MicroVM has the same attributes as thedigitalocean.Microvmdata source. - Filters
List<Pulumi.
Digital Ocean. Outputs. Get Microvms Filter> - Name string
- Region string
- Sorts
List<Pulumi.
Digital Ocean. Outputs. Get Microvms Sort> - Tag
Name string
- Id string
- The provider-assigned unique ID for this managed resource.
- Micro
Vms []GetMicrovms Micro Vm - A list of MicroVMs satisfying any
filterandsortcriteria. Each MicroVM has the same attributes as thedigitalocean.Microvmdata source. - Filters
[]Get
Microvms Filter - Name string
- Region string
- Sorts
[]Get
Microvms Sort - Tag
Name string
- id string
- The provider-assigned unique ID for this managed resource.
- micro_
vms list(object) - A list of MicroVMs satisfying any
filterandsortcriteria. Each MicroVM has the same attributes as thedigitalocean.Microvmdata source. - filters list(object)
- name string
- region string
- sorts list(object)
- tag_
name string
- id String
- The provider-assigned unique ID for this managed resource.
- micro
Vms List<GetMicrovms Micro Vm> - A list of MicroVMs satisfying any
filterandsortcriteria. Each MicroVM has the same attributes as thedigitalocean.Microvmdata source. - filters
List<Get
Microvms Filter> - name String
- region String
- sorts
List<Get
Microvms Sort> - tag
Name String
- id string
- The provider-assigned unique ID for this managed resource.
- micro
Vms GetMicrovms Micro Vm[] - A list of MicroVMs satisfying any
filterandsortcriteria. Each MicroVM has the same attributes as thedigitalocean.Microvmdata source. - filters
Get
Microvms Filter[] - name string
- region string
- sorts
Get
Microvms Sort[] - tag
Name string
- id str
- The provider-assigned unique ID for this managed resource.
- micro_
vms Sequence[GetMicrovms Micro Vm] - A list of MicroVMs satisfying any
filterandsortcriteria. Each MicroVM has the same attributes as thedigitalocean.Microvmdata source. - filters
Sequence[Get
Microvms Filter] - name str
- region str
- sorts
Sequence[Get
Microvms Sort] - tag_
name str
- id String
- The provider-assigned unique ID for this managed resource.
- micro
Vms List<Property Map> - A list of MicroVMs satisfying any
filterandsortcriteria. Each MicroVM has the same attributes as thedigitalocean.Microvmdata source. - filters List<Property Map>
- name String
- region String
- sorts List<Property Map>
- tag
Name String
Supporting Types
GetMicrovmsFilter
- Key string
- Filter the MicroVMs by this key. This may be one of
id,name,region,networking,httpProtocol,currentState,failureReason,autoResume,ports,tags,urn, orcreatedAt. - Values List<string>
- A list of values to match against the
keyfield. Only retrieves MicroVMs where thekeyfield takes on one or more of the values provided here. - All bool
- Set to
trueto require that a field match all of thevaluesinstead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of thevaluesare present in the list or set. - Match
By string - One of
exact(default),re, orsubstring. For string-typed fields, specifyreto match by using thevaluesas regular expressions, or specifysubstringto match by treating thevaluesas substrings to find within the string field.
- Key string
- Filter the MicroVMs by this key. This may be one of
id,name,region,networking,httpProtocol,currentState,failureReason,autoResume,ports,tags,urn, orcreatedAt. - Values []string
- A list of values to match against the
keyfield. Only retrieves MicroVMs where thekeyfield takes on one or more of the values provided here. - All bool
- Set to
trueto require that a field match all of thevaluesinstead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of thevaluesare present in the list or set. - Match
By string - One of
exact(default),re, orsubstring. For string-typed fields, specifyreto match by using thevaluesas regular expressions, or specifysubstringto match by treating thevaluesas substrings to find within the string field.
- key string
- Filter the MicroVMs by this key. This may be one of
id,name,region,networking,httpProtocol,currentState,failureReason,autoResume,ports,tags,urn, orcreatedAt. - values list(string)
- A list of values to match against the
keyfield. Only retrieves MicroVMs where thekeyfield takes on one or more of the values provided here. - all bool
- Set to
trueto require that a field match all of thevaluesinstead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of thevaluesare present in the list or set. - match_
by string - One of
exact(default),re, orsubstring. For string-typed fields, specifyreto match by using thevaluesas regular expressions, or specifysubstringto match by treating thevaluesas substrings to find within the string field.
- key String
- Filter the MicroVMs by this key. This may be one of
id,name,region,networking,httpProtocol,currentState,failureReason,autoResume,ports,tags,urn, orcreatedAt. - values List<String>
- A list of values to match against the
keyfield. Only retrieves MicroVMs where thekeyfield takes on one or more of the values provided here. - all Boolean
- Set to
trueto require that a field match all of thevaluesinstead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of thevaluesare present in the list or set. - match
By String - One of
exact(default),re, orsubstring. For string-typed fields, specifyreto match by using thevaluesas regular expressions, or specifysubstringto match by treating thevaluesas substrings to find within the string field.
- key string
- Filter the MicroVMs by this key. This may be one of
id,name,region,networking,httpProtocol,currentState,failureReason,autoResume,ports,tags,urn, orcreatedAt. - values string[]
- A list of values to match against the
keyfield. Only retrieves MicroVMs where thekeyfield takes on one or more of the values provided here. - all boolean
- Set to
trueto require that a field match all of thevaluesinstead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of thevaluesare present in the list or set. - match
By string - One of
exact(default),re, orsubstring. For string-typed fields, specifyreto match by using thevaluesas regular expressions, or specifysubstringto match by treating thevaluesas substrings to find within the string field.
- key str
- Filter the MicroVMs by this key. This may be one of
id,name,region,networking,httpProtocol,currentState,failureReason,autoResume,ports,tags,urn, orcreatedAt. - values Sequence[str]
- A list of values to match against the
keyfield. Only retrieves MicroVMs where thekeyfield takes on one or more of the values provided here. - all bool
- Set to
trueto require that a field match all of thevaluesinstead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of thevaluesare present in the list or set. - match_
by str - One of
exact(default),re, orsubstring. For string-typed fields, specifyreto match by using thevaluesas regular expressions, or specifysubstringto match by treating thevaluesas substrings to find within the string field.
- key String
- Filter the MicroVMs by this key. This may be one of
id,name,region,networking,httpProtocol,currentState,failureReason,autoResume,ports,tags,urn, orcreatedAt. - values List<String>
- A list of values to match against the
keyfield. Only retrieves MicroVMs where thekeyfield takes on one or more of the values provided here. - all Boolean
- Set to
trueto require that a field match all of thevaluesinstead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of thevaluesare present in the list or set. - match
By String - One of
exact(default),re, orsubstring. For string-typed fields, specifyreto match by using thevaluesas regular expressions, or specifysubstringto match by treating thevaluesas substrings to find within the string field.
GetMicrovmsMicroVm
- Auto
Pauses List<Pulumi.Digital Ocean. Inputs. Get Microvms Micro Vm Auto Pause> - Auto-pause configuration. Forces recreation on change: the MicroVMs API has no in-place update path for auto_pause.
- Auto
Resume bool - Whether the MicroVM should auto-resume on request. Forces recreation on change: the MicroVMs API has no in-place update path for auto_resume.
- Created
At string - The creation timestamp for the MicroVM
- Current
State string - Observed lifecycle state of the MicroVM
- Environment Dictionary<string, string>
- Environment variables passed to the MicroVM
- Failure
Reason string - Human-readable explanation when currentState is failed
- Http
Port int - Port the MicroVM exposes over HTTP
- Http
Protocol string - HTTP protocol: 'http' or 'http2'
- Id string
- MicroVM ID
- Name string
- Only return MicroVMs with this exact name.
- Networking string
- Networking mode: 'public' or 'vpc'
- Ports List<int>
- Guest ports open for ingress. Defaults to just httpPort when omitted.
- Region string
- Only return MicroVMs in this region.
- Sizes
List<Pulumi.
Digital Ocean. Inputs. Get Microvms Micro Vm Size> - Compute size. Required when creating from oci_ref; optional when restoring from a checkpoint (inherited).
- Sources
List<Pulumi.
Digital Ocean. Inputs. Get Microvms Micro Vm Source> - Workload source. Exactly one of ociRef or checkpointId must be set.
- State string
- Desired lifecycle state: 'running' or 'paused'. Changes are applied by calling the microvm pause / resume action endpoints.
- List<string>
- Urls
List<Pulumi.
Digital Ocean. Inputs. Get Microvms Micro Vm Url> - Ingress URLs for the MicroVM
- Urn string
- The uniform resource name (URN) for the MicroVM
- Vpc
Uuid string - UUID of the VPC to attach the MicroVM to. Only valid when networking is 'vpc'.
- Auto
Pauses []GetMicrovms Micro Vm Auto Pause - Auto-pause configuration. Forces recreation on change: the MicroVMs API has no in-place update path for auto_pause.
- Auto
Resume bool - Whether the MicroVM should auto-resume on request. Forces recreation on change: the MicroVMs API has no in-place update path for auto_resume.
- Created
At string - The creation timestamp for the MicroVM
- Current
State string - Observed lifecycle state of the MicroVM
- Environment map[string]string
- Environment variables passed to the MicroVM
- Failure
Reason string - Human-readable explanation when currentState is failed
- Http
Port int - Port the MicroVM exposes over HTTP
- Http
Protocol string - HTTP protocol: 'http' or 'http2'
- Id string
- MicroVM ID
- Name string
- Only return MicroVMs with this exact name.
- Networking string
- Networking mode: 'public' or 'vpc'
- Ports []int
- Guest ports open for ingress. Defaults to just httpPort when omitted.
- Region string
- Only return MicroVMs in this region.
- Sizes
[]Get
Microvms Micro Vm Size - Compute size. Required when creating from oci_ref; optional when restoring from a checkpoint (inherited).
- Sources
[]Get
Microvms Micro Vm Source - Workload source. Exactly one of ociRef or checkpointId must be set.
- State string
- Desired lifecycle state: 'running' or 'paused'. Changes are applied by calling the microvm pause / resume action endpoints.
- []string
- Urls
[]Get
Microvms Micro Vm Url - Ingress URLs for the MicroVM
- Urn string
- The uniform resource name (URN) for the MicroVM
- Vpc
Uuid string - UUID of the VPC to attach the MicroVM to. Only valid when networking is 'vpc'.
- auto_
pauses list(object) - Auto-pause configuration. Forces recreation on change: the MicroVMs API has no in-place update path for auto_pause.
- auto_
resume bool - Whether the MicroVM should auto-resume on request. Forces recreation on change: the MicroVMs API has no in-place update path for auto_resume.
- created_
at string - The creation timestamp for the MicroVM
- current_
state string - Observed lifecycle state of the MicroVM
- environment map(string)
- Environment variables passed to the MicroVM
- failure_
reason string - Human-readable explanation when currentState is failed
- http_
port number - Port the MicroVM exposes over HTTP
- http_
protocol string - HTTP protocol: 'http' or 'http2'
- id string
- MicroVM ID
- name string
- Only return MicroVMs with this exact name.
- networking string
- Networking mode: 'public' or 'vpc'
- ports list(number)
- Guest ports open for ingress. Defaults to just httpPort when omitted.
- region string
- Only return MicroVMs in this region.
- sizes list(object)
- Compute size. Required when creating from oci_ref; optional when restoring from a checkpoint (inherited).
- sources list(object)
- Workload source. Exactly one of ociRef or checkpointId must be set.
- state string
- Desired lifecycle state: 'running' or 'paused'. Changes are applied by calling the microvm pause / resume action endpoints.
- list(string)
- urls list(object)
- Ingress URLs for the MicroVM
- urn string
- The uniform resource name (URN) for the MicroVM
- vpc_
uuid string - UUID of the VPC to attach the MicroVM to. Only valid when networking is 'vpc'.
- auto
Pauses List<GetMicrovms Micro Vm Auto Pause> - Auto-pause configuration. Forces recreation on change: the MicroVMs API has no in-place update path for auto_pause.
- auto
Resume Boolean - Whether the MicroVM should auto-resume on request. Forces recreation on change: the MicroVMs API has no in-place update path for auto_resume.
- created
At String - The creation timestamp for the MicroVM
- current
State String - Observed lifecycle state of the MicroVM
- environment Map<String,String>
- Environment variables passed to the MicroVM
- failure
Reason String - Human-readable explanation when currentState is failed
- http
Port Integer - Port the MicroVM exposes over HTTP
- http
Protocol String - HTTP protocol: 'http' or 'http2'
- id String
- MicroVM ID
- name String
- Only return MicroVMs with this exact name.
- networking String
- Networking mode: 'public' or 'vpc'
- ports List<Integer>
- Guest ports open for ingress. Defaults to just httpPort when omitted.
- region String
- Only return MicroVMs in this region.
- sizes
List<Get
Microvms Micro Vm Size> - Compute size. Required when creating from oci_ref; optional when restoring from a checkpoint (inherited).
- sources
List<Get
Microvms Micro Vm Source> - Workload source. Exactly one of ociRef or checkpointId must be set.
- state String
- Desired lifecycle state: 'running' or 'paused'. Changes are applied by calling the microvm pause / resume action endpoints.
- List<String>
- urls
List<Get
Microvms Micro Vm Url> - Ingress URLs for the MicroVM
- urn String
- The uniform resource name (URN) for the MicroVM
- vpc
Uuid String - UUID of the VPC to attach the MicroVM to. Only valid when networking is 'vpc'.
- auto
Pauses GetMicrovms Micro Vm Auto Pause[] - Auto-pause configuration. Forces recreation on change: the MicroVMs API has no in-place update path for auto_pause.
- auto
Resume boolean - Whether the MicroVM should auto-resume on request. Forces recreation on change: the MicroVMs API has no in-place update path for auto_resume.
- created
At string - The creation timestamp for the MicroVM
- current
State string - Observed lifecycle state of the MicroVM
- environment {[key: string]: string}
- Environment variables passed to the MicroVM
- failure
Reason string - Human-readable explanation when currentState is failed
- http
Port number - Port the MicroVM exposes over HTTP
- http
Protocol string - HTTP protocol: 'http' or 'http2'
- id string
- MicroVM ID
- name string
- Only return MicroVMs with this exact name.
- networking string
- Networking mode: 'public' or 'vpc'
- ports number[]
- Guest ports open for ingress. Defaults to just httpPort when omitted.
- region string
- Only return MicroVMs in this region.
- sizes
Get
Microvms Micro Vm Size[] - Compute size. Required when creating from oci_ref; optional when restoring from a checkpoint (inherited).
- sources
Get
Microvms Micro Vm Source[] - Workload source. Exactly one of ociRef or checkpointId must be set.
- state string
- Desired lifecycle state: 'running' or 'paused'. Changes are applied by calling the microvm pause / resume action endpoints.
- string[]
- urls
Get
Microvms Micro Vm Url[] - Ingress URLs for the MicroVM
- urn string
- The uniform resource name (URN) for the MicroVM
- vpc
Uuid string - UUID of the VPC to attach the MicroVM to. Only valid when networking is 'vpc'.
- auto_
pauses Sequence[GetMicrovms Micro Vm Auto Pause] - Auto-pause configuration. Forces recreation on change: the MicroVMs API has no in-place update path for auto_pause.
- auto_
resume bool - Whether the MicroVM should auto-resume on request. Forces recreation on change: the MicroVMs API has no in-place update path for auto_resume.
- created_
at str - The creation timestamp for the MicroVM
- current_
state str - Observed lifecycle state of the MicroVM
- environment Mapping[str, str]
- Environment variables passed to the MicroVM
- failure_
reason str - Human-readable explanation when currentState is failed
- http_
port int - Port the MicroVM exposes over HTTP
- http_
protocol str - HTTP protocol: 'http' or 'http2'
- id str
- MicroVM ID
- name str
- Only return MicroVMs with this exact name.
- networking str
- Networking mode: 'public' or 'vpc'
- ports Sequence[int]
- Guest ports open for ingress. Defaults to just httpPort when omitted.
- region str
- Only return MicroVMs in this region.
- sizes
Sequence[Get
Microvms Micro Vm Size] - Compute size. Required when creating from oci_ref; optional when restoring from a checkpoint (inherited).
- sources
Sequence[Get
Microvms Micro Vm Source] - Workload source. Exactly one of ociRef or checkpointId must be set.
- state str
- Desired lifecycle state: 'running' or 'paused'. Changes are applied by calling the microvm pause / resume action endpoints.
- Sequence[str]
- urls
Sequence[Get
Microvms Micro Vm Url] - Ingress URLs for the MicroVM
- urn str
- The uniform resource name (URN) for the MicroVM
- vpc_
uuid str - UUID of the VPC to attach the MicroVM to. Only valid when networking is 'vpc'.
- auto
Pauses List<Property Map> - Auto-pause configuration. Forces recreation on change: the MicroVMs API has no in-place update path for auto_pause.
- auto
Resume Boolean - Whether the MicroVM should auto-resume on request. Forces recreation on change: the MicroVMs API has no in-place update path for auto_resume.
- created
At String - The creation timestamp for the MicroVM
- current
State String - Observed lifecycle state of the MicroVM
- environment Map<String>
- Environment variables passed to the MicroVM
- failure
Reason String - Human-readable explanation when currentState is failed
- http
Port Number - Port the MicroVM exposes over HTTP
- http
Protocol String - HTTP protocol: 'http' or 'http2'
- id String
- MicroVM ID
- name String
- Only return MicroVMs with this exact name.
- networking String
- Networking mode: 'public' or 'vpc'
- ports List<Number>
- Guest ports open for ingress. Defaults to just httpPort when omitted.
- region String
- Only return MicroVMs in this region.
- sizes List<Property Map>
- Compute size. Required when creating from oci_ref; optional when restoring from a checkpoint (inherited).
- sources List<Property Map>
- Workload source. Exactly one of ociRef or checkpointId must be set.
- state String
- Desired lifecycle state: 'running' or 'paused'. Changes are applied by calling the microvm pause / resume action endpoints.
- List<String>
- urls List<Property Map>
- Ingress URLs for the MicroVM
- urn String
- The uniform resource name (URN) for the MicroVM
- vpc
Uuid String - UUID of the VPC to attach the MicroVM to. Only valid when networking is 'vpc'.
GetMicrovmsMicroVmAutoPause
- Enabled bool
- Whether auto-pause is enabled. Forces recreation on change (no in-place API path).
- Idle
Timeout string - Idle timeout as a Go duration string (e.g. '5m', '30s'). Forces recreation on change (no in-place API path).
- Enabled bool
- Whether auto-pause is enabled. Forces recreation on change (no in-place API path).
- Idle
Timeout string - Idle timeout as a Go duration string (e.g. '5m', '30s'). Forces recreation on change (no in-place API path).
- enabled bool
- Whether auto-pause is enabled. Forces recreation on change (no in-place API path).
- idle_
timeout string - Idle timeout as a Go duration string (e.g. '5m', '30s'). Forces recreation on change (no in-place API path).
- enabled Boolean
- Whether auto-pause is enabled. Forces recreation on change (no in-place API path).
- idle
Timeout String - Idle timeout as a Go duration string (e.g. '5m', '30s'). Forces recreation on change (no in-place API path).
- enabled boolean
- Whether auto-pause is enabled. Forces recreation on change (no in-place API path).
- idle
Timeout string - Idle timeout as a Go duration string (e.g. '5m', '30s'). Forces recreation on change (no in-place API path).
- enabled bool
- Whether auto-pause is enabled. Forces recreation on change (no in-place API path).
- idle_
timeout str - Idle timeout as a Go duration string (e.g. '5m', '30s'). Forces recreation on change (no in-place API path).
- enabled Boolean
- Whether auto-pause is enabled. Forces recreation on change (no in-place API path).
- idle
Timeout String - Idle timeout as a Go duration string (e.g. '5m', '30s'). Forces recreation on change (no in-place API path).
GetMicrovmsMicroVmSize
GetMicrovmsMicroVmSource
- Checkpoint
Id string - Checkpoint UUID to restore
- Oci
Ref string - OCI reference for the workload container
- Checkpoint
Id string - Checkpoint UUID to restore
- Oci
Ref string - OCI reference for the workload container
- checkpoint_
id string - Checkpoint UUID to restore
- oci_
ref string - OCI reference for the workload container
- checkpoint
Id String - Checkpoint UUID to restore
- oci
Ref String - OCI reference for the workload container
- checkpoint
Id string - Checkpoint UUID to restore
- oci
Ref string - OCI reference for the workload container
- checkpoint_
id str - Checkpoint UUID to restore
- oci_
ref str - OCI reference for the workload container
- checkpoint
Id String - Checkpoint UUID to restore
- oci
Ref String - OCI reference for the workload container
GetMicrovmsMicroVmUrl
GetMicrovmsSort
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitaloceanTerraform Provider.
published on Tuesday, Oct 13, 2026 by Pulumi