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 a list of Linode Monitor Logs Streams. 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.getMonitorLogsStreams({});
import pulumi
import pulumi_linode as linode
all = linode.get_monitor_logs_streams()
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.GetMonitorLogsStreams(ctx, &linode.GetMonitorLogsStreamsArgs{}, 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.GetMonitorLogsStreams.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.GetMonitorLogsStreamsArgs;
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.getMonitorLogsStreams(GetMonitorLogsStreamsArgs.builder()
.build());
}
}
variables:
all:
fn::invoke:
function: linode:getMonitorLogsStreams
arguments: {}
pulumi {
required_providers {
linode = {
source = "pulumi/linode"
}
}
}
data "linode_getmonitorlogsstreams" "all" {
}
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const activeAudit = linode.getMonitorLogsStreams({
filters: [
{
name: "type",
values: ["audit_logs"],
},
{
name: "status",
values: ["active"],
},
],
});
import pulumi
import pulumi_linode as linode
active_audit = linode.get_monitor_logs_streams(filters=[
{
"name": "type",
"values": ["audit_logs"],
},
{
"name": "status",
"values": ["active"],
},
])
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.GetMonitorLogsStreams(ctx, &linode.GetMonitorLogsStreamsArgs{
Filters: []linode.GetMonitorLogsStreamsFilter{
{
Name: "type",
Values: []string{
"audit_logs",
},
},
{
Name: "status",
Values: []string{
"active",
},
},
},
}, 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 activeAudit = Linode.GetMonitorLogsStreams.Invoke(new()
{
Filters = new[]
{
new Linode.Inputs.GetMonitorLogsStreamsFilterInputArgs
{
Name = "type",
Values = new[]
{
"audit_logs",
},
},
new Linode.Inputs.GetMonitorLogsStreamsFilterInputArgs
{
Name = "status",
Values = new[]
{
"active",
},
},
},
});
});
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.GetMonitorLogsStreamsArgs;
import com.pulumi.linode.inputs.GetMonitorLogsStreamsFilterArgs;
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 activeAudit = LinodeFunctions.getMonitorLogsStreams(GetMonitorLogsStreamsArgs.builder()
.filters(
GetMonitorLogsStreamsFilterArgs.builder()
.name("type")
.values("audit_logs")
.build(),
GetMonitorLogsStreamsFilterArgs.builder()
.name("status")
.values("active")
.build())
.build());
}
}
variables:
activeAudit:
fn::invoke:
function: linode:getMonitorLogsStreams
arguments:
filters:
- name: type
values:
- audit_logs
- name: status
values:
- active
pulumi {
required_providers {
linode = {
source = "pulumi/linode"
}
}
}
data "linode_getmonitorlogsstreams" "activeAudit" {
filters {
name = "type"
values = ["audit_logs"]
}
filters {
name = "status"
values = ["active"]
}
}
Filterable Fields
labeltypestatus
Using getMonitorLogsStreams
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 getMonitorLogsStreams(args: GetMonitorLogsStreamsArgs, opts?: InvokeOptions): Promise<GetMonitorLogsStreamsResult>
function getMonitorLogsStreamsOutput(args: GetMonitorLogsStreamsOutputArgs, opts?: InvokeOutputOptions): Output<GetMonitorLogsStreamsResult>def get_monitor_logs_streams(filters: Optional[Sequence[GetMonitorLogsStreamsFilter]] = None,
order: Optional[str] = None,
order_by: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMonitorLogsStreamsResult
def get_monitor_logs_streams_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetMonitorLogsStreamsFilterArgs]]]] = None,
order: pulumi.Input[Optional[str]] = None,
order_by: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetMonitorLogsStreamsResult]func GetMonitorLogsStreams(ctx *Context, args *GetMonitorLogsStreamsArgs, opts ...InvokeOption) (*GetMonitorLogsStreamsResult, error)
func GetMonitorLogsStreamsOutput(ctx *Context, args *GetMonitorLogsStreamsOutputArgs, opts ...InvokeOption) GetMonitorLogsStreamsResultOutput> Note: This function is named GetMonitorLogsStreams in the Go SDK.
public static class GetMonitorLogsStreams
{
public static Task<GetMonitorLogsStreamsResult> InvokeAsync(GetMonitorLogsStreamsArgs args, InvokeOptions? opts = null)
public static Output<GetMonitorLogsStreamsResult> Invoke(GetMonitorLogsStreamsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetMonitorLogsStreamsResult> Invoke(GetMonitorLogsStreamsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetMonitorLogsStreamsResult> getMonitorLogsStreams(GetMonitorLogsStreamsArgs args, InvokeOptions options)
public static Output<GetMonitorLogsStreamsResult> getMonitorLogsStreams(GetMonitorLogsStreamsArgs args, InvokeOptions options)
public static Output<GetMonitorLogsStreamsResult> getMonitorLogsStreams(GetMonitorLogsStreamsArgs args, InvokeOutputOptions options)
fn::invoke:
function: linode:index/getMonitorLogsStreams:getMonitorLogsStreams
arguments:
# arguments dictionarydata "linode_get_monitor_logs_streams" "name" {
# arguments
}The following arguments are supported:
- Filters
List<Get
Monitor Logs Streams Filter> - Order string
- Order
By string
- Filters
[]Get
Monitor Logs Streams Filter - Order string
- Order
By string
- filters list(object)
- order string
- order_
by string
- filters
List<Get
Monitor Logs Streams Filter> - order String
- order
By String
- filters
Get
Monitor Logs Streams Filter[] - order string
- order
By string
- filters List<Property Map>
- order String
- order
By String
getMonitorLogsStreams Result
The following output properties are available:
- Id string
- The unique ID of this logs stream.
- Streams
List<Get
Monitor Logs Streams Stream> - (Nested Attribute List) The returned list of logs streams. Referenced by index (e.g.
streams[0].id). - Filters
List<Get
Monitor Logs Streams Filter> - Order string
- Order
By string
- Id string
- The unique ID of this logs stream.
- Streams
[]Get
Monitor Logs Streams Stream - (Nested Attribute List) The returned list of logs streams. Referenced by index (e.g.
streams[0].id). - Filters
[]Get
Monitor Logs Streams Filter - Order string
- Order
By string
- id string
- The unique ID of this logs stream.
- streams list(object)
- (Nested Attribute List) The returned list of logs streams. Referenced by index (e.g.
streams[0].id). - filters list(object)
- order string
- order_
by string
- id String
- The unique ID of this logs stream.
- streams
List<Get
Monitor Logs Streams Stream> - (Nested Attribute List) The returned list of logs streams. Referenced by index (e.g.
streams[0].id). - filters
List<Get
Monitor Logs Streams Filter> - order String
- order
By String
- id string
- The unique ID of this logs stream.
- streams
Get
Monitor Logs Streams Stream[] - (Nested Attribute List) The returned list of logs streams. Referenced by index (e.g.
streams[0].id). - filters
Get
Monitor Logs Streams Filter[] - order string
- order
By string
- id str
- The unique ID of this logs stream.
- streams
Sequence[Get
Monitor Logs Streams Stream] - (Nested Attribute List) The returned list of logs streams. Referenced by index (e.g.
streams[0].id). - filters
Sequence[Get
Monitor Logs Streams Filter] - order str
- order_
by str
- id String
- The unique ID of this logs stream.
- streams List<Property Map>
- (Nested Attribute List) The returned list of logs streams. Referenced by index (e.g.
streams[0].id). - filters List<Property Map>
- order String
- order
By String
Supporting Types
GetMonitorLogsStreamsFilter
- 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; defaultexact)
- 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.
- Match
By string - The method to match the field by. (
exact,regex,substring; defaultexact)
- 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; defaultexact)
- 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; defaultexact)
- 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.
- match
By string - The method to match the field by. (
exact,regex,substring; defaultexact)
- 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; defaultexact)
- 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; defaultexact)
GetMonitorLogsStreamsStream
- Created string
- When this logs stream was created.
- Created
By string - The user who created this logs stream.
- Id int
- The unique ID of this logs stream.
- Label string
- The label for this logs stream.
- Status string
- The status of this logs stream.
- Type string
- The type of this logs stream.
- Updated string
- When this logs stream was last updated.
- Updated
By string - The user who last updated this logs stream.
- Version int
- The version of this logs stream.
- Created string
- When this logs stream was created.
- Created
By string - The user who created this logs stream.
- Id int
- The unique ID of this logs stream.
- Label string
- The label for this logs stream.
- Status string
- The status of this logs stream.
- Type string
- The type of this logs stream.
- Updated string
- When this logs stream was last updated.
- Updated
By string - The user who last updated this logs stream.
- Version int
- The version of this logs stream.
- created string
- When this logs stream was created.
- created_
by string - The user who created this logs stream.
- id number
- The unique ID of this logs stream.
- label string
- The label for this logs stream.
- status string
- The status of this logs stream.
- type string
- The type of this logs stream.
- updated string
- When this logs stream was last updated.
- updated_
by string - The user who last updated this logs stream.
- version number
- The version of this logs stream.
- created String
- When this logs stream was created.
- created
By String - The user who created this logs stream.
- id Integer
- The unique ID of this logs stream.
- label String
- The label for this logs stream.
- status String
- The status of this logs stream.
- type String
- The type of this logs stream.
- updated String
- When this logs stream was last updated.
- updated
By String - The user who last updated this logs stream.
- version Integer
- The version of this logs stream.
- created string
- When this logs stream was created.
- created
By string - The user who created this logs stream.
- id number
- The unique ID of this logs stream.
- label string
- The label for this logs stream.
- status string
- The status of this logs stream.
- type string
- The type of this logs stream.
- updated string
- When this logs stream was last updated.
- updated
By string - The user who last updated this logs stream.
- version number
- The version of this logs stream.
- created str
- When this logs stream was created.
- created_
by str - The user who created this logs stream.
- id int
- The unique ID of this logs stream.
- label str
- The label for this logs stream.
- status str
- The status of this logs stream.
- type str
- The type of this logs stream.
- updated str
- When this logs stream was last updated.
- updated_
by str - The user who last updated this logs stream.
- version int
- The version of this logs stream.
- created String
- When this logs stream was created.
- created
By String - The user who created this logs stream.
- id Number
- The unique ID of this logs stream.
- label String
- The label for this logs stream.
- status String
- The status of this logs stream.
- type String
- The type of this logs stream.
- updated String
- When this logs stream was last updated.
- updated
By String - The user who last updated this logs stream.
- version Number
- The version of this logs 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