oci.StackMonitoring.MetricExtension
Explore with Pulumi AI
This resource provides the Metric Extension resource in Oracle Cloud Infrastructure Stack Monitoring service.
Creates a new metric extension resource for a given compartment
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMetricExtension = new oci.stackmonitoring.MetricExtension("test_metric_extension", {
    collectionRecurrences: metricExtensionCollectionRecurrences,
    compartmentId: compartmentId,
    displayName: metricExtensionDisplayName,
    metricLists: [{
        dataType: metricExtensionMetricListDataType,
        name: metricExtensionMetricListName,
        computeExpression: metricExtensionMetricListComputeExpression,
        displayName: metricExtensionMetricListDisplayName,
        isDimension: metricExtensionMetricListIsDimension,
        isHidden: metricExtensionMetricListIsHidden,
        metricCategory: metricExtensionMetricListMetricCategory,
        unit: metricExtensionMetricListUnit,
    }],
    name: metricExtensionName,
    queryProperties: {
        collectionMethod: metricExtensionQueryPropertiesCollectionMethod,
        arguments: metricExtensionQueryPropertiesArguments,
        autoRowPrefix: metricExtensionQueryPropertiesAutoRowPrefix,
        command: metricExtensionQueryPropertiesCommand,
        delimiter: metricExtensionQueryPropertiesDelimiter,
        identityMetric: metricExtensionQueryPropertiesIdentityMetric,
        inParamDetails: [{
            inParamPosition: metricExtensionQueryPropertiesInParamDetailsInParamPosition,
            inParamValue: metricExtensionQueryPropertiesInParamDetailsInParamValue,
        }],
        isMetricServiceEnabled: metricExtensionQueryPropertiesIsMetricServiceEnabled,
        jmxAttributes: metricExtensionQueryPropertiesJmxAttributes,
        managedBeanQuery: metricExtensionQueryPropertiesManagedBeanQuery,
        outParamDetails: {
            outParamName: metricExtensionQueryPropertiesOutParamDetailsOutParamName,
            outParamPosition: metricExtensionQueryPropertiesOutParamDetailsOutParamPosition,
            outParamType: metricExtensionQueryPropertiesOutParamDetailsOutParamType,
        },
        protocolType: metricExtensionQueryPropertiesProtocolType,
        responseContentType: metricExtensionQueryPropertiesResponseContentType,
        scriptDetails: {
            content: metricExtensionQueryPropertiesScriptDetailsContent,
            name: metricExtensionQueryPropertiesScriptDetailsName,
        },
        sqlDetails: {
            content: metricExtensionQueryPropertiesSqlDetailsContent,
            scriptFileName: metricExtensionQueryPropertiesSqlDetailsScriptFileName,
        },
        sqlType: metricExtensionQueryPropertiesSqlType,
        startsWith: metricExtensionQueryPropertiesStartsWith,
        url: metricExtensionQueryPropertiesUrl,
    },
    resourceType: metricExtensionResourceType,
    description: metricExtensionDescription,
});
import pulumi
import pulumi_oci as oci
test_metric_extension = oci.stack_monitoring.MetricExtension("test_metric_extension",
    collection_recurrences=metric_extension_collection_recurrences,
    compartment_id=compartment_id,
    display_name=metric_extension_display_name,
    metric_lists=[{
        "data_type": metric_extension_metric_list_data_type,
        "name": metric_extension_metric_list_name,
        "compute_expression": metric_extension_metric_list_compute_expression,
        "display_name": metric_extension_metric_list_display_name,
        "is_dimension": metric_extension_metric_list_is_dimension,
        "is_hidden": metric_extension_metric_list_is_hidden,
        "metric_category": metric_extension_metric_list_metric_category,
        "unit": metric_extension_metric_list_unit,
    }],
    name=metric_extension_name,
    query_properties={
        "collection_method": metric_extension_query_properties_collection_method,
        "arguments": metric_extension_query_properties_arguments,
        "auto_row_prefix": metric_extension_query_properties_auto_row_prefix,
        "command": metric_extension_query_properties_command,
        "delimiter": metric_extension_query_properties_delimiter,
        "identity_metric": metric_extension_query_properties_identity_metric,
        "in_param_details": [{
            "in_param_position": metric_extension_query_properties_in_param_details_in_param_position,
            "in_param_value": metric_extension_query_properties_in_param_details_in_param_value,
        }],
        "is_metric_service_enabled": metric_extension_query_properties_is_metric_service_enabled,
        "jmx_attributes": metric_extension_query_properties_jmx_attributes,
        "managed_bean_query": metric_extension_query_properties_managed_bean_query,
        "out_param_details": {
            "out_param_name": metric_extension_query_properties_out_param_details_out_param_name,
            "out_param_position": metric_extension_query_properties_out_param_details_out_param_position,
            "out_param_type": metric_extension_query_properties_out_param_details_out_param_type,
        },
        "protocol_type": metric_extension_query_properties_protocol_type,
        "response_content_type": metric_extension_query_properties_response_content_type,
        "script_details": {
            "content": metric_extension_query_properties_script_details_content,
            "name": metric_extension_query_properties_script_details_name,
        },
        "sql_details": {
            "content": metric_extension_query_properties_sql_details_content,
            "script_file_name": metric_extension_query_properties_sql_details_script_file_name,
        },
        "sql_type": metric_extension_query_properties_sql_type,
        "starts_with": metric_extension_query_properties_starts_with,
        "url": metric_extension_query_properties_url,
    },
    resource_type=metric_extension_resource_type,
    description=metric_extension_description)
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.NewMetricExtension(ctx, "test_metric_extension", &stackmonitoring.MetricExtensionArgs{
			CollectionRecurrences: pulumi.Any(metricExtensionCollectionRecurrences),
			CompartmentId:         pulumi.Any(compartmentId),
			DisplayName:           pulumi.Any(metricExtensionDisplayName),
			MetricLists: stackmonitoring.MetricExtensionMetricListArray{
				&stackmonitoring.MetricExtensionMetricListArgs{
					DataType:          pulumi.Any(metricExtensionMetricListDataType),
					Name:              pulumi.Any(metricExtensionMetricListName),
					ComputeExpression: pulumi.Any(metricExtensionMetricListComputeExpression),
					DisplayName:       pulumi.Any(metricExtensionMetricListDisplayName),
					IsDimension:       pulumi.Any(metricExtensionMetricListIsDimension),
					IsHidden:          pulumi.Any(metricExtensionMetricListIsHidden),
					MetricCategory:    pulumi.Any(metricExtensionMetricListMetricCategory),
					Unit:              pulumi.Any(metricExtensionMetricListUnit),
				},
			},
			Name: pulumi.Any(metricExtensionName),
			QueryProperties: &stackmonitoring.MetricExtensionQueryPropertiesArgs{
				CollectionMethod: pulumi.Any(metricExtensionQueryPropertiesCollectionMethod),
				Arguments:        pulumi.Any(metricExtensionQueryPropertiesArguments),
				AutoRowPrefix:    pulumi.Any(metricExtensionQueryPropertiesAutoRowPrefix),
				Command:          pulumi.Any(metricExtensionQueryPropertiesCommand),
				Delimiter:        pulumi.Any(metricExtensionQueryPropertiesDelimiter),
				IdentityMetric:   pulumi.Any(metricExtensionQueryPropertiesIdentityMetric),
				InParamDetails: stackmonitoring.MetricExtensionQueryPropertiesInParamDetailArray{
					&stackmonitoring.MetricExtensionQueryPropertiesInParamDetailArgs{
						InParamPosition: pulumi.Any(metricExtensionQueryPropertiesInParamDetailsInParamPosition),
						InParamValue:    pulumi.Any(metricExtensionQueryPropertiesInParamDetailsInParamValue),
					},
				},
				IsMetricServiceEnabled: pulumi.Any(metricExtensionQueryPropertiesIsMetricServiceEnabled),
				JmxAttributes:          pulumi.Any(metricExtensionQueryPropertiesJmxAttributes),
				ManagedBeanQuery:       pulumi.Any(metricExtensionQueryPropertiesManagedBeanQuery),
				OutParamDetails: &stackmonitoring.MetricExtensionQueryPropertiesOutParamDetailsArgs{
					OutParamName:     pulumi.Any(metricExtensionQueryPropertiesOutParamDetailsOutParamName),
					OutParamPosition: pulumi.Any(metricExtensionQueryPropertiesOutParamDetailsOutParamPosition),
					OutParamType:     pulumi.Any(metricExtensionQueryPropertiesOutParamDetailsOutParamType),
				},
				ProtocolType:        pulumi.Any(metricExtensionQueryPropertiesProtocolType),
				ResponseContentType: pulumi.Any(metricExtensionQueryPropertiesResponseContentType),
				ScriptDetails: &stackmonitoring.MetricExtensionQueryPropertiesScriptDetailsArgs{
					Content: pulumi.Any(metricExtensionQueryPropertiesScriptDetailsContent),
					Name:    pulumi.Any(metricExtensionQueryPropertiesScriptDetailsName),
				},
				SqlDetails: &stackmonitoring.MetricExtensionQueryPropertiesSqlDetailsArgs{
					Content:        pulumi.Any(metricExtensionQueryPropertiesSqlDetailsContent),
					ScriptFileName: pulumi.Any(metricExtensionQueryPropertiesSqlDetailsScriptFileName),
				},
				SqlType:    pulumi.Any(metricExtensionQueryPropertiesSqlType),
				StartsWith: pulumi.Any(metricExtensionQueryPropertiesStartsWith),
				Url:        pulumi.Any(metricExtensionQueryPropertiesUrl),
			},
			ResourceType: pulumi.Any(metricExtensionResourceType),
			Description:  pulumi.Any(metricExtensionDescription),
		})
		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 testMetricExtension = new Oci.StackMonitoring.MetricExtension("test_metric_extension", new()
    {
        CollectionRecurrences = metricExtensionCollectionRecurrences,
        CompartmentId = compartmentId,
        DisplayName = metricExtensionDisplayName,
        MetricLists = new[]
        {
            new Oci.StackMonitoring.Inputs.MetricExtensionMetricListArgs
            {
                DataType = metricExtensionMetricListDataType,
                Name = metricExtensionMetricListName,
                ComputeExpression = metricExtensionMetricListComputeExpression,
                DisplayName = metricExtensionMetricListDisplayName,
                IsDimension = metricExtensionMetricListIsDimension,
                IsHidden = metricExtensionMetricListIsHidden,
                MetricCategory = metricExtensionMetricListMetricCategory,
                Unit = metricExtensionMetricListUnit,
            },
        },
        Name = metricExtensionName,
        QueryProperties = new Oci.StackMonitoring.Inputs.MetricExtensionQueryPropertiesArgs
        {
            CollectionMethod = metricExtensionQueryPropertiesCollectionMethod,
            Arguments = metricExtensionQueryPropertiesArguments,
            AutoRowPrefix = metricExtensionQueryPropertiesAutoRowPrefix,
            Command = metricExtensionQueryPropertiesCommand,
            Delimiter = metricExtensionQueryPropertiesDelimiter,
            IdentityMetric = metricExtensionQueryPropertiesIdentityMetric,
            InParamDetails = new[]
            {
                new Oci.StackMonitoring.Inputs.MetricExtensionQueryPropertiesInParamDetailArgs
                {
                    InParamPosition = metricExtensionQueryPropertiesInParamDetailsInParamPosition,
                    InParamValue = metricExtensionQueryPropertiesInParamDetailsInParamValue,
                },
            },
            IsMetricServiceEnabled = metricExtensionQueryPropertiesIsMetricServiceEnabled,
            JmxAttributes = metricExtensionQueryPropertiesJmxAttributes,
            ManagedBeanQuery = metricExtensionQueryPropertiesManagedBeanQuery,
            OutParamDetails = new Oci.StackMonitoring.Inputs.MetricExtensionQueryPropertiesOutParamDetailsArgs
            {
                OutParamName = metricExtensionQueryPropertiesOutParamDetailsOutParamName,
                OutParamPosition = metricExtensionQueryPropertiesOutParamDetailsOutParamPosition,
                OutParamType = metricExtensionQueryPropertiesOutParamDetailsOutParamType,
            },
            ProtocolType = metricExtensionQueryPropertiesProtocolType,
            ResponseContentType = metricExtensionQueryPropertiesResponseContentType,
            ScriptDetails = new Oci.StackMonitoring.Inputs.MetricExtensionQueryPropertiesScriptDetailsArgs
            {
                Content = metricExtensionQueryPropertiesScriptDetailsContent,
                Name = metricExtensionQueryPropertiesScriptDetailsName,
            },
            SqlDetails = new Oci.StackMonitoring.Inputs.MetricExtensionQueryPropertiesSqlDetailsArgs
            {
                Content = metricExtensionQueryPropertiesSqlDetailsContent,
                ScriptFileName = metricExtensionQueryPropertiesSqlDetailsScriptFileName,
            },
            SqlType = metricExtensionQueryPropertiesSqlType,
            StartsWith = metricExtensionQueryPropertiesStartsWith,
            Url = metricExtensionQueryPropertiesUrl,
        },
        ResourceType = metricExtensionResourceType,
        Description = metricExtensionDescription,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.StackMonitoring.MetricExtension;
import com.pulumi.oci.StackMonitoring.MetricExtensionArgs;
import com.pulumi.oci.StackMonitoring.inputs.MetricExtensionMetricListArgs;
import com.pulumi.oci.StackMonitoring.inputs.MetricExtensionQueryPropertiesArgs;
import com.pulumi.oci.StackMonitoring.inputs.MetricExtensionQueryPropertiesOutParamDetailsArgs;
import com.pulumi.oci.StackMonitoring.inputs.MetricExtensionQueryPropertiesScriptDetailsArgs;
import com.pulumi.oci.StackMonitoring.inputs.MetricExtensionQueryPropertiesSqlDetailsArgs;
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 testMetricExtension = new MetricExtension("testMetricExtension", MetricExtensionArgs.builder()
            .collectionRecurrences(metricExtensionCollectionRecurrences)
            .compartmentId(compartmentId)
            .displayName(metricExtensionDisplayName)
            .metricLists(MetricExtensionMetricListArgs.builder()
                .dataType(metricExtensionMetricListDataType)
                .name(metricExtensionMetricListName)
                .computeExpression(metricExtensionMetricListComputeExpression)
                .displayName(metricExtensionMetricListDisplayName)
                .isDimension(metricExtensionMetricListIsDimension)
                .isHidden(metricExtensionMetricListIsHidden)
                .metricCategory(metricExtensionMetricListMetricCategory)
                .unit(metricExtensionMetricListUnit)
                .build())
            .name(metricExtensionName)
            .queryProperties(MetricExtensionQueryPropertiesArgs.builder()
                .collectionMethod(metricExtensionQueryPropertiesCollectionMethod)
                .arguments(metricExtensionQueryPropertiesArguments)
                .autoRowPrefix(metricExtensionQueryPropertiesAutoRowPrefix)
                .command(metricExtensionQueryPropertiesCommand)
                .delimiter(metricExtensionQueryPropertiesDelimiter)
                .identityMetric(metricExtensionQueryPropertiesIdentityMetric)
                .inParamDetails(MetricExtensionQueryPropertiesInParamDetailArgs.builder()
                    .inParamPosition(metricExtensionQueryPropertiesInParamDetailsInParamPosition)
                    .inParamValue(metricExtensionQueryPropertiesInParamDetailsInParamValue)
                    .build())
                .isMetricServiceEnabled(metricExtensionQueryPropertiesIsMetricServiceEnabled)
                .jmxAttributes(metricExtensionQueryPropertiesJmxAttributes)
                .managedBeanQuery(metricExtensionQueryPropertiesManagedBeanQuery)
                .outParamDetails(MetricExtensionQueryPropertiesOutParamDetailsArgs.builder()
                    .outParamName(metricExtensionQueryPropertiesOutParamDetailsOutParamName)
                    .outParamPosition(metricExtensionQueryPropertiesOutParamDetailsOutParamPosition)
                    .outParamType(metricExtensionQueryPropertiesOutParamDetailsOutParamType)
                    .build())
                .protocolType(metricExtensionQueryPropertiesProtocolType)
                .responseContentType(metricExtensionQueryPropertiesResponseContentType)
                .scriptDetails(MetricExtensionQueryPropertiesScriptDetailsArgs.builder()
                    .content(metricExtensionQueryPropertiesScriptDetailsContent)
                    .name(metricExtensionQueryPropertiesScriptDetailsName)
                    .build())
                .sqlDetails(MetricExtensionQueryPropertiesSqlDetailsArgs.builder()
                    .content(metricExtensionQueryPropertiesSqlDetailsContent)
                    .scriptFileName(metricExtensionQueryPropertiesSqlDetailsScriptFileName)
                    .build())
                .sqlType(metricExtensionQueryPropertiesSqlType)
                .startsWith(metricExtensionQueryPropertiesStartsWith)
                .url(metricExtensionQueryPropertiesUrl)
                .build())
            .resourceType(metricExtensionResourceType)
            .description(metricExtensionDescription)
            .build());
    }
}
resources:
  testMetricExtension:
    type: oci:StackMonitoring:MetricExtension
    name: test_metric_extension
    properties:
      collectionRecurrences: ${metricExtensionCollectionRecurrences}
      compartmentId: ${compartmentId}
      displayName: ${metricExtensionDisplayName}
      metricLists:
        - dataType: ${metricExtensionMetricListDataType}
          name: ${metricExtensionMetricListName}
          computeExpression: ${metricExtensionMetricListComputeExpression}
          displayName: ${metricExtensionMetricListDisplayName}
          isDimension: ${metricExtensionMetricListIsDimension}
          isHidden: ${metricExtensionMetricListIsHidden}
          metricCategory: ${metricExtensionMetricListMetricCategory}
          unit: ${metricExtensionMetricListUnit}
      name: ${metricExtensionName}
      queryProperties:
        collectionMethod: ${metricExtensionQueryPropertiesCollectionMethod}
        arguments: ${metricExtensionQueryPropertiesArguments}
        autoRowPrefix: ${metricExtensionQueryPropertiesAutoRowPrefix}
        command: ${metricExtensionQueryPropertiesCommand}
        delimiter: ${metricExtensionQueryPropertiesDelimiter}
        identityMetric: ${metricExtensionQueryPropertiesIdentityMetric}
        inParamDetails:
          - inParamPosition: ${metricExtensionQueryPropertiesInParamDetailsInParamPosition}
            inParamValue: ${metricExtensionQueryPropertiesInParamDetailsInParamValue}
        isMetricServiceEnabled: ${metricExtensionQueryPropertiesIsMetricServiceEnabled}
        jmxAttributes: ${metricExtensionQueryPropertiesJmxAttributes}
        managedBeanQuery: ${metricExtensionQueryPropertiesManagedBeanQuery}
        outParamDetails:
          outParamName: ${metricExtensionQueryPropertiesOutParamDetailsOutParamName}
          outParamPosition: ${metricExtensionQueryPropertiesOutParamDetailsOutParamPosition}
          outParamType: ${metricExtensionQueryPropertiesOutParamDetailsOutParamType}
        protocolType: ${metricExtensionQueryPropertiesProtocolType}
        responseContentType: ${metricExtensionQueryPropertiesResponseContentType}
        scriptDetails:
          content: ${metricExtensionQueryPropertiesScriptDetailsContent}
          name: ${metricExtensionQueryPropertiesScriptDetailsName}
        sqlDetails:
          content: ${metricExtensionQueryPropertiesSqlDetailsContent}
          scriptFileName: ${metricExtensionQueryPropertiesSqlDetailsScriptFileName}
        sqlType: ${metricExtensionQueryPropertiesSqlType}
        startsWith: ${metricExtensionQueryPropertiesStartsWith}
        url: ${metricExtensionQueryPropertiesUrl}
      resourceType: ${metricExtensionResourceType}
      description: ${metricExtensionDescription}
