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
LookupTeamin the Go SDK.
public static class GetTeam {
public static Task<GetTeamResult> InvokeAsync(GetTeamArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
GetTeam Result
The following output properties are available:
Package Details
- Repository
- https://github.com/pulumi/pulumi-github
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
githubTerraform Provider.