Show / Hide Table of Contents

Class UserInvitationAccepter

Provides a resource to manage GitHub repository collaborator invitations.

Example Usage

using Pulumi;
using Github = Pulumi.Github;

class MyStack : Stack
{
public MyStack()
{
    var exampleRepository = new Github.Repository("exampleRepository", new Github.RepositoryArgs
    {
    });
    var exampleRepositoryCollaborator = new Github.RepositoryCollaborator("exampleRepositoryCollaborator", new Github.RepositoryCollaboratorArgs
    {
        Permission = "push",
        Repository = exampleRepository.Name,
        Username = "example-username",
    });
    var invitee = new Github.Provider("invitee", new Github.ProviderArgs
    {
        Token = @var.Invitee_token,
    });
    var exampleUserInvitationAccepter = new Github.UserInvitationAccepter("exampleUserInvitationAccepter", new Github.UserInvitationAccepterArgs
    {
        InvitationId = exampleRepositoryCollaborator.InvitationId,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
UserInvitationAccepter
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Github
Assembly: Pulumi.Github.dll
Syntax
public class UserInvitationAccepter : CustomResource

Constructors

View Source

UserInvitationAccepter(String, UserInvitationAccepterArgs, CustomResourceOptions)

Create a UserInvitationAccepter resource with the given unique name, arguments, and options.

Declaration
public UserInvitationAccepter(string name, UserInvitationAccepterArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

UserInvitationAccepterArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

InvitationId

ID of the invitation to accept

Declaration
public Output<string> InvitationId { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, UserInvitationAccepterState, CustomResourceOptions)

Get an existing UserInvitationAccepter resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static UserInvitationAccepter Get(string name, Input<string> id, UserInvitationAccepterState 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.

UserInvitationAccepterState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
UserInvitationAccepter
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.