1. Registry
  2. Packages
  3. Linode Provider
  4. API Docs
  5. getMonitorLogsDestination
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 details about a Linode Monitor Logs Destination. 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 example = linode.getMonitorLogsDestination({
        id: 12345,
    });
    export const destinationLabel = example.then(example => example.label);
    
    import pulumi
    import pulumi_linode as linode
    
    example = linode.get_monitor_logs_destination(id=12345)
    pulumi.export("destinationLabel", example.label)
    
    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 {
    		example, err := linode.GetMonitorLogsDestination(ctx, &linode.LookupMonitorLogsDestinationArgs{
    			Id: 12345,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("destinationLabel", example.Label)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Linode = Pulumi.Linode;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Linode.GetMonitorLogsDestination.Invoke(new()
        {
            Id = 12345,
        });
    
        return new Dictionary<string, object?>
        {
            ["destinationLabel"] = example.Apply(getMonitorLogsDestinationResult => getMonitorLogsDestinationResult.Label),
        };
    });
    
    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.GetMonitorLogsDestinationArgs;
    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 example = LinodeFunctions.getMonitorLogsDestination(GetMonitorLogsDestinationArgs.builder()
                .id(12345)
                .build());
    
            ctx.export("destinationLabel", example.label());
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: linode:getMonitorLogsDestination
          arguments:
            id: 12345
    outputs:
      destinationLabel: ${example.label}
    
    pulumi {
      required_providers {
        linode = {
          source = "pulumi/linode"
        }
      }
    }
    
    data "linode_getmonitorlogsdestination" "example" {
      id = 12345
    }
    
    output "destinationLabel" {
      value = data.linode_getmonitorlogsdestination.example.label
    }
    

    Using getMonitorLogsDestination

    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 getMonitorLogsDestination(args: GetMonitorLogsDestinationArgs, opts?: InvokeOptions): Promise<GetMonitorLogsDestinationResult>
    function getMonitorLogsDestinationOutput(args: GetMonitorLogsDestinationOutputArgs, opts?: InvokeOutputOptions): Output<GetMonitorLogsDestinationResult>
    def get_monitor_logs_destination(id: Optional[int] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetMonitorLogsDestinationResult
    def get_monitor_logs_destination_output(id: pulumi.Input[Optional[int]] = None,
                                     opts: Optional[InvokeOutputOptions] = None) -> Output[GetMonitorLogsDestinationResult]
    func LookupMonitorLogsDestination(ctx *Context, args *LookupMonitorLogsDestinationArgs, opts ...InvokeOption) (*LookupMonitorLogsDestinationResult, error)
    func LookupMonitorLogsDestinationOutput(ctx *Context, args *LookupMonitorLogsDestinationOutputArgs, opts ...InvokeOption) LookupMonitorLogsDestinationResultOutput

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

    public static class GetMonitorLogsDestination 
    {
        public static Task<GetMonitorLogsDestinationResult> InvokeAsync(GetMonitorLogsDestinationArgs args, InvokeOptions? opts = null)
        public static Output<GetMonitorLogsDestinationResult> Invoke(GetMonitorLogsDestinationInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetMonitorLogsDestinationResult> Invoke(GetMonitorLogsDestinationInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetMonitorLogsDestinationResult> getMonitorLogsDestination(GetMonitorLogsDestinationArgs args, InvokeOptions options)
    public static Output<GetMonitorLogsDestinationResult> getMonitorLogsDestination(GetMonitorLogsDestinationArgs args, InvokeOptions options)
    public static Output<GetMonitorLogsDestinationResult> getMonitorLogsDestination(GetMonitorLogsDestinationArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: linode:index/getMonitorLogsDestination:getMonitorLogsDestination
      arguments:
        # arguments dictionary
    data "linode_get_monitor_logs_destination" "name" {
        # arguments
    }

    The following arguments are supported:

    Id int
    The unique ID of the logs destination.
    Id int
    The unique ID of the logs destination.
    id number
    The unique ID of the logs destination.
    id Integer
    The unique ID of the logs destination.
    id number
    The unique ID of the logs destination.
    id int
    The unique ID of the logs destination.
    id Number
    The unique ID of the logs destination.

    getMonitorLogsDestination Result

    The following output properties are available:

    Created string
    When this logs destination was created.
    CreatedBy string
    The user who created this logs destination.
    Details GetMonitorLogsDestinationDetails
    Id int
    Label string
    The label for this logs destination.
    Status string
    The status of this logs destination.
    Type string
    The type of this logs destination. One of: akamaiObjectStorage, customHttps.
    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.
    Details GetMonitorLogsDestinationDetails
    Id int
    Label string
    The label for this logs destination.
    Status string
    The status of this logs destination.
    Type string
    The type of this logs destination. One of: akamaiObjectStorage, customHttps.
    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.
    details object
    id number
    label string
    The label for this logs destination.
    status string
    The status of this logs destination.
    type string
    The type of this logs destination. One of: akamaiObjectStorage, customHttps.
    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.
    details GetMonitorLogsDestinationDetails
    id Integer
    label String
    The label for this logs destination.
    status String
    The status of this logs destination.
    type String
    The type of this logs destination. One of: akamaiObjectStorage, customHttps.
    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.
    details GetMonitorLogsDestinationDetails
    id number
    label string
    The label for this logs destination.
    status string
    The status of this logs destination.
    type string
    The type of this logs destination. One of: akamaiObjectStorage, customHttps.
    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.
    details GetMonitorLogsDestinationDetails
    id int
    label str
    The label for this logs destination.
    status str
    The status of this logs destination.
    type str
    The type of this logs destination. One of: akamaiObjectStorage, customHttps.
    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.
    details Property Map
    id Number
    label String
    The label for this logs destination.
    status String
    The status of this logs destination.
    type String
    The type of this logs destination. One of: akamaiObjectStorage, customHttps.
    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.

    Supporting Types

    GetMonitorLogsDestinationDetails

    AccessKeyId string
    The access key ID (applies to akamaiObjectStorage type).
    AuthenticationType string
    The authentication type (applies to customHttps type).
    BucketName string
    The bucket name (applies to akamaiObjectStorage type).
    ContentType string
    The content type of log data. One of: application/json, application/json; charset=utf-8 (applies to customHttps type).
    DataCompression string
    The compression format (applies to customHttps type).
    EndpointUrl string
    The HTTPS endpoint URL (applies to customHttps type).
    Host string
    The storage endpoint hostname (applies to akamaiObjectStorage type).
    Path string
    The path within the bucket (applies to akamaiObjectStorage type).
    TlsHostname string
    The TLS hostname (applies to customHttps type).
    AccessKeyId string
    The access key ID (applies to akamaiObjectStorage type).
    AuthenticationType string
    The authentication type (applies to customHttps type).
    BucketName string
    The bucket name (applies to akamaiObjectStorage type).
    ContentType string
    The content type of log data. One of: application/json, application/json; charset=utf-8 (applies to customHttps type).
    DataCompression string
    The compression format (applies to customHttps type).
    EndpointUrl string
    The HTTPS endpoint URL (applies to customHttps type).
    Host string
    The storage endpoint hostname (applies to akamaiObjectStorage type).
    Path string
    The path within the bucket (applies to akamaiObjectStorage type).
    TlsHostname string
    The TLS hostname (applies to customHttps type).
    access_key_id string
    The access key ID (applies to akamaiObjectStorage type).
    authentication_type string
    The authentication type (applies to customHttps type).
    bucket_name string
    The bucket name (applies to akamaiObjectStorage type).
    content_type string
    The content type of log data. One of: application/json, application/json; charset=utf-8 (applies to customHttps type).
    data_compression string
    The compression format (applies to customHttps type).
    endpoint_url string
    The HTTPS endpoint URL (applies to customHttps type).
    host string
    The storage endpoint hostname (applies to akamaiObjectStorage type).
    path string
    The path within the bucket (applies to akamaiObjectStorage type).
    tls_hostname string
    The TLS hostname (applies to customHttps type).
    accessKeyId String
    The access key ID (applies to akamaiObjectStorage type).
    authenticationType String
    The authentication type (applies to customHttps type).
    bucketName String
    The bucket name (applies to akamaiObjectStorage type).
    contentType String
    The content type of log data. One of: application/json, application/json; charset=utf-8 (applies to customHttps type).
    dataCompression String
    The compression format (applies to customHttps type).
    endpointUrl String
    The HTTPS endpoint URL (applies to customHttps type).
    host String
    The storage endpoint hostname (applies to akamaiObjectStorage type).
    path String
    The path within the bucket (applies to akamaiObjectStorage type).
    tlsHostname String
    The TLS hostname (applies to customHttps type).
    accessKeyId string
    The access key ID (applies to akamaiObjectStorage type).
    authenticationType string
    The authentication type (applies to customHttps type).
    bucketName string
    The bucket name (applies to akamaiObjectStorage type).
    contentType string
    The content type of log data. One of: application/json, application/json; charset=utf-8 (applies to customHttps type).
    dataCompression string
    The compression format (applies to customHttps type).
    endpointUrl string
    The HTTPS endpoint URL (applies to customHttps type).
    host string
    The storage endpoint hostname (applies to akamaiObjectStorage type).
    path string
    The path within the bucket (applies to akamaiObjectStorage type).
    tlsHostname string
    The TLS hostname (applies to customHttps type).
    access_key_id str
    The access key ID (applies to akamaiObjectStorage type).
    authentication_type str
    The authentication type (applies to customHttps type).
    bucket_name str
    The bucket name (applies to akamaiObjectStorage type).
    content_type str
    The content type of log data. One of: application/json, application/json; charset=utf-8 (applies to customHttps type).
    data_compression str
    The compression format (applies to customHttps type).
    endpoint_url str
    The HTTPS endpoint URL (applies to customHttps type).
    host str
    The storage endpoint hostname (applies to akamaiObjectStorage type).
    path str
    The path within the bucket (applies to akamaiObjectStorage type).
    tls_hostname str
    The TLS hostname (applies to customHttps type).
    accessKeyId String
    The access key ID (applies to akamaiObjectStorage type).
    authenticationType String
    The authentication type (applies to customHttps type).
    bucketName String
    The bucket name (applies to akamaiObjectStorage type).
    contentType String
    The content type of log data. One of: application/json, application/json; charset=utf-8 (applies to customHttps type).
    dataCompression String
    The compression format (applies to customHttps type).
    endpointUrl String
    The HTTPS endpoint URL (applies to customHttps type).
    host String
    The storage endpoint hostname (applies to akamaiObjectStorage type).
    path String
    The path within the bucket (applies to akamaiObjectStorage type).
    tlsHostname String
    The TLS hostname (applies to customHttps type).

    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