Create MetricExtension Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MetricExtension(name: string, args: MetricExtensionArgs, opts?: CustomResourceOptions);@overload
def MetricExtension(resource_name: str,
                    args: MetricExtensionArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def MetricExtension(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    collection_recurrences: Optional[str] = None,
                    compartment_id: Optional[str] = None,
                    display_name: Optional[str] = None,
                    metric_lists: Optional[Sequence[MetricExtensionMetricListArgs]] = None,
                    query_properties: Optional[MetricExtensionQueryPropertiesArgs] = None,
                    resource_type: Optional[str] = None,
                    description: Optional[str] = None,
                    name: Optional[str] = None,
                    publish_trigger: Optional[bool] = None)func NewMetricExtension(ctx *Context, name string, args MetricExtensionArgs, opts ...ResourceOption) (*MetricExtension, error)public MetricExtension(string name, MetricExtensionArgs args, CustomResourceOptions? opts = null)
public MetricExtension(String name, MetricExtensionArgs args)
public MetricExtension(String name, MetricExtensionArgs args, CustomResourceOptions options)
type: oci:StackMonitoring:MetricExtension
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 MetricExtensionArgs
- 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 MetricExtensionArgs
- 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 MetricExtensionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MetricExtensionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MetricExtensionArgs
- 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 metricExtensionResource = new Oci.StackMonitoring.MetricExtension("metricExtensionResource", new()
{
    CollectionRecurrences = "string",
    CompartmentId = "string",
    DisplayName = "string",
    MetricLists = new[]
    {
        new Oci.StackMonitoring.Inputs.MetricExtensionMetricListArgs
        {
            DataType = "string",
            Name = "string",
            ComputeExpression = "string",
            DisplayName = "string",
            IsDimension = false,
            IsHidden = false,
            MetricCategory = "string",
            Unit = "string",
        },
    },
    QueryProperties = new Oci.StackMonitoring.Inputs.MetricExtensionQueryPropertiesArgs
    {
        CollectionMethod = "string",
        JmxAttributes = "string",
        OutParamDetails = new Oci.StackMonitoring.Inputs.MetricExtensionQueryPropertiesOutParamDetailsArgs
        {
            OutParamPosition = 0,
            OutParamType = "string",
            OutParamName = "string",
        },
        Command = "string",
        Delimiter = "string",
        IdentityMetric = "string",
        InParamDetails = new[]
        {
            new Oci.StackMonitoring.Inputs.MetricExtensionQueryPropertiesInParamDetailArgs
            {
                InParamPosition = 0,
                InParamValue = "string",
            },
        },
        IsMetricServiceEnabled = false,
        Arguments = "string",
        AutoRowPrefix = "string",
        ProtocolType = "string",
        ManagedBeanQuery = "string",
        ResponseContentType = "string",
        ScriptDetails = new Oci.StackMonitoring.Inputs.MetricExtensionQueryPropertiesScriptDetailsArgs
        {
            Content = "string",
            Name = "string",
        },
        SqlDetails = new Oci.StackMonitoring.Inputs.MetricExtensionQueryPropertiesSqlDetailsArgs
        {
            Content = "string",
            ScriptFileName = "string",
        },
        SqlType = "string",
        StartsWith = "string",
        Url = "string",
    },
    ResourceType = "string",
    Description = "string",
    Name = "string",
    PublishTrigger = false,
});
example, err := stackmonitoring.NewMetricExtension(ctx, "metricExtensionResource", &stackmonitoring.MetricExtensionArgs{
	CollectionRecurrences: pulumi.String("string"),
	CompartmentId:         pulumi.String("string"),
	DisplayName:           pulumi.String("string"),
	MetricLists: stackmonitoring.MetricExtensionMetricListArray{
		&stackmonitoring.MetricExtensionMetricListArgs{
			DataType:          pulumi.String("string"),
			Name:              pulumi.String("string"),
			ComputeExpression: pulumi.String("string"),
			DisplayName:       pulumi.String("string"),
			IsDimension:       pulumi.Bool(false),
			IsHidden:          pulumi.Bool(false),
			MetricCategory:    pulumi.String("string"),
			Unit:              pulumi.String("string"),
		},
	},
	QueryProperties: &stackmonitoring.MetricExtensionQueryPropertiesArgs{
		CollectionMethod: pulumi.String("string"),
		JmxAttributes:    pulumi.String("string"),
		OutParamDetails: &stackmonitoring.MetricExtensionQueryPropertiesOutParamDetailsArgs{
			OutParamPosition: pulumi.Int(0),
			OutParamType:     pulumi.String("string"),
			OutParamName:     pulumi.String("string"),
		},
		Command:        pulumi.String("string"),
		Delimiter:      pulumi.String("string"),
		IdentityMetric: pulumi.String("string"),
		InParamDetails: stackmonitoring.MetricExtensionQueryPropertiesInParamDetailArray{
			&stackmonitoring.MetricExtensionQueryPropertiesInParamDetailArgs{
				InParamPosition: pulumi.Int(0),
				InParamValue:    pulumi.String("string"),
			},
		},
		IsMetricServiceEnabled: pulumi.Bool(false),
		Arguments:              pulumi.String("string"),
		AutoRowPrefix:          pulumi.String("string"),
		ProtocolType:           pulumi.String("string"),
		ManagedBeanQuery:       pulumi.String("string"),
		ResponseContentType:    pulumi.String("string"),
		ScriptDetails: &stackmonitoring.MetricExtensionQueryPropertiesScriptDetailsArgs{
			Content: pulumi.String("string"),
			Name:    pulumi.String("string"),
		},
		SqlDetails: &stackmonitoring.MetricExtensionQueryPropertiesSqlDetailsArgs{
			Content:        pulumi.String("string"),
			ScriptFileName: pulumi.String("string"),
		},
		SqlType:    pulumi.String("string"),
		StartsWith: pulumi.String("string"),
		Url:        pulumi.String("string"),
	},
	ResourceType:   pulumi.String("string"),
	Description:    pulumi.String("string"),
	Name:           pulumi.String("string"),
	PublishTrigger: pulumi.Bool(false),
})
var metricExtensionResource = new MetricExtension("metricExtensionResource", MetricExtensionArgs.builder()
    .collectionRecurrences("string")
    .compartmentId("string")
    .displayName("string")
    .metricLists(MetricExtensionMetricListArgs.builder()
        .dataType("string")
        .name("string")
        .computeExpression("string")
        .displayName("string")
        .isDimension(false)
        .isHidden(false)
        .metricCategory("string")
        .unit("string")
        .build())
    .queryProperties(MetricExtensionQueryPropertiesArgs.builder()
        .collectionMethod("string")
        .jmxAttributes("string")
        .outParamDetails(MetricExtensionQueryPropertiesOutParamDetailsArgs.builder()
            .outParamPosition(0)
            .outParamType("string")
            .outParamName("string")
            .build())
        .command("string")
        .delimiter("string")
        .identityMetric("string")
        .inParamDetails(MetricExtensionQueryPropertiesInParamDetailArgs.builder()
            .inParamPosition(0)
            .inParamValue("string")
            .build())
        .isMetricServiceEnabled(false)
        .arguments("string")
        .autoRowPrefix("string")
        .protocolType("string")
        .managedBeanQuery("string")
        .responseContentType("string")
        .scriptDetails(MetricExtensionQueryPropertiesScriptDetailsArgs.builder()
            .content("string")
            .name("string")
            .build())
        .sqlDetails(MetricExtensionQueryPropertiesSqlDetailsArgs.builder()
            .content("string")
            .scriptFileName("string")
            .build())
        .sqlType("string")
        .startsWith("string")
        .url("string")
        .build())
    .resourceType("string")
    .description("string")
    .name("string")
    .publishTrigger(false)
    .build());
metric_extension_resource = oci.stack_monitoring.MetricExtension("metricExtensionResource",
    collection_recurrences="string",
    compartment_id="string",
    display_name="string",
    metric_lists=[{
        "data_type": "string",
        "name": "string",
        "compute_expression": "string",
        "display_name": "string",
        "is_dimension": False,
        "is_hidden": False,
        "metric_category": "string",
        "unit": "string",
    }],
    query_properties={
        "collection_method": "string",
        "jmx_attributes": "string",
        "out_param_details": {
            "out_param_position": 0,
            "out_param_type": "string",
            "out_param_name": "string",
        },
        "command": "string",
        "delimiter": "string",
        "identity_metric": "string",
        "in_param_details": [{
            "in_param_position": 0,
            "in_param_value": "string",
        }],
        "is_metric_service_enabled": False,
        "arguments": "string",
        "auto_row_prefix": "string",
        "protocol_type": "string",
        "managed_bean_query": "string",
        "response_content_type": "string",
        "script_details": {
            "content": "string",
            "name": "string",
        },
        "sql_details": {
            "content": "string",
            "script_file_name": "string",
        },
        "sql_type": "string",
        "starts_with": "string",
        "url": "string",
    },
    resource_type="string",
    description="string",
    name="string",
    publish_trigger=False)
const metricExtensionResource = new oci.stackmonitoring.MetricExtension("metricExtensionResource", {
    collectionRecurrences: "string",
    compartmentId: "string",
    displayName: "string",
    metricLists: [{
        dataType: "string",
        name: "string",
        computeExpression: "string",
        displayName: "string",
        isDimension: false,
        isHidden: false,
        metricCategory: "string",
        unit: "string",
    }],
    queryProperties: {
        collectionMethod: "string",
        jmxAttributes: "string",
        outParamDetails: {
            outParamPosition: 0,
            outParamType: "string",
            outParamName: "string",
        },
        command: "string",
        delimiter: "string",
        identityMetric: "string",
        inParamDetails: [{
            inParamPosition: 0,
            inParamValue: "string",
        }],
        isMetricServiceEnabled: false,
        arguments: "string",
        autoRowPrefix: "string",
        protocolType: "string",
        managedBeanQuery: "string",
        responseContentType: "string",
        scriptDetails: {
            content: "string",
            name: "string",
        },
        sqlDetails: {
            content: "string",
            scriptFileName: "string",
        },
        sqlType: "string",
        startsWith: "string",
        url: "string",
    },
    resourceType: "string",
    description: "string",
    name: "string",
    publishTrigger: false,
});
type: oci:StackMonitoring:MetricExtension
properties:
    collectionRecurrences: string
    compartmentId: string
    description: string
    displayName: string
    metricLists:
        - computeExpression: string
          dataType: string
          displayName: string
          isDimension: false
          isHidden: false
          metricCategory: string
          name: string
          unit: string
    name: string
    publishTrigger: false
    queryProperties:
        arguments: string
        autoRowPrefix: string
        collectionMethod: string
        command: string
        delimiter: string
        identityMetric: string
        inParamDetails:
            - inParamPosition: 0
              inParamValue: string
        isMetricServiceEnabled: false
        jmxAttributes: string
        managedBeanQuery: string
        outParamDetails:
            outParamName: string
            outParamPosition: 0
            outParamType: string
        protocolType: string
        responseContentType: string
        scriptDetails:
            content: string
            name: string
        sqlDetails:
            content: string
            scriptFileName: string
        sqlType: string
        startsWith: string
        url: string
    resourceType: string
MetricExtension 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 MetricExtension resource accepts the following input properties:
- CollectionRecurrences string
- (Updatable) Schedule of metric extension should use RFC 5545 format i.e. recur-rule-part = "FREQ";INTERVAL where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1
- CompartmentId string
- (Updatable) Compartment Identifier OCID
- DisplayName string
- (Updatable) Metric Extension display name.
- MetricLists List<MetricExtension Metric List> 
- (Updatable) List of metrics which are part of this metric extension
- QueryProperties MetricExtension Query Properties 
- (Updatable) Collection method and query properties details of metric extension
- ResourceType string
- Resource type to which Metric Extension applies
- Description string
- (Updatable) Description of the metric extension.
- Name string
- Metric Extension Resource name.
- PublishTrigger bool
- (Updatable) An optional property when set to - truetriggers Publish of a metric extension. Once set to- true, it cannot be changed back to- false. Update of publish_trigger cannot be combined with other updates in the same request. A metric extension cannot be tested and its definition cannot be updated once it is marked published or publish_trigger is updated to- true.- ** 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 
- CollectionRecurrences string
- (Updatable) Schedule of metric extension should use RFC 5545 format i.e. recur-rule-part = "FREQ";INTERVAL where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1
- CompartmentId string
- (Updatable) Compartment Identifier OCID
- DisplayName string
- (Updatable) Metric Extension display name.
- MetricLists []MetricExtension Metric List Args 
- (Updatable) List of metrics which are part of this metric extension
- QueryProperties MetricExtension Query Properties Args 
- (Updatable) Collection method and query properties details of metric extension
- ResourceType string
- Resource type to which Metric Extension applies
- Description string
- (Updatable) Description of the metric extension.
- Name string
- Metric Extension Resource name.
- PublishTrigger bool
- (Updatable) An optional property when set to - truetriggers Publish of a metric extension. Once set to- true, it cannot be changed back to- false. Update of publish_trigger cannot be combined with other updates in the same request. A metric extension cannot be tested and its definition cannot be updated once it is marked published or publish_trigger is updated to- true.- ** 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 
- collectionRecurrences String
- (Updatable) Schedule of metric extension should use RFC 5545 format i.e. recur-rule-part = "FREQ";INTERVAL where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1
- compartmentId String
- (Updatable) Compartment Identifier OCID
- displayName String
- (Updatable) Metric Extension display name.
- metricLists List<MetricExtension Metric List> 
- (Updatable) List of metrics which are part of this metric extension
- queryProperties MetricExtension Query Properties 
- (Updatable) Collection method and query properties details of metric extension
- resourceType String
- Resource type to which Metric Extension applies
- description String
- (Updatable) Description of the metric extension.
- name String
- Metric Extension Resource name.
- publishTrigger Boolean
- (Updatable) An optional property when set to - truetriggers Publish of a metric extension. Once set to- true, it cannot be changed back to- false. Update of publish_trigger cannot be combined with other updates in the same request. A metric extension cannot be tested and its definition cannot be updated once it is marked published or publish_trigger is updated to- true.- ** 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 
- collectionRecurrences string
- (Updatable) Schedule of metric extension should use RFC 5545 format i.e. recur-rule-part = "FREQ";INTERVAL where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1
- compartmentId string
- (Updatable) Compartment Identifier OCID
- displayName string
- (Updatable) Metric Extension display name.
- metricLists MetricExtension Metric List[] 
- (Updatable) List of metrics which are part of this metric extension
- queryProperties MetricExtension Query Properties 
- (Updatable) Collection method and query properties details of metric extension
- resourceType string
- Resource type to which Metric Extension applies
- description string
- (Updatable) Description of the metric extension.
- name string
- Metric Extension Resource name.
- publishTrigger boolean
- (Updatable) An optional property when set to - truetriggers Publish of a metric extension. Once set to- true, it cannot be changed back to- false. Update of publish_trigger cannot be combined with other updates in the same request. A metric extension cannot be tested and its definition cannot be updated once it is marked published or publish_trigger is updated to- true.- ** 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 
- collection_recurrences str
- (Updatable) Schedule of metric extension should use RFC 5545 format i.e. recur-rule-part = "FREQ";INTERVAL where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1
- compartment_id str
- (Updatable) Compartment Identifier OCID
- display_name str
- (Updatable) Metric Extension display name.
- metric_lists Sequence[MetricExtension Metric List Args] 
- (Updatable) List of metrics which are part of this metric extension
- query_properties MetricExtension Query Properties Args 
- (Updatable) Collection method and query properties details of metric extension
- resource_type str
- Resource type to which Metric Extension applies
- description str
- (Updatable) Description of the metric extension.
- name str
- Metric Extension Resource name.
- publish_trigger bool
- (Updatable) An optional property when set to - truetriggers Publish of a metric extension. Once set to- true, it cannot be changed back to- false. Update of publish_trigger cannot be combined with other updates in the same request. A metric extension cannot be tested and its definition cannot be updated once it is marked published or publish_trigger is updated to- true.- ** 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 
- collectionRecurrences String
- (Updatable) Schedule of metric extension should use RFC 5545 format i.e. recur-rule-part = "FREQ";INTERVAL where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1
- compartmentId String
- (Updatable) Compartment Identifier OCID
- displayName String
- (Updatable) Metric Extension display name.
- metricLists List<Property Map>
- (Updatable) List of metrics which are part of this metric extension
- queryProperties Property Map
- (Updatable) Collection method and query properties details of metric extension
- resourceType String
- Resource type to which Metric Extension applies
- description String
- (Updatable) Description of the metric extension.
- name String
- Metric Extension Resource name.
- publishTrigger Boolean
- (Updatable) An optional property when set to - truetriggers Publish of a metric extension. Once set to- true, it cannot be changed back to- false. Update of publish_trigger cannot be combined with other updates in the same request. A metric extension cannot be tested and its definition cannot be updated once it is marked published or publish_trigger is updated to- true.- ** 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 MetricExtension resource produces the following output properties:
- CollectionMethod string
- Type of possible collection methods.
- CreatedBy string
- Created by user
- EnabledOn List<MetricResources Extension Enabled On Resource> 
- List of resource details objects having resourceIds on which this metric extension is enabled.
- EnabledOn intResources Count 
- Count of resources on which this metric extension is enabled.
- Id string
- The provider-assigned unique ID for this managed resource.
- LastUpdated stringBy 
- Last updated by user
- ResourceUri string
- The URI path that the user can do a GET on to access the metric extension metadata
- State string
- The current lifecycle state of the metric extension
- Status string
- The current status of the metric extension i.e. whether it is Draft or Published
- TenantId string
- Tenant Identifier OCID
- TimeCreated string
- Metric Extension creation time. An RFC3339 formatted datetime string.
- TimeUpdated string
- Metric Extension update time. An RFC3339 formatted datetime string.
- CollectionMethod string
- Type of possible collection methods.
- CreatedBy string
- Created by user
- EnabledOn []MetricResources Extension Enabled On Resource 
- List of resource details objects having resourceIds on which this metric extension is enabled.
- EnabledOn intResources Count 
- Count of resources on which this metric extension is enabled.
- Id string
- The provider-assigned unique ID for this managed resource.
- LastUpdated stringBy 
- Last updated by user
- ResourceUri string
- The URI path that the user can do a GET on to access the metric extension metadata
- State string
- The current lifecycle state of the metric extension
- Status string
- The current status of the metric extension i.e. whether it is Draft or Published
- TenantId string
- Tenant Identifier OCID
- TimeCreated string
- Metric Extension creation time. An RFC3339 formatted datetime string.
- TimeUpdated string
- Metric Extension update time. An RFC3339 formatted datetime string.
- collectionMethod String
- Type of possible collection methods.
- createdBy String
- Created by user
- enabledOn List<MetricResources Extension Enabled On Resource> 
- List of resource details objects having resourceIds on which this metric extension is enabled.
- enabledOn IntegerResources Count 
- Count of resources on which this metric extension is enabled.
- id String
- The provider-assigned unique ID for this managed resource.
- lastUpdated StringBy 
- Last updated by user
- resourceUri String
- The URI path that the user can do a GET on to access the metric extension metadata
- state String
- The current lifecycle state of the metric extension
- status String
- The current status of the metric extension i.e. whether it is Draft or Published
- tenantId String
- Tenant Identifier OCID
- timeCreated String
- Metric Extension creation time. An RFC3339 formatted datetime string.
- timeUpdated String
- Metric Extension update time. An RFC3339 formatted datetime string.
- collectionMethod string
- Type of possible collection methods.
- createdBy string
- Created by user
- enabledOn MetricResources Extension Enabled On Resource[] 
- List of resource details objects having resourceIds on which this metric extension is enabled.
- enabledOn numberResources Count 
- Count of resources on which this metric extension is enabled.
- id string
- The provider-assigned unique ID for this managed resource.
- lastUpdated stringBy 
- Last updated by user
- resourceUri string
- The URI path that the user can do a GET on to access the metric extension metadata
- state string
- The current lifecycle state of the metric extension
- status string
- The current status of the metric extension i.e. whether it is Draft or Published
- tenantId string
- Tenant Identifier OCID
- timeCreated string
- Metric Extension creation time. An RFC3339 formatted datetime string.
- timeUpdated string
- Metric Extension update time. An RFC3339 formatted datetime string.
- collection_method str
- Type of possible collection methods.
- created_by str
- Created by user
- enabled_on_ Sequence[Metricresources Extension Enabled On Resource] 
- List of resource details objects having resourceIds on which this metric extension is enabled.
- enabled_on_ intresources_ count 
- Count of resources on which this metric extension is enabled.
- id str
- The provider-assigned unique ID for this managed resource.
- last_updated_ strby 
- Last updated by user
- resource_uri str
- The URI path that the user can do a GET on to access the metric extension metadata
- state str
- The current lifecycle state of the metric extension
- status str
- The current status of the metric extension i.e. whether it is Draft or Published
- tenant_id str
- Tenant Identifier OCID
- time_created str
- Metric Extension creation time. An RFC3339 formatted datetime string.
- time_updated str
- Metric Extension update time. An RFC3339 formatted datetime string.
- collectionMethod String
- Type of possible collection methods.
- createdBy String
- Created by user
- enabledOn List<Property Map>Resources 
- List of resource details objects having resourceIds on which this metric extension is enabled.
- enabledOn NumberResources Count 
- Count of resources on which this metric extension is enabled.
- id String
- The provider-assigned unique ID for this managed resource.
- lastUpdated StringBy 
- Last updated by user
- resourceUri String
- The URI path that the user can do a GET on to access the metric extension metadata
- state String
- The current lifecycle state of the metric extension
- status String
- The current status of the metric extension i.e. whether it is Draft or Published
- tenantId String
- Tenant Identifier OCID
- timeCreated String
- Metric Extension creation time. An RFC3339 formatted datetime string.
- timeUpdated String
- Metric Extension update time. An RFC3339 formatted datetime string.
Look up Existing MetricExtension Resource
Get an existing MetricExtension 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?: MetricExtensionState, opts?: CustomResourceOptions): MetricExtension@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        collection_method: Optional[str] = None,
        collection_recurrences: Optional[str] = None,
        compartment_id: Optional[str] = None,
        created_by: Optional[str] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        enabled_on_resources: Optional[Sequence[MetricExtensionEnabledOnResourceArgs]] = None,
        enabled_on_resources_count: Optional[int] = None,
        last_updated_by: Optional[str] = None,
        metric_lists: Optional[Sequence[MetricExtensionMetricListArgs]] = None,
        name: Optional[str] = None,
        publish_trigger: Optional[bool] = None,
        query_properties: Optional[MetricExtensionQueryPropertiesArgs] = None,
        resource_type: Optional[str] = None,
        resource_uri: Optional[str] = None,
        state: Optional[str] = None,
        status: Optional[str] = None,
        tenant_id: Optional[str] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> MetricExtensionfunc GetMetricExtension(ctx *Context, name string, id IDInput, state *MetricExtensionState, opts ...ResourceOption) (*MetricExtension, error)public static MetricExtension Get(string name, Input<string> id, MetricExtensionState? state, CustomResourceOptions? opts = null)public static MetricExtension get(String name, Output<String> id, MetricExtensionState state, CustomResourceOptions options)resources:  _:    type: oci:StackMonitoring:MetricExtension    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.
