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

oci.StackMonitoring.getMonitoredResourceType

Explore with Pulumi AI

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

    This data source provides details about a specific Monitored Resource Type resource in Oracle Cloud Infrastructure Stack Monitoring service.

    Gets a monitored resource type by identifier OCID.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMonitoredResourceType = oci.StackMonitoring.getMonitoredResourceType({
        monitoredResourceTypeId: testMonitoredResourceTypeOciStackMonitoringMonitoredResourceType.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_monitored_resource_type = oci.StackMonitoring.get_monitored_resource_type(monitored_resource_type_id=test_monitored_resource_type_oci_stack_monitoring_monitored_resource_type["id"])
    
    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.GetMonitoredResourceType(ctx, &stackmonitoring.GetMonitoredResourceTypeArgs{
    			MonitoredResourceTypeId: testMonitoredResourceTypeOciStackMonitoringMonitoredResourceType.Id,
    		}, nil)
    		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 = Oci.StackMonitoring.GetMonitoredResourceType.Invoke(new()
        {
            MonitoredResourceTypeId = testMonitoredResourceTypeOciStackMonitoringMonitoredResourceType.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.StackMonitoring.StackMonitoringFunctions;
    import com.pulumi.oci.StackMonitoring.inputs.GetMonitoredResourceTypeArgs;
    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) {
            final var testMonitoredResourceType = StackMonitoringFunctions.getMonitoredResourceType(GetMonitoredResourceTypeArgs.builder()
                .monitoredResourceTypeId(testMonitoredResourceTypeOciStackMonitoringMonitoredResourceType.id())
                .build());
    
        }
    }
    
    variables:
      testMonitoredResourceType:
        fn::invoke:
          function: oci:StackMonitoring:getMonitoredResourceType
          arguments:
            monitoredResourceTypeId: ${testMonitoredResourceTypeOciStackMonitoringMonitoredResourceType.id}
    

    Using getMonitoredResourceType

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getMonitoredResourceType(args: GetMonitoredResourceTypeArgs, opts?: InvokeOptions): Promise<GetMonitoredResourceTypeResult>
    function getMonitoredResourceTypeOutput(args: GetMonitoredResourceTypeOutputArgs, opts?: InvokeOptions): Output<GetMonitoredResourceTypeResult>
    def get_monitored_resource_type(monitored_resource_type_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetMonitoredResourceTypeResult
    def get_monitored_resource_type_output(monitored_resource_type_id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetMonitoredResourceTypeResult]
    func GetMonitoredResourceType(ctx *Context, args *GetMonitoredResourceTypeArgs, opts ...InvokeOption) (*GetMonitoredResourceTypeResult, error)
    func GetMonitoredResourceTypeOutput(ctx *Context, args *GetMonitoredResourceTypeOutputArgs, opts ...InvokeOption) GetMonitoredResourceTypeResultOutput

    > Note: This function is named GetMonitoredResourceType in the Go SDK.

    public static class GetMonitoredResourceType 
    {
        public static Task<GetMonitoredResourceTypeResult> InvokeAsync(GetMonitoredResourceTypeArgs args, InvokeOptions? opts = null)
        public static Output<GetMonitoredResourceTypeResult> Invoke(GetMonitoredResourceTypeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMonitoredResourceTypeResult> getMonitoredResourceType(GetMonitoredResourceTypeArgs args, InvokeOptions options)
    public static Output<GetMonitoredResourceTypeResult> getMonitoredResourceType(GetMonitoredResourceTypeArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:StackMonitoring/getMonitoredResourceType:getMonitoredResourceType
      arguments:
        # arguments dictionary

    The following arguments are supported:

    MonitoredResourceTypeId string
    The OCID of monitored resource type.
    MonitoredResourceTypeId string
    The OCID of monitored resource type.
    monitoredResourceTypeId String
    The OCID of monitored resource type.
    monitoredResourceTypeId string
    The OCID of monitored resource type.
    monitored_resource_type_id str
    The OCID of monitored resource type.
    monitoredResourceTypeId String
    The OCID of monitored resource type.

    getMonitoredResourceType Result

    The following output properties are available:

    AdditionalNamespaceMap Dictionary<string, string>
    Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
    AvailabilityMetricsConfigs List<GetMonitoredResourceTypeAvailabilityMetricsConfig>
    Availability metrics details.
    CompartmentId string
    Compartment Identifier OCID.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    A friendly description.
    DisplayName string
    Monitored resource type display name.
    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"}
    HandlerConfigs List<GetMonitoredResourceTypeHandlerConfig>
    Specific resource mapping configurations for Agent Extension Handlers.
    Id string
    Monitored resource type identifier OCID.
    IsSystemDefined bool
    If boolean flag is true, then the resource type cannot be modified or deleted.
    Metadatas List<GetMonitoredResourceTypeMetadata>
    The metadata details for resource type.
    MetricNamespace string
    Metric namespace for resource type.
    MonitoredResourceTypeId string
    Name string
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    ResourceCategory string
    Resource Category to indicate the kind of resource type.
    SourceType string
    Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
    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 []GetMonitoredResourceTypeAvailabilityMetricsConfig
    Availability metrics details.
    CompartmentId string
    Compartment Identifier OCID.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    A friendly description.
    DisplayName string
    Monitored resource type display name.
    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"}
    HandlerConfigs []GetMonitoredResourceTypeHandlerConfig
    Specific resource mapping configurations for Agent Extension Handlers.
    Id string
    Monitored resource type identifier OCID.
    IsSystemDefined bool
    If boolean flag is true, then the resource type cannot be modified or deleted.
    Metadatas []GetMonitoredResourceTypeMetadata
    The metadata details for resource type.
    MetricNamespace string
    Metric namespace for resource type.
    MonitoredResourceTypeId string
    Name string
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    ResourceCategory string
    Resource Category to indicate the kind of resource type.
    SourceType string
    Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
    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<GetMonitoredResourceTypeAvailabilityMetricsConfig>
    Availability metrics details.
    compartmentId String
    Compartment Identifier OCID.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    A friendly description.
    displayName String
    Monitored resource type display name.
    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"}
    handlerConfigs List<GetMonitoredResourceTypeHandlerConfig>
    Specific resource mapping configurations for Agent Extension Handlers.
    id String
    Monitored resource type identifier OCID.
    isSystemDefined Boolean
    If boolean flag is true, then the resource type cannot be modified or deleted.
    metadatas List<GetMonitoredResourceTypeMetadata>
    The metadata details for resource type.
    metricNamespace String
    Metric namespace for resource type.
    monitoredResourceTypeId String
    name String
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    resourceCategory String
    Resource Category to indicate the kind of resource type.
    sourceType String
    Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
    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 GetMonitoredResourceTypeAvailabilityMetricsConfig[]
    Availability metrics details.
    compartmentId string
    Compartment Identifier OCID.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    A friendly description.
    displayName string
    Monitored resource type display name.
    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"}
    handlerConfigs GetMonitoredResourceTypeHandlerConfig[]
    Specific resource mapping configurations for Agent Extension Handlers.
    id string
    Monitored resource type identifier OCID.
    isSystemDefined boolean
    If boolean flag is true, then the resource type cannot be modified or deleted.
    metadatas GetMonitoredResourceTypeMetadata[]
    The metadata details for resource type.
    metricNamespace string
    Metric namespace for resource type.
    monitoredResourceTypeId string
    name string
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    resourceCategory string
    Resource Category to indicate the kind of resource type.
    sourceType string
    Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
    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.GetMonitoredResourceTypeAvailabilityMetricsConfig]
    Availability metrics details.
    compartment_id str
    Compartment Identifier OCID.
    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"}
    description str
    A friendly description.
    display_name str
    Monitored resource type display name.
    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"}
    handler_configs Sequence[stackmonitoring.GetMonitoredResourceTypeHandlerConfig]
    Specific resource mapping configurations for Agent Extension Handlers.
    id str
    Monitored resource type identifier OCID.
    is_system_defined bool
    If boolean flag is true, then the resource type cannot be modified or deleted.
    metadatas Sequence[stackmonitoring.GetMonitoredResourceTypeMetadata]
    The metadata details for resource type.
    metric_namespace str
    Metric namespace for resource type.
    monitored_resource_type_id str
    name str
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    resource_category str
    Resource Category to indicate the kind of resource type.
    source_type str
    Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
    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>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    A friendly description.
    displayName String
    Monitored resource type display name.
    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"}
    handlerConfigs List<Property Map>
    Specific resource mapping configurations for Agent Extension Handlers.
    id String
    Monitored resource type identifier OCID.
    isSystemDefined Boolean
    If boolean flag is true, then the resource type cannot be modified or deleted.
    metadatas List<Property Map>
    The metadata details for resource type.
    metricNamespace String
    Metric namespace for resource type.
    monitoredResourceTypeId String
    name String
    A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
    resourceCategory String
    Resource Category to indicate the kind of resource type.
    sourceType String
    Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
    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

    GetMonitoredResourceTypeAvailabilityMetricsConfig

    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.

    GetMonitoredResourceTypeHandlerConfig

    CollectdResourceNameConfigs List<GetMonitoredResourceTypeHandlerConfigCollectdResourceNameConfig>
    Resource name generation overriding configurations for collectd resource types.
    CollectorTypes List<string>
    List of collector/plugin names.
    HandlerProperties List<GetMonitoredResourceTypeHandlerConfigHandlerProperty>
    List of handler configuration properties
    MetricMappings List<GetMonitoredResourceTypeHandlerConfigMetricMapping>
    List of AgentExtensionHandlerMetricMappingDetails.
    MetricNameConfigs List<GetMonitoredResourceTypeHandlerConfigMetricNameConfig>
    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<GetMonitoredResourceTypeHandlerConfigTelegrafResourceNameConfig>
    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 []GetMonitoredResourceTypeHandlerConfigCollectdResourceNameConfig
    Resource name generation overriding configurations for collectd resource types.
    CollectorTypes []string
    List of collector/plugin names.
    HandlerProperties []GetMonitoredResourceTypeHandlerConfigHandlerProperty
    List of handler configuration properties
    MetricMappings []GetMonitoredResourceTypeHandlerConfigMetricMapping
    List of AgentExtensionHandlerMetricMappingDetails.
    MetricNameConfigs []GetMonitoredResourceTypeHandlerConfigMetricNameConfig
    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 []GetMonitoredResourceTypeHandlerConfigTelegrafResourceNameConfig
    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<GetMonitoredResourceTypeHandlerConfigCollectdResourceNameConfig>
    Resource name generation overriding configurations for collectd resource types.
    collectorTypes List<String>
    List of collector/plugin names.
    handlerProperties List<GetMonitoredResourceTypeHandlerConfigHandlerProperty>
    List of handler configuration properties
    metricMappings List<GetMonitoredResourceTypeHandlerConfigMetricMapping>
    List of AgentExtensionHandlerMetricMappingDetails.
    metricNameConfigs List<GetMonitoredResourceTypeHandlerConfigMetricNameConfig>
    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<GetMonitoredResourceTypeHandlerConfigTelegrafResourceNameConfig>
    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 GetMonitoredResourceTypeHandlerConfigCollectdResourceNameConfig[]
    Resource name generation overriding configurations for collectd resource types.
    collectorTypes string[]
    List of collector/plugin names.
    handlerProperties GetMonitoredResourceTypeHandlerConfigHandlerProperty[]
    List of handler configuration properties
    metricMappings GetMonitoredResourceTypeHandlerConfigMetricMapping[]
    List of AgentExtensionHandlerMetricMappingDetails.
    metricNameConfigs GetMonitoredResourceTypeHandlerConfigMetricNameConfig[]
    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 GetMonitoredResourceTypeHandlerConfigTelegrafResourceNameConfig[]
    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.GetMonitoredResourceTypeHandlerConfigCollectdResourceNameConfig]
    Resource name generation overriding configurations for collectd resource types.
    collector_types Sequence[str]
    List of collector/plugin names.
    handler_properties Sequence[stackmonitoring.GetMonitoredResourceTypeHandlerConfigHandlerProperty]
    List of handler configuration properties
    metric_mappings Sequence[stackmonitoring.GetMonitoredResourceTypeHandlerConfigMetricMapping]
    List of AgentExtensionHandlerMetricMappingDetails.
    metric_name_configs Sequence[stackmonitoring.GetMonitoredResourceTypeHandlerConfigMetricNameConfig]
    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.GetMonitoredResourceTypeHandlerConfigTelegrafResourceNameConfig]
    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.

    GetMonitoredResourceTypeHandlerConfigCollectdResourceNameConfig

    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.

    GetMonitoredResourceTypeHandlerConfigHandlerProperty

    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.

    GetMonitoredResourceTypeHandlerConfigMetricMapping

    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.

    GetMonitoredResourceTypeHandlerConfigMetricNameConfig

    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.

    GetMonitoredResourceTypeHandlerConfigTelegrafResourceNameConfig

    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.

    GetMonitoredResourceTypeMetadata

    AgentProperties List<string>
    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.
    Format string
    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.
    RequiredProperties List<string>
    List of required properties for resource type.
    UniquePropertySets List<GetMonitoredResourceTypeMetadataUniquePropertySet>
    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>
    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>
    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>
    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", "osVersion": "v6.0,v7.0"}
    ValidSubResourceTypes List<string>
    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
    AgentProperties []string
    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.
    Format string
    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.
    RequiredProperties []string
    List of required properties for resource type.
    UniquePropertySets []GetMonitoredResourceTypeMetadataUniquePropertySet
    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
    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
    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
    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", "osVersion": "v6.0,v7.0"}
    ValidSubResourceTypes []string
    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
    agentProperties List<String>
    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.
    format String
    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.
    requiredProperties List<String>
    List of required properties for resource type.
    uniquePropertySets List<GetMonitoredResourceTypeMetadataUniquePropertySet>
    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>
    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>
    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>
    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", "osVersion": "v6.0,v7.0"}
    validSubResourceTypes List<String>
    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
    agentProperties string[]
    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.
    format string
    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.
    requiredProperties string[]
    List of required properties for resource type.
    uniquePropertySets GetMonitoredResourceTypeMetadataUniquePropertySet[]
    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[]
    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[]
    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}
    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", "osVersion": "v6.0,v7.0"}
    validSubResourceTypes string[]
    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
    agent_properties Sequence[str]
    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.
    format str
    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.
    required_properties Sequence[str]
    List of required properties for resource type.
    unique_property_sets Sequence[stackmonitoring.GetMonitoredResourceTypeMetadataUniquePropertySet]
    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]
    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]
    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]
    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", "osVersion": "v6.0,v7.0"}
    valid_sub_resource_types Sequence[str]
    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
    agentProperties List<String>
    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.
    format String
    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.
    requiredProperties List<String>
    List of required properties for resource type.
    uniquePropertySets List<Property Map>
    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>
    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>
    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>
    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", "osVersion": "v6.0,v7.0"}
    validSubResourceTypes List<String>
    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

    GetMonitoredResourceTypeMetadataUniquePropertySet

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

    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