import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Baselineable Metric resource in Oracle Cloud Infrastructure Stack Monitoring service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/stack-monitoring/latest/BaselineableMetric * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/stack_monitoring * * Creates the specified Baseline-able metric * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBaselineableMetric = new oci.stackmonitoring.BaselineableMetric("test_baselineable_metric", { * column: baselineableMetricColumn, * compartmentId: compartmentId, * namespace: baselineableMetricNamespace, * name: baselineableMetricName, * resourceGroup: baselineableMetricResourceGroup, * resourceType: baselineableMetricResourceType, * }); * ``` * * ## Import * * BaselineableMetrics can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:StackMonitoring/baselineableMetric:BaselineableMetric test_baselineable_metric "id" * ``` */ export declare class BaselineableMetric extends pulumi.CustomResource { /** * Get an existing BaselineableMetric 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?: BaselineableMetricState, opts?: pulumi.CustomResourceOptions): BaselineableMetric; /** * Returns true if the given object is an instance of BaselineableMetric. 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 BaselineableMetric; /** * (Updatable) metric column name */ readonly column: pulumi.Output; /** * (Updatable) OCID of the compartment */ readonly compartmentId: pulumi.Output; /** * Created user id */ readonly createdBy: pulumi.Output; /** * 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; }>; /** * 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; }>; /** * Is the metric created out of box, default false */ readonly isOutOfBox: pulumi.Output; /** * last Updated user id */ readonly lastUpdatedBy: pulumi.Output; /** * (Updatable) name of the metric */ readonly name: pulumi.Output; /** * (Updatable) namespace of the metric */ readonly namespace: pulumi.Output; /** * (Updatable) Resource group of the metric */ readonly resourceGroup: pulumi.Output; /** * (Updatable) Resource type of the metric * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly resourceType: pulumi.Output; /** * The current lifecycle state of the metric extension */ 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; }>; /** * OCID of the tenancy */ readonly tenancyId: pulumi.Output; /** * creation date */ readonly timeCreated: pulumi.Output; /** * last updated time */ readonly timeLastUpdated: pulumi.Output; /** * Create a BaselineableMetric 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: BaselineableMetricArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering BaselineableMetric resources. */ export interface BaselineableMetricState { /** * (Updatable) metric column name */ column?: pulumi.Input; /** * (Updatable) OCID of the compartment */ compartmentId?: pulumi.Input; /** * Created user id */ createdBy?: pulumi.Input; /** * 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>; /** * 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>; /** * Is the metric created out of box, default false */ isOutOfBox?: pulumi.Input; /** * last Updated user id */ lastUpdatedBy?: pulumi.Input; /** * (Updatable) name of the metric */ name?: pulumi.Input; /** * (Updatable) namespace of the metric */ namespace?: pulumi.Input; /** * (Updatable) Resource group of the metric */ resourceGroup?: pulumi.Input; /** * (Updatable) Resource type of the metric * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ resourceType?: pulumi.Input; /** * The current lifecycle state of the metric extension */ 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>; /** * OCID of the tenancy */ tenancyId?: pulumi.Input; /** * creation date */ timeCreated?: pulumi.Input; /** * last updated time */ timeLastUpdated?: pulumi.Input; } /** * The set of arguments for constructing a BaselineableMetric resource. */ export interface BaselineableMetricArgs { /** * (Updatable) metric column name */ column: pulumi.Input; /** * (Updatable) OCID of the compartment */ compartmentId: pulumi.Input; /** * (Updatable) name of the metric */ name?: pulumi.Input; /** * (Updatable) namespace of the metric */ namespace: pulumi.Input; /** * (Updatable) Resource group of the metric */ resourceGroup?: pulumi.Input; /** * (Updatable) Resource type of the metric * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ resourceType?: pulumi.Input; } //# sourceMappingURL=baselineableMetric.d.ts.map