oci.StackMonitoring.MonitoredResourceType
Explore with Pulumi AI
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[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.
- 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.
- 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
MonitoredResource Type Metadata 
- (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.
- 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.
- 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
MonitoredResource Type Metadata Args 
- (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.
- 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.
- 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
MonitoredResource Type Metadata 
- (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.
- {[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.
- {[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
MonitoredResource Type Metadata 
- (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.
- 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.
- 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
MonitoredResource Type Metadata Args 
- (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.
- 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.
- 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:
- AdditionalNamespace Dictionary<string, string>Map 
- Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
- AvailabilityMetrics List<MonitoredConfigs Resource Type Availability Metrics Config> 
- Availability metrics details.
- HandlerConfigs List<MonitoredResource Type Handler Config> 
- Specific resource mapping configurations for Agent Extension Handlers.
- Id string
- The provider-assigned unique ID for this managed resource.
- IsSystem boolDefined 
- If boolean flag is true, then the resource type cannot be modified or deleted.
- State string
- Lifecycle state of the monitored resource type.
- 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.
- AdditionalNamespace map[string]stringMap 
- Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
- AvailabilityMetrics []MonitoredConfigs Resource Type Availability Metrics Config 
- Availability metrics details.
- HandlerConfigs []MonitoredResource Type Handler Config 
- Specific resource mapping configurations for Agent Extension Handlers.
- Id string
- The provider-assigned unique ID for this managed resource.
- IsSystem boolDefined 
- If boolean flag is true, then the resource type cannot be modified or deleted.
- State string
- Lifecycle state of the monitored resource type.
- 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.
- additionalNamespace Map<String,String>Map 
- Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
- availabilityMetrics List<MonitoredConfigs Resource Type Availability Metrics Config> 
- Availability metrics details.
- handlerConfigs List<MonitoredResource Type Handler Config> 
- Specific resource mapping configurations for Agent Extension Handlers.
- id String
- The provider-assigned unique ID for this managed resource.
- isSystem BooleanDefined 
- If boolean flag is true, then the resource type cannot be modified or deleted.
- state String
- Lifecycle state of the monitored resource type.
- 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.
- additionalNamespace {[key: string]: string}Map 
- Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
- availabilityMetrics MonitoredConfigs Resource Type Availability Metrics Config[] 
- Availability metrics details.
- handlerConfigs MonitoredResource Type Handler Config[] 
- Specific resource mapping configurations for Agent Extension Handlers.
- id string
- The provider-assigned unique ID for this managed resource.
- isSystem booleanDefined 
- If boolean flag is true, then the resource type cannot be modified or deleted.
- state string
- Lifecycle state of the monitored resource type.
- {[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_ Mapping[str, str]map 
- Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
- availability_metrics_ Sequence[Monitoredconfigs Resource Type Availability Metrics Config] 
- Availability metrics details.
- handler_configs Sequence[MonitoredResource Type Handler Config] 
- Specific resource mapping configurations for Agent Extension Handlers.
- id str
- The provider-assigned unique ID for this managed resource.
- is_system_ booldefined 
- If boolean flag is true, then the resource type cannot be modified or deleted.
- state str
- Lifecycle state of the monitored resource type.
- 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.
- additionalNamespace Map<String>Map 
- Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
- availabilityMetrics List<Property Map>Configs 
- 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.
- isSystem BooleanDefined 
- If boolean flag is true, then the resource type cannot be modified or deleted.
- state String
- Lifecycle state of the monitored resource type.
- 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[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[MonitoredResourceTypeHandlerConfigArgs]] = None,
        is_system_defined: Optional[bool] = None,
        metadata: Optional[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) -> MonitoredResourceTypefunc 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.
- AdditionalNamespace Dictionary<string, string>Map 
- Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
- AvailabilityMetrics List<MonitoredConfigs Resource Type Availability Metrics Config> 
- Availability metrics details.
- CompartmentId string
- Compartment Identifier OCID.
- 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.
- 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<MonitoredResource Type Handler Config> 
- Specific resource mapping configurations for Agent Extension Handlers.
- IsSystem boolDefined 
- If boolean flag is true, then the resource type cannot be modified or deleted.
- Metadata
MonitoredResource Type Metadata 
- (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.
- 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.
- AdditionalNamespace map[string]stringMap 
- Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
- AvailabilityMetrics []MonitoredConfigs Resource Type Availability Metrics Config Args 
- Availability metrics details.
- CompartmentId string
- Compartment Identifier OCID.
- 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.
- 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 []MonitoredResource Type Handler Config Args 
- Specific resource mapping configurations for Agent Extension Handlers.
- IsSystem boolDefined 
- If boolean flag is true, then the resource type cannot be modified or deleted.
- Metadata
MonitoredResource Type Metadata Args 
- (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.
- 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.
- additionalNamespace Map<String,String>Map 
- Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
- availabilityMetrics List<MonitoredConfigs Resource Type Availability Metrics Config> 
- Availability metrics details.
- compartmentId String
- Compartment Identifier OCID.
- 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.
- 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<MonitoredResource Type Handler Config> 
- Specific resource mapping configurations for Agent Extension Handlers.
- isSystem BooleanDefined 
- If boolean flag is true, then the resource type cannot be modified or deleted.
- metadata
MonitoredResource Type Metadata 
- (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.
- 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.
- additionalNamespace {[key: string]: string}Map 
- Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
- availabilityMetrics MonitoredConfigs Resource Type Availability Metrics Config[] 
- Availability metrics details.
- compartmentId string
- Compartment Identifier OCID.
- {[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.
- {[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 MonitoredResource Type Handler Config[] 
- Specific resource mapping configurations for Agent Extension Handlers.
- isSystem booleanDefined 
- If boolean flag is true, then the resource type cannot be modified or deleted.
- metadata
MonitoredResource Type Metadata 
- (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.
- {[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_ Mapping[str, str]map 
- Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
- availability_metrics_ Sequence[Monitoredconfigs Resource Type Availability Metrics Config Args] 
- Availability metrics details.
- compartment_id str
- Compartment Identifier OCID.
- 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.
- 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[MonitoredResource Type Handler Config Args] 
- Specific resource mapping configurations for Agent Extension Handlers.
- is_system_ booldefined 
- If boolean flag is true, then the resource type cannot be modified or deleted.
- metadata
MonitoredResource Type Metadata Args 
- (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.
- 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.
- additionalNamespace Map<String>Map 
- Key/Value pair for additional namespaces used by stack monitoring services for SYSTEM (SMB) resource types.
- availabilityMetrics List<Property Map>Configs 
- Availability metrics details.
- compartmentId String
- Compartment Identifier OCID.
- 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.
- 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.
- isSystem BooleanDefined 
- 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.
- 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            
- CollectionInterval intIn Seconds 
- Availability metric collection internal in seconds.
- Metrics List<string>
- List of metrics used for availability calculation for the resource.
- CollectionInterval intIn Seconds 
- Availability metric collection internal in seconds.
- Metrics []string
- List of metrics used for availability calculation for the resource.
- collectionInterval IntegerIn Seconds 
- Availability metric collection internal in seconds.
- metrics List<String>
- List of metrics used for availability calculation for the resource.
- collectionInterval numberIn Seconds 
- Availability metric collection internal in seconds.
- metrics string[]
- List of metrics used for availability calculation for the resource.
- collection_interval_ intin_ seconds 
- Availability metric collection internal in seconds.
- metrics Sequence[str]
- List of metrics used for availability calculation for the resource.
- collectionInterval NumberIn Seconds 
- Availability metric collection internal in seconds.
- metrics List<String>
- List of metrics used for availability calculation for the resource.
MonitoredResourceTypeHandlerConfig, MonitoredResourceTypeHandlerConfigArgs          
- CollectdResource List<MonitoredName Configs Resource Type Handler Config Collectd Resource Name Config> 
- Resource name generation overriding configurations for collectd resource types.
- CollectorTypes List<string>
- List of collector/plugin names.
- HandlerProperties List<MonitoredResource Type Handler Config Handler Property> 
- List of handler configuration properties
- MetricMappings List<MonitoredResource Type Handler Config Metric Mapping> 
- List of AgentExtensionHandlerMetricMappingDetails.
- MetricName List<MonitoredConfigs Resource Type Handler Config Metric Name Config> 
- Metric name generation overriding configurations.
- MetricUpload intInterval In Seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- TelegrafResource List<MonitoredName Configs Resource Type Handler Config Telegraf Resource Name Config> 
- Resource name generation overriding configurations for telegraf resource types.
- TelemetryResource stringGroup 
- Resource group string; if not specified, the resource group string will be generated by the handler.
- CollectdResource []MonitoredName Configs Resource Type Handler Config Collectd Resource Name Config 
- Resource name generation overriding configurations for collectd resource types.
- CollectorTypes []string
- List of collector/plugin names.
- HandlerProperties []MonitoredResource Type Handler Config Handler Property 
- List of handler configuration properties
- MetricMappings []MonitoredResource Type Handler Config Metric Mapping 
- List of AgentExtensionHandlerMetricMappingDetails.
- MetricName []MonitoredConfigs Resource Type Handler Config Metric Name Config 
- Metric name generation overriding configurations.
- MetricUpload intInterval In Seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- TelegrafResource []MonitoredName Configs Resource Type Handler Config Telegraf Resource Name Config 
- Resource name generation overriding configurations for telegraf resource types.
- TelemetryResource stringGroup 
- Resource group string; if not specified, the resource group string will be generated by the handler.
- collectdResource List<MonitoredName Configs Resource Type Handler Config Collectd Resource Name Config> 
- Resource name generation overriding configurations for collectd resource types.
- collectorTypes List<String>
- List of collector/plugin names.
- handlerProperties List<MonitoredResource Type Handler Config Handler Property> 
- List of handler configuration properties
- metricMappings List<MonitoredResource Type Handler Config Metric Mapping> 
- List of AgentExtensionHandlerMetricMappingDetails.
- metricName List<MonitoredConfigs Resource Type Handler Config Metric Name Config> 
- Metric name generation overriding configurations.
- metricUpload IntegerInterval In Seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- telegrafResource List<MonitoredName Configs Resource Type Handler Config Telegraf Resource Name Config> 
- Resource name generation overriding configurations for telegraf resource types.
- telemetryResource StringGroup 
- Resource group string; if not specified, the resource group string will be generated by the handler.
- collectdResource MonitoredName Configs Resource Type Handler Config Collectd Resource Name Config[] 
- Resource name generation overriding configurations for collectd resource types.
- collectorTypes string[]
- List of collector/plugin names.
- handlerProperties MonitoredResource Type Handler Config Handler Property[] 
- List of handler configuration properties
- metricMappings MonitoredResource Type Handler Config Metric Mapping[] 
- List of AgentExtensionHandlerMetricMappingDetails.
- metricName MonitoredConfigs Resource Type Handler Config Metric Name Config[] 
- Metric name generation overriding configurations.
- metricUpload numberInterval In Seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- telegrafResource MonitoredName Configs Resource Type Handler Config Telegraf Resource Name Config[] 
- Resource name generation overriding configurations for telegraf resource types.
- telemetryResource stringGroup 
- Resource group string; if not specified, the resource group string will be generated by the handler.
- collectd_resource_ Sequence[Monitoredname_ configs Resource Type Handler Config Collectd Resource Name Config] 
- Resource name generation overriding configurations for collectd resource types.
- collector_types Sequence[str]
- List of collector/plugin names.
- handler_properties Sequence[MonitoredResource Type Handler Config Handler Property] 
- List of handler configuration properties
- metric_mappings Sequence[MonitoredResource Type Handler Config Metric Mapping] 
- List of AgentExtensionHandlerMetricMappingDetails.
- metric_name_ Sequence[Monitoredconfigs Resource Type Handler Config Metric Name Config] 
- Metric name generation overriding configurations.
- metric_upload_ intinterval_ in_ seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- telegraf_resource_ Sequence[Monitoredname_ configs Resource Type Handler Config Telegraf Resource Name Config] 
- Resource name generation overriding configurations for telegraf resource types.
- telemetry_resource_ strgroup 
- Resource group string; if not specified, the resource group string will be generated by the handler.
- collectdResource List<Property Map>Name Configs 
- 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.
- metricName List<Property Map>Configs 
- Metric name generation overriding configurations.
- metricUpload NumberInterval In Seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- telegrafResource List<Property Map>Name Configs 
- Resource name generation overriding configurations for telegraf resource types.
- telemetryResource StringGroup 
- 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              
MonitoredResourceTypeHandlerConfigMetricMapping, MonitoredResourceTypeHandlerConfigMetricMappingArgs              
- CollectorMetric stringName 
- Metric name as defined by the collector.
- IsSkip boolUpload 
- Is ignoring this metric.
- MetricUpload intInterval In Seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- TelemetryMetric stringName 
- Metric name to be upload to telemetry.
- CollectorMetric stringName 
- Metric name as defined by the collector.
- IsSkip boolUpload 
- Is ignoring this metric.
- MetricUpload intInterval In Seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- TelemetryMetric stringName 
- Metric name to be upload to telemetry.
- collectorMetric StringName 
- Metric name as defined by the collector.
- isSkip BooleanUpload 
- Is ignoring this metric.
- metricUpload IntegerInterval In Seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- telemetryMetric StringName 
- Metric name to be upload to telemetry.
- collectorMetric stringName 
- Metric name as defined by the collector.
- isSkip booleanUpload 
- Is ignoring this metric.
- metricUpload numberInterval In Seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- telemetryMetric stringName 
- Metric name to be upload to telemetry.
- collector_metric_ strname 
- Metric name as defined by the collector.
- is_skip_ boolupload 
- Is ignoring this metric.
- metric_upload_ intinterval_ in_ seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- telemetry_metric_ strname 
- Metric name to be upload to telemetry.
- collectorMetric StringName 
- Metric name as defined by the collector.
- isSkip BooleanUpload 
- Is ignoring this metric.
- metricUpload NumberInterval In Seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- telemetryMetric StringName 
- Metric name to be upload to telemetry.
MonitoredResourceTypeHandlerConfigMetricNameConfig, MonitoredResourceTypeHandlerConfigMetricNameConfigArgs                
- ExcludePattern stringOn Prefix 
- String pattern to be removed from the prefix of the metric name.
- IsPrefix boolWith Collector Type 
- is prefixing the metric with collector type.
- ExcludePattern stringOn Prefix 
- String pattern to be removed from the prefix of the metric name.
- IsPrefix boolWith Collector Type 
- is prefixing the metric with collector type.
- excludePattern StringOn Prefix 
- String pattern to be removed from the prefix of the metric name.
- isPrefix BooleanWith Collector Type 
- is prefixing the metric with collector type.
- excludePattern stringOn Prefix 
- String pattern to be removed from the prefix of the metric name.
- isPrefix booleanWith Collector Type 
- is prefixing the metric with collector type.
- exclude_pattern_ stron_ prefix 
- String pattern to be removed from the prefix of the metric name.
- is_prefix_ boolwith_ collector_ type 
- is prefixing the metric with collector type.
- excludePattern StringOn Prefix 
- String pattern to be removed from the prefix of the metric name.
- isPrefix BooleanWith Collector Type 
- is prefixing the metric with collector type.
MonitoredResourceTypeHandlerConfigTelegrafResourceNameConfig, MonitoredResourceTypeHandlerConfigTelegrafResourceNameConfigArgs                  
- List<string>
- List of tag names to be excluded.
- List<string>
- List of tag names to be included.
- bool
- Flag to indicate if only tags will be used for resource name generation.
- []string
- List of tag names to be excluded.
- []string
- List of tag names to be included.
- bool
- Flag to indicate if only tags will be used for resource name generation.
- List<String>
- List of tag names to be excluded.
- List<String>
- List of tag names to be included.
- Boolean
- Flag to indicate if only tags will be used for resource name generation.
- string[]
- List of tag names to be excluded.
- string[]
- List of tag names to be included.
- boolean
- Flag to indicate if only tags will be used for resource name generation.
- Sequence[str]
- List of tag names to be excluded.
- Sequence[str]
- List of tag names to be included.
- bool
- Flag to indicate if only tags will be used for resource name generation.
- List<String>
- List of tag names to be excluded.
- List<String>
- List of tag names to be included.
- 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.
- UniqueProperty List<MonitoredSets Resource Type Metadata Unique Property Set> 
- (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.
- ValidProperties List<string>For Creates 
- (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.
- ValidProperties List<string>For Updates 
- (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.
- ValidProperty Dictionary<string, string>Values 
- (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"}
- ValidSub List<string>Resource Types 
- (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.
- UniqueProperty []MonitoredSets Resource Type Metadata Unique Property Set 
- (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.
- ValidProperties []stringFor Creates 
- (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.
- ValidProperties []stringFor Updates 
- (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.
- ValidProperty map[string]stringValues 
- (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"}
- ValidSub []stringResource Types 
- (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.
- uniqueProperty List<MonitoredSets Resource Type Metadata Unique Property Set> 
- (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.
- validProperties List<String>For Creates 
- (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.
- validProperties List<String>For Updates 
- (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.
- validProperty Map<String,String>Values 
- (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"}
- validSub List<String>Resource Types 
- (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.
- uniqueProperty MonitoredSets Resource Type Metadata Unique Property Set[] 
- (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.
- validProperties string[]For Creates 
- (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.
- validProperties string[]For Updates 
- (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.
- validProperty {[key: string]: string}Values 
- (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"}
- validSub string[]Resource Types 
- (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_ Sequence[Monitoredsets Resource Type Metadata Unique Property Set] 
- (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_ Sequence[str]for_ creates 
- (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_ Sequence[str]for_ updates 
- (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_ Mapping[str, str]values 
- (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_ Sequence[str]resource_ types 
- (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.
- uniqueProperty List<Property Map>Sets 
- (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.
- validProperties List<String>For Creates 
- (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.
- validProperties List<String>For Updates 
- (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.
- validProperty Map<String>Values 
- (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"}
- validSub List<String>Resource Types 
- (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 ociTerraform Provider.