Rootly

v0.1.16 published on Friday, Dec 2, 2022 by Rootly

FormField

Create FormField Resource

new FormField(name: string, args?: FormFieldArgs, opts?: CustomResourceOptions);
@overload
def FormField(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              default_values: Optional[Sequence[str]] = None,
              description: Optional[str] = None,
              enabled: Optional[bool] = None,
              input_kind: Optional[str] = None,
              kind: Optional[str] = None,
              name: Optional[str] = None,
              requireds: Optional[Sequence[str]] = None,
              showns: Optional[Sequence[str]] = None,
              slug: Optional[str] = None)
@overload
def FormField(resource_name: str,
              args: Optional[FormFieldArgs] = None,
              opts: Optional[ResourceOptions] = None)
func NewFormField(ctx *Context, name string, args *FormFieldArgs, opts ...ResourceOption) (*FormField, error)
public FormField(string name, FormFieldArgs? args = null, CustomResourceOptions? opts = null)
public FormField(String name, FormFieldArgs args)
public FormField(String name, FormFieldArgs args, CustomResourceOptions options)
type: rootly:FormField
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args FormFieldArgs
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 FormFieldArgs
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 FormFieldArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FormFieldArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args FormFieldArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

FormField 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 FormField resource accepts the following input properties:

DefaultValues List<string>
Description string

The description of the form field

Enabled bool
InputKind string

The input kind of the form field. Value must be one of text, textarea, select, multi_select, date, datetime, users, number, checkbox, tags.

Kind string

The kind of the form field. Value must be one of custom, title, summary, severity, environments, types, services, functionalities, teams, visibility, mark_as_test, mark_as_backfilled, labels, notify_emails, trigger_manual_workflows, show_ongoing_incidents, attach_alerts, manual_starting_datetime_field.

Name string

The name of the form field

Requireds List<string>

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

Showns List<string>

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, incident_post_mortem, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

Slug string

The slug of the form field

DefaultValues []string
Description string

The description of the form field

Enabled bool
InputKind string

The input kind of the form field. Value must be one of text, textarea, select, multi_select, date, datetime, users, number, checkbox, tags.

Kind string

The kind of the form field. Value must be one of custom, title, summary, severity, environments, types, services, functionalities, teams, visibility, mark_as_test, mark_as_backfilled, labels, notify_emails, trigger_manual_workflows, show_ongoing_incidents, attach_alerts, manual_starting_datetime_field.

Name string

The name of the form field

Requireds []string

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

Showns []string

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, incident_post_mortem, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

Slug string

The slug of the form field

defaultValues List<String>
description String

The description of the form field

enabled Boolean
inputKind String

The input kind of the form field. Value must be one of text, textarea, select, multi_select, date, datetime, users, number, checkbox, tags.

kind String

The kind of the form field. Value must be one of custom, title, summary, severity, environments, types, services, functionalities, teams, visibility, mark_as_test, mark_as_backfilled, labels, notify_emails, trigger_manual_workflows, show_ongoing_incidents, attach_alerts, manual_starting_datetime_field.

name String

The name of the form field

requireds List<String>

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

showns List<String>

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, incident_post_mortem, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

slug String

The slug of the form field

defaultValues string[]
description string

The description of the form field

enabled boolean
inputKind string

The input kind of the form field. Value must be one of text, textarea, select, multi_select, date, datetime, users, number, checkbox, tags.

kind string

The kind of the form field. Value must be one of custom, title, summary, severity, environments, types, services, functionalities, teams, visibility, mark_as_test, mark_as_backfilled, labels, notify_emails, trigger_manual_workflows, show_ongoing_incidents, attach_alerts, manual_starting_datetime_field.

name string

The name of the form field

requireds string[]

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

showns string[]

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, incident_post_mortem, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

slug string

The slug of the form field

default_values Sequence[str]
description str

The description of the form field

enabled bool
input_kind str

The input kind of the form field. Value must be one of text, textarea, select, multi_select, date, datetime, users, number, checkbox, tags.

kind str

The kind of the form field. Value must be one of custom, title, summary, severity, environments, types, services, functionalities, teams, visibility, mark_as_test, mark_as_backfilled, labels, notify_emails, trigger_manual_workflows, show_ongoing_incidents, attach_alerts, manual_starting_datetime_field.

name str

The name of the form field

requireds Sequence[str]

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

showns Sequence[str]

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, incident_post_mortem, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

slug str

The slug of the form field

defaultValues List<String>
description String

The description of the form field

enabled Boolean
inputKind String

The input kind of the form field. Value must be one of text, textarea, select, multi_select, date, datetime, users, number, checkbox, tags.

kind String

The kind of the form field. Value must be one of custom, title, summary, severity, environments, types, services, functionalities, teams, visibility, mark_as_test, mark_as_backfilled, labels, notify_emails, trigger_manual_workflows, show_ongoing_incidents, attach_alerts, manual_starting_datetime_field.

name String

The name of the form field

requireds List<String>

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

showns List<String>

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, incident_post_mortem, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

slug String

The slug of the form field

Outputs