- CollectionMethod string
- Type of possible collection methods.
- CollectionRecurrences string
- (Updatable) Schedule of metric extension should use RFC 5545 format i.e. recur-rule-part = "FREQ";INTERVAL where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1
- CompartmentId string
- (Updatable) Compartment Identifier OCID
- CreatedBy string
- Created by user
- Description string
- (Updatable) Description of the metric extension.
- DisplayName string
- (Updatable) Metric Extension display name.
- EnabledOn List<MetricResources Extension Enabled On Resource> 
- List of resource details objects having resourceIds on which this metric extension is enabled.
- EnabledOn intResources Count 
- Count of resources on which this metric extension is enabled.
- LastUpdated stringBy 
- Last updated by user
- MetricLists List<MetricExtension Metric List> 
- (Updatable) List of metrics which are part of this metric extension
- Name string
- Metric Extension Resource name.
- PublishTrigger bool
- (Updatable) An optional property when set to - truetriggers Publish of a metric extension. Once set to- true, it cannot be changed back to- false. Update of publish_trigger cannot be combined with other updates in the same request. A metric extension cannot be tested and its definition cannot be updated once it is marked published or publish_trigger is updated to- true.- ** 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 
- QueryProperties MetricExtension Query Properties 
- (Updatable) Collection method and query properties details of metric extension
- ResourceType string
- Resource type to which Metric Extension applies
- ResourceUri string
- The URI path that the user can do a GET on to access the metric extension metadata
- State string
- The current lifecycle state of the metric extension
- Status string
- The current status of the metric extension i.e. whether it is Draft or Published
- TenantId string
- Tenant Identifier OCID
- TimeCreated string
- Metric Extension creation time. An RFC3339 formatted datetime string.
- TimeUpdated string
- Metric Extension update time. An RFC3339 formatted datetime string.
- CollectionMethod string
- Type of possible collection methods.
- CollectionRecurrences string
- (Updatable) Schedule of metric extension should use RFC 5545 format i.e. recur-rule-part = "FREQ";INTERVAL where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1
- CompartmentId string
- (Updatable) Compartment Identifier OCID
- CreatedBy string
- Created by user
- Description string
- (Updatable) Description of the metric extension.
- DisplayName string
- (Updatable) Metric Extension display name.
- EnabledOn []MetricResources Extension Enabled On Resource Args 
- List of resource details objects having resourceIds on which this metric extension is enabled.
- EnabledOn intResources Count 
- Count of resources on which this metric extension is enabled.
- LastUpdated stringBy 
- Last updated by user
- MetricLists []MetricExtension Metric List Args 
- (Updatable) List of metrics which are part of this metric extension
- Name string
- Metric Extension Resource name.
- PublishTrigger bool
- (Updatable) An optional property when set to - truetriggers Publish of a metric extension. Once set to- true, it cannot be changed back to- false. Update of publish_trigger cannot be combined with other updates in the same request. A metric extension cannot be tested and its definition cannot be updated once it is marked published or publish_trigger is updated to- true.- ** 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 
- QueryProperties MetricExtension Query Properties Args 
- (Updatable) Collection method and query properties details of metric extension
- ResourceType string
- Resource type to which Metric Extension applies
- ResourceUri string
- The URI path that the user can do a GET on to access the metric extension metadata
- State string
- The current lifecycle state of the metric extension
- Status string
- The current status of the metric extension i.e. whether it is Draft or Published
- TenantId string
- Tenant Identifier OCID
- TimeCreated string
- Metric Extension creation time. An RFC3339 formatted datetime string.
- TimeUpdated string
- Metric Extension update time. An RFC3339 formatted datetime string.
- collectionMethod String
- Type of possible collection methods.
- collectionRecurrences String
- (Updatable) Schedule of metric extension should use RFC 5545 format i.e. recur-rule-part = "FREQ";INTERVAL where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1
- compartmentId String
- (Updatable) Compartment Identifier OCID
- createdBy String
- Created by user
- description String
- (Updatable) Description of the metric extension.
- displayName String
- (Updatable) Metric Extension display name.
- enabledOn List<MetricResources Extension Enabled On Resource> 
- List of resource details objects having resourceIds on which this metric extension is enabled.
- enabledOn IntegerResources Count 
- Count of resources on which this metric extension is enabled.
- lastUpdated StringBy 
- Last updated by user
- metricLists List<MetricExtension Metric List> 
- (Updatable) List of metrics which are part of this metric extension
- name String
- Metric Extension Resource name.
- publishTrigger Boolean
- (Updatable) An optional property when set to - truetriggers Publish of a metric extension. Once set to- true, it cannot be changed back to- false. Update of publish_trigger cannot be combined with other updates in the same request. A metric extension cannot be tested and its definition cannot be updated once it is marked published or publish_trigger is updated to- true.- ** 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 
- queryProperties MetricExtension Query Properties 
- (Updatable) Collection method and query properties details of metric extension
- resourceType String
- Resource type to which Metric Extension applies
- resourceUri String
- The URI path that the user can do a GET on to access the metric extension metadata
- state String
- The current lifecycle state of the metric extension
- status String
- The current status of the metric extension i.e. whether it is Draft or Published
- tenantId String
- Tenant Identifier OCID
- timeCreated String
- Metric Extension creation time. An RFC3339 formatted datetime string.
- timeUpdated String
- Metric Extension update time. An RFC3339 formatted datetime string.
- collectionMethod string
- Type of possible collection methods.
- collectionRecurrences string
- (Updatable) Schedule of metric extension should use RFC 5545 format i.e. recur-rule-part = "FREQ";INTERVAL where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1
- compartmentId string
- (Updatable) Compartment Identifier OCID
- createdBy string
- Created by user
- description string
- (Updatable) Description of the metric extension.
- displayName string
- (Updatable) Metric Extension display name.
- enabledOn MetricResources Extension Enabled On Resource[] 
- List of resource details objects having resourceIds on which this metric extension is enabled.
- enabledOn numberResources Count 
- Count of resources on which this metric extension is enabled.
- lastUpdated stringBy 
- Last updated by user
- metricLists MetricExtension Metric List[] 
- (Updatable) List of metrics which are part of this metric extension
- name string
- Metric Extension Resource name.
- publishTrigger boolean
- (Updatable) An optional property when set to - truetriggers Publish of a metric extension. Once set to- true, it cannot be changed back to- false. Update of publish_trigger cannot be combined with other updates in the same request. A metric extension cannot be tested and its definition cannot be updated once it is marked published or publish_trigger is updated to- true.- ** 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 
- queryProperties MetricExtension Query Properties 
- (Updatable) Collection method and query properties details of metric extension
- resourceType string
- Resource type to which Metric Extension applies
- resourceUri string
- The URI path that the user can do a GET on to access the metric extension metadata
- state string
- The current lifecycle state of the metric extension
- status string
- The current status of the metric extension i.e. whether it is Draft or Published
- tenantId string
- Tenant Identifier OCID
- timeCreated string
- Metric Extension creation time. An RFC3339 formatted datetime string.
- timeUpdated string
- Metric Extension update time. An RFC3339 formatted datetime string.
- collection_method str
- Type of possible collection methods.
- collection_recurrences str
- (Updatable) Schedule of metric extension should use RFC 5545 format i.e. recur-rule-part = "FREQ";INTERVAL where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1
- compartment_id str
- (Updatable) Compartment Identifier OCID
- created_by str
- Created by user
- description str
- (Updatable) Description of the metric extension.
- display_name str
- (Updatable) Metric Extension display name.
- enabled_on_ Sequence[Metricresources Extension Enabled On Resource Args] 
- List of resource details objects having resourceIds on which this metric extension is enabled.
- enabled_on_ intresources_ count 
- Count of resources on which this metric extension is enabled.
- last_updated_ strby 
- Last updated by user
- metric_lists Sequence[MetricExtension Metric List Args] 
- (Updatable) List of metrics which are part of this metric extension
- name str
- Metric Extension Resource name.
- publish_trigger bool
- (Updatable) An optional property when set to - truetriggers Publish of a metric extension. Once set to- true, it cannot be changed back to- false. Update of publish_trigger cannot be combined with other updates in the same request. A metric extension cannot be tested and its definition cannot be updated once it is marked published or publish_trigger is updated to- true.- ** 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 
- query_properties MetricExtension Query Properties Args 
- (Updatable) Collection method and query properties details of metric extension
- resource_type str
- Resource type to which Metric Extension applies
- resource_uri str
- The URI path that the user can do a GET on to access the metric extension metadata
- state str
- The current lifecycle state of the metric extension
- status str
- The current status of the metric extension i.e. whether it is Draft or Published
- tenant_id str
- Tenant Identifier OCID
- time_created str
- Metric Extension creation time. An RFC3339 formatted datetime string.
- time_updated str
- Metric Extension update time. An RFC3339 formatted datetime string.
- collectionMethod String
- Type of possible collection methods.
- collectionRecurrences String
- (Updatable) Schedule of metric extension should use RFC 5545 format i.e. recur-rule-part = "FREQ";INTERVAL where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1
- compartmentId String
- (Updatable) Compartment Identifier OCID
- createdBy String
- Created by user
- description String
- (Updatable) Description of the metric extension.
- displayName String
- (Updatable) Metric Extension display name.
- enabledOn List<Property Map>Resources 
- List of resource details objects having resourceIds on which this metric extension is enabled.
- enabledOn NumberResources Count 
- Count of resources on which this metric extension is enabled.
- lastUpdated StringBy 
- Last updated by user
- metricLists List<Property Map>
- (Updatable) List of metrics which are part of this metric extension
- name String
- Metric Extension Resource name.
- publishTrigger Boolean
- (Updatable) An optional property when set to - truetriggers Publish of a metric extension. Once set to- true, it cannot be changed back to- false. Update of publish_trigger cannot be combined with other updates in the same request. A metric extension cannot be tested and its definition cannot be updated once it is marked published or publish_trigger is updated to- true.- ** 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 
- queryProperties Property Map
- (Updatable) Collection method and query properties details of metric extension
- resourceType String
- Resource type to which Metric Extension applies
- resourceUri String
- The URI path that the user can do a GET on to access the metric extension metadata
- state String
- The current lifecycle state of the metric extension
- status String
- The current status of the metric extension i.e. whether it is Draft or Published
- tenantId String
- Tenant Identifier OCID
- timeCreated String
- Metric Extension creation time. An RFC3339 formatted datetime string.
- timeUpdated String
- Metric Extension update time. An RFC3339 formatted datetime string.
Supporting Types
MetricExtensionEnabledOnResource, MetricExtensionEnabledOnResourceArgs          
- ResourceId string
- The OCID of the resource on which Metric Extension is enabled
- ResourceId string
- The OCID of the resource on which Metric Extension is enabled
- resourceId String
- The OCID of the resource on which Metric Extension is enabled
- resourceId string
- The OCID of the resource on which Metric Extension is enabled
- resource_id str
- The OCID of the resource on which Metric Extension is enabled
- resourceId String
- The OCID of the resource on which Metric Extension is enabled
MetricExtensionMetricList, MetricExtensionMetricListArgs        
- DataType string
- (Updatable) Data type of value of this metric
- Name string
- (Updatable) Name of the metric.
- ComputeExpression string
- (Updatable) Compute Expression to calculate the value of this metric
- DisplayName string
- (Updatable) Display name of the metric.
- IsDimension bool
- (Updatable) Current metric need to be included as dimension or not
- bool
- (Updatable) Flag to marks whether a metric has to be uploaded or not. When isHidden = false > Metric is uploaded, isHidden = true > Metric is NOT uploaded
- MetricCategory string
- (Updatable) Metric category
- Unit string
- (Updatable) Unit of metric value
- DataType string
- (Updatable) Data type of value of this metric
- Name string
- (Updatable) Name of the metric.
- ComputeExpression string
- (Updatable) Compute Expression to calculate the value of this metric
- DisplayName string
- (Updatable) Display name of the metric.
- IsDimension bool
- (Updatable) Current metric need to be included as dimension or not
- bool
- (Updatable) Flag to marks whether a metric has to be uploaded or not. When isHidden = false > Metric is uploaded, isHidden = true > Metric is NOT uploaded
- MetricCategory string
- (Updatable) Metric category
- Unit string
- (Updatable) Unit of metric value
- dataType String
- (Updatable) Data type of value of this metric
- name String
- (Updatable) Name of the metric.
- computeExpression String
- (Updatable) Compute Expression to calculate the value of this metric
- displayName String
- (Updatable) Display name of the metric.
- isDimension Boolean
- (Updatable) Current metric need to be included as dimension or not
- Boolean
- (Updatable) Flag to marks whether a metric has to be uploaded or not. When isHidden = false > Metric is uploaded, isHidden = true > Metric is NOT uploaded
- metricCategory String
- (Updatable) Metric category
- unit String
- (Updatable) Unit of metric value
- dataType string
- (Updatable) Data type of value of this metric
- name string
- (Updatable) Name of the metric.
- computeExpression string
- (Updatable) Compute Expression to calculate the value of this metric
- displayName string
- (Updatable) Display name of the metric.
- isDimension boolean
- (Updatable) Current metric need to be included as dimension or not
- boolean
- (Updatable) Flag to marks whether a metric has to be uploaded or not. When isHidden = false > Metric is uploaded, isHidden = true > Metric is NOT uploaded
- metricCategory string
- (Updatable) Metric category
- unit string
- (Updatable) Unit of metric value
- data_type str
- (Updatable) Data type of value of this metric
- name str
- (Updatable) Name of the metric.
- compute_expression str
- (Updatable) Compute Expression to calculate the value of this metric
- display_name str
- (Updatable) Display name of the metric.
- is_dimension bool
- (Updatable) Current metric need to be included as dimension or not
- bool
- (Updatable) Flag to marks whether a metric has to be uploaded or not. When isHidden = false > Metric is uploaded, isHidden = true > Metric is NOT uploaded
- metric_category str
- (Updatable) Metric category
- unit str
- (Updatable) Unit of metric value
- dataType String
- (Updatable) Data type of value of this metric
- name String
- (Updatable) Name of the metric.
- computeExpression String
- (Updatable) Compute Expression to calculate the value of this metric
- displayName String
- (Updatable) Display name of the metric.
- isDimension Boolean
- (Updatable) Current metric need to be included as dimension or not
- Boolean
- (Updatable) Flag to marks whether a metric has to be uploaded or not. When isHidden = false > Metric is uploaded, isHidden = true > Metric is NOT uploaded
- metricCategory String
- (Updatable) Metric category
- unit String
- (Updatable) Unit of metric value
MetricExtensionQueryProperties, MetricExtensionQueryPropertiesArgs        
- CollectionMethod string
- (Updatable) Type of possible collection methods.
- Arguments string
- (Updatable) Arguments required by either command or script
- AutoRow stringPrefix 
- (Updatable) Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- Command string
- (Updatable) OS command to execute without arguments
- Delimiter string
- (Updatable) Character used to delimit multiple metric values in single line of output
- IdentityMetric string
- (Updatable) Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- InParam List<MetricDetails Extension Query Properties In Param Detail> 
- (Updatable) List of values and position of PL/SQL procedure IN parameters
- IsMetric boolService Enabled 
- (Updatable) Indicates if Metric Service is enabled on server domain
- JmxAttributes string
- (Updatable) List of JMX attributes or Metric Service Table columns separated by semi-colon
- ManagedBean stringQuery 
- (Updatable) JMX Managed Bean Query or Metric Service Table name
- OutParam MetricDetails Extension Query Properties Out Param Details 
- (Updatable) Position and SQL Type of PL/SQL OUT parameter
- ProtocolType string
- (Updatable) Supported protocol of resources to be associated with this metric extension. This is optional and defaults to HTTPS, which uses secure connection to the URL
- ResponseContent stringType 
- (Updatable) Type of content response given by the http(s) URL
- ScriptDetails MetricExtension Query Properties Script Details 
- (Updatable) Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored.
- SqlDetails MetricExtension Query Properties Sql Details 
- (Updatable) Details of Sql content which needs to execute to collect Metric Extension data
- SqlType string
- (Updatable) Type of SQL data collection method i.e. either a Statement or SQL Script File
- StartsWith string
- (Updatable) String prefix used to identify metric output of the OS Command
- Url string
- (Updatable) Http(s) end point URL
- CollectionMethod string
- (Updatable) Type of possible collection methods.
- Arguments string
- (Updatable) Arguments required by either command or script
- AutoRow stringPrefix 
- (Updatable) Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- Command string
- (Updatable) OS command to execute without arguments
- Delimiter string
- (Updatable) Character used to delimit multiple metric values in single line of output
- IdentityMetric string
- (Updatable) Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- InParam []MetricDetails Extension Query Properties In Param Detail 
- (Updatable) List of values and position of PL/SQL procedure IN parameters
- IsMetric boolService Enabled 
- (Updatable) Indicates if Metric Service is enabled on server domain
- JmxAttributes string
- (Updatable) List of JMX attributes or Metric Service Table columns separated by semi-colon
- ManagedBean stringQuery 
- (Updatable) JMX Managed Bean Query or Metric Service Table name
- OutParam MetricDetails Extension Query Properties Out Param Details 
- (Updatable) Position and SQL Type of PL/SQL OUT parameter
- ProtocolType string
- (Updatable) Supported protocol of resources to be associated with this metric extension. This is optional and defaults to HTTPS, which uses secure connection to the URL
- ResponseContent stringType 
- (Updatable) Type of content response given by the http(s) URL
- ScriptDetails MetricExtension Query Properties Script Details 
- (Updatable) Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored.
- SqlDetails MetricExtension Query Properties Sql Details 
- (Updatable) Details of Sql content which needs to execute to collect Metric Extension data
- SqlType string
- (Updatable) Type of SQL data collection method i.e. either a Statement or SQL Script File
- StartsWith string
- (Updatable) String prefix used to identify metric output of the OS Command
- Url string
- (Updatable) Http(s) end point URL
- collectionMethod String
- (Updatable) Type of possible collection methods.
- arguments String
- (Updatable) Arguments required by either command or script
- autoRow StringPrefix 
- (Updatable) Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- command String
- (Updatable) OS command to execute without arguments
- delimiter String
- (Updatable) Character used to delimit multiple metric values in single line of output
- identityMetric String
- (Updatable) Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- inParam List<MetricDetails Extension Query Properties In Param Detail> 
- (Updatable) List of values and position of PL/SQL procedure IN parameters
- isMetric BooleanService Enabled 
- (Updatable) Indicates if Metric Service is enabled on server domain
- jmxAttributes String
- (Updatable) List of JMX attributes or Metric Service Table columns separated by semi-colon
- managedBean StringQuery 
- (Updatable) JMX Managed Bean Query or Metric Service Table name
- outParam MetricDetails Extension Query Properties Out Param Details 
- (Updatable) Position and SQL Type of PL/SQL OUT parameter
- protocolType String
- (Updatable) Supported protocol of resources to be associated with this metric extension. This is optional and defaults to HTTPS, which uses secure connection to the URL
- responseContent StringType 
- (Updatable) Type of content response given by the http(s) URL
- scriptDetails MetricExtension Query Properties Script Details 
- (Updatable) Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored.
- sqlDetails MetricExtension Query Properties Sql Details 
- (Updatable) Details of Sql content which needs to execute to collect Metric Extension data
- sqlType String
- (Updatable) Type of SQL data collection method i.e. either a Statement or SQL Script File
- startsWith String
- (Updatable) String prefix used to identify metric output of the OS Command
- url String
- (Updatable) Http(s) end point URL
- collectionMethod string
- (Updatable) Type of possible collection methods.
- arguments string
- (Updatable) Arguments required by either command or script
- autoRow stringPrefix 
- (Updatable) Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- command string
- (Updatable) OS command to execute without arguments
- delimiter string
- (Updatable) Character used to delimit multiple metric values in single line of output
- identityMetric string
- (Updatable) Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- inParam MetricDetails Extension Query Properties In Param Detail[] 
- (Updatable) List of values and position of PL/SQL procedure IN parameters
- isMetric booleanService Enabled 
- (Updatable) Indicates if Metric Service is enabled on server domain
- jmxAttributes string
- (Updatable) List of JMX attributes or Metric Service Table columns separated by semi-colon
- managedBean stringQuery 
- (Updatable) JMX Managed Bean Query or Metric Service Table name
- outParam MetricDetails Extension Query Properties Out Param Details 
- (Updatable) Position and SQL Type of PL/SQL OUT parameter
- protocolType string
- (Updatable) Supported protocol of resources to be associated with this metric extension. This is optional and defaults to HTTPS, which uses secure connection to the URL
- responseContent stringType 
- (Updatable) Type of content response given by the http(s) URL
- scriptDetails MetricExtension Query Properties Script Details 
- (Updatable) Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored.
- sqlDetails MetricExtension Query Properties Sql Details 
- (Updatable) Details of Sql content which needs to execute to collect Metric Extension data
- sqlType string
- (Updatable) Type of SQL data collection method i.e. either a Statement or SQL Script File
- startsWith string
- (Updatable) String prefix used to identify metric output of the OS Command
- url string
- (Updatable) Http(s) end point URL
- collection_method str
- (Updatable) Type of possible collection methods.
- arguments str
- (Updatable) Arguments required by either command or script
- auto_row_ strprefix 
- (Updatable) Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- command str
- (Updatable) OS command to execute without arguments
- delimiter str
- (Updatable) Character used to delimit multiple metric values in single line of output
- identity_metric str
- (Updatable) Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- in_param_ Sequence[Metricdetails Extension Query Properties In Param Detail] 
- (Updatable) List of values and position of PL/SQL procedure IN parameters
- is_metric_ boolservice_ enabled 
- (Updatable) Indicates if Metric Service is enabled on server domain
- jmx_attributes str
- (Updatable) List of JMX attributes or Metric Service Table columns separated by semi-colon
- managed_bean_ strquery 
- (Updatable) JMX Managed Bean Query or Metric Service Table name
- out_param_ Metricdetails Extension Query Properties Out Param Details 
- (Updatable) Position and SQL Type of PL/SQL OUT parameter
- protocol_type str
- (Updatable) Supported protocol of resources to be associated with this metric extension. This is optional and defaults to HTTPS, which uses secure connection to the URL
- response_content_ strtype 
- (Updatable) Type of content response given by the http(s) URL
- script_details MetricExtension Query Properties Script Details 
- (Updatable) Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored.
- sql_details MetricExtension Query Properties Sql Details 
- (Updatable) Details of Sql content which needs to execute to collect Metric Extension data
- sql_type str
- (Updatable) Type of SQL data collection method i.e. either a Statement or SQL Script File
- starts_with str
- (Updatable) String prefix used to identify metric output of the OS Command
- url str
- (Updatable) Http(s) end point URL
- collectionMethod String
- (Updatable) Type of possible collection methods.
- arguments String
- (Updatable) Arguments required by either command or script
- autoRow StringPrefix 
- (Updatable) Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- command String
- (Updatable) OS command to execute without arguments
- delimiter String
- (Updatable) Character used to delimit multiple metric values in single line of output
- identityMetric String
- (Updatable) Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- inParam List<Property Map>Details 
- (Updatable) List of values and position of PL/SQL procedure IN parameters
- isMetric BooleanService Enabled 
- (Updatable) Indicates if Metric Service is enabled on server domain
- jmxAttributes String
- (Updatable) List of JMX attributes or Metric Service Table columns separated by semi-colon
- managedBean StringQuery 
- (Updatable) JMX Managed Bean Query or Metric Service Table name
- outParam Property MapDetails 
- (Updatable) Position and SQL Type of PL/SQL OUT parameter
- protocolType String
- (Updatable) Supported protocol of resources to be associated with this metric extension. This is optional and defaults to HTTPS, which uses secure connection to the URL
- responseContent StringType 
- (Updatable) Type of content response given by the http(s) URL
- scriptDetails Property Map
- (Updatable) Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored.
- sqlDetails Property Map
- (Updatable) Details of Sql content which needs to execute to collect Metric Extension data
- sqlType String
- (Updatable) Type of SQL data collection method i.e. either a Statement or SQL Script File
- startsWith String
- (Updatable) String prefix used to identify metric output of the OS Command
- url String
- (Updatable) Http(s) end point URL
MetricExtensionQueryPropertiesInParamDetail, MetricExtensionQueryPropertiesInParamDetailArgs              
- InParam intPosition 
- (Updatable) Position of IN parameter
- InParam stringValue 
- (Updatable) Value of IN parameter
- InParam intPosition 
- (Updatable) Position of IN parameter
- InParam stringValue 
- (Updatable) Value of IN parameter
- inParam IntegerPosition 
- (Updatable) Position of IN parameter
- inParam StringValue 
- (Updatable) Value of IN parameter
- inParam numberPosition 
- (Updatable) Position of IN parameter
- inParam stringValue 
- (Updatable) Value of IN parameter
- in_param_ intposition 
- (Updatable) Position of IN parameter
- in_param_ strvalue 
- (Updatable) Value of IN parameter
- inParam NumberPosition 
- (Updatable) Position of IN parameter
- inParam StringValue 
- (Updatable) Value of IN parameter
MetricExtensionQueryPropertiesOutParamDetails, MetricExtensionQueryPropertiesOutParamDetailsArgs              
- OutParam intPosition 
- (Updatable) Position of PL/SQL procedure OUT parameter. The value of this property is ignored during update, if "outParamType" is set to NO_OUT_PARAM value.
- OutParam stringType 
- (Updatable) SQL Type of PL/SQL procedure OUT parameter. During the update, to completely remove the out parameter, use the value NO_OUT_PARAM. In that case, the value of "outParamPosition" will be ignored.
- OutParam stringName 
- (Updatable) Name of the Out Parameter
- OutParam intPosition 
- (Updatable) Position of PL/SQL procedure OUT parameter. The value of this property is ignored during update, if "outParamType" is set to NO_OUT_PARAM value.
- OutParam stringType 
- (Updatable) SQL Type of PL/SQL procedure OUT parameter. During the update, to completely remove the out parameter, use the value NO_OUT_PARAM. In that case, the value of "outParamPosition" will be ignored.
- OutParam stringName 
- (Updatable) Name of the Out Parameter
- outParam IntegerPosition 
- (Updatable) Position of PL/SQL procedure OUT parameter. The value of this property is ignored during update, if "outParamType" is set to NO_OUT_PARAM value.
- outParam StringType 
- (Updatable) SQL Type of PL/SQL procedure OUT parameter. During the update, to completely remove the out parameter, use the value NO_OUT_PARAM. In that case, the value of "outParamPosition" will be ignored.
- outParam StringName 
- (Updatable) Name of the Out Parameter
- outParam numberPosition 
- (Updatable) Position of PL/SQL procedure OUT parameter. The value of this property is ignored during update, if "outParamType" is set to NO_OUT_PARAM value.
- outParam stringType 
- (Updatable) SQL Type of PL/SQL procedure OUT parameter. During the update, to completely remove the out parameter, use the value NO_OUT_PARAM. In that case, the value of "outParamPosition" will be ignored.
- outParam stringName 
- (Updatable) Name of the Out Parameter
- out_param_ intposition 
- (Updatable) Position of PL/SQL procedure OUT parameter. The value of this property is ignored during update, if "outParamType" is set to NO_OUT_PARAM value.
- out_param_ strtype 
- (Updatable) SQL Type of PL/SQL procedure OUT parameter. During the update, to completely remove the out parameter, use the value NO_OUT_PARAM. In that case, the value of "outParamPosition" will be ignored.
- out_param_ strname 
- (Updatable) Name of the Out Parameter
- outParam NumberPosition 
- (Updatable) Position of PL/SQL procedure OUT parameter. The value of this property is ignored during update, if "outParamType" is set to NO_OUT_PARAM value.
- outParam StringType 
- (Updatable) SQL Type of PL/SQL procedure OUT parameter. During the update, to completely remove the out parameter, use the value NO_OUT_PARAM. In that case, the value of "outParamPosition" will be ignored.
- outParam StringName 
- (Updatable) Name of the Out Parameter
MetricExtensionQueryPropertiesScriptDetails, MetricExtensionQueryPropertiesScriptDetailsArgs            
MetricExtensionQueryPropertiesSqlDetails, MetricExtensionQueryPropertiesSqlDetailsArgs            
- Content string
- (Updatable) Sql statement or script file content as base64 encoded string
- ScriptFile stringName 
- (Updatable) If a script needs to be executed, then provide file name of the script
- Content string
- (Updatable) Sql statement or script file content as base64 encoded string
- ScriptFile stringName 
- (Updatable) If a script needs to be executed, then provide file name of the script
- content String
- (Updatable) Sql statement or script file content as base64 encoded string
- scriptFile StringName 
- (Updatable) If a script needs to be executed, then provide file name of the script
- content string
- (Updatable) Sql statement or script file content as base64 encoded string
- scriptFile stringName 
- (Updatable) If a script needs to be executed, then provide file name of the script
- content str
- (Updatable) Sql statement or script file content as base64 encoded string
- script_file_ strname 
- (Updatable) If a script needs to be executed, then provide file name of the script
- content String
- (Updatable) Sql statement or script file content as base64 encoded string
- scriptFile StringName 
- (Updatable) If a script needs to be executed, then provide file name of the script
Import
MetricExtensions can be imported using the id, e.g.
$ pulumi import oci:StackMonitoring/metricExtension:MetricExtension test_metric_extension "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.