1. Packages
  2. Rootly
  3. API Docs
  4. getTeams
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

rootly.getTeams

Explore with Pulumi AI

rootly logo
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

    Using getTeams

    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 getTeams(args: GetTeamsArgs, opts?: InvokeOptions): Promise<GetTeamsResult>
    function getTeamsOutput(args: GetTeamsOutputArgs, opts?: InvokeOptions): Output<GetTeamsResult>
    def get_teams(name: Optional[str] = None,
                  slug: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetTeamsResult
    def get_teams_output(name: Optional[pulumi.Input[str]] = None,
                  slug: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetTeamsResult]
    func GetTeams(ctx *Context, args *GetTeamsArgs, opts ...InvokeOption) (*GetTeamsResult, error)
    func GetTeamsOutput(ctx *Context, args *GetTeamsOutputArgs, opts ...InvokeOption) GetTeamsResultOutput

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

    public static class GetTeams 
    {
        public static Task<GetTeamsResult> InvokeAsync(GetTeamsArgs args, InvokeOptions? opts = null)
        public static Output<GetTeamsResult> Invoke(GetTeamsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTeamsResult> getTeams(GetTeamsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: rootly:index/getTeams:getTeams
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Slug string
    Name string
    Slug string
    name String
    slug String
    name string
    slug string
    name str
    slug str
    name String
    slug String

    getTeams Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Teams List<GetTeamsTeam>
    Name string
    Slug string
    Id string
    The provider-assigned unique ID for this managed resource.
    Teams []GetTeamsTeam
    Name string
    Slug string
    id String
    The provider-assigned unique ID for this managed resource.
    teams List<GetTeamsTeam>
    name String
    slug String
    id string
    The provider-assigned unique ID for this managed resource.
    teams GetTeamsTeam[]
    name string
    slug string
    id str
    The provider-assigned unique ID for this managed resource.
    teams Sequence[GetTeamsTeam]
    name str
    slug str
    id String
    The provider-assigned unique ID for this managed resource.
    teams List<Property Map>
    name String
    slug String

    Supporting Types

    GetTeamsTeam

    Color string
    Description string
    Id string
    Name string
    Slug string
    Color string
    Description string
    Id string
    Name string
    Slug string
    color String
    description String
    id String
    name String
    slug String
    color string
    description string
    id string
    name string
    slug string
    color str
    description str
    id str
    name str
    slug str
    color String
    description String
    id String
    name String
    slug String

    Package Details

    Repository
    rootly rootlyhq/pulumi-rootly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the rootly Terraform Provider.
    rootly logo
    Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly