1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. StackMonitoring
  5. MonitoredResourceType
Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

oci.StackMonitoring.MonitoredResourceType

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

    This resource provides the Monitored Resource Type resource in Oracle Cloud Infrastructure Stack Monitoring service.

    Creates a new monitored resource type.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMonitoredResourceType = new oci.stackmonitoring.MonitoredResourceType("test_monitored_resource_type", {
        compartmentId: compartmentId,
        name: monitoredResourceTypeName,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        description: monitoredResourceTypeDescription,
        displayName: monitoredResourceTypeDisplayName,
        freeformTags: {
            "bar-key": "value",
        },
        metadata: {
            format: monitoredResourceTypeMetadataFormat,
            agentProperties: monitoredResourceTypeMetadataAgentProperties,
            requiredProperties: monitoredResourceTypeMetadataRequiredProperties,
            uniquePropertySets: [{
                properties: monitoredResourceTypeMetadataUniquePropertySetsProperties,
            }],
            validPropertiesForCreates: monitoredResourceTypeMetadataValidPropertiesForCreate,
            validPropertiesForUpdates: monitoredResourceTypeMetadataValidPropertiesForUpdate,
            validPropertyValues: monitoredResourceTypeMetadataValidPropertyValues,
            validSubResourceTypes: monitoredResourceTypeMetadataValidSubResourceTypes,
        },
        metricNamespace: monitoredResourceTypeMetricNamespace,
        resourceCategory: monitoredResourceTypeResourceCategory,
        sourceType: monitoredResourceTypeSourceType,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_monitored_resource_type = oci.stack_monitoring.MonitoredResourceType("test_monitored_resource_type",
        compartment_id=compartment_id,
        name=monitored_resource_type_name,
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        description=monitored_resource_type_description,
        display_name=monitored_resource_type_display_name,
        freeform_tags={
            "bar-key": "value",
        },
        metadata={
            "format": monitored_resource_type_metadata_format,
            "agent_properties": monitored_resource_type_metadata_agent_properties,
            "required_properties": monitored_resource_type_metadata_required_properties,
            "unique_property_sets": [{
                "properties": monitored_resource_type_metadata_unique_property_sets_properties,
            }],
            "valid_properties_for_creates": monitored_resource_type_metadata_valid_properties_for_create,
            "valid_properties_for_updates": monitored_resource_type_metadata_valid_properties_for_update,
            "valid_property_values": monitored_resource_type_metadata_valid_property_values,
            "valid_sub_resource_types": monitored_resource_type_metadata_valid_sub_resource_types,
        },
        metric_namespace=monitored_resource_type_metric_namespace,
        resource_category=monitored_resource_type_resource_category,
        source_type=monitored_resource_type_source_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.NewMonitoredResourceType(ctx, "test_monitored_resource_type", &stackmonitoring.MonitoredResourceTypeArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			Name:          pulumi.Any(monitoredResourceTypeName),
    			DefinedTags: pulumi.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			Description: pulumi.Any(monitoredResourceTypeDescription),
    			DisplayName: pulumi.Any(monitoredResourceTypeDisplayName),
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("value"),
    			},
    			Metadata: &stackmonitoring.MonitoredResourceTypeMetadataArgs{
    				Format:             pulumi.Any(monitoredResourceTypeMetadataFormat),
    				AgentProperties:    pulumi.Any(monitoredResourceTypeMetadataAgentProperties),
    				RequiredProperties: pulumi.Any(monitoredResourceTypeMetadataRequiredProperties),
    				UniquePropertySets: stackmonitoring.MonitoredResourceTypeMetadataUniquePropertySetArray{
    					&stackmonitoring.MonitoredResourceTypeMetadataUniquePropertySetArgs{
    						Properties: pulumi.Any(monitoredResourceTypeMetadataUniquePropertySetsProperties),
    					},
    				},
    				ValidPropertiesForCreates: pulumi.Any(monitoredResourceTypeMetadataValidPropertiesForCreate),
    				ValidPropertiesForUpdates: pulumi.Any(monitoredResourceTypeMetadataValidPropertiesForUpdate),
    				ValidPropertyValues:       pulumi.Any(monitoredResourceTypeMetadataValidPropertyValues),
    				ValidSubResourceTypes:     pulumi.Any(monitoredResourceTypeMetadataValidSubResourceTypes),
    			},
    			MetricNamespace:  pulumi.Any(monitoredResourceTypeMetricNamespace),
    			ResourceCategory: pulumi.Any(monitoredResourceTypeResourceCategory),
    			SourceType:       pulumi.Any(monitoredResourceTypeSourceType),
    		})
    		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 testMonitoredResourceType = new Oci.StackMonitoring.MonitoredResourceType("test_monitored_resource_type", new()
        {
            CompartmentId = compartmentId,
            Name = monitoredResourceTypeName,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            Description = monitoredResourceTypeDescription,
            DisplayName = monitoredResourceTypeDisplayName,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            Metadata = new Oci.StackMonitoring.Inputs.MonitoredResourceTypeMetadataArgs
            {
                Format = monitoredResourceTypeMetadataFormat,
                AgentProperties = monitoredResourceTypeMetadataAgentProperties,
                RequiredProperties = monitoredResourceTypeMetadataRequiredProperties,
                UniquePropertySets = new[]
                {
                    new Oci.StackMonitoring.Inputs.MonitoredResourceTypeMetadataUniquePropertySetArgs
                    {
                        Properties = monitoredResourceTypeMetadataUniquePropertySetsProperties,
                    },
                },
                ValidPropertiesForCreates = monitoredResourceTypeMetadataValidPropertiesForCreate,
                ValidPropertiesForUpdates = monitoredResourceTypeMetadataValidPropertiesForUpdate,
                ValidPropertyValues = monitoredResourceTypeMetadataValidPropertyValues,
                ValidSubResourceTypes = monitoredResourceTypeMetadataValidSubResourceTypes,
            },
            MetricNamespace = monitoredResourceTypeMetricNamespace,
            ResourceCategory = monitoredResourceTypeResourceCategory,
            SourceType = monitoredResourceTypeSourceType,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.StackMonitoring.MonitoredResourceType;
    import com.pulumi.oci.StackMonitoring.MonitoredResourceTypeArgs;
    import com.pulumi.oci.StackMonitoring.inputs.MonitoredResourceTypeMetadataArgs;
    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 testMonitoredResourceType = new MonitoredResourceType("testMonitoredResourceType", MonitoredResourceTypeArgs.builder()
                .compartmentId(compartmentId)
                .name(monitoredResourceTypeName)
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .description(monitoredResourceTypeDescription)
                .displayName(monitoredResourceTypeDisplayName)
                .freeformTags(Map.of("bar-key", "value"))
                .metadata(MonitoredResourceTypeMetadataArgs.builder()
                    .format(monitoredResourceTypeMetadataFormat)
                    .agentProperties(monitoredResourceTypeMetadataAgentProperties)
                    .requiredProperties(monitoredResourceTypeMetadataRequiredProperties)
                    .uniquePropertySets(MonitoredResourceTypeMetadataUniquePropertySetArgs.builder()
                        .properties(monitoredResourceTypeMetadataUniquePropertySetsProperties)
                        .build())
                    .validPropertiesForCreates(monitoredResourceTypeMetadataValidPropertiesForCreate)
                    .validPropertiesForUpdates(monitoredResourceTypeMetadataValidPropertiesForUpdate)
                    .validPropertyValues(monitoredResourceTypeMetadataValidPropertyValues)
                    .validSubResourceTypes(monitoredResourceTypeMetadataValidSubResourceTypes)
                    .build())
                .metricNamespace(monitoredResourceTypeMetricNamespace)
                .resourceCategory(monitoredResourceTypeResourceCategory)
                .sourceType(monitoredResourceTypeSourceType)
                .build());
    
        }
    }
    
    resources:
      testMonitoredResourceType:
        type: oci:StackMonitoring:MonitoredResourceType
        name: test_monitored_resource_type
        properties:
          compartmentId: ${compartmentId}
          name: ${monitoredResourceTypeName}
          definedTags:
            foo-namespace.bar-key: value
          description: ${monitoredResourceTypeDescription}
          displayName: ${monitoredResourceTypeDisplayName}
          freeformTags:
            bar-key: value
          metadata:
            format: ${monitoredResourceTypeMetadataFormat}
            agentProperties: ${monitoredResourceTypeMetadataAgentProperties}
            requiredProperties: ${monitoredResourceTypeMetadataRequiredProperties}
            uniquePropertySets:
              - properties: ${monitoredResourceTypeMetadataUniquePropertySetsProperties}
            validPropertiesForCreates: ${monitoredResourceTypeMetadataValidPropertiesForCreate}
            validPropertiesForUpdates: ${monitoredResourceTypeMetadataValidPropertiesForUpdate}
            validPropertyValues: ${monitoredResourceTypeMetadataValidPropertyValues}
            validSubResourceTypes: ${monitoredResourceTypeMetadataValidSubResourceTypes}
          metricNamespace: ${monitoredResourceTypeMetricNamespace}
          resourceCategory: ${monitoredResourceTypeResourceCategory}
          sourceType: ${monitoredResourceTypeSourceType}
    

    Create MonitoredResourceType Resource

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

    Constructor syntax

    new MonitoredResourceType(name: string, args: MonitoredResourceTypeArgs, opts?: CustomResourceOptions);
    @overload
    def MonitoredResourceType(resource_name: str,
                              args: MonitoredResourceTypeArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def MonitoredResourceType(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              compartment_id: Optional[str] = None,
                              defined_tags: Optional[Mapping[str, str]] = None,
                              description: Optional[str] = None,
                              display_name: Optional[str] = None,
                              freeform_tags: Optional[Mapping[str, str]] = None,
                              metadata: Optional[_stackmonitoring.MonitoredResourceTypeMetadataArgs] = None,
                              metric_namespace: Optional[str] = None,
                              name: Optional[str] = None,
                              resource_category: Optional[str] = None,
                              source_type: Optional[str] = None)
    func NewMonitoredResourceType(ctx *Context, name string, args MonitoredResourceTypeArgs, opts ...ResourceOption) (*MonitoredResourceType, error)
    public MonitoredResourceType(string name, MonitoredResourceTypeArgs args, CustomResourceOptions? opts = null)
    public MonitoredResourceType(String name, MonitoredResourceTypeArgs args)
    public MonitoredResourceType(String name, MonitoredResourceTypeArgs args, CustomResourceOptions options)
    
    type: oci:StackMonitoring:MonitoredResourceType
    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 MonitoredResourceTypeArgs
    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 MonitoredResourceTypeArgs
    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 MonitoredResourceTypeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MonitoredResourceTypeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MonitoredResourceTypeArgs
    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 monitoredResourceTypeResource = new Oci.StackMonitoring.MonitoredResourceType("monitoredResourceTypeResource", new()
    {
        CompartmentId = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        Description = "string",
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        Metadata = new Oci.StackMonitoring.Inputs.MonitoredResourceTypeMetadataArgs
        {
            Format = "string",
            AgentProperties = new[]
            {
                "string",
            },
            RequiredProperties = new[]
            {
                "string",
            },
            UniquePropertySets = new[]
            {
                new Oci.StackMonitoring.Inputs.MonitoredResourceTypeMetadataUniquePropertySetArgs
                {
                    Properties = new[]
                    {
                        "string",
                    },
                },
            },
            ValidPropertiesForCreates = new[]
            {
                "string",
            },
            ValidPropertiesForUpdates = new[]
            {
                "string",
            },
            ValidPropertyValues = 
            {
                { "string", "string" },
            },
            ValidSubResourceTypes = new[]
            {
                "string",
            },
        },
        MetricNamespace = "string",
        Name = "string",
        ResourceCategory = "string",
        SourceType = "string",
    });
    
    example, err := stackmonitoring.NewMonitoredResourceType(ctx, "monitoredResourceTypeResource", &stackmonitoring.MonitoredResourceTypeArgs{
    	CompartmentId: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Metadata: &stackmonitoring.MonitoredResourceTypeMetadataArgs{
    		Format: pulumi.String("string"),
    		AgentProperties: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		RequiredProperties: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		UniquePropertySets: stackmonitoring.MonitoredResourceTypeMetadataUniquePropertySetArray{
    			&stackmonitoring.MonitoredResourceTypeMetadataUniquePropertySetArgs{
    				Properties: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    		ValidPropertiesForCreates: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		ValidPropertiesForUpdates: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		ValidPropertyValues: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    		ValidSubResourceTypes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	MetricNamespace:  pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	ResourceCategory: pulumi.String("string"),
    	SourceType:       pulumi.String("string"),
    })
    
    var monitoredResourceTypeResource = new MonitoredResourceType("monitoredResourceTypeResource", MonitoredResourceTypeArgs.builder()
        .compartmentId("string")
        .definedTags(Map.of("string", "string"))
        .description("string")
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .metadata(MonitoredResourceTypeMetadataArgs.builder()
            .format("string")
            .agentProperties("string")
            .requiredProperties("string")
            .uniquePropertySets(MonitoredResourceTypeMetadataUniquePropertySetArgs.builder()
                .properties("string")
                .build())
            .validPropertiesForCreates("string")
            .validPropertiesForUpdates("string")
            .validPropertyValues(Map.of("string", "string"))
            .validSubResourceTypes("string")
            .build())
        .metricNamespace("string")
        .name("string")
        .resourceCategory("string")
        .sourceType("string")
        .build());
    
    monitored_resource_type_resource = oci.stack_monitoring.MonitoredResourceType("monitoredResourceTypeResource",
        compartment_id="string",
        defined_tags={
            "string": "string",
        },
        description="string",
        display_name="string",
        freeform_tags={
            "string": "string",
        },
        metadata={
            "format": "string",
            "agent_properties": ["string"],
            "required_properties": ["string"],
            "unique_property_sets": [{
                "properties": ["string"],
            }],
            "valid_properties_for_creates": ["string"],
            "valid_properties_for_updates": ["string"],
            "valid_property_values": {
                "string": "string",
            },
            "valid_sub_resource_types": ["string"],
        },
        metric_namespace="string",
        name="string",
        resource_category="string",
        source_type="string")
    
    const monitoredResourceTypeResource = new oci.stackmonitoring.MonitoredResourceType("monitoredResourceTypeResource", {
        compartmentId: "string",
        definedTags: {
            string: "string",
        },
        description: "string",
        displayName: "string",
        freeformTags: {
            string: "string",
        },
        metadata: {
            format: "string",
            agentProperties: ["string"],
            requiredProperties: ["string"],
            uniquePropertySets: [{
                properties: ["string"],
            }],
            validPropertiesForCreates: ["string"],
            validPropertiesForUpdates: ["string"],
            validPropertyValues: {
                string: "string",
            },
            validSubResourceTypes: ["string"],
        },
        metricNamespace: "string",
        name: "string",
        resourceCategory: "string",
        sourceType: "string",
    });
    
    type: oci:StackMonitoring:MonitoredResourceType
    properties:
        compartmentId: string
        definedTags:
            string: string
        description: string
        displayName: string
        freeformTags:
            string: string
        metadata:
            agentProperties:
                - string
            format: string
            requiredProperties:
                - string
            uniquePropertySets:
                - properties:
                    - string
            validPropertiesForCreates:
                - string
            validPropertiesForUpdates:
                - string
            validPropertyValues:
                string: string
            validSubResourceTypes:
                - string
        metricNamespace: string
        name: string
        resourceCategory: string
        sourceType: string
    

    MonitoredResourceType 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 MonitoredResourceType resource accepts the following input properties:

    CompartmentId string
    Compartment Identifier OCID.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A friendly description.
    DisplayName string
    (Updatable) Monitored resource type display name.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Metadata MonitoredResourceTypeMetadata
    (Updatable) The metadata details for resource type.
    MetricNamespace string
    (Updatable) Metric namespace for resource type.
    Name string
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    ResourceCategory string
    (Updatable) Resource Category to indicate the kind of resource type.
    SourceType string

    (Updatable) Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.

    ** 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

    CompartmentId string
    Compartment Identifier OCID.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A friendly description.
    DisplayName string
    (Updatable) Monitored resource type display name.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Metadata MonitoredResourceTypeMetadataArgs
    (Updatable) The metadata details for resource type.
    MetricNamespace string
    (Updatable) Metric namespace for resource type.
    Name string
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    ResourceCategory string
    (Updatable) Resource Category to indicate the kind of resource type.
    SourceType string

    (Updatable) Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.

    ** 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

    compartmentId String
    Compartment Identifier OCID.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A friendly description.
    displayName String
    (Updatable) Monitored resource type display name.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    metadata MonitoredResourceTypeMetadata
    (Updatable) The metadata details for resource type.
    metricNamespace String
    (Updatable) Metric namespace for resource type.
    name String
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    resourceCategory String
    (Updatable) Resource Category to indicate the kind of resource type.
    sourceType String

    (Updatable) Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.

    ** 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

    compartmentId string
    Compartment Identifier OCID.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) A friendly description.
    displayName string
    (Updatable) Monitored resource type display name.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    metadata MonitoredResourceTypeMetadata
    (Updatable) The metadata details for resource type.
    metricNamespace string
    (Updatable) Metric namespace for resource type.
    name string
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    resourceCategory string
    (Updatable) Resource Category to indicate the kind of resource type.
    sourceType string

    (Updatable) Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.

    ** 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

    compartment_id str
    Compartment Identifier OCID.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) A friendly description.
    display_name str
    (Updatable) Monitored resource type display name.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    metadata stackmonitoring.MonitoredResourceTypeMetadataArgs
    (Updatable) The metadata details for resource type.
    metric_namespace str
    (Updatable) Metric namespace for resource type.
    name str
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    resource_category str
    (Updatable) Resource Category to indicate the kind of resource type.
    source_type str

    (Updatable) Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.

    ** 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

    compartmentId String
    Compartment Identifier OCID.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A friendly description.
    displayName String
    (Updatable) Monitored resource type display name.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    metadata Property Map
    (Updatable) The metadata details for resource type.
    metricNamespace String
    (Updatable) Metric namespace for resource type.
    name String
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    resourceCategory String
    (Updatable) Resource Category to indicate the kind of resource type.
    sourceType String

    (Updatable) Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.

    ** 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 MonitoredResourceType resource produces the following output properties:

    AdditionalNamespaceMap Dictionary<string, string>
    Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
    AvailabilityMetricsConfigs List<MonitoredResourceTypeAvailabilityMetricsConfig>
    Availability metrics details.
    HandlerConfigs List<MonitoredResourceTypeHandlerConfig>
    Specific resource mapping configurations for Agent Extension Handlers.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsSystemDefined bool
    If boolean flag is true, then the resource type cannot be modified or deleted.
    State string
    Lifecycle state of the monitored resource type.
    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
    Tenancy Identifier OCID.
    TimeCreated string
    The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
    TimeUpdated string
    The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.
    AdditionalNamespaceMap map[string]string
    Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
    AvailabilityMetricsConfigs []MonitoredResourceTypeAvailabilityMetricsConfig
    Availability metrics details.
    HandlerConfigs []MonitoredResourceTypeHandlerConfig
    Specific resource mapping configurations for Agent Extension Handlers.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsSystemDefined bool
    If boolean flag is true, then the resource type cannot be modified or deleted.
    State string
    Lifecycle state of the monitored resource type.
    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
    Tenancy Identifier OCID.
    TimeCreated string
    The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
    TimeUpdated string
    The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.
    additionalNamespaceMap Map<String,String>
    Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
    availabilityMetricsConfigs List<MonitoredResourceTypeAvailabilityMetricsConfig>
    Availability metrics details.
    handlerConfigs List<MonitoredResourceTypeHandlerConfig>
    Specific resource mapping configurations for Agent Extension Handlers.
    id String
    The provider-assigned unique ID for this managed resource.
    isSystemDefined Boolean
    If boolean flag is true, then the resource type cannot be modified or deleted.
    state String
    Lifecycle state of the monitored resource type.
    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
    Tenancy Identifier OCID.
    timeCreated String
    The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
    timeUpdated String
    The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.
    additionalNamespaceMap {[key: string]: string}
    Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
    availabilityMetricsConfigs MonitoredResourceTypeAvailabilityMetricsConfig[]
    Availability metrics details.
    handlerConfigs MonitoredResourceTypeHandlerConfig[]
    Specific resource mapping configurations for Agent Extension Handlers.
    id string
    The provider-assigned unique ID for this managed resource.
    isSystemDefined boolean
    If boolean flag is true, then the resource type cannot be modified or deleted.
    state string
    Lifecycle state of the monitored resource type.
    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
    Tenancy Identifier OCID.
    timeCreated string
    The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
    timeUpdated string
    The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.
    additional_namespace_map Mapping[str, str]
    Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
    availability_metrics_configs Sequence[stackmonitoring.MonitoredResourceTypeAvailabilityMetricsConfig]
    Availability metrics details.
    handler_configs Sequence[stackmonitoring.MonitoredResourceTypeHandlerConfig]
    Specific resource mapping configurations for Agent Extension Handlers.
    id str
    The provider-assigned unique ID for this managed resource.
    is_system_defined bool
    If boolean flag is true, then the resource type cannot be modified or deleted.
    state str
    Lifecycle state of the monitored resource type.
    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
    Tenancy Identifier OCID.
    time_created str
    The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
    time_updated str
    The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.
    additionalNamespaceMap Map<String>
    Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
    availabilityMetricsConfigs List<Property Map>
    Availability metrics details.
    handlerConfigs List<Property Map>
    Specific resource mapping configurations for Agent Extension Handlers.
    id String
    The provider-assigned unique ID for this managed resource.
    isSystemDefined Boolean
    If boolean flag is true, then the resource type cannot be modified or deleted.
    state String
    Lifecycle state of the monitored resource type.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenancyId String
    Tenancy Identifier OCID.
    timeCreated String
    The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
    timeUpdated String
    The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.

    Look up Existing MonitoredResourceType Resource

    Get an existing MonitoredResourceType 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?: MonitoredResourceTypeState, opts?: CustomResourceOptions): MonitoredResourceType
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            additional_namespace_map: Optional[Mapping[str, str]] = None,
            availability_metrics_configs: Optional[Sequence[_stackmonitoring.MonitoredResourceTypeAvailabilityMetricsConfigArgs]] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            handler_configs: Optional[Sequence[_stackmonitoring.MonitoredResourceTypeHandlerConfigArgs]] = None,
            is_system_defined: Optional[bool] = None,
            metadata: Optional[_stackmonitoring.MonitoredResourceTypeMetadataArgs] = None,
            metric_namespace: Optional[str] = None,
            name: Optional[str] = None,
            resource_category: Optional[str] = None,
            source_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_updated: Optional[str] = None) -> MonitoredResourceType
    func GetMonitoredResourceType(ctx *Context, name string, id IDInput, state *MonitoredResourceTypeState, opts ...ResourceOption) (*MonitoredResourceType, error)
    public static MonitoredResourceType Get(string name, Input<string> id, MonitoredResourceTypeState? state, CustomResourceOptions? opts = null)
    public static MonitoredResourceType get(String name, Output<String> id, MonitoredResourceTypeState state, CustomResourceOptions options)
    resources:  _:    type: oci:StackMonitoring:MonitoredResourceType    get:      id: ${id}
    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:
    AdditionalNamespaceMap Dictionary<string, string>
    Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
    AvailabilityMetricsConfigs List<MonitoredResourceTypeAvailabilityMetricsConfig>
    Availability metrics details.
    CompartmentId string
    Compartment Identifier OCID.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A friendly description.
    DisplayName string
    (Updatable) Monitored resource type display name.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    HandlerConfigs List<MonitoredResourceTypeHandlerConfig>
    Specific resource mapping configurations for Agent Extension Handlers.
    IsSystemDefined bool
    If boolean flag is true, then the resource type cannot be modified or deleted.
    Metadata MonitoredResourceTypeMetadata
    (Updatable) The metadata details for resource type.
    MetricNamespace string
    (Updatable) Metric namespace for resource type.
    Name string
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    ResourceCategory string
    (Updatable) Resource Category to indicate the kind of resource type.
    SourceType string

    (Updatable) Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.

    ** 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
    Lifecycle state of the monitored resource type.
    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
    Tenancy Identifier OCID.
    TimeCreated string
    The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
    TimeUpdated string
    The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.
    AdditionalNamespaceMap map[string]string
    Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
    AvailabilityMetricsConfigs []MonitoredResourceTypeAvailabilityMetricsConfigArgs
    Availability metrics details.
    CompartmentId string
    Compartment Identifier OCID.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A friendly description.
    DisplayName string
    (Updatable) Monitored resource type display name.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    HandlerConfigs []MonitoredResourceTypeHandlerConfigArgs
    Specific resource mapping configurations for Agent Extension Handlers.
    IsSystemDefined bool
    If boolean flag is true, then the resource type cannot be modified or deleted.
    Metadata MonitoredResourceTypeMetadataArgs
    (Updatable) The metadata details for resource type.
    MetricNamespace string
    (Updatable) Metric namespace for resource type.
    Name string
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    ResourceCategory string
    (Updatable) Resource Category to indicate the kind of resource type.
    SourceType string

    (Updatable) Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.

    ** 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
    Lifecycle state of the monitored resource type.
    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
    Tenancy Identifier OCID.
    TimeCreated string
    The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
    TimeUpdated string
    The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.
    additionalNamespaceMap Map<String,String>
    Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
    availabilityMetricsConfigs List<MonitoredResourceTypeAvailabilityMetricsConfig>
    Availability metrics details.
    compartmentId String
    Compartment Identifier OCID.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A friendly description.
    displayName String
    (Updatable) Monitored resource type display name.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    handlerConfigs List<MonitoredResourceTypeHandlerConfig>
    Specific resource mapping configurations for Agent Extension Handlers.
    isSystemDefined Boolean
    If boolean flag is true, then the resource type cannot be modified or deleted.
    metadata MonitoredResourceTypeMetadata
    (Updatable) The metadata details for resource type.
    metricNamespace String
    (Updatable) Metric namespace for resource type.
    name String
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    resourceCategory String
    (Updatable) Resource Category to indicate the kind of resource type.
    sourceType String

    (Updatable) Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.

    ** 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
    Lifecycle state of the monitored resource type.
    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
    Tenancy Identifier OCID.
    timeCreated String
    The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
    timeUpdated String
    The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.
    additionalNamespaceMap {[key: string]: string}
    Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
    availabilityMetricsConfigs MonitoredResourceTypeAvailabilityMetricsConfig[]
    Availability metrics details.
    compartmentId string
    Compartment Identifier OCID.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) A friendly description.
    displayName string
    (Updatable) Monitored resource type display name.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    handlerConfigs MonitoredResourceTypeHandlerConfig[]
    Specific resource mapping configurations for Agent Extension Handlers.
    isSystemDefined boolean
    If boolean flag is true, then the resource type cannot be modified or deleted.
    metadata MonitoredResourceTypeMetadata
    (Updatable) The metadata details for resource type.
    metricNamespace string
    (Updatable) Metric namespace for resource type.
    name string
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    resourceCategory string
    (Updatable) Resource Category to indicate the kind of resource type.
    sourceType string

    (Updatable) Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.

    ** 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
    Lifecycle state of the monitored resource type.
    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
    Tenancy Identifier OCID.
    timeCreated string
    The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
    timeUpdated string
    The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.
    additional_namespace_map Mapping[str, str]
    Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
    availability_metrics_configs Sequence[stackmonitoring.MonitoredResourceTypeAvailabilityMetricsConfigArgs]
    Availability metrics details.
    compartment_id str
    Compartment Identifier OCID.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) A friendly description.
    display_name str
    (Updatable) Monitored resource type display name.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    handler_configs Sequence[stackmonitoring.MonitoredResourceTypeHandlerConfigArgs]
    Specific resource mapping configurations for Agent Extension Handlers.
    is_system_defined bool
    If boolean flag is true, then the resource type cannot be modified or deleted.
    metadata stackmonitoring.MonitoredResourceTypeMetadataArgs
    (Updatable) The metadata details for resource type.
    metric_namespace str
    (Updatable) Metric namespace for resource type.
    name str
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    resource_category str
    (Updatable) Resource Category to indicate the kind of resource type.
    source_type str

    (Updatable) Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.

    ** 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
    Lifecycle state of the monitored resource type.
    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
    Tenancy Identifier OCID.
    time_created str
    The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
    time_updated str
    The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.
    additionalNamespaceMap Map<String>
    Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
    availabilityMetricsConfigs List<Property Map>
    Availability metrics details.
    compartmentId String
    Compartment Identifier OCID.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A friendly description.
    displayName String
    (Updatable) Monitored resource type display name.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    handlerConfigs List<Property Map>
    Specific resource mapping configurations for Agent Extension Handlers.
    isSystemDefined Boolean
    If boolean flag is true, then the resource type cannot be modified or deleted.
    metadata Property Map
    (Updatable) The metadata details for resource type.
    metricNamespace String
    (Updatable) Metric namespace for resource type.
    name String
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    resourceCategory String
    (Updatable) Resource Category to indicate the kind of resource type.
    sourceType String

    (Updatable) Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.

    ** 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
    Lifecycle state of the monitored resource type.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenancyId String
    Tenancy Identifier OCID.
    timeCreated String
    The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
    timeUpdated String
    The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.

    Supporting Types

    MonitoredResourceTypeAvailabilityMetricsConfig, MonitoredResourceTypeAvailabilityMetricsConfigArgs

    CollectionIntervalInSeconds int
    Availability metric collection internal in seconds.
    Metrics List<string>
    List of metrics used for availability calculation for the resource.
    CollectionIntervalInSeconds int
    Availability metric collection internal in seconds.
    Metrics []string
    List of metrics used for availability calculation for the resource.
    collectionIntervalInSeconds Integer
    Availability metric collection internal in seconds.
    metrics List<String>
    List of metrics used for availability calculation for the resource.
    collectionIntervalInSeconds number
    Availability metric collection internal in seconds.
    metrics string[]
    List of metrics used for availability calculation for the resource.
    collection_interval_in_seconds int
    Availability metric collection internal in seconds.
    metrics Sequence[str]
    List of metrics used for availability calculation for the resource.
    collectionIntervalInSeconds Number
    Availability metric collection internal in seconds.
    metrics List<String>
    List of metrics used for availability calculation for the resource.

    MonitoredResourceTypeHandlerConfig, MonitoredResourceTypeHandlerConfigArgs

    CollectdResourceNameConfigs List<MonitoredResourceTypeHandlerConfigCollectdResourceNameConfig>
    Resource name generation overriding configurations for collectd resource types.
    CollectorTypes List<string>
    List of collector/plugin names.
    HandlerProperties List<MonitoredResourceTypeHandlerConfigHandlerProperty>
    List of handler configuration properties
    MetricMappings List<MonitoredResourceTypeHandlerConfigMetricMapping>
    List of AgentExtensionHandlerMetricMappingDetails.
    MetricNameConfigs List<MonitoredResourceTypeHandlerConfigMetricNameConfig>
    Metric name generation overriding configurations.
    MetricUploadIntervalInSeconds int
    Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
    TelegrafResourceNameConfigs List<MonitoredResourceTypeHandlerConfigTelegrafResourceNameConfig>
    Resource name generation overriding configurations for telegraf resource types.
    TelemetryResourceGroup string
    Resource group string; if not specified, the resource group string will be generated by the handler.
    CollectdResourceNameConfigs []MonitoredResourceTypeHandlerConfigCollectdResourceNameConfig
    Resource name generation overriding configurations for collectd resource types.
    CollectorTypes []string
    List of collector/plugin names.
    HandlerProperties []MonitoredResourceTypeHandlerConfigHandlerProperty
    List of handler configuration properties
    MetricMappings []MonitoredResourceTypeHandlerConfigMetricMapping
    List of AgentExtensionHandlerMetricMappingDetails.
    MetricNameConfigs []MonitoredResourceTypeHandlerConfigMetricNameConfig
    Metric name generation overriding configurations.
    MetricUploadIntervalInSeconds int
    Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
    TelegrafResourceNameConfigs []MonitoredResourceTypeHandlerConfigTelegrafResourceNameConfig
    Resource name generation overriding configurations for telegraf resource types.
    TelemetryResourceGroup string
    Resource group string; if not specified, the resource group string will be generated by the handler.
    collectdResourceNameConfigs List<MonitoredResourceTypeHandlerConfigCollectdResourceNameConfig>
    Resource name generation overriding configurations for collectd resource types.
    collectorTypes List<String>
    List of collector/plugin names.
    handlerProperties List<MonitoredResourceTypeHandlerConfigHandlerProperty>
    List of handler configuration properties
    metricMappings List<MonitoredResourceTypeHandlerConfigMetricMapping>
    List of AgentExtensionHandlerMetricMappingDetails.
    metricNameConfigs List<MonitoredResourceTypeHandlerConfigMetricNameConfig>
    Metric name generation overriding configurations.
    metricUploadIntervalInSeconds Integer
    Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
    telegrafResourceNameConfigs List<MonitoredResourceTypeHandlerConfigTelegrafResourceNameConfig>
    Resource name generation overriding configurations for telegraf resource types.
    telemetryResourceGroup String
    Resource group string; if not specified, the resource group string will be generated by the handler.
    collectdResourceNameConfigs MonitoredResourceTypeHandlerConfigCollectdResourceNameConfig[]
    Resource name generation overriding configurations for collectd resource types.
    collectorTypes string[]
    List of collector/plugin names.
    handlerProperties MonitoredResourceTypeHandlerConfigHandlerProperty[]
    List of handler configuration properties
    metricMappings MonitoredResourceTypeHandlerConfigMetricMapping[]
    List of AgentExtensionHandlerMetricMappingDetails.
    metricNameConfigs MonitoredResourceTypeHandlerConfigMetricNameConfig[]
    Metric name generation overriding configurations.
    metricUploadIntervalInSeconds number
    Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
    telegrafResourceNameConfigs MonitoredResourceTypeHandlerConfigTelegrafResourceNameConfig[]
    Resource name generation overriding configurations for telegraf resource types.
    telemetryResourceGroup string
    Resource group string; if not specified, the resource group string will be generated by the handler.
    collectd_resource_name_configs Sequence[stackmonitoring.MonitoredResourceTypeHandlerConfigCollectdResourceNameConfig]
    Resource name generation overriding configurations for collectd resource types.
    collector_types Sequence[str]
    List of collector/plugin names.
    handler_properties Sequence[stackmonitoring.MonitoredResourceTypeHandlerConfigHandlerProperty]
    List of handler configuration properties
    metric_mappings Sequence[stackmonitoring.MonitoredResourceTypeHandlerConfigMetricMapping]
    List of AgentExtensionHandlerMetricMappingDetails.
    metric_name_configs Sequence[stackmonitoring.MonitoredResourceTypeHandlerConfigMetricNameConfig]
    Metric name generation overriding configurations.
    metric_upload_interval_in_seconds int
    Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
    telegraf_resource_name_configs Sequence[stackmonitoring.MonitoredResourceTypeHandlerConfigTelegrafResourceNameConfig]
    Resource name generation overriding configurations for telegraf resource types.
    telemetry_resource_group str
    Resource group string; if not specified, the resource group string will be generated by the handler.
    collectdResourceNameConfigs List<Property Map>
    Resource name generation overriding configurations for collectd resource types.
    collectorTypes List<String>
    List of collector/plugin names.
    handlerProperties List<Property Map>
    List of handler configuration properties
    metricMappings List<Property Map>
    List of AgentExtensionHandlerMetricMappingDetails.
    metricNameConfigs List<Property Map>
    Metric name generation overriding configurations.
    metricUploadIntervalInSeconds Number
    Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
    telegrafResourceNameConfigs List<Property Map>
    Resource name generation overriding configurations for telegraf resource types.
    telemetryResourceGroup String
    Resource group string; if not specified, the resource group string will be generated by the handler.

    MonitoredResourceTypeHandlerConfigCollectdResourceNameConfig, MonitoredResourceTypeHandlerConfigCollectdResourceNameConfigArgs

    ExcludeProperties List<string>
    List of property names to be excluded.
    IncludeProperties List<string>
    List of property names to be included.
    Suffix string
    String to be suffixed to the resource name.
    ExcludeProperties []string
    List of property names to be excluded.
    IncludeProperties []string
    List of property names to be included.
    Suffix string
    String to be suffixed to the resource name.
    excludeProperties List<String>
    List of property names to be excluded.
    includeProperties List<String>
    List of property names to be included.
    suffix String
    String to be suffixed to the resource name.
    excludeProperties string[]
    List of property names to be excluded.
    includeProperties string[]
    List of property names to be included.
    suffix string
    String to be suffixed to the resource name.
    exclude_properties Sequence[str]
    List of property names to be excluded.
    include_properties Sequence[str]
    List of property names to be included.
    suffix str
    String to be suffixed to the resource name.
    excludeProperties List<String>
    List of property names to be excluded.
    includeProperties List<String>
    List of property names to be included.
    suffix String
    String to be suffixed to the resource name.

    MonitoredResourceTypeHandlerConfigHandlerProperty, MonitoredResourceTypeHandlerConfigHandlerPropertyArgs

    Name string
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    Value string
    Property value.
    Name string
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    Value string
    Property value.
    name String
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    value String
    Property value.
    name string
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    value string
    Property value.
    name str
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    value str
    Property value.
    name String
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    value String
    Property value.

    MonitoredResourceTypeHandlerConfigMetricMapping, MonitoredResourceTypeHandlerConfigMetricMappingArgs

    CollectorMetricName string
    Metric name as defined by the collector.
    IsSkipUpload bool
    Is ignoring this metric.
    MetricUploadIntervalInSeconds int
    Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
    TelemetryMetricName string
    Metric name to be upload to telemetry.
    CollectorMetricName string
    Metric name as defined by the collector.
    IsSkipUpload bool
    Is ignoring this metric.
    MetricUploadIntervalInSeconds int
    Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
    TelemetryMetricName string
    Metric name to be upload to telemetry.
    collectorMetricName String
    Metric name as defined by the collector.
    isSkipUpload Boolean
    Is ignoring this metric.
    metricUploadIntervalInSeconds Integer
    Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
    telemetryMetricName String
    Metric name to be upload to telemetry.
    collectorMetricName string
    Metric name as defined by the collector.
    isSkipUpload boolean
    Is ignoring this metric.
    metricUploadIntervalInSeconds number
    Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
    telemetryMetricName string
    Metric name to be upload to telemetry.
    collector_metric_name str
    Metric name as defined by the collector.
    is_skip_upload bool
    Is ignoring this metric.
    metric_upload_interval_in_seconds int
    Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
    telemetry_metric_name str
    Metric name to be upload to telemetry.
    collectorMetricName String
    Metric name as defined by the collector.
    isSkipUpload Boolean
    Is ignoring this metric.
    metricUploadIntervalInSeconds Number
    Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
    telemetryMetricName String
    Metric name to be upload to telemetry.

    MonitoredResourceTypeHandlerConfigMetricNameConfig, MonitoredResourceTypeHandlerConfigMetricNameConfigArgs

    ExcludePatternOnPrefix string
    String pattern to be removed from the prefix of the metric name.
    IsPrefixWithCollectorType bool
    is prefixing the metric with collector type.
    ExcludePatternOnPrefix string
    String pattern to be removed from the prefix of the metric name.
    IsPrefixWithCollectorType bool
    is prefixing the metric with collector type.
    excludePatternOnPrefix String
    String pattern to be removed from the prefix of the metric name.
    isPrefixWithCollectorType Boolean
    is prefixing the metric with collector type.
    excludePatternOnPrefix string
    String pattern to be removed from the prefix of the metric name.
    isPrefixWithCollectorType boolean
    is prefixing the metric with collector type.
    exclude_pattern_on_prefix str
    String pattern to be removed from the prefix of the metric name.
    is_prefix_with_collector_type bool
    is prefixing the metric with collector type.
    excludePatternOnPrefix String
    String pattern to be removed from the prefix of the metric name.
    isPrefixWithCollectorType Boolean
    is prefixing the metric with collector type.

    MonitoredResourceTypeHandlerConfigTelegrafResourceNameConfig, MonitoredResourceTypeHandlerConfigTelegrafResourceNameConfigArgs

    ExcludeTags List<string>
    List of tag names to be excluded.
    IncludeTags List<string>
    List of tag names to be included.
    IsUseTagsOnly bool
    Flag to indicate if only tags will be used for resource name generation.
    ExcludeTags []string
    List of tag names to be excluded.
    IncludeTags []string
    List of tag names to be included.
    IsUseTagsOnly bool
    Flag to indicate if only tags will be used for resource name generation.
    excludeTags List<String>
    List of tag names to be excluded.
    includeTags List<String>
    List of tag names to be included.
    isUseTagsOnly Boolean
    Flag to indicate if only tags will be used for resource name generation.
    excludeTags string[]
    List of tag names to be excluded.
    includeTags string[]
    List of tag names to be included.
    isUseTagsOnly boolean
    Flag to indicate if only tags will be used for resource name generation.
    exclude_tags Sequence[str]
    List of tag names to be excluded.
    include_tags Sequence[str]
    List of tag names to be included.
    is_use_tags_only bool
    Flag to indicate if only tags will be used for resource name generation.
    excludeTags List<String>
    List of tag names to be excluded.
    includeTags List<String>
    List of tag names to be included.
    isUseTagsOnly Boolean
    Flag to indicate if only tags will be used for resource name generation.

    MonitoredResourceTypeMetadata, MonitoredResourceTypeMetadataArgs

    Format string
    (Updatable) ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT.

    • SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format.
    AgentProperties List<string>
    (Updatable) List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update.
    RequiredProperties List<string>
    (Updatable) List of required properties for resource type.
    UniquePropertySets List<MonitoredResourceTypeMetadataUniquePropertySet>
    (Updatable) List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name.
    ValidPropertiesForCreates List<string>
    (Updatable) List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail.
    ValidPropertiesForUpdates List<string>
    (Updatable) List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail.
    ValidPropertyValues Dictionary<string, string>
    (Updatable) List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: { "osType": "Linux,Windows,Solaris"}
    ValidSubResourceTypes List<string>
    (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types
    Format string
    (Updatable) ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT.

    • SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format.
    AgentProperties []string
    (Updatable) List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update.
    RequiredProperties []string
    (Updatable) List of required properties for resource type.
    UniquePropertySets []MonitoredResourceTypeMetadataUniquePropertySet
    (Updatable) List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name.
    ValidPropertiesForCreates []string
    (Updatable) List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail.
    ValidPropertiesForUpdates []string
    (Updatable) List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail.
    ValidPropertyValues map[string]string
    (Updatable) List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: { "osType": "Linux,Windows,Solaris"}
    ValidSubResourceTypes []string
    (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types
    format String
    (Updatable) ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT.

    • SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format.
    agentProperties List<String>
    (Updatable) List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update.
    requiredProperties List<String>
    (Updatable) List of required properties for resource type.
    uniquePropertySets List<MonitoredResourceTypeMetadataUniquePropertySet>
    (Updatable) List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name.
    validPropertiesForCreates List<String>
    (Updatable) List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail.
    validPropertiesForUpdates List<String>
    (Updatable) List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail.
    validPropertyValues Map<String,String>
    (Updatable) List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: { "osType": "Linux,Windows,Solaris"}
    validSubResourceTypes List<String>
    (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types
    format string
    (Updatable) ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT.

    • SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format.
    agentProperties string[]
    (Updatable) List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update.
    requiredProperties string[]
    (Updatable) List of required properties for resource type.
    uniquePropertySets MonitoredResourceTypeMetadataUniquePropertySet[]
    (Updatable) List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name.
    validPropertiesForCreates string[]
    (Updatable) List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail.
    validPropertiesForUpdates string[]
    (Updatable) List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail.
    validPropertyValues {[key: string]: string}
    (Updatable) List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: { "osType": "Linux,Windows,Solaris"}
    validSubResourceTypes string[]
    (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types
    format str
    (Updatable) ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT.

    • SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format.
    agent_properties Sequence[str]
    (Updatable) List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update.
    required_properties Sequence[str]
    (Updatable) List of required properties for resource type.
    unique_property_sets Sequence[stackmonitoring.MonitoredResourceTypeMetadataUniquePropertySet]
    (Updatable) List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name.
    valid_properties_for_creates Sequence[str]
    (Updatable) List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail.
    valid_properties_for_updates Sequence[str]
    (Updatable) List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail.
    valid_property_values Mapping[str, str]
    (Updatable) List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: { "osType": "Linux,Windows,Solaris"}
    valid_sub_resource_types Sequence[str]
    (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types
    format String
    (Updatable) ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT.

    • SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format.
    agentProperties List<String>
    (Updatable) List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update.
    requiredProperties List<String>
    (Updatable) List of required properties for resource type.
    uniquePropertySets List<Property Map>
    (Updatable) List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name.
    validPropertiesForCreates List<String>
    (Updatable) List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail.
    validPropertiesForUpdates List<String>
    (Updatable) List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail.
    validPropertyValues Map<String>
    (Updatable) List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example: { "osType": "Linux,Windows,Solaris"}
    validSubResourceTypes List<String>
    (Updatable) List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types

    MonitoredResourceTypeMetadataUniquePropertySet, MonitoredResourceTypeMetadataUniquePropertySetArgs

    Properties List<string>
    (Updatable) List of properties.
    Properties []string
    (Updatable) List of properties.
    properties List<String>
    (Updatable) List of properties.
    properties string[]
    (Updatable) List of properties.
    properties Sequence[str]
    (Updatable) List of properties.
    properties List<String>
    (Updatable) List of properties.

    Import

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

    $ pulumi import oci:StackMonitoring/monitoredResourceType:MonitoredResourceType test_monitored_resource_type "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.32.0 published on Thursday, Apr 24, 2025 by Pulumi