1. Packages
  2. Sysdig Provider
  3. API Docs
  4. getMonitorTeams
sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs

sysdig.getMonitorTeams

Explore with Pulumi AI

sysdig logo
sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs

    The sysdig.getMonitorTeams data source retrieves a list of all monitor teams in Sysdig.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sysdig from "@pulumi/sysdig";
    
    const example = sysdig.getMonitorTeams({});
    
    import pulumi
    import pulumi_sysdig as sysdig
    
    example = sysdig.get_monitor_teams()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/sysdig/sysdig"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sysdig.GetMonitorTeams(ctx, &sysdig.GetMonitorTeamsArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Sysdig = Pulumi.Sysdig;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Sysdig.GetMonitorTeams.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sysdig.SysdigFunctions;
    import com.pulumi.sysdig.inputs.GetMonitorTeamsArgs;
    import java.util.List;
    import java.util.ArrayList;
    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 = SysdigFunctions.getMonitorTeams();
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: sysdig:getMonitorTeams
          arguments: {}
    

    Using getMonitorTeams

    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 getMonitorTeams(args: GetMonitorTeamsArgs, opts?: InvokeOptions): Promise<GetMonitorTeamsResult>
    function getMonitorTeamsOutput(args: GetMonitorTeamsOutputArgs, opts?: InvokeOptions): Output<GetMonitorTeamsResult>
    def get_monitor_teams(id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetMonitorTeamsResult
    def get_monitor_teams_output(id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetMonitorTeamsResult]
    func GetMonitorTeams(ctx *Context, args *GetMonitorTeamsArgs, opts ...InvokeOption) (*GetMonitorTeamsResult, error)
    func GetMonitorTeamsOutput(ctx *Context, args *GetMonitorTeamsOutputArgs, opts ...InvokeOption) GetMonitorTeamsResultOutput

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

    public static class GetMonitorTeams 
    {
        public static Task<GetMonitorTeamsResult> InvokeAsync(GetMonitorTeamsArgs args, InvokeOptions? opts = null)
        public static Output<GetMonitorTeamsResult> Invoke(GetMonitorTeamsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMonitorTeamsResult> getMonitorTeams(GetMonitorTeamsArgs args, InvokeOptions options)
    public static Output<GetMonitorTeamsResult> getMonitorTeams(GetMonitorTeamsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: sysdig:index/getMonitorTeams:getMonitorTeams
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The ID of the monitor team.
    Id string
    The ID of the monitor team.
    id String
    The ID of the monitor team.
    id string
    The ID of the monitor team.
    id str
    The ID of the monitor team.
    id String
    The ID of the monitor team.

    getMonitorTeams Result

    The following output properties are available:

    Id string
    The ID of the monitor team.
    Teams List<GetMonitorTeamsTeam>
    A list of monitor teams. Each team has the following attributes:
    Id string
    The ID of the monitor team.
    Teams []GetMonitorTeamsTeam
    A list of monitor teams. Each team has the following attributes:
    id String
    The ID of the monitor team.
    teams List<GetMonitorTeamsTeam>
    A list of monitor teams. Each team has the following attributes:
    id string
    The ID of the monitor team.
    teams GetMonitorTeamsTeam[]
    A list of monitor teams. Each team has the following attributes:
    id str
    The ID of the monitor team.
    teams Sequence[GetMonitorTeamsTeam]
    A list of monitor teams. Each team has the following attributes:
    id String
    The ID of the monitor team.
    teams List<Property Map>
    A list of monitor teams. Each team has the following attributes:

    Supporting Types

    GetMonitorTeamsTeam

    Id double
    The ID of the monitor team.
    Name string
    The name of the monitor team.
    Id float64
    The ID of the monitor team.
    Name string
    The name of the monitor team.
    id Double
    The ID of the monitor team.
    name String
    The name of the monitor team.
    id number
    The ID of the monitor team.
    name string
    The name of the monitor team.
    id float
    The ID of the monitor team.
    name str
    The name of the monitor team.
    id Number
    The ID of the monitor team.
    name String
    The name of the monitor team.

    Package Details

    Repository
    sysdig sysdiglabs/terraform-provider-sysdig
    License
    Notes
    This Pulumi package is based on the sysdig Terraform Provider.
    sysdig logo
    sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs