Class OrganizationProject
This resource allows you to create and manage projects for GitHub organization.
Example Usage
using Pulumi;
using Github = Pulumi.Github;
class MyStack : Stack
{
public MyStack()
{
var project = new Github.OrganizationProject("project", new Github.OrganizationProjectArgs
{
Body = "This is a organization project.",
});
}
}
Inherited Members
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 OrganizationProject : CustomResource
Constructors
View SourceOrganizationProject(String, OrganizationProjectArgs, CustomResourceOptions)
Create a OrganizationProject resource with the given unique name, arguments, and options.
Declaration
public OrganizationProject(string name, OrganizationProjectArgs args = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| OrganizationProjectArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceBody
The body of the project.
Declaration
public Output<string> Body { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Etag
Declaration
public Output<string> Etag { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name of the project.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Url
URL of the project
Declaration
public Output<string> Url { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, OrganizationProjectState, CustomResourceOptions)
Get an existing OrganizationProject resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static OrganizationProject Get(string name, Input<string> id, OrganizationProjectState 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. |
| OrganizationProjectState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| OrganizationProject |