Viewing docs for DigitalOcean v4.65.0
published on Wednesday, Apr 29, 2026 by Pulumi
published on Wednesday, Apr 29, 2026 by Pulumi
Viewing docs for DigitalOcean v4.65.0
published on Wednesday, Apr 29, 2026 by Pulumi
published on Wednesday, Apr 29, 2026 by Pulumi
Returns a list of dedicated inference endpoints in your DigitalOcean account, with the ability to filter and sort the results. If no filters are specified, all endpoints will be returned.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as digitalocean from "@pulumi/digitalocean";
const all = digitalocean.getDedicatedInferences({});
export const allEndpoints = all.then(all => all.dedicatedInferences);
import pulumi
import pulumi_digitalocean as digitalocean
all = digitalocean.get_dedicated_inferences()
pulumi.export("allEndpoints", all.dedicated_inferences)
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 {
all, err := digitalocean.GetDedicatedInferences(ctx, &digitalocean.GetDedicatedInferencesArgs{}, nil)
if err != nil {
return err
}
ctx.Export("allEndpoints", all.DedicatedInferences)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using DigitalOcean = Pulumi.DigitalOcean;
return await Deployment.RunAsync(() =>
{
var all = DigitalOcean.Index.GetDedicatedInferences.Invoke();
return new Dictionary<string, object?>
{
["allEndpoints"] = all.Apply(getDedicatedInferencesResult => getDedicatedInferencesResult.DedicatedInferences),
};
});
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.GetDedicatedInferencesArgs;
import java.util.List;
import java.util.ArrayList;
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 all = DigitaloceanFunctions.getDedicatedInferences(GetDedicatedInferencesArgs.builder()
.build());
ctx.export("allEndpoints", all.dedicatedInferences());
}
}
variables:
all:
fn::invoke:
function: digitalocean:getDedicatedInferences
arguments: {}
outputs:
allEndpoints: ${all.dedicatedInferences}
Filter by name
import * as pulumi from "@pulumi/pulumi";
import * as digitalocean from "@pulumi/digitalocean";
const filtered = digitalocean.getDedicatedInferences({
filters: [{
key: "name",
values: ["my-inference"],
}],
});
import pulumi
import pulumi_digitalocean as digitalocean
filtered = digitalocean.get_dedicated_inferences(filters=[{
"key": "name",
"values": ["my-inference"],
}])
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.GetDedicatedInferences(ctx, &digitalocean.GetDedicatedInferencesArgs{
Filters: []digitalocean.GetDedicatedInferencesFilter{
{
Key: "name",
Values: []string{
"my-inference",
},
},
},
}, 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 filtered = DigitalOcean.Index.GetDedicatedInferences.Invoke(new()
{
Filters = new[]
{
new DigitalOcean.Inputs.GetDedicatedInferencesFilterInputArgs
{
Key = "name",
Values = new[]
{
"my-inference",
},
},
},
});
});
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.GetDedicatedInferencesArgs;
import java.util.List;
import java.util.ArrayList;
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 filtered = DigitaloceanFunctions.getDedicatedInferences(GetDedicatedInferencesArgs.builder()
.filters(GetDedicatedInferencesFilterArgs.builder()
.key("name")
.values("my-inference")
.build())
.build());
}
}
variables:
filtered:
fn::invoke:
function: digitalocean:getDedicatedInferences
arguments:
filters:
- key: name
values:
- my-inference
Filter by region
import * as pulumi from "@pulumi/pulumi";
import * as digitalocean from "@pulumi/digitalocean";
const byRegion = digitalocean.getDedicatedInferences({
filters: [{
key: "region",
values: ["tor1"],
}],
sorts: [{
key: "name",
direction: "asc",
}],
});
import pulumi
import pulumi_digitalocean as digitalocean
by_region = digitalocean.get_dedicated_inferences(filters=[{
"key": "region",
"values": ["tor1"],
}],
sorts=[{
"key": "name",
"direction": "asc",
}])
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.GetDedicatedInferences(ctx, &digitalocean.GetDedicatedInferencesArgs{
Filters: []digitalocean.GetDedicatedInferencesFilter{
{
Key: "region",
Values: []string{
"tor1",
},
},
},
Sorts: []digitalocean.GetDedicatedInferencesSort{
{
Key: "name",
Direction: pulumi.StringRef("asc"),
},
},
}, 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 byRegion = DigitalOcean.Index.GetDedicatedInferences.Invoke(new()
{
Filters = new[]
{
new DigitalOcean.Inputs.GetDedicatedInferencesFilterInputArgs
{
Key = "region",
Values = new[]
{
"tor1",
},
},
},
Sorts = new[]
{
new DigitalOcean.Inputs.GetDedicatedInferencesSortInputArgs
{
Key = "name",
Direction = "asc",
},
},
});
});
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.GetDedicatedInferencesArgs;
import java.util.List;
import java.util.ArrayList;
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 byRegion = DigitaloceanFunctions.getDedicatedInferences(GetDedicatedInferencesArgs.builder()
.filters(GetDedicatedInferencesFilterArgs.builder()
.key("region")
.values("tor1")
.build())
.sorts(GetDedicatedInferencesSortArgs.builder()
.key("name")
.direction("asc")
.build())
.build());
}
}
variables:
byRegion:
fn::invoke:
function: digitalocean:getDedicatedInferences
arguments:
filters:
- key: region
values:
- tor1
sorts:
- key: name
direction: asc
Using getDedicatedInferences
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 getDedicatedInferences(args: GetDedicatedInferencesArgs, opts?: InvokeOptions): Promise<GetDedicatedInferencesResult>
function getDedicatedInferencesOutput(args: GetDedicatedInferencesOutputArgs, opts?: InvokeOptions): Output<GetDedicatedInferencesResult>def get_dedicated_inferences(filters: Optional[Sequence[GetDedicatedInferencesFilter]] = None,
sorts: Optional[Sequence[GetDedicatedInferencesSort]] = None,
opts: Optional[InvokeOptions] = None) -> GetDedicatedInferencesResult
def get_dedicated_inferences_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetDedicatedInferencesFilterArgs]]]] = None,
sorts: Optional[pulumi.Input[Sequence[pulumi.Input[GetDedicatedInferencesSortArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDedicatedInferencesResult]func GetDedicatedInferences(ctx *Context, args *GetDedicatedInferencesArgs, opts ...InvokeOption) (*GetDedicatedInferencesResult, error)
func GetDedicatedInferencesOutput(ctx *Context, args *GetDedicatedInferencesOutputArgs, opts ...InvokeOption) GetDedicatedInferencesResultOutput> Note: This function is named GetDedicatedInferences in the Go SDK.
public static class GetDedicatedInferences
{
public static Task<GetDedicatedInferencesResult> InvokeAsync(GetDedicatedInferencesArgs args, InvokeOptions? opts = null)
public static Output<GetDedicatedInferencesResult> Invoke(GetDedicatedInferencesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDedicatedInferencesResult> getDedicatedInferences(GetDedicatedInferencesArgs args, InvokeOptions options)
public static Output<GetDedicatedInferencesResult> getDedicatedInferences(GetDedicatedInferencesArgs args, InvokeOptions options)
fn::invoke:
function: digitalocean:index/getDedicatedInferences:getDedicatedInferences
arguments:
# arguments dictionaryThe following arguments are supported:
- Filters
List<Pulumi.
Digital Ocean. Inputs. Get Dedicated Inferences Filter> - Filter the results. The
filterblock is documented below. - Sorts
List<Pulumi.
Digital Ocean. Inputs. Get Dedicated Inferences Sort> - Sort the results. The
sortblock is documented below.
- Filters
[]Get
Dedicated Inferences Filter - Filter the results. The
filterblock is documented below. - Sorts
[]Get
Dedicated Inferences Sort - Sort the results. The
sortblock is documented below.
- filters
List<Get
Dedicated Inferences Filter> - Filter the results. The
filterblock is documented below. - sorts
List<Get
Dedicated Inferences Sort> - Sort the results. The
sortblock is documented below.
- filters
Get
Dedicated Inferences Filter[] - Filter the results. The
filterblock is documented below. - sorts
Get
Dedicated Inferences Sort[] - Sort the results. The
sortblock is documented below.
- filters
Sequence[Get
Dedicated Inferences Filter] - Filter the results. The
filterblock is documented below. - sorts
Sequence[Get
Dedicated Inferences Sort] - Sort the results. The
sortblock is documented below.
- filters List<Property Map>
- Filter the results. The
filterblock is documented below. - sorts List<Property Map>
- Sort the results. The
sortblock is documented below.
getDedicatedInferences Result
The following output properties are available:
- Dedicated
Inferences List<Pulumi.Digital Ocean. Outputs. Get Dedicated Inferences Dedicated Inference> - A list of dedicated inference endpoints satisfying any
filterandsortcriteria. Each element contains the following attributes: - Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Pulumi.
Digital Ocean. Outputs. Get Dedicated Inferences Filter> - Sorts
List<Pulumi.
Digital Ocean. Outputs. Get Dedicated Inferences Sort>
- Dedicated
Inferences []GetDedicated Inferences Dedicated Inference - A list of dedicated inference endpoints satisfying any
filterandsortcriteria. Each element contains the following attributes: - Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Dedicated Inferences Filter - Sorts
[]Get
Dedicated Inferences Sort
- dedicated
Inferences List<GetDedicated Inferences Dedicated Inference> - A list of dedicated inference endpoints satisfying any
filterandsortcriteria. Each element contains the following attributes: - id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Dedicated Inferences Filter> - sorts
List<Get
Dedicated Inferences Sort>
- dedicated
Inferences GetDedicated Inferences Dedicated Inference[] - A list of dedicated inference endpoints satisfying any
filterandsortcriteria. Each element contains the following attributes: - id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Dedicated Inferences Filter[] - sorts
Get
Dedicated Inferences Sort[]
- dedicated_
inferences Sequence[GetDedicated Inferences Dedicated Inference] - A list of dedicated inference endpoints satisfying any
filterandsortcriteria. Each element contains the following attributes: - id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[Get
Dedicated Inferences Filter] - sorts
Sequence[Get
Dedicated Inferences Sort]
- dedicated
Inferences List<Property Map> - A list of dedicated inference endpoints satisfying any
filterandsortcriteria. Each element contains the following attributes: - id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
- sorts List<Property Map>
Supporting Types
GetDedicatedInferencesDedicatedInference
- Created
At string - The date and time when the dedicated inference endpoint was created.
- Id string
- The unique ID of the dedicated inference endpoint.
- Name string
- The name of the dedicated inference endpoint.
- Private
Endpoint stringFqdn - The fully-qualified domain name of the private endpoint.
- Provider
Model List<string>Ids - The list of provider model IDs for the dedicated inference endpoint.
- Public
Endpoint stringFqdn - The fully-qualified domain name of the public endpoint, if enabled.
- Region string
- The region where the dedicated inference endpoint is deployed.
- Status string
- The current status of the dedicated inference endpoint.
- Updated
At string - The date and time when the dedicated inference endpoint was last updated.
- Vpc
Uuid string - The UUID of the VPC the dedicated inference endpoint is deployed in.
- Created
At string - The date and time when the dedicated inference endpoint was created.
- Id string
- The unique ID of the dedicated inference endpoint.
- Name string
- The name of the dedicated inference endpoint.
- Private
Endpoint stringFqdn - The fully-qualified domain name of the private endpoint.
- Provider
Model []stringIds - The list of provider model IDs for the dedicated inference endpoint.
- Public
Endpoint stringFqdn - The fully-qualified domain name of the public endpoint, if enabled.
- Region string
- The region where the dedicated inference endpoint is deployed.
- Status string
- The current status of the dedicated inference endpoint.
- Updated
At string - The date and time when the dedicated inference endpoint was last updated.
- Vpc
Uuid string - The UUID of the VPC the dedicated inference endpoint is deployed in.
- created
At String - The date and time when the dedicated inference endpoint was created.
- id String
- The unique ID of the dedicated inference endpoint.
- name String
- The name of the dedicated inference endpoint.
- private
Endpoint StringFqdn - The fully-qualified domain name of the private endpoint.
- provider
Model List<String>Ids - The list of provider model IDs for the dedicated inference endpoint.
- public
Endpoint StringFqdn - The fully-qualified domain name of the public endpoint, if enabled.
- region String
- The region where the dedicated inference endpoint is deployed.
- status String
- The current status of the dedicated inference endpoint.
- updated
At String - The date and time when the dedicated inference endpoint was last updated.
- vpc
Uuid String - The UUID of the VPC the dedicated inference endpoint is deployed in.
- created
At string - The date and time when the dedicated inference endpoint was created.
- id string
- The unique ID of the dedicated inference endpoint.
- name string
- The name of the dedicated inference endpoint.
- private
Endpoint stringFqdn - The fully-qualified domain name of the private endpoint.
- provider
Model string[]Ids - The list of provider model IDs for the dedicated inference endpoint.
- public
Endpoint stringFqdn - The fully-qualified domain name of the public endpoint, if enabled.
- region string
- The region where the dedicated inference endpoint is deployed.
- status string
- The current status of the dedicated inference endpoint.
- updated
At string - The date and time when the dedicated inference endpoint was last updated.
- vpc
Uuid string - The UUID of the VPC the dedicated inference endpoint is deployed in.
- created_
at str - The date and time when the dedicated inference endpoint was created.
- id str
- The unique ID of the dedicated inference endpoint.
- name str
- The name of the dedicated inference endpoint.
- private_
endpoint_ strfqdn - The fully-qualified domain name of the private endpoint.
- provider_
model_ Sequence[str]ids - The list of provider model IDs for the dedicated inference endpoint.
- public_
endpoint_ strfqdn - The fully-qualified domain name of the public endpoint, if enabled.
- region str
- The region where the dedicated inference endpoint is deployed.
- status str
- The current status of the dedicated inference endpoint.
- updated_
at str - The date and time when the dedicated inference endpoint was last updated.
- vpc_
uuid str - The UUID of the VPC the dedicated inference endpoint is deployed in.
- created
At String - The date and time when the dedicated inference endpoint was created.
- id String
- The unique ID of the dedicated inference endpoint.
- name String
- The name of the dedicated inference endpoint.
- private
Endpoint StringFqdn - The fully-qualified domain name of the private endpoint.
- provider
Model List<String>Ids - The list of provider model IDs for the dedicated inference endpoint.
- public
Endpoint StringFqdn - The fully-qualified domain name of the public endpoint, if enabled.
- region String
- The region where the dedicated inference endpoint is deployed.
- status String
- The current status of the dedicated inference endpoint.
- updated
At String - The date and time when the dedicated inference endpoint was last updated.
- vpc
Uuid String - The UUID of the VPC the dedicated inference endpoint is deployed in.
GetDedicatedInferencesFilter
- Key string
- Filter the dedicated inference endpoints by this key. This may be one of
id,name,region,status,vpcUuid,publicEndpointFqdn,privateEndpointFqdn,createdAt,updatedAt. - Values List<string>
- A list of values to match against the
keyfield. - All bool
- Set to
trueto require that a field match all of thevaluesinstead of just one. - Match
By string - One of
exact(default),re, orsubstring. For string-typed fields, the match mode controls how the filter is applied.
- Key string
- Filter the dedicated inference endpoints by this key. This may be one of
id,name,region,status,vpcUuid,publicEndpointFqdn,privateEndpointFqdn,createdAt,updatedAt. - Values []string
- A list of values to match against the
keyfield. - All bool
- Set to
trueto require that a field match all of thevaluesinstead of just one. - Match
By string - One of
exact(default),re, orsubstring. For string-typed fields, the match mode controls how the filter is applied.
- key String
- Filter the dedicated inference endpoints by this key. This may be one of
id,name,region,status,vpcUuid,publicEndpointFqdn,privateEndpointFqdn,createdAt,updatedAt. - values List<String>
- A list of values to match against the
keyfield. - all Boolean
- Set to
trueto require that a field match all of thevaluesinstead of just one. - match
By String - One of
exact(default),re, orsubstring. For string-typed fields, the match mode controls how the filter is applied.
- key string
- Filter the dedicated inference endpoints by this key. This may be one of
id,name,region,status,vpcUuid,publicEndpointFqdn,privateEndpointFqdn,createdAt,updatedAt. - values string[]
- A list of values to match against the
keyfield. - all boolean
- Set to
trueto require that a field match all of thevaluesinstead of just one. - match
By string - One of
exact(default),re, orsubstring. For string-typed fields, the match mode controls how the filter is applied.
- key str
- Filter the dedicated inference endpoints by this key. This may be one of
id,name,region,status,vpcUuid,publicEndpointFqdn,privateEndpointFqdn,createdAt,updatedAt. - values Sequence[str]
- A list of values to match against the
keyfield. - all bool
- Set to
trueto require that a field match all of thevaluesinstead of just one. - match_
by str - One of
exact(default),re, orsubstring. For string-typed fields, the match mode controls how the filter is applied.
- key String
- Filter the dedicated inference endpoints by this key. This may be one of
id,name,region,status,vpcUuid,publicEndpointFqdn,privateEndpointFqdn,createdAt,updatedAt. - values List<String>
- A list of values to match against the
keyfield. - all Boolean
- Set to
trueto require that a field match all of thevaluesinstead of just one. - match
By String - One of
exact(default),re, orsubstring. For string-typed fields, the match mode controls how the filter is applied.
GetDedicatedInferencesSort
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitaloceanTerraform Provider.
Viewing docs for DigitalOcean v4.65.0
published on Wednesday, Apr 29, 2026 by Pulumi
published on Wednesday, Apr 29, 2026 by Pulumi
