GitHub v6.3.2 published on Friday, Oct 11, 2024 by Pulumi
github.getOrganizationTeamSyncGroups
Explore with Pulumi AI
Use this data source to retrieve the identity provider (IdP) groups for an organization.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as github from "@pulumi/github";
const test = github.getOrganizationTeamSyncGroups({});
import pulumi
import pulumi_github as github
test = github.get_organization_team_sync_groups()
package main
import (
"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := github.GetOrganizationTeamSyncGroups(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Github = Pulumi.Github;
return await Deployment.RunAsync(() =>
{
var test = Github.GetOrganizationTeamSyncGroups.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.github.GithubFunctions;
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 test = GithubFunctions.getOrganizationTeamSyncGroups();
}
}
variables:
test:
fn::invoke:
Function: github:getOrganizationTeamSyncGroups
Arguments: {}
Using getOrganizationTeamSyncGroups
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 getOrganizationTeamSyncGroups(opts?: InvokeOptions): Promise<GetOrganizationTeamSyncGroupsResult>
function getOrganizationTeamSyncGroupsOutput(opts?: InvokeOptions): Output<GetOrganizationTeamSyncGroupsResult>
def get_organization_team_sync_groups(opts: Optional[InvokeOptions] = None) -> GetOrganizationTeamSyncGroupsResult
def get_organization_team_sync_groups_output(opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationTeamSyncGroupsResult]
func GetOrganizationTeamSyncGroups(ctx *Context, opts ...InvokeOption) (*GetOrganizationTeamSyncGroupsResult, error)
func GetOrganizationTeamSyncGroupsOutput(ctx *Context, opts ...InvokeOption) GetOrganizationTeamSyncGroupsResultOutput
> Note: This function is named GetOrganizationTeamSyncGroups
in the Go SDK.
public static class GetOrganizationTeamSyncGroups
{
public static Task<GetOrganizationTeamSyncGroupsResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetOrganizationTeamSyncGroupsResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetOrganizationTeamSyncGroupsResult> getOrganizationTeamSyncGroups(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: github:index/getOrganizationTeamSyncGroups:getOrganizationTeamSyncGroups
arguments:
# arguments dictionary
getOrganizationTeamSyncGroups Result
The following output properties are available:
- Groups
List<Get
Organization Team Sync Groups Group> - An Array of GitHub Identity Provider Groups. Each
group
block consists of the fields documented below. - Id string
- The provider-assigned unique ID for this managed resource.
- Groups
[]Get
Organization Team Sync Groups Group - An Array of GitHub Identity Provider Groups. Each
group
block consists of the fields documented below. - Id string
- The provider-assigned unique ID for this managed resource.
- groups
List<Get
Organization Team Sync Groups Group> - An Array of GitHub Identity Provider Groups. Each
group
block consists of the fields documented below. - id String
- The provider-assigned unique ID for this managed resource.
- groups
Get
Organization Team Sync Groups Group[] - An Array of GitHub Identity Provider Groups. Each
group
block consists of the fields documented below. - id string
- The provider-assigned unique ID for this managed resource.
- groups
Sequence[Get
Organization Team Sync Groups Group] - An Array of GitHub Identity Provider Groups. Each
group
block consists of the fields documented below. - id str
- The provider-assigned unique ID for this managed resource.
- groups List<Property Map>
- An Array of GitHub Identity Provider Groups. Each
group
block consists of the fields documented below. - id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GetOrganizationTeamSyncGroupsGroup
- Group
Description string - The description of the IdP group.
- Group
Id string - The ID of the IdP group.
- Group
Name string - The name of the IdP group.
- Group
Description string - The description of the IdP group.
- Group
Id string - The ID of the IdP group.
- Group
Name string - The name of the IdP group.
- group
Description String - The description of the IdP group.
- group
Id String - The ID of the IdP group.
- group
Name String - The name of the IdP group.
- group
Description string - The description of the IdP group.
- group
Id string - The ID of the IdP group.
- group
Name string - The name of the IdP group.
- group_
description str - The description of the IdP group.
- group_
id str - The ID of the IdP group.
- group_
name str - The name of the IdP group.
- group
Description String - The description of the IdP group.
- group
Id String - The ID of the IdP group.
- group
Name String - The name of the IdP group.
Package Details
- Repository
- GitHub pulumi/pulumi-github
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
github
Terraform Provider.