import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Process Set resource in Oracle Cloud Infrastructure Stack Monitoring service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/stack-monitoring/latest/ProcessSet * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/stack_monitoring * * API to create Process Set. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testProcessSet = new oci.stackmonitoring.ProcessSet("test_process_set", { * compartmentId: compartmentId, * displayName: processSetDisplayName, * specification: { * items: [{ * label: processSetSpecificationItemsLabel, * processCommand: processSetSpecificationItemsProcessCommand, * processLineRegexPattern: processSetSpecificationItemsProcessLineRegexPattern, * processUser: processSetSpecificationItemsProcessUser, * }], * }, * definedTags: { * "foo-namespace.bar-key": "value", * }, * freeformTags: { * "bar-key": "value", * }, * }); * ``` * * ## Import * * ProcessSets can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:StackMonitoring/processSet:ProcessSet test_process_set "id" * ``` */ export declare class ProcessSet extends pulumi.CustomResource { /** * Get an existing ProcessSet 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?: ProcessSetState, opts?: pulumi.CustomResourceOptions): ProcessSet; /** * Returns true if the given object is an instance of ProcessSet. 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 ProcessSet; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Name of the Process Set. */ readonly displayName: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * The current revision of the Process Set. */ readonly revision: pulumi.Output; /** * (Updatable) Collection of regular expression specifications used to identify the processes to be monitored. */ readonly specification: pulumi.Output; /** * The current state of the Resource. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time the process set was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time the process set was last updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * Create a ProcessSet 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: ProcessSetArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ProcessSet resources. */ export interface ProcessSetState { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Name of the Process Set. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The current revision of the Process Set. */ revision?: pulumi.Input; /** * (Updatable) Collection of regular expression specifications used to identify the processes to be monitored. */ specification?: pulumi.Input; /** * The current state of the Resource. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time the process set was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time the process set was last updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a ProcessSet resource. */ export interface ProcessSetArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Name of the Process Set. */ displayName: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Collection of regular expression specifications used to identify the processes to be monitored. */ specification: pulumi.Input; } //# sourceMappingURL=processSet.d.ts.map