Show / Hide Table of Contents

Class ProjectShareGroup

This resource allows you to share a project with a group

Example Usage

using Pulumi;
using GitLab = Pulumi.GitLab;

class MyStack : Stack
{
public MyStack()
{
    var test = new GitLab.ProjectShareGroup("test", new GitLab.ProjectShareGroupArgs
    {
        AccessLevel = "guest",
        GroupId = 1337,
        ProjectId = "12345",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
ProjectShareGroup
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.GitLab
Assembly: Pulumi.GitLab.dll
Syntax
public class ProjectShareGroup : CustomResource

Constructors

View Source

ProjectShareGroup(String, ProjectShareGroupArgs, CustomResourceOptions)

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

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

The unique name of the resource

ProjectShareGroupArgs 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

AccessLevel

One of five levels of access to the project.

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

GroupId

The id of the group.

Declaration
public Output<int> GroupId { get; }
Property Value
Type Description
Output<System.Int32>
View Source

ProjectId

The id of the project.

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

Methods

View Source

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

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

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

ProjectShareGroupState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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