IssueLabel
Create a IssueLabel Resource
new IssueLabel(name: string, args: IssueLabelArgs, opts?: CustomResourceOptions);def IssueLabel(resource_name, opts=None, color=None, description=None, name=None, repository=None, __props__=None);func NewIssueLabel(ctx *Context, name string, args IssueLabelArgs, opts ...ResourceOption) (*IssueLabel, error)public IssueLabel(string name, IssueLabelArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args IssueLabelArgs
- 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 IssueLabelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IssueLabelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
IssueLabel Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The IssueLabel resource accepts the following input properties:
- Color string
A 6 character hex code, without the leading #, identifying the color of the label.
- Repository string
The GitHub repository
- Description string
A short description of the label.
- Name string
The name of the label.
- Color string
A 6 character hex code, without the leading #, identifying the color of the label.
- Repository string
The GitHub repository
- Description string
A short description of the label.
- Name string
The name of the label.
- color string
A 6 character hex code, without the leading #, identifying the color of the label.
- repository string
The GitHub repository
- description string
A short description of the label.
- name string
The name of the label.
- color str
A 6 character hex code, without the leading #, identifying the color of the label.
- repository str
The GitHub repository
- description str
A short description of the label.
- name str
The name of the label.
Outputs
All input properties are implicitly available as output properties. Additionally, the IssueLabel resource produces the following output properties:
Look up an Existing IssueLabel Resource
Get an existing IssueLabel 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?: IssueLabelState, opts?: CustomResourceOptions): IssueLabelstatic get(resource_name, id, opts=None, color=None, description=None, etag=None, name=None, repository=None, url=None, __props__=None);func GetIssueLabel(ctx *Context, name string, id IDInput, state *IssueLabelState, opts ...ResourceOption) (*IssueLabel, error)public static IssueLabel Get(string name, Input<string> id, IssueLabelState? 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.