1. Packages
  2. Sysdig Provider
  3. API Docs
  4. getSecureTeams
sysdig 1.53.0 published on Thursday, Apr 17, 2025 by sysdiglabs

sysdig.getSecureTeams

Explore with Pulumi AI

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({});
Copy
import pulumi
import pulumi_sysdig as sysdig

example = sysdig.get_secure_teams()
Copy
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
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sysdig = Pulumi.Sysdig;

return await Deployment.RunAsync(() => 
{
    var example = Sysdig.GetSecureTeams.Invoke();

});
Copy
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();

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: sysdig:getSecureTeams
      arguments: {}
Copy

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>
Copy
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]
Copy
func GetSecureTeams(ctx *Context, args *GetSecureTeamsArgs, opts ...InvokeOption) (*GetSecureTeamsResult, error)
func GetSecureTeamsOutput(ctx *Context, args *GetSecureTeamsOutputArgs, opts ...InvokeOption) GetSecureTeamsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetSecureTeamsResult> getSecureTeams(GetSecureTeamsArgs args, InvokeOptions options)
public static Output<GetSecureTeamsResult> getSecureTeams(GetSecureTeamsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: sysdig:index/getSecureTeams:getSecureTeams
  arguments:
    # arguments dictionary
Copy

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