1. Registry
  2. Packages
  3. DigitalOcean Provider
  4. API Docs
  5. getActionGatewayToolbelt
Viewing docs for DigitalOcean v4.85.0
published on Saturday, Nov 7, 2026 by Pulumi
digitalocean logo
Viewing docs for DigitalOcean v4.85.0
published on Saturday, Nov 7, 2026 by Pulumi

    Get information about the latest or a specific version of an Action Gateway toolbelt.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as digitalocean from "@pulumi/digitalocean";
    
    const search = digitalocean.getActionGatewayToolbelt({
        name: "search-toolbelt",
    });
    export const searchToolbelt = search.then(search => `toolbelt:${search.reference}`);
    
    import pulumi
    import pulumi_digitalocean as digitalocean
    
    search = digitalocean.get_action_gateway_toolbelt(name="search-toolbelt")
    pulumi.export("searchToolbelt", f"toolbelt:{search.reference}")
    
    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 {
    		search, err := digitalocean.GetActionGatewayToolbelt(ctx, &digitalocean.LookupActionGatewayToolbeltArgs{
    			Name: "search-toolbelt",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("searchToolbelt", pulumi.Sprintf("toolbelt:%v", search.Reference))
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DigitalOcean = Pulumi.DigitalOcean;
    
    return await Deployment.RunAsync(() => 
    {
        var search = DigitalOcean.GetActionGatewayToolbelt.Invoke(new()
        {
            Name = "search-toolbelt",
        });
    
        return new Dictionary<string, object?>
        {
            ["searchToolbelt"] = $"toolbelt:{search.Apply(getActionGatewayToolbeltResult => getActionGatewayToolbeltResult.Reference)}",
        };
    });
    
    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.GetActionGatewayToolbeltArgs;
    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 search = DigitaloceanFunctions.getActionGatewayToolbelt(GetActionGatewayToolbeltArgs.builder()
                .name("search-toolbelt")
                .build());
    
            ctx.export("searchToolbelt", String.format("toolbelt:%s", search.reference()));
        }
    }
    
    variables:
      search:
        fn::invoke:
          function: digitalocean:getActionGatewayToolbelt
          arguments:
            name: search-toolbelt
    outputs:
      searchToolbelt: toolbelt:${search.reference}
    
    terraform {
      required_providers {
        digitalocean = {
          source = "pulumi/digitalocean"
        }
      }
    }
    
    data "digitalocean_action_gateway_toolbelt" "search" {
      name = "search-toolbelt"
    }
    
    output "searchToolbelt" {
      value ="toolbelt:${data.digitalocean_action_gateway_toolbelt.search.reference}"
    }
    

    Using getActionGatewayToolbelt

    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 getActionGatewayToolbelt(args: GetActionGatewayToolbeltArgs, opts?: InvokeOptions): Promise<GetActionGatewayToolbeltResult>
    function getActionGatewayToolbeltOutput(args: GetActionGatewayToolbeltOutputArgs, opts?: InvokeOutputOptions): Output<GetActionGatewayToolbeltResult>
    def get_action_gateway_toolbelt(name: Optional[str] = None,
                                    version: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetActionGatewayToolbeltResult
    def get_action_gateway_toolbelt_output(name: pulumi.Input[Optional[str]] = None,
                                    version: pulumi.Input[Optional[str]] = None,
                                    opts: Optional[InvokeOutputOptions] = None) -> Output[GetActionGatewayToolbeltResult]
    func LookupActionGatewayToolbelt(ctx *Context, args *LookupActionGatewayToolbeltArgs, opts ...InvokeOption) (*LookupActionGatewayToolbeltResult, error)
    func LookupActionGatewayToolbeltOutput(ctx *Context, args *LookupActionGatewayToolbeltOutputArgs, opts ...InvokeOption) LookupActionGatewayToolbeltResultOutput

    > Note: This function is named LookupActionGatewayToolbelt in the Go SDK.

    public static class GetActionGatewayToolbelt 
    {
        public static Task<GetActionGatewayToolbeltResult> InvokeAsync(GetActionGatewayToolbeltArgs args, InvokeOptions? opts = null)
        public static Output<GetActionGatewayToolbeltResult> Invoke(GetActionGatewayToolbeltInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetActionGatewayToolbeltResult> Invoke(GetActionGatewayToolbeltInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetActionGatewayToolbeltResult> getActionGatewayToolbelt(GetActionGatewayToolbeltArgs args, InvokeOptions options)
    public static Output<GetActionGatewayToolbeltResult> getActionGatewayToolbelt(GetActionGatewayToolbeltArgs args, InvokeOptions options)
    public static Output<GetActionGatewayToolbeltResult> getActionGatewayToolbelt(GetActionGatewayToolbeltArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: digitalocean:index/getActionGatewayToolbelt:getActionGatewayToolbelt
      arguments:
        # arguments dictionary
    data "digitalocean_get_action_gateway_toolbelt" "name" {
        # arguments
    }

    The following arguments are supported:

    Name string
    The name of the toolbelt.
    Version string
    The version to read. Defaults to the latest version. A deleted toolbelt can only be read by an explicit version.
    Name string
    The name of the toolbelt.
    Version string
    The version to read. Defaults to the latest version. A deleted toolbelt can only be read by an explicit version.
    name string
    The name of the toolbelt.
    version string
    The version to read. Defaults to the latest version. A deleted toolbelt can only be read by an explicit version.
    name String
    The name of the toolbelt.
    version String
    The version to read. Defaults to the latest version. A deleted toolbelt can only be read by an explicit version.
    name string
    The name of the toolbelt.
    version string
    The version to read. Defaults to the latest version. A deleted toolbelt can only be read by an explicit version.
    name str
    The name of the toolbelt.
    version str
    The version to read. Defaults to the latest version. A deleted toolbelt can only be read by an explicit version.
    name String
    The name of the toolbelt.
    version String
    The version to read. Defaults to the latest version. A deleted toolbelt can only be read by an explicit version.

    getActionGatewayToolbelt Result

    The following output properties are available:

    CreatedAt string
    When the version was created.
    Description string
    The description of the toolbelt.
    DisplayName string
    The human-readable label of the toolbelt.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Reference string
    The version-pinned reference to the toolbelt, such as search-toolbelt@2.
    ReferenceLatest string
    The reference to the latest version of the toolbelt.
    Status string
    The status of the toolbelt.
    ToolCount int
    The number of tools in the toolbelt.
    Tools List<string>
    The members of the version, each pinned as <tool_slug>@<version>.
    UpdatedAt string
    When the toolbelt was last modified.
    Version string
    CreatedAt string
    When the version was created.
    Description string
    The description of the toolbelt.
    DisplayName string
    The human-readable label of the toolbelt.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Reference string
    The version-pinned reference to the toolbelt, such as search-toolbelt@2.
    ReferenceLatest string
    The reference to the latest version of the toolbelt.
    Status string
    The status of the toolbelt.
    ToolCount int
    The number of tools in the toolbelt.
    Tools []string
    The members of the version, each pinned as <tool_slug>@<version>.
    UpdatedAt string
    When the toolbelt was last modified.
    Version string
    created_at string
    When the version was created.
    description string
    The description of the toolbelt.
    display_name string
    The human-readable label of the toolbelt.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    reference string
    The version-pinned reference to the toolbelt, such as search-toolbelt@2.
    reference_latest string
    The reference to the latest version of the toolbelt.
    status string
    The status of the toolbelt.
    tool_count number
    The number of tools in the toolbelt.
    tools list(string)
    The members of the version, each pinned as <tool_slug>@<version>.
    updated_at string
    When the toolbelt was last modified.
    version string
    createdAt String
    When the version was created.
    description String
    The description of the toolbelt.
    displayName String
    The human-readable label of the toolbelt.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    reference String
    The version-pinned reference to the toolbelt, such as search-toolbelt@2.
    referenceLatest String
    The reference to the latest version of the toolbelt.
    status String
    The status of the toolbelt.
    toolCount Integer
    The number of tools in the toolbelt.
    tools List<String>
    The members of the version, each pinned as <tool_slug>@<version>.
    updatedAt String
    When the toolbelt was last modified.
    version String
    createdAt string
    When the version was created.
    description string
    The description of the toolbelt.
    displayName string
    The human-readable label of the toolbelt.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    reference string
    The version-pinned reference to the toolbelt, such as search-toolbelt@2.
    referenceLatest string
    The reference to the latest version of the toolbelt.
    status string
    The status of the toolbelt.
    toolCount number
    The number of tools in the toolbelt.
    tools string[]
    The members of the version, each pinned as <tool_slug>@<version>.
    updatedAt string
    When the toolbelt was last modified.
    version string
    created_at str
    When the version was created.
    description str
    The description of the toolbelt.
    display_name str
    The human-readable label of the toolbelt.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    reference str
    The version-pinned reference to the toolbelt, such as search-toolbelt@2.
    reference_latest str
    The reference to the latest version of the toolbelt.
    status str
    The status of the toolbelt.
    tool_count int
    The number of tools in the toolbelt.
    tools Sequence[str]
    The members of the version, each pinned as <tool_slug>@<version>.
    updated_at str
    When the toolbelt was last modified.
    version str
    createdAt String
    When the version was created.
    description String
    The description of the toolbelt.
    displayName String
    The human-readable label of the toolbelt.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    reference String
    The version-pinned reference to the toolbelt, such as search-toolbelt@2.
    referenceLatest String
    The reference to the latest version of the toolbelt.
    status String
    The status of the toolbelt.
    toolCount Number
    The number of tools in the toolbelt.
    tools List<String>
    The members of the version, each pinned as <tool_slug>@<version>.
    updatedAt String
    When the toolbelt was last modified.
    version String

    Package Details

    Repository
    DigitalOcean pulumi/pulumi-digitalocean
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the digitalocean Terraform Provider.
    digitalocean logo
    Viewing docs for DigitalOcean v4.85.0
    published on Saturday, Nov 7, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial