ProjectColumn
This resource allows you to create and manage columns for GitHub projects.
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 an organization project.",
});
var column = new Github.ProjectColumn("column", new Github.ProjectColumnArgs
{
ProjectId = project.Id,
});
}
}
Coming soon!
import pulumi
import pulumi_github as github
project = github.OrganizationProject("project", body="This is an organization project.")
column = github.ProjectColumn("column", project_id=project.id)import * as pulumi from "@pulumi/pulumi";
import * as github from "@pulumi/github";
const project = new github.OrganizationProject("project", {
body: "This is an organization project.",
});
const column = new github.ProjectColumn("column", {
projectId: project.id,
});Create a ProjectColumn Resource
new ProjectColumn(name: string, args: ProjectColumnArgs, opts?: CustomResourceOptions);def ProjectColumn(resource_name, opts=None, name=None, project_id=None, __props__=None);func NewProjectColumn(ctx *Context, name string, args ProjectColumnArgs, opts ...ResourceOption) (*ProjectColumn, error)public ProjectColumn(string name, ProjectColumnArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ProjectColumnArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProjectColumnArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProjectColumnArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
ProjectColumn Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The ProjectColumn resource accepts the following input properties:
- project_
id str The ID of an existing project that the column will be created in.
- name str
The name of the column.
Outputs
All input properties are implicitly available as output properties. Additionally, the ProjectColumn resource produces the following output properties:
Look up an Existing ProjectColumn Resource
Get an existing ProjectColumn resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ProjectColumnState, opts?: CustomResourceOptions): ProjectColumnstatic get(resource_name, id, opts=None, etag=None, name=None, project_id=None, __props__=None);func GetProjectColumn(ctx *Context, name string, id IDInput, state *ProjectColumnState, opts ...ResourceOption) (*ProjectColumn, error)public static ProjectColumn Get(string name, Input<string> id, ProjectColumnState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
Package Details
- Repository
- https://github.com/pulumi/pulumi-github
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
githubTerraform Provider.