rootly.CustomFieldOption
Explore with Pulumi AI
DEPRECATED: Please use rootly.FormField
and rootly.FormFieldOption
resources instead.
Create 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,
default: Optional[bool] = None,
position: 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:
- Value string
The value of the custom_field_option
- Color string
The hex color of the custom_field_option
- Custom
Field intId The ID of the parent custom field
- Default bool
- Position int
The position of the custom_field_option
- Value string
The value of the custom_field_option
- Color string
The hex color of the custom_field_option
- Custom
Field intId The ID of the parent custom field
- Default bool
- Position int
The position of the custom_field_option
- value String
The value of the custom_field_option
- color String
The hex color of the custom_field_option
- custom
Field IntegerId The ID of the parent custom field
- default_ Boolean
- position Integer
The position of the custom_field_option
- value string
The value of the custom_field_option
- color string
The hex color of the custom_field_option
- custom
Field numberId The ID of the parent custom field
- default boolean
- position number
The position of the custom_field_option
- value str
The value of the custom_field_option
- color str
The hex color of the custom_field_option
- custom_
field_ intid The ID of the parent custom field
- default bool
- position int
The position of the custom_field_option
- value String
The value of the custom_field_option
- color String
The hex color of the custom_field_option
- custom
Field NumberId The ID of the parent custom field
- default Boolean
- position Number
The position 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 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,
default: Optional[bool] = None,
position: 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.
- Color string
The hex color of the custom_field_option
- Custom
Field intId The ID of the parent custom field
- Default bool
- Position int
The position of the custom_field_option
- Value string
The value of the custom_field_option
- Color string
The hex color of the custom_field_option
- Custom
Field intId The ID of the parent custom field
- Default bool
- Position int
The position of the custom_field_option
- Value string
The value of the custom_field_option
- color String
The hex color of the custom_field_option
- custom
Field IntegerId The ID of the parent custom field
- default_ Boolean
- position Integer
The position of the custom_field_option
- value String
The value of the custom_field_option
- color string
The hex color of the custom_field_option
- custom
Field numberId The ID of the parent custom field
- default boolean
- position number
The position of the custom_field_option
- value string
The value of the custom_field_option
- color str
The hex color of the custom_field_option
- custom_
field_ intid The ID of the parent custom field
- default bool
- position int
The position of the custom_field_option
- value str
The value of the custom_field_option
- color String
The hex color of the custom_field_option
- custom
Field NumberId The ID of the parent custom field
- default Boolean
- position Number
The position of the custom_field_option
- value String
The value of the custom_field_option
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
rootly
Terraform Provider.