incident 5.5.0 published on Wednesday, Apr 30, 2025 by incident-io
incident.getCustomFieldOption
Explore with Pulumi AI
incident 5.5.0 published on Wednesday, Apr 30, 2025 by incident-io
This data source provides information about a custom field option.
Using getCustomFieldOption
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCustomFieldOption(args: GetCustomFieldOptionArgs, opts?: InvokeOptions): Promise<GetCustomFieldOptionResult>
function getCustomFieldOptionOutput(args: GetCustomFieldOptionOutputArgs, opts?: InvokeOptions): Output<GetCustomFieldOptionResult>
def get_custom_field_option(custom_field_id: Optional[str] = None,
sort_key: Optional[float] = None,
value: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCustomFieldOptionResult
def get_custom_field_option_output(custom_field_id: Optional[pulumi.Input[str]] = None,
sort_key: Optional[pulumi.Input[float]] = None,
value: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCustomFieldOptionResult]
func LookupCustomFieldOption(ctx *Context, args *LookupCustomFieldOptionArgs, opts ...InvokeOption) (*LookupCustomFieldOptionResult, error)
func LookupCustomFieldOptionOutput(ctx *Context, args *LookupCustomFieldOptionOutputArgs, opts ...InvokeOption) LookupCustomFieldOptionResultOutput
> Note: This function is named LookupCustomFieldOption
in the Go SDK.
public static class GetCustomFieldOption
{
public static Task<GetCustomFieldOptionResult> InvokeAsync(GetCustomFieldOptionArgs args, InvokeOptions? opts = null)
public static Output<GetCustomFieldOptionResult> Invoke(GetCustomFieldOptionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCustomFieldOptionResult> getCustomFieldOption(GetCustomFieldOptionArgs args, InvokeOptions options)
public static Output<GetCustomFieldOptionResult> getCustomFieldOption(GetCustomFieldOptionArgs args, InvokeOptions options)
fn::invoke:
function: incident:index/getCustomFieldOption:getCustomFieldOption
arguments:
# arguments dictionary
The following arguments are supported:
- Custom
Field stringId - ID of the custom field this option belongs to
- Value string
- Human readable name for the custom field option
- Sort
Key double - Sort key used to order the custom field options correctly
- Custom
Field stringId - ID of the custom field this option belongs to
- Value string
- Human readable name for the custom field option
- Sort
Key float64 - Sort key used to order the custom field options correctly
- custom
Field StringId - ID of the custom field this option belongs to
- value String
- Human readable name for the custom field option
- sort
Key Double - Sort key used to order the custom field options correctly
- custom
Field stringId - ID of the custom field this option belongs to
- value string
- Human readable name for the custom field option
- sort
Key number - Sort key used to order the custom field options correctly
- custom_
field_ strid - ID of the custom field this option belongs to
- value str
- Human readable name for the custom field option
- sort_
key float - Sort key used to order the custom field options correctly
- custom
Field StringId - ID of the custom field this option belongs to
- value String
- Human readable name for the custom field option
- sort
Key Number - Sort key used to order the custom field options correctly
getCustomFieldOption Result
The following output properties are available:
- Custom
Field stringId - ID of the custom field this option belongs to
- Id string
- Unique identifier for the custom field option
- Value string
- Human readable name for the custom field option
- Sort
Key double - Sort key used to order the custom field options correctly
- Custom
Field stringId - ID of the custom field this option belongs to
- Id string
- Unique identifier for the custom field option
- Value string
- Human readable name for the custom field option
- Sort
Key float64 - Sort key used to order the custom field options correctly
- custom
Field StringId - ID of the custom field this option belongs to
- id String
- Unique identifier for the custom field option
- value String
- Human readable name for the custom field option
- sort
Key Double - Sort key used to order the custom field options correctly
- custom
Field stringId - ID of the custom field this option belongs to
- id string
- Unique identifier for the custom field option
- value string
- Human readable name for the custom field option
- sort
Key number - Sort key used to order the custom field options correctly
- custom_
field_ strid - ID of the custom field this option belongs to
- id str
- Unique identifier for the custom field option
- value str
- Human readable name for the custom field option
- sort_
key float - Sort key used to order the custom field options correctly
- custom
Field StringId - ID of the custom field this option belongs to
- id String
- Unique identifier for the custom field option
- value String
- Human readable name for the custom field option
- sort
Key Number - Sort key used to order the custom field options correctly
Package Details
- Repository
- incident incident-io/terraform-provider-incident
- License
- Notes
- This Pulumi package is based on the
incident
Terraform Provider.
incident 5.5.0 published on Wednesday, Apr 30, 2025 by incident-io