get Team
Use this data source to retrieve information about a GitHub team.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.github.GithubFunctions;
import com.pulumi.github.inputs.GetTeamArgs;
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 = GithubFunctions.getTeam(GetTeamArgs.builder()
.slug("example")
.build());
}
}
Content copied to clipboard
Return
A collection of values returned by getTeam.
Parameters
argument
A collection of arguments for invoking getTeam.
suspend fun getTeam(membershipType: String? = null, resultsPerPage: Int? = null, slug: String, summaryOnly: Boolean? = null): GetTeamResult
Return
A collection of values returned by getTeam.
Parameters
membership Type
Type of membership to be requested to fill the list of members. Can be either "all" or "immediate". Default: "all"
results Per Page
Set the number of results per graphql query. Reducing this number can alleviate timeout errors. Accepts a value between 0 - 100. Defaults to 100
.
slug
The team slug.
summary Only
Exclude the members and repositories of the team from the returned result. Defaults to false
.
See also
Return
A collection of values returned by getTeam.
Parameters
argument
Builder for com.pulumi.github.kotlin.inputs.GetTeamPlainArgs.