@pulumi/sumologic
Version:
A Pulumi package for creating and managing sumologic cloud resources.
111 lines (110 loc) • 3.65 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides a Sumologic CSE Custom Entity Type.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sumologic from "@pulumi/sumologic";
*
* const customEntityType = new sumologic.CseCustomEntityType("custom_entity_type", {
* name: "New Custom Entity Type",
* identifier: "identifier",
* fields: [
* "file_hash_md5",
* "file_hash_sha1",
* ],
* });
* ```
*
* ## Import
*
* Custom entity type can be imported using the field id, e.g.:
*
* hcl
*
* ```sh
* $ pulumi import sumologic:index/cseCustomEntityType:CseCustomEntityType custom_entity_type id
* ```
*/
export declare class CseCustomEntityType extends pulumi.CustomResource {
/**
* Get an existing CseCustomEntityType 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?: CseCustomEntityTypeState, opts?: pulumi.CustomResourceOptions): CseCustomEntityType;
/**
* Returns true if the given object is an instance of CseCustomEntityType. 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 CseCustomEntityType;
/**
* Record schema fields. Examples: "fileHashMd5", "fileHashSha1".".
*
*
* The following attributes are exported:
*/
readonly fields: pulumi.Output<string[]>;
/**
* Machine friendly and unique identifier. Example: "filehash".
*/
readonly identifier: pulumi.Output<string>;
/**
* Human friend and unique name. Example: "File Hash".
*/
readonly name: pulumi.Output<string>;
/**
* Create a CseCustomEntityType 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: CseCustomEntityTypeArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering CseCustomEntityType resources.
*/
export interface CseCustomEntityTypeState {
/**
* Record schema fields. Examples: "fileHashMd5", "fileHashSha1".".
*
*
* The following attributes are exported:
*/
fields?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Machine friendly and unique identifier. Example: "filehash".
*/
identifier?: pulumi.Input<string>;
/**
* Human friend and unique name. Example: "File Hash".
*/
name?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a CseCustomEntityType resource.
*/
export interface CseCustomEntityTypeArgs {
/**
* Record schema fields. Examples: "fileHashMd5", "fileHashSha1".".
*
*
* The following attributes are exported:
*/
fields: pulumi.Input<pulumi.Input<string>[]>;
/**
* Machine friendly and unique identifier. Example: "filehash".
*/
identifier: pulumi.Input<string>;
/**
* Human friend and unique name. Example: "File Hash".
*/
name?: pulumi.Input<string>;
}