GitHub

Pulumi Official
Package maintained by Pulumi
v4.15.0 published on Thursday, Aug 4, 2022 by Pulumi

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<GetOrganizationTeamSyncGroupsGroup>

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 []GetOrganizationTeamSyncGroupsGroup

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<GetOrganizationTeamSyncGroupsGroup>

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 GetOrganizationTeamSyncGroupsGroup[]

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[GetOrganizationTeamSyncGroupsGroup]

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

GroupDescription string

The description of the IdP group.

GroupId string

The ID of the IdP group.

GroupName string

The name of the IdP group.

GroupDescription string

The description of the IdP group.

GroupId string

The ID of the IdP group.

GroupName string

The name of the IdP group.

groupDescription String

The description of the IdP group.

groupId String

The ID of the IdP group.

groupName String

The name of the IdP group.

groupDescription string

The description of the IdP group.

groupId string

The ID of the IdP group.

groupName 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.

groupDescription String

The description of the IdP group.

groupId String

The ID of the IdP group.

groupName 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.