1. Registry
  2. Packages
  3. Linode Provider
  4. API Docs
  5. getMonitorLogsDestinations
Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi
linode logo linode logo
Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi

    Provides a list of Linode Monitor Logs Destinations. For more information, see the Linode APIv4 docs. (Note: v4beta only.)

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as linode from "@pulumi/linode";
    
    const all = linode.getMonitorLogsDestinations({});
    
    import pulumi
    import pulumi_linode as linode
    
    all = linode.get_monitor_logs_destinations()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-linode/sdk/v6/go/linode"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := linode.GetMonitorLogsDestinations(ctx, &linode.GetMonitorLogsDestinationsArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Linode = Pulumi.Linode;
    
    return await Deployment.RunAsync(() => 
    {
        var all = Linode.GetMonitorLogsDestinations.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.linode.LinodeFunctions;
    import com.pulumi.linode.inputs.GetMonitorLogsDestinationsArgs;
    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 all = LinodeFunctions.getMonitorLogsDestinations(GetMonitorLogsDestinationsArgs.builder()
                .build());
    
        }
    }
    
    variables:
      all:
        fn::invoke:
          function: linode:getMonitorLogsDestinations
          arguments: {}
    
    pulumi {
      required_providers {
        linode = {
          source = "pulumi/linode"
        }
      }
    }
    
    data "linode_getmonitorlogsdestinations" "all" {
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as linode from "@pulumi/linode";
    
    const objectStorage = linode.getMonitorLogsDestinations({
        filters: [{
            name: "type",
            values: ["akamai_object_storage"],
        }],
    });
    
    import pulumi
    import pulumi_linode as linode
    
    object_storage = linode.get_monitor_logs_destinations(filters=[{
        "name": "type",
        "values": ["akamai_object_storage"],
    }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-linode/sdk/v6/go/linode"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := linode.GetMonitorLogsDestinations(ctx, &linode.GetMonitorLogsDestinationsArgs{
    			Filters: []linode.GetMonitorLogsDestinationsFilter{
    				{
    					Name: "type",
    					Values: []string{
    						"akamai_object_storage",
    					},
    				},
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Linode = Pulumi.Linode;
    
    return await Deployment.RunAsync(() => 
    {
        var objectStorage = Linode.GetMonitorLogsDestinations.Invoke(new()
        {
            Filters = new[]
            {
                new Linode.Inputs.GetMonitorLogsDestinationsFilterInputArgs
                {
                    Name = "type",
                    Values = new[]
                    {
                        "akamai_object_storage",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.linode.LinodeFunctions;
    import com.pulumi.linode.inputs.GetMonitorLogsDestinationsArgs;
    import com.pulumi.linode.inputs.GetMonitorLogsDestinationsFilterArgs;
    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 objectStorage = LinodeFunctions.getMonitorLogsDestinations(GetMonitorLogsDestinationsArgs.builder()
                .filters(GetMonitorLogsDestinationsFilterArgs.builder()
                    .name("type")
                    .values("akamai_object_storage")
                    .build())
                .build());
    
        }
    }
    
    variables:
      objectStorage:
        fn::invoke:
          function: linode:getMonitorLogsDestinations
          arguments:
            filters:
              - name: type
                values:
                  - akamai_object_storage
    
    pulumi {
      required_providers {
        linode = {
          source = "pulumi/linode"
        }
      }
    }
    
    data "linode_getmonitorlogsdestinations" "objectStorage" {
      filters {
        name   = "type"
        values = ["akamai_object_storage"]
      }
    }
    

    Filterable Fields

    • label
    • type
    • status

    Using getMonitorLogsDestinations

    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 getMonitorLogsDestinations(args: GetMonitorLogsDestinationsArgs, opts?: InvokeOptions): Promise<GetMonitorLogsDestinationsResult>
    function getMonitorLogsDestinationsOutput(args: GetMonitorLogsDestinationsOutputArgs, opts?: InvokeOutputOptions): Output<GetMonitorLogsDestinationsResult>
    def get_monitor_logs_destinations(filters: Optional[Sequence[GetMonitorLogsDestinationsFilter]] = None,
                                      order: Optional[str] = None,
                                      order_by: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetMonitorLogsDestinationsResult
    def get_monitor_logs_destinations_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetMonitorLogsDestinationsFilterArgs]]]] = None,
                                      order: pulumi.Input[Optional[str]] = None,
                                      order_by: pulumi.Input[Optional[str]] = None,
                                      opts: Optional[InvokeOutputOptions] = None) -> Output[GetMonitorLogsDestinationsResult]
    func GetMonitorLogsDestinations(ctx *Context, args *GetMonitorLogsDestinationsArgs, opts ...InvokeOption) (*GetMonitorLogsDestinationsResult, error)
    func GetMonitorLogsDestinationsOutput(ctx *Context, args *GetMonitorLogsDestinationsOutputArgs, opts ...InvokeOption) GetMonitorLogsDestinationsResultOutput

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

    public static class GetMonitorLogsDestinations 
    {
        public static Task<GetMonitorLogsDestinationsResult> InvokeAsync(GetMonitorLogsDestinationsArgs args, InvokeOptions? opts = null)
        public static Output<GetMonitorLogsDestinationsResult> Invoke(GetMonitorLogsDestinationsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetMonitorLogsDestinationsResult> Invoke(GetMonitorLogsDestinationsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetMonitorLogsDestinationsResult> getMonitorLogsDestinations(GetMonitorLogsDestinationsArgs args, InvokeOptions options)
    public static Output<GetMonitorLogsDestinationsResult> getMonitorLogsDestinations(GetMonitorLogsDestinationsArgs args, InvokeOptions options)
    public static Output<GetMonitorLogsDestinationsResult> getMonitorLogsDestinations(GetMonitorLogsDestinationsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: linode:index/getMonitorLogsDestinations:getMonitorLogsDestinations
      arguments:
        # arguments dictionary
    data "linode_get_monitor_logs_destinations" "name" {
        # arguments
    }

    The following arguments are supported:

    getMonitorLogsDestinations Result

    The following output properties are available:

    Destinations List<GetMonitorLogsDestinationsDestination>
    (Nested Attribute List) Logs destinations matching the query.
    Id string
    The unique ID of this logs destination.
    Filters List<GetMonitorLogsDestinationsFilter>
    Order string
    OrderBy string
    Destinations []GetMonitorLogsDestinationsDestination
    (Nested Attribute List) Logs destinations matching the query.
    Id string
    The unique ID of this logs destination.
    Filters []GetMonitorLogsDestinationsFilter
    Order string
    OrderBy string
    destinations list(object)
    (Nested Attribute List) Logs destinations matching the query.
    id string
    The unique ID of this logs destination.
    filters list(object)
    order string
    order_by string
    destinations List<GetMonitorLogsDestinationsDestination>
    (Nested Attribute List) Logs destinations matching the query.
    id String
    The unique ID of this logs destination.
    filters List<GetMonitorLogsDestinationsFilter>
    order String
    orderBy String
    destinations GetMonitorLogsDestinationsDestination[]
    (Nested Attribute List) Logs destinations matching the query.
    id string
    The unique ID of this logs destination.
    filters GetMonitorLogsDestinationsFilter[]
    order string
    orderBy string
    destinations Sequence[GetMonitorLogsDestinationsDestination]
    (Nested Attribute List) Logs destinations matching the query.
    id str
    The unique ID of this logs destination.
    filters Sequence[GetMonitorLogsDestinationsFilter]
    order str
    order_by str
    destinations List<Property Map>
    (Nested Attribute List) Logs destinations matching the query.
    id String
    The unique ID of this logs destination.
    filters List<Property Map>
    order String
    orderBy String

    Supporting Types

    GetMonitorLogsDestinationsDestination

    Created string
    When this logs destination was created.
    CreatedBy string
    The user who created this logs destination.
    Id int
    The unique ID of this logs destination.
    Label string
    The label for this logs destination.
    Status string
    The status of this logs destination.
    Type string
    The type of this logs destination.
    Updated string
    When this logs destination was last updated.
    UpdatedBy string
    The user who last updated this logs destination.
    Version int
    The version of this logs destination.
    Created string
    When this logs destination was created.
    CreatedBy string
    The user who created this logs destination.
    Id int
    The unique ID of this logs destination.
    Label string
    The label for this logs destination.
    Status string
    The status of this logs destination.
    Type string
    The type of this logs destination.
    Updated string
    When this logs destination was last updated.
    UpdatedBy string
    The user who last updated this logs destination.
    Version int
    The version of this logs destination.
    created string
    When this logs destination was created.
    created_by string
    The user who created this logs destination.
    id number
    The unique ID of this logs destination.
    label string
    The label for this logs destination.
    status string
    The status of this logs destination.
    type string
    The type of this logs destination.
    updated string
    When this logs destination was last updated.
    updated_by string
    The user who last updated this logs destination.
    version number
    The version of this logs destination.
    created String
    When this logs destination was created.
    createdBy String
    The user who created this logs destination.
    id Integer
    The unique ID of this logs destination.
    label String
    The label for this logs destination.
    status String
    The status of this logs destination.
    type String
    The type of this logs destination.
    updated String
    When this logs destination was last updated.
    updatedBy String
    The user who last updated this logs destination.
    version Integer
    The version of this logs destination.
    created string
    When this logs destination was created.
    createdBy string
    The user who created this logs destination.
    id number
    The unique ID of this logs destination.
    label string
    The label for this logs destination.
    status string
    The status of this logs destination.
    type string
    The type of this logs destination.
    updated string
    When this logs destination was last updated.
    updatedBy string
    The user who last updated this logs destination.
    version number
    The version of this logs destination.
    created str
    When this logs destination was created.
    created_by str
    The user who created this logs destination.
    id int
    The unique ID of this logs destination.
    label str
    The label for this logs destination.
    status str
    The status of this logs destination.
    type str
    The type of this logs destination.
    updated str
    When this logs destination was last updated.
    updated_by str
    The user who last updated this logs destination.
    version int
    The version of this logs destination.
    created String
    When this logs destination was created.
    createdBy String
    The user who created this logs destination.
    id Number
    The unique ID of this logs destination.
    label String
    The label for this logs destination.
    status String
    The status of this logs destination.
    type String
    The type of this logs destination.
    updated String
    When this logs destination was last updated.
    updatedBy String
    The user who last updated this logs destination.
    version Number
    The version of this logs destination.

    GetMonitorLogsDestinationsFilter

    Name string
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    Values List<string>
    A list of values for the filter to allow. These values should all be in string form.
    MatchBy string
    The method to match the field by. (exact, regex, substring; default exact)
    Name string
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    Values []string
    A list of values for the filter to allow. These values should all be in string form.
    MatchBy string
    The method to match the field by. (exact, regex, substring; default exact)
    name string
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    values list(string)
    A list of values for the filter to allow. These values should all be in string form.
    match_by string
    The method to match the field by. (exact, regex, substring; default exact)
    name String
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    values List<String>
    A list of values for the filter to allow. These values should all be in string form.
    matchBy String
    The method to match the field by. (exact, regex, substring; default exact)
    name string
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    values string[]
    A list of values for the filter to allow. These values should all be in string form.
    matchBy string
    The method to match the field by. (exact, regex, substring; default exact)
    name str
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    values Sequence[str]
    A list of values for the filter to allow. These values should all be in string form.
    match_by str
    The method to match the field by. (exact, regex, substring; default exact)
    name String
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    values List<String>
    A list of values for the filter to allow. These values should all be in string form.
    matchBy String
    The method to match the field by. (exact, regex, substring; default exact)

    Package Details

    Repository
    Linode pulumi/pulumi-linode
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the linode Terraform Provider.
    linode logo linode logo
    Viewing docs for Linode v6.6.0
    published on Tuesday, Sep 15, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial