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 Stream. 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.getMonitorLogsStream({
id: "12345",
});
export const streamLabel = example.then(example => example.label);
import pulumi
import pulumi_linode as linode
example = linode.get_monitor_logs_stream(id="12345")
pulumi.export("streamLabel", 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.GetMonitorLogsStream(ctx, &linode.LookupMonitorLogsStreamArgs{
Id: "12345",
}, nil)
if err != nil {
return err
}
ctx.Export("streamLabel", example.Label)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var example = Linode.GetMonitorLogsStream.Invoke(new()
{
Id = "12345",
});
return new Dictionary<string, object?>
{
["streamLabel"] = example.Apply(getMonitorLogsStreamResult => getMonitorLogsStreamResult.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.GetMonitorLogsStreamArgs;
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.getMonitorLogsStream(GetMonitorLogsStreamArgs.builder()
.id("12345")
.build());
ctx.export("streamLabel", example.label());
}
}
variables:
example:
fn::invoke:
function: linode:getMonitorLogsStream
arguments:
id: '12345'
outputs:
streamLabel: ${example.label}
pulumi {
required_providers {
linode = {
source = "pulumi/linode"
}
}
}
data "linode_getmonitorlogsstream" "example" {
id = "12345"
}
output "streamLabel" {
value = data.linode_getmonitorlogsstream.example.label
}
Using getMonitorLogsStream
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 getMonitorLogsStream(args: GetMonitorLogsStreamArgs, opts?: InvokeOptions): Promise<GetMonitorLogsStreamResult>
function getMonitorLogsStreamOutput(args: GetMonitorLogsStreamOutputArgs, opts?: InvokeOutputOptions): Output<GetMonitorLogsStreamResult>def get_monitor_logs_stream(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMonitorLogsStreamResult
def get_monitor_logs_stream_output(id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetMonitorLogsStreamResult]func LookupMonitorLogsStream(ctx *Context, args *LookupMonitorLogsStreamArgs, opts ...InvokeOption) (*LookupMonitorLogsStreamResult, error)
func LookupMonitorLogsStreamOutput(ctx *Context, args *LookupMonitorLogsStreamOutputArgs, opts ...InvokeOption) LookupMonitorLogsStreamResultOutput> Note: This function is named LookupMonitorLogsStream in the Go SDK.
public static class GetMonitorLogsStream
{
public static Task<GetMonitorLogsStreamResult> InvokeAsync(GetMonitorLogsStreamArgs args, InvokeOptions? opts = null)
public static Output<GetMonitorLogsStreamResult> Invoke(GetMonitorLogsStreamInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetMonitorLogsStreamResult> Invoke(GetMonitorLogsStreamInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetMonitorLogsStreamResult> getMonitorLogsStream(GetMonitorLogsStreamArgs args, InvokeOptions options)
public static Output<GetMonitorLogsStreamResult> getMonitorLogsStream(GetMonitorLogsStreamArgs args, InvokeOptions options)
public static Output<GetMonitorLogsStreamResult> getMonitorLogsStream(GetMonitorLogsStreamArgs args, InvokeOutputOptions options)
fn::invoke:
function: linode:index/getMonitorLogsStream:getMonitorLogsStream
arguments:
# arguments dictionarydata "linode_get_monitor_logs_stream" "name" {
# arguments
}The following arguments are supported:
- Id string
- The ID of the logs stream.
- Id string
- The ID of the logs stream.
- id string
- The ID of the logs stream.
- id String
- The ID of the logs stream.
- id string
- The ID of the logs stream.
- id str
- The ID of the logs stream.
- id String
- The ID of the logs stream.
getMonitorLogsStream Result
The following output properties are available:
- Created string
- The date and time when the logs stream was created.
- Created
By string - The user who created the logs stream.
- Destinations List<int>
- The list of logs destination IDs attached to this stream.
- Details
Get
Monitor Logs Stream Details - Id string
- Label string
- The label of the logs stream.
- Status string
- The status of the logs stream.
- Type string
- The type of the logs stream. One of:
auditLogs,lkeAuditLogs. - Updated string
- The date and time when the logs stream was last updated.
- Updated
By string - The user who last updated the logs stream.
- Version int
- The version of the logs stream.
- Created string
- The date and time when the logs stream was created.
- Created
By string - The user who created the logs stream.
- Destinations []int
- The list of logs destination IDs attached to this stream.
- Details
Get
Monitor Logs Stream Details - Id string
- Label string
- The label of the logs stream.
- Status string
- The status of the logs stream.
- Type string
- The type of the logs stream. One of:
auditLogs,lkeAuditLogs. - Updated string
- The date and time when the logs stream was last updated.
- Updated
By string - The user who last updated the logs stream.
- Version int
- The version of the logs stream.
- created string
- The date and time when the logs stream was created.
- created_
by string - The user who created the logs stream.
- destinations list(number)
- The list of logs destination IDs attached to this stream.
- details object
- id string
- label string
- The label of the logs stream.
- status string
- The status of the logs stream.
- type string
- The type of the logs stream. One of:
auditLogs,lkeAuditLogs. - updated string
- The date and time when the logs stream was last updated.
- updated_
by string - The user who last updated the logs stream.
- version number
- The version of the logs stream.
- created String
- The date and time when the logs stream was created.
- created
By String - The user who created the logs stream.
- destinations List<Integer>
- The list of logs destination IDs attached to this stream.
- details
Get
Monitor Logs Stream Details - id String
- label String
- The label of the logs stream.
- status String
- The status of the logs stream.
- type String
- The type of the logs stream. One of:
auditLogs,lkeAuditLogs. - updated String
- The date and time when the logs stream was last updated.
- updated
By String - The user who last updated the logs stream.
- version Integer
- The version of the logs stream.
- created string
- The date and time when the logs stream was created.
- created
By string - The user who created the logs stream.
- destinations number[]
- The list of logs destination IDs attached to this stream.
- details
Get
Monitor Logs Stream Details - id string
- label string
- The label of the logs stream.
- status string
- The status of the logs stream.
- type string
- The type of the logs stream. One of:
auditLogs,lkeAuditLogs. - updated string
- The date and time when the logs stream was last updated.
- updated
By string - The user who last updated the logs stream.
- version number
- The version of the logs stream.
- created str
- The date and time when the logs stream was created.
- created_
by str - The user who created the logs stream.
- destinations Sequence[int]
- The list of logs destination IDs attached to this stream.
- details
Get
Monitor Logs Stream Details - id str
- label str
- The label of the logs stream.
- status str
- The status of the logs stream.
- type str
- The type of the logs stream. One of:
auditLogs,lkeAuditLogs. - updated str
- The date and time when the logs stream was last updated.
- updated_
by str - The user who last updated the logs stream.
- version int
- The version of the logs stream.
- created String
- The date and time when the logs stream was created.
- created
By String - The user who created the logs stream.
- destinations List<Number>
- The list of logs destination IDs attached to this stream.
- details Property Map
- id String
- label String
- The label of the logs stream.
- status String
- The status of the logs stream.
- type String
- The type of the logs stream. One of:
auditLogs,lkeAuditLogs. - updated String
- The date and time when the logs stream was last updated.
- updated
By String - The user who last updated the logs stream.
- version Number
- The version of the logs stream.
Supporting Types
GetMonitorLogsStreamDetails
- Cluster
Ids List<int> - The list of LKE cluster IDs included in this stream.
- Is
Auto boolAdd All Clusters Enabled - When true, all LKE clusters are automatically added to this stream.
- Cluster
Ids []int - The list of LKE cluster IDs included in this stream.
- Is
Auto boolAdd All Clusters Enabled - When true, all LKE clusters are automatically added to this stream.
- cluster_
ids list(number) - The list of LKE cluster IDs included in this stream.
- is_
auto_ booladd_ all_ clusters_ enabled - When true, all LKE clusters are automatically added to this stream.
- cluster
Ids List<Integer> - The list of LKE cluster IDs included in this stream.
- is
Auto BooleanAdd All Clusters Enabled - When true, all LKE clusters are automatically added to this stream.
- cluster
Ids number[] - The list of LKE cluster IDs included in this stream.
- is
Auto booleanAdd All Clusters Enabled - When true, all LKE clusters are automatically added to this stream.
- cluster_
ids Sequence[int] - The list of LKE cluster IDs included in this stream.
- is_
auto_ booladd_ all_ clusters_ enabled - When true, all LKE clusters are automatically added to this stream.
- cluster
Ids List<Number> - The list of LKE cluster IDs included in this stream.
- is
Auto BooleanAdd All Clusters Enabled - When true, all LKE clusters are automatically added to this stream.
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