1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. StackMonitoring
  5. BaselineableMetric
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.StackMonitoring.BaselineableMetric

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This resource provides the Baselineable Metric resource in Oracle Cloud Infrastructure Stack Monitoring service.

    Creates the specified Baseline-able metric

    Example Usage

    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 pulumi
    import pulumi_oci as oci
    
    test_baselineable_metric = oci.stack_monitoring.BaselineableMetric("test_baselineable_metric",
        column=baselineable_metric_column,
        compartment_id=compartment_id,
        namespace=baselineable_metric_namespace,
        name=baselineable_metric_name,
        resource_group=baselineable_metric_resource_group,
        resource_type=baselineable_metric_resource_type)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/StackMonitoring"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := StackMonitoring.NewBaselineableMetric(ctx, "test_baselineable_metric", &StackMonitoring.BaselineableMetricArgs{
    			Column:        pulumi.Any(baselineableMetricColumn),
    			CompartmentId: pulumi.Any(compartmentId),
    			Namespace:     pulumi.Any(baselineableMetricNamespace),
    			Name:          pulumi.Any(baselineableMetricName),
    			ResourceGroup: pulumi.Any(baselineableMetricResourceGroup),
    			ResourceType:  pulumi.Any(baselineableMetricResourceType),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testBaselineableMetric = new Oci.StackMonitoring.BaselineableMetric("test_baselineable_metric", new()
        {
            Column = baselineableMetricColumn,
            CompartmentId = compartmentId,
            Namespace = baselineableMetricNamespace,
            Name = baselineableMetricName,
            ResourceGroup = baselineableMetricResourceGroup,
            ResourceType = baselineableMetricResourceType,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.StackMonitoring.BaselineableMetric;
    import com.pulumi.oci.StackMonitoring.BaselineableMetricArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testBaselineableMetric = new BaselineableMetric("testBaselineableMetric", BaselineableMetricArgs.builder()
                .column(baselineableMetricColumn)
                .compartmentId(compartmentId)
                .namespace(baselineableMetricNamespace)
                .name(baselineableMetricName)
                .resourceGroup(baselineableMetricResourceGroup)
                .resourceType(baselineableMetricResourceType)
                .build());
    
        }
    }
    
    resources:
      testBaselineableMetric:
        type: oci:StackMonitoring:BaselineableMetric
        name: test_baselineable_metric
        properties:
          column: ${baselineableMetricColumn}
          compartmentId: ${compartmentId}
          namespace: ${baselineableMetricNamespace}
          name: ${baselineableMetricName}
          resourceGroup: ${baselineableMetricResourceGroup}
          resourceType: ${baselineableMetricResourceType}
    

    Create BaselineableMetric Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BaselineableMetric(name: string, args: BaselineableMetricArgs, opts?: CustomResourceOptions);
    @overload
    def BaselineableMetric(resource_name: str,
                           args: BaselineableMetricArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def BaselineableMetric(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           column: Optional[str] = None,
                           compartment_id: Optional[str] = None,
                           namespace: Optional[str] = None,
                           name: Optional[str] = None,
                           resource_group: Optional[str] = None,
                           resource_type: Optional[str] = None)
    func NewBaselineableMetric(ctx *Context, name string, args BaselineableMetricArgs, opts ...ResourceOption) (*BaselineableMetric, error)
    public BaselineableMetric(string name, BaselineableMetricArgs args, CustomResourceOptions? opts = null)
    public BaselineableMetric(String name, BaselineableMetricArgs args)
    public BaselineableMetric(String name, BaselineableMetricArgs args, CustomResourceOptions options)
    
    type: oci:StackMonitoring:BaselineableMetric
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args BaselineableMetricArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args BaselineableMetricArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args BaselineableMetricArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BaselineableMetricArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BaselineableMetricArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var baselineableMetricResource = new Oci.StackMonitoring.BaselineableMetric("baselineableMetricResource", new()
    {
        Column = "string",
        CompartmentId = "string",
        Namespace = "string",
        Name = "string",
        ResourceGroup = "string",
        ResourceType = "string",
    });
    
    example, err := StackMonitoring.NewBaselineableMetric(ctx, "baselineableMetricResource", &StackMonitoring.BaselineableMetricArgs{
    	Column:        pulumi.String("string"),
    	CompartmentId: pulumi.String("string"),
    	Namespace:     pulumi.String("string"),
    	Name:          pulumi.String("string"),
    	ResourceGroup: pulumi.String("string"),
    	ResourceType:  pulumi.String("string"),
    })
    
    var baselineableMetricResource = new BaselineableMetric("baselineableMetricResource", BaselineableMetricArgs.builder()
        .column("string")
        .compartmentId("string")
        .namespace("string")
        .name("string")
        .resourceGroup("string")
        .resourceType("string")
        .build());
    
    baselineable_metric_resource = oci.stack_monitoring.BaselineableMetric("baselineableMetricResource",
        column="string",
        compartment_id="string",
        namespace="string",
        name="string",
        resource_group="string",
        resource_type="string")
    
    const baselineableMetricResource = new oci.stackmonitoring.BaselineableMetric("baselineableMetricResource", {
        column: "string",
        compartmentId: "string",
        namespace: "string",
        name: "string",
        resourceGroup: "string",
        resourceType: "string",
    });
    
    type: oci:StackMonitoring:BaselineableMetric
    properties:
        column: string
        compartmentId: string
        name: string
        namespace: string
        resourceGroup: string
        resourceType: string
    

    BaselineableMetric Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The BaselineableMetric resource accepts the following input properties:

    Column string
    (Updatable) metric column name
    CompartmentId string
    (Updatable) OCID of the compartment
    Namespace string
    (Updatable) namespace of the metric
    Name string
    (Updatable) name of the metric
    ResourceGroup string
    (Updatable) Resource group of the metric
    ResourceType string

    (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

    Column string
    (Updatable) metric column name
    CompartmentId string
    (Updatable) OCID of the compartment
    Namespace string
    (Updatable) namespace of the metric
    Name string
    (Updatable) name of the metric
    ResourceGroup string
    (Updatable) Resource group of the metric
    ResourceType string

    (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

    column String
    (Updatable) metric column name
    compartmentId String
    (Updatable) OCID of the compartment
    namespace String
    (Updatable) namespace of the metric
    name String
    (Updatable) name of the metric
    resourceGroup String
    (Updatable) Resource group of the metric
    resourceType String

    (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

    column string
    (Updatable) metric column name
    compartmentId string
    (Updatable) OCID of the compartment
    namespace string
    (Updatable) namespace of the metric
    name string
    (Updatable) name of the metric
    resourceGroup string
    (Updatable) Resource group of the metric
    resourceType string

    (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

    column str
    (Updatable) metric column name
    compartment_id str
    (Updatable) OCID of the compartment
    namespace str
    (Updatable) namespace of the metric
    name str
    (Updatable) name of the metric
    resource_group str
    (Updatable) Resource group of the metric
    resource_type str

    (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

    column String
    (Updatable) metric column name
    compartmentId String
    (Updatable) OCID of the compartment
    namespace String
    (Updatable) namespace of the metric
    name String
    (Updatable) name of the metric
    resourceGroup String
    (Updatable) Resource group of the metric
    resourceType String

    (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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BaselineableMetric resource produces the following output properties:

    CreatedBy string
    Created user id
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags Dictionary<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"}
    Id string
    The provider-assigned unique ID for this managed resource.
    IsOutOfBox bool
    Is the metric created out of box, default false
    LastUpdatedBy string
    last Updated user id
    State string
    The current lifecycle state of the metric extension
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TenancyId string
    OCID of the tenancy
    TimeCreated string
    creation date
    TimeLastUpdated string
    last updated time
    CreatedBy string
    Created user id
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags map[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"}
    Id string
    The provider-assigned unique ID for this managed resource.
    IsOutOfBox bool
    Is the metric created out of box, default false
    LastUpdatedBy string
    last Updated user id
    State string
    The current lifecycle state of the metric extension
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TenancyId string
    OCID of the tenancy
    TimeCreated string
    creation date
    TimeLastUpdated string
    last updated time
    createdBy String
    Created user id
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<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"}
    id String
    The provider-assigned unique ID for this managed resource.
    isOutOfBox Boolean
    Is the metric created out of box, default false
    lastUpdatedBy String
    last Updated user id
    state String
    The current lifecycle state of the metric extension
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenancyId String
    OCID of the tenancy
    timeCreated String
    creation date
    timeLastUpdated String
    last updated time
    createdBy string
    Created user id
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[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"}
    id string
    The provider-assigned unique ID for this managed resource.
    isOutOfBox boolean
    Is the metric created out of box, default false
    lastUpdatedBy string
    last Updated user id
    state string
    The current lifecycle state of the metric extension
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenancyId string
    OCID of the tenancy
    timeCreated string
    creation date
    timeLastUpdated string
    last updated time
    created_by str
    Created user id
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeform_tags Mapping[str, str]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id str
    The provider-assigned unique ID for this managed resource.
    is_out_of_box bool
    Is the metric created out of box, default false
    last_updated_by str
    last Updated user id
    state str
    The current lifecycle state of the metric extension
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenancy_id str
    OCID of the tenancy
    time_created str
    creation date
    time_last_updated str
    last updated time
    createdBy String
    Created user id
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    The provider-assigned unique ID for this managed resource.
    isOutOfBox Boolean
    Is the metric created out of box, default false
    lastUpdatedBy String
    last Updated user id
    state String
    The current lifecycle state of the metric extension
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenancyId String
    OCID of the tenancy
    timeCreated String
    creation date
    timeLastUpdated String
    last updated time

    Look up Existing BaselineableMetric Resource

    Get an existing BaselineableMetric resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: BaselineableMetricState, opts?: CustomResourceOptions): BaselineableMetric
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            column: Optional[str] = None,
            compartment_id: Optional[str] = None,
            created_by: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            is_out_of_box: Optional[bool] = None,
            last_updated_by: Optional[str] = None,
            name: Optional[str] = None,
            namespace: Optional[str] = None,
            resource_group: Optional[str] = None,
            resource_type: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            tenancy_id: Optional[str] = None,
            time_created: Optional[str] = None,
            time_last_updated: Optional[str] = None) -> BaselineableMetric
    func GetBaselineableMetric(ctx *Context, name string, id IDInput, state *BaselineableMetricState, opts ...ResourceOption) (*BaselineableMetric, error)
    public static BaselineableMetric Get(string name, Input<string> id, BaselineableMetricState? state, CustomResourceOptions? opts = null)
    public static BaselineableMetric get(String name, Output<String> id, BaselineableMetricState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Column string
    (Updatable) metric column name
    CompartmentId string
    (Updatable) OCID of the compartment
    CreatedBy string
    Created user id
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags Dictionary<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"}
    IsOutOfBox bool
    Is the metric created out of box, default false
    LastUpdatedBy string
    last Updated user id
    Name string
    (Updatable) name of the metric
    Namespace string
    (Updatable) namespace of the metric
    ResourceGroup string
    (Updatable) Resource group of the metric
    ResourceType string

    (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

    State string
    The current lifecycle state of the metric extension
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TenancyId string
    OCID of the tenancy
    TimeCreated string
    creation date
    TimeLastUpdated string
    last updated time
    Column string
    (Updatable) metric column name
    CompartmentId string
    (Updatable) OCID of the compartment
    CreatedBy string
    Created user id
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags map[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"}
    IsOutOfBox bool
    Is the metric created out of box, default false
    LastUpdatedBy string
    last Updated user id
    Name string
    (Updatable) name of the metric
    Namespace string
    (Updatable) namespace of the metric
    ResourceGroup string
    (Updatable) Resource group of the metric
    ResourceType string

    (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

    State string
    The current lifecycle state of the metric extension
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TenancyId string
    OCID of the tenancy
    TimeCreated string
    creation date
    TimeLastUpdated string
    last updated time
    column String
    (Updatable) metric column name
    compartmentId String
    (Updatable) OCID of the compartment
    createdBy String
    Created user id
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<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"}
    isOutOfBox Boolean
    Is the metric created out of box, default false
    lastUpdatedBy String
    last Updated user id
    name String
    (Updatable) name of the metric
    namespace String
    (Updatable) namespace of the metric
    resourceGroup String
    (Updatable) Resource group of the metric
    resourceType String

    (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

    state String
    The current lifecycle state of the metric extension
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenancyId String
    OCID of the tenancy
    timeCreated String
    creation date
    timeLastUpdated String
    last updated time
    column string
    (Updatable) metric column name
    compartmentId string
    (Updatable) OCID of the compartment
    createdBy string
    Created user id
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[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"}
    isOutOfBox boolean
    Is the metric created out of box, default false
    lastUpdatedBy string
    last Updated user id
    name string
    (Updatable) name of the metric
    namespace string
    (Updatable) namespace of the metric
    resourceGroup string
    (Updatable) Resource group of the metric
    resourceType string

    (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

    state string
    The current lifecycle state of the metric extension
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenancyId string
    OCID of the tenancy
    timeCreated string
    creation date
    timeLastUpdated string
    last updated time
    column str
    (Updatable) metric column name
    compartment_id str
    (Updatable) OCID of the compartment
    created_by str
    Created user id
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeform_tags Mapping[str, str]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    is_out_of_box bool
    Is the metric created out of box, default false
    last_updated_by str
    last Updated user id
    name str
    (Updatable) name of the metric
    namespace str
    (Updatable) namespace of the metric
    resource_group str
    (Updatable) Resource group of the metric
    resource_type str

    (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

    state str
    The current lifecycle state of the metric extension
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenancy_id str
    OCID of the tenancy
    time_created str
    creation date
    time_last_updated str
    last updated time
    column String
    (Updatable) metric column name
    compartmentId String
    (Updatable) OCID of the compartment
    createdBy String
    Created user id
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isOutOfBox Boolean
    Is the metric created out of box, default false
    lastUpdatedBy String
    last Updated user id
    name String
    (Updatable) name of the metric
    namespace String
    (Updatable) namespace of the metric
    resourceGroup String
    (Updatable) Resource group of the metric
    resourceType String

    (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

    state String
    The current lifecycle state of the metric extension
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenancyId String
    OCID of the tenancy
    timeCreated String
    creation date
    timeLastUpdated String
    last updated time

    Import

    BaselineableMetrics can be imported using the id, e.g.

    $ pulumi import oci:StackMonitoring/baselineableMetric:BaselineableMetric test_baselineable_metric "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi