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

sysdig.getSecureTeams

Explore with Pulumi AI

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

    The sysdig.getSecureTeams data source retrieves a list of all secure teams in Sysdig.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sysdig from "@pulumi/sysdig";
    
    const example = sysdig.getSecureTeams({});
    
    import pulumi
    import pulumi_sysdig as sysdig
    
    example = sysdig.get_secure_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.GetSecureTeams(ctx, &sysdig.GetSecureTeamsArgs{}, 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.GetSecureTeams.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.GetSecureTeamsArgs;
    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.getSecureTeams();
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: sysdig:getSecureTeams
          arguments: {}
    

    Using getSecureTeams

    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 getSecureTeams(args: GetSecureTeamsArgs, opts?: InvokeOptions): Promise<GetSecureTeamsResult>
    function getSecureTeamsOutput(args: GetSecureTeamsOutputArgs, opts?: InvokeOptions): Output<GetSecureTeamsResult>
    def get_secure_teams(id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetSecureTeamsResult
    def get_secure_teams_output(id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetSecureTeamsResult]
    func GetSecureTeams(ctx *Context, args *GetSecureTeamsArgs, opts ...InvokeOption) (*GetSecureTeamsResult, error)
    func GetSecureTeamsOutput(ctx *Context, args *GetSecureTeamsOutputArgs, opts ...InvokeOption) GetSecureTeamsResultOutput

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

    public static class GetSecureTeams 
    {
        public static Task<GetSecureTeamsResult> InvokeAsync(GetSecureTeamsArgs args, InvokeOptions? opts = null)
        public static Output<GetSecureTeamsResult> Invoke(GetSecureTeamsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSecureTeamsResult> getSecureTeams(GetSecureTeamsArgs args, InvokeOptions options)
    public static Output<GetSecureTeamsResult> getSecureTeams(GetSecureTeamsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: sysdig:index/getSecureTeams:getSecureTeams
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    getSecureTeams Result

    The following output properties are available:

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

    Supporting Types

    GetSecureTeamsTeam

    Id double
    The ID of the secure team.
    Name string
    The name of the secure team.
    Id float64
    The ID of the secure team.
    Name string
    The name of the secure team.
    id Double
    The ID of the secure team.
    name String
    The name of the secure team.
    id number
    The ID of the secure team.
    name string
    The name of the secure team.
    id float
    The ID of the secure team.
    name str
    The name of the secure team.
    id Number
    The ID of the secure team.
    name String
    The name of the secure 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