Rootly

Community
Package contributed by a community member
v0.0.5 published on Tuesday, Jul 19, 2022 by Rootly

CustomFieldOption

Manages custom field options.

Example Usage

Coming soon!

Coming soon!

Coming soon!

Coming soon!

import * as pulumi from "@pulumi/pulumi";
import * as rootly from "@pulumi/rootly";

const foo = new rootly.CustomFieldOption("foo", {
    name: "bar",
});

Coming soon!

Create a CustomFieldOption Resource

new CustomFieldOption(name: string, args: CustomFieldOptionArgs, opts?: CustomResourceOptions);
@overload
def CustomFieldOption(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      color: Optional[str] = None,
                      custom_field_id: Optional[int] = None,
                      value: Optional[str] = None)
@overload
def CustomFieldOption(resource_name: str,
                      args: CustomFieldOptionArgs,
                      opts: Optional[ResourceOptions] = None)
func NewCustomFieldOption(ctx *Context, name string, args CustomFieldOptionArgs, opts ...ResourceOption) (*CustomFieldOption, error)
public CustomFieldOption(string name, CustomFieldOptionArgs args, CustomResourceOptions? opts = null)
public CustomFieldOption(String name, CustomFieldOptionArgs args)
public CustomFieldOption(String name, CustomFieldOptionArgs args, CustomResourceOptions options)
type: rootly:CustomFieldOption
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CustomFieldOptionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args CustomFieldOptionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args CustomFieldOptionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CustomFieldOptionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CustomFieldOptionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CustomFieldOption Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The CustomFieldOption resource accepts the following input properties:

CustomFieldId int

The ID of the parent custom field

Value string

The value of the custom field option

Color string

The color of the custom field option

CustomFieldId int

The ID of the parent custom field

Value string

The value of the custom field option

Color string

The color of the custom field option

customFieldId Integer

The ID of the parent custom field

value String

The value of the custom field option

color String

The color of the custom field option

customFieldId number

The ID of the parent custom field

value string

The value of the custom field option

color string

The color of the custom field option

custom_field_id int

The ID of the parent custom field

value str

The value of the custom field option

color str

The color of the custom field option

customFieldId Number

The ID of the parent custom field

value String

The value of the custom field option

color String

The color of the custom field option

Outputs

All input properties are implicitly available as output properties. Additionally, the CustomFieldOption resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up an Existing CustomFieldOption Resource

Get an existing CustomFieldOption 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?: CustomFieldOptionState, opts?: CustomResourceOptions): CustomFieldOption
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        color: Optional[str] = None,
        custom_field_id: Optional[int] = None,
        value: Optional[str] = None) -> CustomFieldOption
func GetCustomFieldOption(ctx *Context, name string, id IDInput, state *CustomFieldOptionState, opts ...ResourceOption) (*CustomFieldOption, error)
public static CustomFieldOption Get(string name, Input<string> id, CustomFieldOptionState? state, CustomResourceOptions? opts = null)
public static CustomFieldOption get(String name, Output<String> id, CustomFieldOptionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
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:
Color string

The color of the custom field option

CustomFieldId int

The ID of the parent custom field

Value string

The value of the custom field option

Color string

The color of the custom field option

CustomFieldId int

The ID of the parent custom field

Value string

The value of the custom field option

color String

The color of the custom field option

customFieldId Integer

The ID of the parent custom field

value String

The value of the custom field option

color string

The color of the custom field option

customFieldId number

The ID of the parent custom field

value string

The value of the custom field option

color str

The color of the custom field option

custom_field_id int

The ID of the parent custom field

value str

The value of the custom field option

color String

The color of the custom field option

customFieldId Number

The ID of the parent custom field

value String

The value of the custom field option

Import

 $ pulumi import rootly:index/customFieldOption:CustomFieldOption foo 11111111-2222-3333-4444-555555555555

Package Details

Repository
https://github.com/rootlyhq/pulumi-rootly
License
Apache-2.0
Notes

This Pulumi package is based on the rootly Terraform Provider.