All input properties are implicitly available as output properties. Additionally, the FormField 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 FormField Resource

Get an existing FormField 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?: FormFieldState, opts?: CustomResourceOptions): FormField
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        default_values: Optional[Sequence[str]] = None,
        description: Optional[str] = None,
        enabled: Optional[bool] = None,
        input_kind: Optional[str] = None,
        kind: Optional[str] = None,
        name: Optional[str] = None,
        requireds: Optional[Sequence[str]] = None,
        showns: Optional[Sequence[str]] = None,
        slug: Optional[str] = None) -> FormField
func GetFormField(ctx *Context, name string, id IDInput, state *FormFieldState, opts ...ResourceOption) (*FormField, error)
public static FormField Get(string name, Input<string> id, FormFieldState? state, CustomResourceOptions? opts = null)
public static FormField get(String name, Output<String> id, FormFieldState 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:
DefaultValues List<string>
Description string

The description of the form field

Enabled bool
InputKind string

The input kind of the form field. Value must be one of text, textarea, select, multi_select, date, datetime, users, number, checkbox, tags.

Kind string

The kind of the form field. Value must be one of custom, title, summary, severity, environments, types, services, functionalities, teams, visibility, mark_as_test, mark_as_backfilled, labels, notify_emails, trigger_manual_workflows, show_ongoing_incidents, attach_alerts, manual_starting_datetime_field.

Name string

The name of the form field

Requireds List<string>

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

Showns List<string>

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, incident_post_mortem, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

Slug string

The slug of the form field

DefaultValues []string
Description string

The description of the form field

Enabled bool
InputKind string

The input kind of the form field. Value must be one of text, textarea, select, multi_select, date, datetime, users, number, checkbox, tags.

Kind string

The kind of the form field. Value must be one of custom, title, summary, severity, environments, types, services, functionalities, teams, visibility, mark_as_test, mark_as_backfilled, labels, notify_emails, trigger_manual_workflows, show_ongoing_incidents, attach_alerts, manual_starting_datetime_field.

Name string

The name of the form field

Requireds []string

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

Showns []string

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, incident_post_mortem, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

Slug string

The slug of the form field

defaultValues List<String>
description String

The description of the form field

enabled Boolean
inputKind String

The input kind of the form field. Value must be one of text, textarea, select, multi_select, date, datetime, users, number, checkbox, tags.

kind String

The kind of the form field. Value must be one of custom, title, summary, severity, environments, types, services, functionalities, teams, visibility, mark_as_test, mark_as_backfilled, labels, notify_emails, trigger_manual_workflows, show_ongoing_incidents, attach_alerts, manual_starting_datetime_field.

name String

The name of the form field

requireds List<String>

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

showns List<String>

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, incident_post_mortem, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

slug String

The slug of the form field

defaultValues string[]
description string

The description of the form field

enabled boolean
inputKind string

The input kind of the form field. Value must be one of text, textarea, select, multi_select, date, datetime, users, number, checkbox, tags.

kind string

The kind of the form field. Value must be one of custom, title, summary, severity, environments, types, services, functionalities, teams, visibility, mark_as_test, mark_as_backfilled, labels, notify_emails, trigger_manual_workflows, show_ongoing_incidents, attach_alerts, manual_starting_datetime_field.

name string

The name of the form field

requireds string[]

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

showns string[]

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, incident_post_mortem, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

slug string

The slug of the form field

default_values Sequence[str]
description str

The description of the form field

enabled bool
input_kind str

The input kind of the form field. Value must be one of text, textarea, select, multi_select, date, datetime, users, number, checkbox, tags.

kind str

The kind of the form field. Value must be one of custom, title, summary, severity, environments, types, services, functionalities, teams, visibility, mark_as_test, mark_as_backfilled, labels, notify_emails, trigger_manual_workflows, show_ongoing_incidents, attach_alerts, manual_starting_datetime_field.

name str

The name of the form field

requireds Sequence[str]

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

showns Sequence[str]

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, incident_post_mortem, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

slug str

The slug of the form field

defaultValues List<String>
description String

The description of the form field

enabled Boolean
inputKind String

The input kind of the form field. Value must be one of text, textarea, select, multi_select, date, datetime, users, number, checkbox, tags.

kind String

The kind of the form field. Value must be one of custom, title, summary, severity, environments, types, services, functionalities, teams, visibility, mark_as_test, mark_as_backfilled, labels, notify_emails, trigger_manual_workflows, show_ongoing_incidents, attach_alerts, manual_starting_datetime_field.

name String

The name of the form field

requireds List<String>

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

showns List<String>

. Value must be one of web_new_incident_form, web_update_incident_form, web_incident_post_mortem_form, web_incident_mitigation_form, web_incident_resolution_form, web_scheduled_incident_form, web_update_scheduled_incident_form, incident_post_mortem, slack_new_incident_form, slack_update_incident_form, slack_update_incident_status_form, slack_incident_mitigation_form, slack_incident_resolution_form, slack_scheduled_incident_form, slack_update_scheduled_incident_form.

slug String

The slug of the form field

Package Details

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

This Pulumi package is based on the rootly Terraform Provider.