Class TeamSyncGroupMapping
This resource allows you to create and manage Identity Provider (IdP) group connections within your GitHub teams. You must have team synchronization enabled for organizations owned by enterprise accounts.
To learn more about team synchronization between IdPs and Github, please refer to: https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/synchronizing-teams-between-your-identity-provider-and-github
Inherited Members
Namespace: Pulumi.Github
Assembly: Pulumi.Github.dll
Syntax
public class TeamSyncGroupMapping : CustomResource
Constructors
View SourceTeamSyncGroupMapping(String, TeamSyncGroupMappingArgs, CustomResourceOptions)
Create a TeamSyncGroupMapping resource with the given unique name, arguments, and options.
Declaration
public TeamSyncGroupMapping(string name, TeamSyncGroupMappingArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| TeamSyncGroupMappingArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceEtag
Declaration
public Output<string> Etag { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Groups
An Array of GitHub Identity Provider Groups (or empty []). Each group block consists of the fields documented below.
Declaration
public Output<ImmutableArray<TeamSyncGroupMappingGroup>> Groups { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<TeamSyncGroupMappingGroup>> |
TeamSlug
Slug of the team
Declaration
public Output<string> TeamSlug { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, TeamSyncGroupMappingState, CustomResourceOptions)
Get an existing TeamSyncGroupMapping resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static TeamSyncGroupMapping Get(string name, Input<string> id, TeamSyncGroupMappingState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| TeamSyncGroupMappingState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| TeamSyncGroupMapping |