GetTeam

Use this data source to retrieve information about a GitHub team.

Example Usage

using Pulumi;
using Github = Pulumi.Github;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Github.GetTeam.InvokeAsync(new Github.GetTeamArgs
        {
            Slug = "example",
        }));
    }

}

Coming soon!

import pulumi
import pulumi_github as github

example = github.get_team(slug="example")
import * as pulumi from "@pulumi/pulumi";
import * as github from "@pulumi/github";

const example = pulumi.output(github.getTeam({
    slug: "example",
}, { async: true }));

Using GetTeam

function getTeam(args: GetTeamArgs, opts?: InvokeOptions): Promise<GetTeamResult>
function  get_team(slug=None, opts=None)
func LookupTeam(ctx *Context, args *LookupTeamArgs, opts ...InvokeOption) (*LookupTeamResult, error)

Note: This function is named LookupTeam in the Go SDK.

public static class GetTeam {
    public static Task<GetTeamResult> InvokeAsync(GetTeamArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Slug string

The team slug.

Slug string

The team slug.

slug string

The team slug.

slug str

The team slug.

GetTeam Result

The following output properties are available:

Description string

the team’s description.

Id string

The provider-assigned unique ID for this managed resource.

Members List<string>

List of team members

Name string

the team’s full name.

NodeId string
Permission string

the team’s permission level.

Privacy string

the team’s privacy type.

Slug string
Description string

the team’s description.

Id string

The provider-assigned unique ID for this managed resource.

Members []string

List of team members

Name string

the team’s full name.

NodeId string
Permission string

the team’s permission level.

Privacy string

the team’s privacy type.

Slug string
description string

the team’s description.

id string

The provider-assigned unique ID for this managed resource.

members string[]

List of team members

name string

the team’s full name.

nodeId string
permission string

the team’s permission level.

privacy string

the team’s privacy type.

slug string
description str

the team’s description.

id str

The provider-assigned unique ID for this managed resource.

members List[str]

List of team members

name str

the team’s full name.

node_id str
permission str

the team’s permission level.

privacy str

the team’s privacy type.

slug str

Package Details

Repository
https://github.com/pulumi/pulumi-github
License
Apache-2.0
Notes
This Pulumi package is based on the github Terraform Provider.