@pulumi/sumologic
Version:
A Pulumi package for creating and managing sumologic cloud resources.
81 lines (80 loc) • 2.74 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides a [Sumologic Field](https://help.sumologic.com/Manage/Fields).
*
* ## Import
*
* Fields can be imported using the field id, e.g.:
*
* hcl
*
* ```sh
* $ pulumi import sumologic:index/field:Field field 000000000ABC1234
* ```
*
* [1]: https://help.sumologic.com/Manage/Fields
*/
export declare class Field extends pulumi.CustomResource {
/**
* Get an existing Field 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<pulumi.ID>, state?: FieldState, opts?: pulumi.CustomResourceOptions): Field;
/**
* Returns true if the given object is an instance of Field. 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 Field;
readonly dataType: pulumi.Output<string | undefined>;
readonly fieldId: pulumi.Output<string>;
/**
* Name of the field.
*/
readonly fieldName: pulumi.Output<string>;
/**
* State of the field. Possible values are `Enabled` or `Disabled` (default: `Enabled`).
*/
readonly state: pulumi.Output<string | undefined>;
/**
* Create a Field 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: FieldArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Field resources.
*/
export interface FieldState {
dataType?: pulumi.Input<string>;
fieldId?: pulumi.Input<string>;
/**
* Name of the field.
*/
fieldName?: pulumi.Input<string>;
/**
* State of the field. Possible values are `Enabled` or `Disabled` (default: `Enabled`).
*/
state?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Field resource.
*/
export interface FieldArgs {
dataType?: pulumi.Input<string>;
/**
* Name of the field.
*/
fieldName: pulumi.Input<string>;
/**
* State of the field. Possible values are `Enabled` or `Disabled` (default: `Enabled`).
*/
state?: pulumi.Input<string>;
}