Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi
published on Tuesday, Sep 15, 2026 by Pulumi
Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi
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 dictionarydata "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.
- Created
By string - The user who created this logs destination.
- Details
Get
Monitor Logs Destination Details - 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.
- Updated
By 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
Get
Monitor Logs Destination Details - 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.
- Updated
By 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.
- created
By String - The user who created this logs destination.
- details
Get
Monitor Logs Destination Details - 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.
- updated
By 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.
- created
By string - The user who created this logs destination.
- details
Get
Monitor Logs Destination Details - 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 str
- When this logs destination was created.
- created_
by str - The user who created this logs destination.
- details
Get
Monitor Logs Destination Details - 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.
- created
By 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.
- updated
By String - The user who last updated this logs destination.
- version Number
- The version of this logs destination.
Supporting Types
GetMonitorLogsDestinationDetails
- Access
Key stringId - The access key ID (applies to
akamaiObjectStoragetype). - Authentication
Type string - The authentication type (applies to
customHttpstype). - Bucket
Name string - The bucket name (applies to
akamaiObjectStoragetype). - Content
Type string - The content type of log data. One of:
application/json,application/json; charset=utf-8(applies tocustomHttpstype). - Data
Compression string - The compression format (applies to
customHttpstype). - Endpoint
Url string - The HTTPS endpoint URL (applies to
customHttpstype). - Host string
- The storage endpoint hostname (applies to
akamaiObjectStoragetype). - Path string
- The path within the bucket (applies to
akamaiObjectStoragetype). - Tls
Hostname string - The TLS hostname (applies to
customHttpstype).
- Access
Key stringId - The access key ID (applies to
akamaiObjectStoragetype). - Authentication
Type string - The authentication type (applies to
customHttpstype). - Bucket
Name string - The bucket name (applies to
akamaiObjectStoragetype). - Content
Type string - The content type of log data. One of:
application/json,application/json; charset=utf-8(applies tocustomHttpstype). - Data
Compression string - The compression format (applies to
customHttpstype). - Endpoint
Url string - The HTTPS endpoint URL (applies to
customHttpstype). - Host string
- The storage endpoint hostname (applies to
akamaiObjectStoragetype). - Path string
- The path within the bucket (applies to
akamaiObjectStoragetype). - Tls
Hostname string - The TLS hostname (applies to
customHttpstype).
- access_
key_ stringid - The access key ID (applies to
akamaiObjectStoragetype). - authentication_
type string - The authentication type (applies to
customHttpstype). - bucket_
name string - The bucket name (applies to
akamaiObjectStoragetype). - content_
type string - The content type of log data. One of:
application/json,application/json; charset=utf-8(applies tocustomHttpstype). - data_
compression string - The compression format (applies to
customHttpstype). - endpoint_
url string - The HTTPS endpoint URL (applies to
customHttpstype). - host string
- The storage endpoint hostname (applies to
akamaiObjectStoragetype). - path string
- The path within the bucket (applies to
akamaiObjectStoragetype). - tls_
hostname string - The TLS hostname (applies to
customHttpstype).
- access
Key StringId - The access key ID (applies to
akamaiObjectStoragetype). - authentication
Type String - The authentication type (applies to
customHttpstype). - bucket
Name String - The bucket name (applies to
akamaiObjectStoragetype). - content
Type String - The content type of log data. One of:
application/json,application/json; charset=utf-8(applies tocustomHttpstype). - data
Compression String - The compression format (applies to
customHttpstype). - endpoint
Url String - The HTTPS endpoint URL (applies to
customHttpstype). - host String
- The storage endpoint hostname (applies to
akamaiObjectStoragetype). - path String
- The path within the bucket (applies to
akamaiObjectStoragetype). - tls
Hostname String - The TLS hostname (applies to
customHttpstype).
- access
Key stringId - The access key ID (applies to
akamaiObjectStoragetype). - authentication
Type string - The authentication type (applies to
customHttpstype). - bucket
Name string - The bucket name (applies to
akamaiObjectStoragetype). - content
Type string - The content type of log data. One of:
application/json,application/json; charset=utf-8(applies tocustomHttpstype). - data
Compression string - The compression format (applies to
customHttpstype). - endpoint
Url string - The HTTPS endpoint URL (applies to
customHttpstype). - host string
- The storage endpoint hostname (applies to
akamaiObjectStoragetype). - path string
- The path within the bucket (applies to
akamaiObjectStoragetype). - tls
Hostname string - The TLS hostname (applies to
customHttpstype).
- access_
key_ strid - The access key ID (applies to
akamaiObjectStoragetype). - authentication_
type str - The authentication type (applies to
customHttpstype). - bucket_
name str - The bucket name (applies to
akamaiObjectStoragetype). - content_
type str - The content type of log data. One of:
application/json,application/json; charset=utf-8(applies tocustomHttpstype). - data_
compression str - The compression format (applies to
customHttpstype). - endpoint_
url str - The HTTPS endpoint URL (applies to
customHttpstype). - host str
- The storage endpoint hostname (applies to
akamaiObjectStoragetype). - path str
- The path within the bucket (applies to
akamaiObjectStoragetype). - tls_
hostname str - The TLS hostname (applies to
customHttpstype).
- access
Key StringId - The access key ID (applies to
akamaiObjectStoragetype). - authentication
Type String - The authentication type (applies to
customHttpstype). - bucket
Name String - The bucket name (applies to
akamaiObjectStoragetype). - content
Type String - The content type of log data. One of:
application/json,application/json; charset=utf-8(applies tocustomHttpstype). - data
Compression String - The compression format (applies to
customHttpstype). - endpoint
Url String - The HTTPS endpoint URL (applies to
customHttpstype). - host String
- The storage endpoint hostname (applies to
akamaiObjectStoragetype). - path String
- The path within the bucket (applies to
akamaiObjectStoragetype). - tls
Hostname String - The TLS hostname (applies to
customHttpstype).
Package Details
- Repository
- Linode pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
linodeTerraform Provider.
Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi
published on Tuesday, Sep 15, 2026 by Pulumi