import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ## Import * * rootly.FormField can be imported using the `import` command. * * ```sh * $ pulumi import rootly:index/formField:FormField primary a816421c-6ceb-481a-87c4-585e47451f24 * ``` * * Or using an `import` block. * * Locate the resource id in the web app, or retrieve it by listing resources through the API if it's not visible in the web app. * * HCL can be generated from the import block using the `-generate-config-out` flag. * * ```sh * pulumi preview -generate-config-out=generated.tf * ``` */ export declare class FormField extends pulumi.CustomResource { /** * Get an existing FormField resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: FormFieldState, opts?: pulumi.CustomResourceOptions): FormField; /** * Returns true if the given object is an instance of FormField. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is FormField; /** * Catalog property ID to auto-set this form field. Only reference-kind catalog properties are supported. */ readonly autoSetByCatalogPropertyId: pulumi.Output; readonly defaultValues: pulumi.Output; /** * The description of the form field */ readonly description: pulumi.Output; readonly enabled: pulumi.Output; /** * The input kind of the form field. Value must be one of `text`, `textarea`, `select`, `multiSelect`, `date`, `datetime`, `number`, `checkbox`, `tags`, `richText`. */ readonly inputKind: pulumi.Output; /** * The kind of the form field. Value must be one of `custom`, `title`, `summary`, `mitigationMessage`, `resolutionMessage`, `severity`, `environments`, `types`, `services`, `causes`, `functionalities`, `teams`, `status`, `visibility`, `markAsTest`, `markAsBackfilled`, `labels`, `notifyEmails`, `triggerManualWorkflows`, `showOngoingIncidents`, `attachAlerts`, `markAsInTriage`, `inTriageAt`, `startedAt`, `detectedAt`, `acknowledgedAt`, `mitigatedAt`, `resolvedAt`, `closedAt`, `customSubStatus`, `manualStartingDatetimeField`. */ readonly kind: pulumi.Output; /** * The name of the form field */ readonly name: pulumi.Output; readonly requireds: pulumi.Output; /** * The resource type this field belongs to. Value must be one of `incident`, `problem`. */ readonly resourceType: pulumi.Output; /** * Whether the form field is shown on the incident details panel. Value must be one of true or false */ readonly showOnIncidentDetails: pulumi.Output; readonly showns: pulumi.Output; /** * The slug of the form field * * @deprecated Deprecated. `slug` is derived from `name`; any submitted value is ignored. This property will be removed from the request schema in a future version. */ readonly slug: pulumi.Output; /** * The value kind of the form field. Value must be one of `inherit`, `group`, `service`, `functionality`, `user`, `catalogEntity`, `environment`, `cause`, `incidentType`. */ readonly valueKind: pulumi.Output; /** * The ID of the catalog used when valueKind is `catalogEntity` */ readonly valueKindCatalogId: pulumi.Output; /** * Create a FormField resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: FormFieldArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering FormField resources. */ export interface FormFieldState { /** * Catalog property ID to auto-set this form field. Only reference-kind catalog properties are supported. */ autoSetByCatalogPropertyId?: pulumi.Input; defaultValues?: pulumi.Input[] | undefined>; /** * The description of the form field */ description?: pulumi.Input; enabled?: pulumi.Input; /** * The input kind of the form field. Value must be one of `text`, `textarea`, `select`, `multiSelect`, `date`, `datetime`, `number`, `checkbox`, `tags`, `richText`. */ inputKind?: pulumi.Input; /** * The kind of the form field. Value must be one of `custom`, `title`, `summary`, `mitigationMessage`, `resolutionMessage`, `severity`, `environments`, `types`, `services`, `causes`, `functionalities`, `teams`, `status`, `visibility`, `markAsTest`, `markAsBackfilled`, `labels`, `notifyEmails`, `triggerManualWorkflows`, `showOngoingIncidents`, `attachAlerts`, `markAsInTriage`, `inTriageAt`, `startedAt`, `detectedAt`, `acknowledgedAt`, `mitigatedAt`, `resolvedAt`, `closedAt`, `customSubStatus`, `manualStartingDatetimeField`. */ kind?: pulumi.Input; /** * The name of the form field */ name?: pulumi.Input; requireds?: pulumi.Input[] | undefined>; /** * The resource type this field belongs to. Value must be one of `incident`, `problem`. */ resourceType?: pulumi.Input; /** * Whether the form field is shown on the incident details panel. Value must be one of true or false */ showOnIncidentDetails?: pulumi.Input; showns?: pulumi.Input[] | undefined>; /** * The slug of the form field * * @deprecated Deprecated. `slug` is derived from `name`; any submitted value is ignored. This property will be removed from the request schema in a future version. */ slug?: pulumi.Input; /** * The value kind of the form field. Value must be one of `inherit`, `group`, `service`, `functionality`, `user`, `catalogEntity`, `environment`, `cause`, `incidentType`. */ valueKind?: pulumi.Input; /** * The ID of the catalog used when valueKind is `catalogEntity` */ valueKindCatalogId?: pulumi.Input; } /** * The set of arguments for constructing a FormField resource. */ export interface FormFieldArgs { /** * Catalog property ID to auto-set this form field. Only reference-kind catalog properties are supported. */ autoSetByCatalogPropertyId?: pulumi.Input; defaultValues?: pulumi.Input[] | undefined>; /** * The description of the form field */ description?: pulumi.Input; enabled?: pulumi.Input; /** * The input kind of the form field. Value must be one of `text`, `textarea`, `select`, `multiSelect`, `date`, `datetime`, `number`, `checkbox`, `tags`, `richText`. */ inputKind?: pulumi.Input; /** * The kind of the form field. Value must be one of `custom`, `title`, `summary`, `mitigationMessage`, `resolutionMessage`, `severity`, `environments`, `types`, `services`, `causes`, `functionalities`, `teams`, `status`, `visibility`, `markAsTest`, `markAsBackfilled`, `labels`, `notifyEmails`, `triggerManualWorkflows`, `showOngoingIncidents`, `attachAlerts`, `markAsInTriage`, `inTriageAt`, `startedAt`, `detectedAt`, `acknowledgedAt`, `mitigatedAt`, `resolvedAt`, `closedAt`, `customSubStatus`, `manualStartingDatetimeField`. */ kind?: pulumi.Input; /** * The name of the form field */ name?: pulumi.Input; requireds?: pulumi.Input[] | undefined>; /** * Whether the form field is shown on the incident details panel. Value must be one of true or false */ showOnIncidentDetails?: pulumi.Input; showns?: pulumi.Input[] | undefined>; /** * The slug of the form field * * @deprecated Deprecated. `slug` is derived from `name`; any submitted value is ignored. This property will be removed from the request schema in a future version. */ slug?: pulumi.Input; /** * The value kind of the form field. Value must be one of `inherit`, `group`, `service`, `functionality`, `user`, `catalogEntity`, `environment`, `cause`, `incidentType`. */ valueKind?: pulumi.Input; /** * The ID of the catalog used when valueKind is `catalogEntity` */ valueKindCatalogId?: pulumi.Input; } //# sourceMappingURL=formField.d.ts.map