GitHub
getOrganizationTeamSyncGroups
Use this data source to retrieve the identity provider (IdP) groups for an organization.
Example Usage
using Pulumi;
using Github = Pulumi.Github;
class MyStack : Stack
{
public MyStack()
{
var test = Output.Create(Github.GetOrganizationTeamSyncGroups.InvokeAsync());
}
}
package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := github.GetOrganizationTeamSyncGroups(ctx, nil, nil)
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_github as github
test = github.get_organization_team_sync_groups()
import * as pulumi from "@pulumi/pulumi";
import * as github from "@pulumi/github";
const test = pulumi.output(github.getOrganizationTeamSyncGroups());
variables:
test:
Fn::Invoke:
Function: github:getOrganizationTeamSyncGroups
Arguments: {}
Using getOrganizationTeamSyncGroups
function getOrganizationTeamSyncGroups(opts?: InvokeOptions): Promise<GetOrganizationTeamSyncGroupsResult>
def get_organization_team_sync_groups(opts: Optional[InvokeOptions] = None) -> GetOrganizationTeamSyncGroupsResult
func GetOrganizationTeamSyncGroups(ctx *Context, opts ...InvokeOption) (*GetOrganizationTeamSyncGroupsResult, error)
> Note: This function is named GetOrganizationTeamSyncGroups
in the Go SDK.
public static class GetOrganizationTeamSyncGroups
{
public static Task<GetOrganizationTeamSyncGroupsResult> InvokeAsync(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
- https://github.com/pulumi/pulumi-github
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
github
Terraform Provider.