Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.StackMonitoring.getMetricExtensions
Explore with Pulumi AI
This data source provides the list of Metric Extensions in Oracle Cloud Infrastructure Stack Monitoring service.
Returns a list of metric extensions
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMetricExtensions = oci.StackMonitoring.getMetricExtensions({
    compartmentId: compartmentId,
    enabledOnResourceId: testResource.id,
    metricExtensionId: testMetricExtension.id,
    name: metricExtensionName,
    resourceType: metricExtensionResourceType,
    state: metricExtensionState,
    status: metricExtensionStatus,
});
import pulumi
import pulumi_oci as oci
test_metric_extensions = oci.StackMonitoring.get_metric_extensions(compartment_id=compartment_id,
    enabled_on_resource_id=test_resource["id"],
    metric_extension_id=test_metric_extension["id"],
    name=metric_extension_name,
    resource_type=metric_extension_resource_type,
    state=metric_extension_state,
    status=metric_extension_status)
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.GetMetricExtensions(ctx, &stackmonitoring.GetMetricExtensionsArgs{
			CompartmentId:       pulumi.StringRef(compartmentId),
			EnabledOnResourceId: pulumi.StringRef(testResource.Id),
			MetricExtensionId:   pulumi.StringRef(testMetricExtension.Id),
			Name:                pulumi.StringRef(metricExtensionName),
			ResourceType:        pulumi.StringRef(metricExtensionResourceType),
			State:               pulumi.StringRef(metricExtensionState),
			Status:              pulumi.StringRef(metricExtensionStatus),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testMetricExtensions = Oci.StackMonitoring.GetMetricExtensions.Invoke(new()
    {
        CompartmentId = compartmentId,
        EnabledOnResourceId = testResource.Id,
        MetricExtensionId = testMetricExtension.Id,
        Name = metricExtensionName,
        ResourceType = metricExtensionResourceType,
        State = metricExtensionState,
        Status = metricExtensionStatus,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.StackMonitoring.StackMonitoringFunctions;
import com.pulumi.oci.StackMonitoring.inputs.GetMetricExtensionsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var testMetricExtensions = StackMonitoringFunctions.getMetricExtensions(GetMetricExtensionsArgs.builder()
            .compartmentId(compartmentId)
            .enabledOnResourceId(testResource.id())
            .metricExtensionId(testMetricExtension.id())
            .name(metricExtensionName)
            .resourceType(metricExtensionResourceType)
            .state(metricExtensionState)
            .status(metricExtensionStatus)
            .build());
    }
}
variables:
  testMetricExtensions:
    fn::invoke:
      function: oci:StackMonitoring:getMetricExtensions
      arguments:
        compartmentId: ${compartmentId}
        enabledOnResourceId: ${testResource.id}
        metricExtensionId: ${testMetricExtension.id}
        name: ${metricExtensionName}
        resourceType: ${metricExtensionResourceType}
        state: ${metricExtensionState}
        status: ${metricExtensionStatus}
Using getMetricExtensions
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMetricExtensions(args: GetMetricExtensionsArgs, opts?: InvokeOptions): Promise<GetMetricExtensionsResult>
function getMetricExtensionsOutput(args: GetMetricExtensionsOutputArgs, opts?: InvokeOptions): Output<GetMetricExtensionsResult>def get_metric_extensions(compartment_id: Optional[str] = None,
                          enabled_on_resource_id: Optional[str] = None,
                          filters: Optional[Sequence[GetMetricExtensionsFilter]] = None,
                          metric_extension_id: Optional[str] = None,
                          name: Optional[str] = None,
                          resource_type: Optional[str] = None,
                          state: Optional[str] = None,
                          status: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetMetricExtensionsResult
def get_metric_extensions_output(compartment_id: Optional[pulumi.Input[str]] = None,
                          enabled_on_resource_id: Optional[pulumi.Input[str]] = None,
                          filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetMetricExtensionsFilterArgs]]]] = None,
                          metric_extension_id: Optional[pulumi.Input[str]] = None,
                          name: Optional[pulumi.Input[str]] = None,
                          resource_type: Optional[pulumi.Input[str]] = None,
                          state: Optional[pulumi.Input[str]] = None,
                          status: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetMetricExtensionsResult]func GetMetricExtensions(ctx *Context, args *GetMetricExtensionsArgs, opts ...InvokeOption) (*GetMetricExtensionsResult, error)
func GetMetricExtensionsOutput(ctx *Context, args *GetMetricExtensionsOutputArgs, opts ...InvokeOption) GetMetricExtensionsResultOutput> Note: This function is named GetMetricExtensions in the Go SDK.
public static class GetMetricExtensions 
{
    public static Task<GetMetricExtensionsResult> InvokeAsync(GetMetricExtensionsArgs args, InvokeOptions? opts = null)
    public static Output<GetMetricExtensionsResult> Invoke(GetMetricExtensionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMetricExtensionsResult> getMetricExtensions(GetMetricExtensionsArgs args, InvokeOptions options)
public static Output<GetMetricExtensionsResult> getMetricExtensions(GetMetricExtensionsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:StackMonitoring/getMetricExtensions:getMetricExtensions
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The ID of the compartment in which data is listed.
- EnabledOn stringResource Id 
- A filter to return metric extensions based on input resource Id on which metric extension is enabled
- Filters
List<GetMetric Extensions Filter> 
- MetricExtension stringId 
- Identifier for the metric extension
- Name string
- A filter to return resources based on name.
- ResourceType string
- A filter to return resources based on resource type.
- State string
- A filter to return metric extensions based on Lifecycle State
- Status string
- A filter to return resources based on status e.g. Draft or Published
- CompartmentId string
- The ID of the compartment in which data is listed.
- EnabledOn stringResource Id 
- A filter to return metric extensions based on input resource Id on which metric extension is enabled
- Filters
[]GetMetric Extensions Filter 
- MetricExtension stringId 
- Identifier for the metric extension
- Name string
- A filter to return resources based on name.
- ResourceType string
- A filter to return resources based on resource type.
- State string
- A filter to return metric extensions based on Lifecycle State
- Status string
- A filter to return resources based on status e.g. Draft or Published
- compartmentId String
- The ID of the compartment in which data is listed.
- enabledOn StringResource Id 
- A filter to return metric extensions based on input resource Id on which metric extension is enabled
- filters
List<GetMetric Extensions Filter> 
- metricExtension StringId 
- Identifier for the metric extension
- name String
- A filter to return resources based on name.
- resourceType String
- A filter to return resources based on resource type.
- state String
- A filter to return metric extensions based on Lifecycle State
- status String
- A filter to return resources based on status e.g. Draft or Published
- compartmentId string
- The ID of the compartment in which data is listed.
- enabledOn stringResource Id 
- A filter to return metric extensions based on input resource Id on which metric extension is enabled
- filters
GetMetric Extensions Filter[] 
- metricExtension stringId 
- Identifier for the metric extension
- name string
- A filter to return resources based on name.
- resourceType string
- A filter to return resources based on resource type.
- state string
- A filter to return metric extensions based on Lifecycle State
- status string
- A filter to return resources based on status e.g. Draft or Published
- compartment_id str
- The ID of the compartment in which data is listed.
- enabled_on_ strresource_ id 
- A filter to return metric extensions based on input resource Id on which metric extension is enabled
- filters
Sequence[GetMetric Extensions Filter] 
- metric_extension_ strid 
- Identifier for the metric extension
- name str
- A filter to return resources based on name.
- resource_type str
- A filter to return resources based on resource type.
- state str
- A filter to return metric extensions based on Lifecycle State
- status str
- A filter to return resources based on status e.g. Draft or Published
- compartmentId String
- The ID of the compartment in which data is listed.
- enabledOn StringResource Id 
- A filter to return metric extensions based on input resource Id on which metric extension is enabled
- filters List<Property Map>
- metricExtension StringId 
- Identifier for the metric extension
- name String
- A filter to return resources based on name.
- resourceType String
- A filter to return resources based on resource type.
- state String
- A filter to return metric extensions based on Lifecycle State
- status String
- A filter to return resources based on status e.g. Draft or Published
getMetricExtensions Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- MetricExtension List<GetCollections Metric Extensions Metric Extension Collection> 
- The list of metric_extension_collection.
- CompartmentId string
- Compartment Identifier OCID
- EnabledOn stringResource Id 
- Filters
List<GetMetric Extensions Filter> 
- MetricExtension stringId 
- Name string
- Name of the script file
- ResourceType string
- Resource type to which Metric Extension applies
- 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
- Id string
- The provider-assigned unique ID for this managed resource.
- MetricExtension []GetCollections Metric Extensions Metric Extension Collection 
- The list of metric_extension_collection.
- CompartmentId string
- Compartment Identifier OCID
- EnabledOn stringResource Id 
- Filters
[]GetMetric Extensions Filter 
- MetricExtension stringId 
- Name string
- Name of the script file
- ResourceType string
- Resource type to which Metric Extension applies
- 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
- id String
- The provider-assigned unique ID for this managed resource.
- metricExtension List<GetCollections Metric Extensions Metric Extension Collection> 
- The list of metric_extension_collection.
- compartmentId String
- Compartment Identifier OCID
- enabledOn StringResource Id 
- filters
List<GetMetric Extensions Filter> 
- metricExtension StringId 
- name String
- Name of the script file
- resourceType String
- Resource type to which Metric Extension applies
- 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
- id string
- The provider-assigned unique ID for this managed resource.
- metricExtension GetCollections Metric Extensions Metric Extension Collection[] 
- The list of metric_extension_collection.
- compartmentId string
- Compartment Identifier OCID
- enabledOn stringResource Id 
- filters
GetMetric Extensions Filter[] 
- metricExtension stringId 
- name string
- Name of the script file
- resourceType string
- Resource type to which Metric Extension applies
- 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
- id str
- The provider-assigned unique ID for this managed resource.
- metric_extension_ Sequence[Getcollections Metric Extensions Metric Extension Collection] 
- The list of metric_extension_collection.
- compartment_id str
- Compartment Identifier OCID
- enabled_on_ strresource_ id 
- filters
Sequence[GetMetric Extensions Filter] 
- metric_extension_ strid 
- name str
- Name of the script file
- resource_type str
- Resource type to which Metric Extension applies
- 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
- id String
- The provider-assigned unique ID for this managed resource.
- metricExtension List<Property Map>Collections 
- The list of metric_extension_collection.
- compartmentId String
- Compartment Identifier OCID
- enabledOn StringResource Id 
- filters List<Property Map>
- metricExtension StringId 
- name String
- Name of the script file
- resourceType String
- Resource type to which Metric Extension applies
- 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
Supporting Types
GetMetricExtensionsFilter   
GetMetricExtensionsMetricExtensionCollection     
GetMetricExtensionsMetricExtensionCollectionItem      
- CollectionMethod string
- Type of possible collection methods.
- CollectionRecurrences string
- Schedule of metric extension should use RFC 5545 format > 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
- The ID of the compartment in which data is listed.
- CreatedBy string
- Created by user
- Description string
- Description of the metric extension.
- DisplayName string
- Display name of the metric.
- EnabledOn List<GetResources Metric Extensions Metric Extension Collection Item 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 OCID of Metric Extension resource
- LastUpdated stringBy 
- Last updated by user
- MetricLists List<GetMetric Extensions Metric Extension Collection Item Metric List> 
- List of metrics which are part of this metric extension
- Name string
- A filter to return resources based on name.
- PublishTrigger bool
- QueryProperties List<GetMetric Extensions Metric Extension Collection Item Query Property> 
- Collection method and query properties details of metric extension
- ResourceType string
- A filter to return resources based on resource type.
- ResourceUri string
- The URI path that the user can do a GET on to access the metric extension metadata
- State string
- A filter to return metric extensions based on Lifecycle State
- Status string
- A filter to return resources based on status e.g. 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
- Schedule of metric extension should use RFC 5545 format > 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
- The ID of the compartment in which data is listed.
- CreatedBy string
- Created by user
- Description string
- Description of the metric extension.
- DisplayName string
- Display name of the metric.
- EnabledOn []GetResources Metric Extensions Metric Extension Collection Item 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 OCID of Metric Extension resource
- LastUpdated stringBy 
- Last updated by user
- MetricLists []GetMetric Extensions Metric Extension Collection Item Metric List 
- List of metrics which are part of this metric extension
- Name string
- A filter to return resources based on name.
- PublishTrigger bool
- QueryProperties []GetMetric Extensions Metric Extension Collection Item Query Property 
- Collection method and query properties details of metric extension
- ResourceType string
- A filter to return resources based on resource type.
- ResourceUri string
- The URI path that the user can do a GET on to access the metric extension metadata
- State string
- A filter to return metric extensions based on Lifecycle State
- Status string
- A filter to return resources based on status e.g. 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
- Schedule of metric extension should use RFC 5545 format > 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
- The ID of the compartment in which data is listed.
- createdBy String
- Created by user
- description String
- Description of the metric extension.
- displayName String
- Display name of the metric.
- enabledOn List<GetResources Metric Extensions Metric Extension Collection Item 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 OCID of Metric Extension resource
- lastUpdated StringBy 
- Last updated by user
- metricLists List<GetMetric Extensions Metric Extension Collection Item Metric List> 
- List of metrics which are part of this metric extension
- name String
- A filter to return resources based on name.
- publishTrigger Boolean
- queryProperties List<GetMetric Extensions Metric Extension Collection Item Query Property> 
- Collection method and query properties details of metric extension
- resourceType String
- A filter to return resources based on resource type.
- resourceUri String
- The URI path that the user can do a GET on to access the metric extension metadata
- state String
- A filter to return metric extensions based on Lifecycle State
- status String
- A filter to return resources based on status e.g. 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
- Schedule of metric extension should use RFC 5545 format > 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
- The ID of the compartment in which data is listed.
- createdBy string
- Created by user
- description string
- Description of the metric extension.
- displayName string
- Display name of the metric.
- enabledOn GetResources Metric Extensions Metric Extension Collection Item 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 OCID of Metric Extension resource
- lastUpdated stringBy 
- Last updated by user
- metricLists GetMetric Extensions Metric Extension Collection Item Metric List[] 
- List of metrics which are part of this metric extension
- name string
- A filter to return resources based on name.
- publishTrigger boolean
- queryProperties GetMetric Extensions Metric Extension Collection Item Query Property[] 
- Collection method and query properties details of metric extension
- resourceType string
- A filter to return resources based on resource type.
- resourceUri string
- The URI path that the user can do a GET on to access the metric extension metadata
- state string
- A filter to return metric extensions based on Lifecycle State
- status string
- A filter to return resources based on status e.g. 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
- Schedule of metric extension should use RFC 5545 format > 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
- The ID of the compartment in which data is listed.
- created_by str
- Created by user
- description str
- Description of the metric extension.
- display_name str
- Display name of the metric.
- enabled_on_ Sequence[Getresources Metric Extensions Metric Extension Collection Item 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 OCID of Metric Extension resource
- last_updated_ strby 
- Last updated by user
- metric_lists Sequence[GetMetric Extensions Metric Extension Collection Item Metric List] 
- List of metrics which are part of this metric extension
- name str
- A filter to return resources based on name.
- publish_trigger bool
- query_properties Sequence[GetMetric Extensions Metric Extension Collection Item Query Property] 
- Collection method and query properties details of metric extension
- resource_type str
- A filter to return resources based on resource type.
- resource_uri str
- The URI path that the user can do a GET on to access the metric extension metadata
- state str
- A filter to return metric extensions based on Lifecycle State
- status str
- A filter to return resources based on status e.g. 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
- Schedule of metric extension should use RFC 5545 format > 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
- The ID of the compartment in which data is listed.
- createdBy String
- Created by user
- description String
- Description of the metric extension.
- displayName String
- Display name of the metric.
- 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 OCID of Metric Extension resource
- lastUpdated StringBy 
- Last updated by user
- metricLists List<Property Map>
- List of metrics which are part of this metric extension
- name String
- A filter to return resources based on name.
- publishTrigger Boolean
- queryProperties List<Property Map>
- Collection method and query properties details of metric extension
- resourceType String
- A filter to return resources based on resource type.
- resourceUri String
- The URI path that the user can do a GET on to access the metric extension metadata
- state String
- A filter to return metric extensions based on Lifecycle State
- status String
- A filter to return resources based on status e.g. 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.
GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource         
- 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
GetMetricExtensionsMetricExtensionCollectionItemMetricList        
- ComputeExpression string
- Compute Expression to calculate the value of this metric
- DataType string
- Data type of value of this metric
- DisplayName string
- Display name of the metric.
- IsDimension bool
- Current metric need to be included as dimension or not
- bool
- 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
- Metric category
- Name string
- A filter to return resources based on name.
- Unit string
- Unit of metric value
- ComputeExpression string
- Compute Expression to calculate the value of this metric
- DataType string
- Data type of value of this metric
- DisplayName string
- Display name of the metric.
- IsDimension bool
- Current metric need to be included as dimension or not
- bool
- 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
- Metric category
- Name string
- A filter to return resources based on name.
- Unit string
- Unit of metric value
- computeExpression String
- Compute Expression to calculate the value of this metric
- dataType String
- Data type of value of this metric
- displayName String
- Display name of the metric.
- isDimension Boolean
- Current metric need to be included as dimension or not
- Boolean
- 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
- Metric category
- name String
- A filter to return resources based on name.
- unit String
- Unit of metric value
- computeExpression string
- Compute Expression to calculate the value of this metric
- dataType string
- Data type of value of this metric
- displayName string
- Display name of the metric.
- isDimension boolean
- Current metric need to be included as dimension or not
- boolean
- 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
- Metric category
- name string
- A filter to return resources based on name.
- unit string
- Unit of metric value
- compute_expression str
- Compute Expression to calculate the value of this metric
- data_type str
- Data type of value of this metric
- display_name str
- Display name of the metric.
- is_dimension bool
- Current metric need to be included as dimension or not
- bool
- 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
- Metric category
- name str
- A filter to return resources based on name.
- unit str
- Unit of metric value
- computeExpression String
- Compute Expression to calculate the value of this metric
- dataType String
- Data type of value of this metric
- displayName String
- Display name of the metric.
- isDimension Boolean
- Current metric need to be included as dimension or not
- Boolean
- 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
- Metric category
- name String
- A filter to return resources based on name.
- unit String
- Unit of metric value
GetMetricExtensionsMetricExtensionCollectionItemQueryProperty        
- Arguments string
- Arguments required by either command or script
- AutoRow stringPrefix 
- Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- CollectionMethod string
- Type of possible collection methods.
- Command string
- OS command to execute without arguments
- Delimiter string
- Character used to delimit multiple metric values in single line of output
- IdentityMetric string
- Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- InParam List<GetDetails Metric Extensions Metric Extension Collection Item Query Property In Param Detail> 
- List of values and position of PL/SQL procedure IN parameters
- IsMetric boolService Enabled 
- Indicates if Metric Service is enabled on server domain
- JmxAttributes string
- List of JMX attributes or Metric Service Table columns separated by semi-colon
- ManagedBean stringQuery 
- JMX Managed Bean Query or Metric Service Table name
- OutParam List<GetDetails Metric Extensions Metric Extension Collection Item Query Property Out Param Detail> 
- Position and SQL Type of PL/SQL OUT parameter
- ProtocolType string
- 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 
- Type of content response given by the http(s) URL
- ScriptDetails List<GetMetric Extensions Metric Extension Collection Item Query Property Script Detail> 
- 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 List<GetMetric Extensions Metric Extension Collection Item Query Property Sql Detail> 
- Details of Sql content which needs to execute to collect Metric Extension data
- SqlType string
- Type of SQL data collection method i.e. either a Statement or SQL Script File
- StartsWith string
- String prefix used to identify metric output of the OS Command
- Url string
- Http(s) end point URL
- Arguments string
- Arguments required by either command or script
- AutoRow stringPrefix 
- Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- CollectionMethod string
- Type of possible collection methods.
- Command string
- OS command to execute without arguments
- Delimiter string
- Character used to delimit multiple metric values in single line of output
- IdentityMetric string
- Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- InParam []GetDetails Metric Extensions Metric Extension Collection Item Query Property In Param Detail 
- List of values and position of PL/SQL procedure IN parameters
- IsMetric boolService Enabled 
- Indicates if Metric Service is enabled on server domain
- JmxAttributes string
- List of JMX attributes or Metric Service Table columns separated by semi-colon
- ManagedBean stringQuery 
- JMX Managed Bean Query or Metric Service Table name
- OutParam []GetDetails Metric Extensions Metric Extension Collection Item Query Property Out Param Detail 
- Position and SQL Type of PL/SQL OUT parameter
- ProtocolType string
- 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 
- Type of content response given by the http(s) URL
- ScriptDetails []GetMetric Extensions Metric Extension Collection Item Query Property Script Detail 
- 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 []GetMetric Extensions Metric Extension Collection Item Query Property Sql Detail 
- Details of Sql content which needs to execute to collect Metric Extension data
- SqlType string
- Type of SQL data collection method i.e. either a Statement or SQL Script File
- StartsWith string
- String prefix used to identify metric output of the OS Command
- Url string
- Http(s) end point URL
- arguments String
- Arguments required by either command or script
- autoRow StringPrefix 
- Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- collectionMethod String
- Type of possible collection methods.
- command String
- OS command to execute without arguments
- delimiter String
- Character used to delimit multiple metric values in single line of output
- identityMetric String
- Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- inParam List<GetDetails Metric Extensions Metric Extension Collection Item Query Property In Param Detail> 
- List of values and position of PL/SQL procedure IN parameters
- isMetric BooleanService Enabled 
- Indicates if Metric Service is enabled on server domain
- jmxAttributes String
- List of JMX attributes or Metric Service Table columns separated by semi-colon
- managedBean StringQuery 
- JMX Managed Bean Query or Metric Service Table name
- outParam List<GetDetails Metric Extensions Metric Extension Collection Item Query Property Out Param Detail> 
- Position and SQL Type of PL/SQL OUT parameter
- protocolType String
- 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 
- Type of content response given by the http(s) URL
- scriptDetails List<GetMetric Extensions Metric Extension Collection Item Query Property Script Detail> 
- 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 List<GetMetric Extensions Metric Extension Collection Item Query Property Sql Detail> 
- Details of Sql content which needs to execute to collect Metric Extension data
- sqlType String
- Type of SQL data collection method i.e. either a Statement or SQL Script File
- startsWith String
- String prefix used to identify metric output of the OS Command
- url String
- Http(s) end point URL
- arguments string
- Arguments required by either command or script
- autoRow stringPrefix 
- Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- collectionMethod string
- Type of possible collection methods.
- command string
- OS command to execute without arguments
- delimiter string
- Character used to delimit multiple metric values in single line of output
- identityMetric string
- Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- inParam GetDetails Metric Extensions Metric Extension Collection Item Query Property In Param Detail[] 
- List of values and position of PL/SQL procedure IN parameters
- isMetric booleanService Enabled 
- Indicates if Metric Service is enabled on server domain
- jmxAttributes string
- List of JMX attributes or Metric Service Table columns separated by semi-colon
- managedBean stringQuery 
- JMX Managed Bean Query or Metric Service Table name
- outParam GetDetails Metric Extensions Metric Extension Collection Item Query Property Out Param Detail[] 
- Position and SQL Type of PL/SQL OUT parameter
- protocolType string
- 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 
- Type of content response given by the http(s) URL
- scriptDetails GetMetric Extensions Metric Extension Collection Item Query Property Script Detail[] 
- 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 GetMetric Extensions Metric Extension Collection Item Query Property Sql Detail[] 
- Details of Sql content which needs to execute to collect Metric Extension data
- sqlType string
- Type of SQL data collection method i.e. either a Statement or SQL Script File
- startsWith string
- String prefix used to identify metric output of the OS Command
- url string
- Http(s) end point URL
- arguments str
- Arguments required by either command or script
- auto_row_ strprefix 
- Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- collection_method str
- Type of possible collection methods.
- command str
- OS command to execute without arguments
- delimiter str
- Character used to delimit multiple metric values in single line of output
- identity_metric str
- Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- in_param_ Sequence[Getdetails Metric Extensions Metric Extension Collection Item Query Property In Param Detail] 
- List of values and position of PL/SQL procedure IN parameters
- is_metric_ boolservice_ enabled 
- Indicates if Metric Service is enabled on server domain
- jmx_attributes str
- List of JMX attributes or Metric Service Table columns separated by semi-colon
- managed_bean_ strquery 
- JMX Managed Bean Query or Metric Service Table name
- out_param_ Sequence[Getdetails Metric Extensions Metric Extension Collection Item Query Property Out Param Detail] 
- Position and SQL Type of PL/SQL OUT parameter
- protocol_type str
- 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 
- Type of content response given by the http(s) URL
- script_details Sequence[GetMetric Extensions Metric Extension Collection Item Query Property Script Detail] 
- 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 Sequence[GetMetric Extensions Metric Extension Collection Item Query Property Sql Detail] 
- Details of Sql content which needs to execute to collect Metric Extension data
- sql_type str
- Type of SQL data collection method i.e. either a Statement or SQL Script File
- starts_with str
- String prefix used to identify metric output of the OS Command
- url str
- Http(s) end point URL
- arguments String
- Arguments required by either command or script
- autoRow StringPrefix 
- Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- collectionMethod String
- Type of possible collection methods.
- command String
- OS command to execute without arguments
- delimiter String
- Character used to delimit multiple metric values in single line of output
- identityMetric String
- Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- inParam List<Property Map>Details 
- List of values and position of PL/SQL procedure IN parameters
- isMetric BooleanService Enabled 
- Indicates if Metric Service is enabled on server domain
- jmxAttributes String
- List of JMX attributes or Metric Service Table columns separated by semi-colon
- managedBean StringQuery 
- JMX Managed Bean Query or Metric Service Table name
- outParam List<Property Map>Details 
- Position and SQL Type of PL/SQL OUT parameter
- protocolType String
- 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 
- Type of content response given by the http(s) URL
- scriptDetails List<Property Map>
- 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 List<Property Map>
- Details of Sql content which needs to execute to collect Metric Extension data
- sqlType String
- Type of SQL data collection method i.e. either a Statement or SQL Script File
- startsWith String
- String prefix used to identify metric output of the OS Command
- url String
- Http(s) end point URL
GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail           
- InParam intPosition 
- Position of IN parameter
- InParam stringValue 
- Value of IN parameter
- InParam intPosition 
- Position of IN parameter
- InParam stringValue 
- Value of IN parameter
- inParam IntegerPosition 
- Position of IN parameter
- inParam StringValue 
- Value of IN parameter
- inParam numberPosition 
- Position of IN parameter
- inParam stringValue 
- Value of IN parameter
- in_param_ intposition 
- Position of IN parameter
- in_param_ strvalue 
- Value of IN parameter
- inParam NumberPosition 
- Position of IN parameter
- inParam StringValue 
- Value of IN parameter
GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail           
- OutParam stringName 
- Name of the Out Parameter
- OutParam intPosition 
- 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 
- 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 
- Name of the Out Parameter
- OutParam intPosition 
- 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 
- 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 
- Name of the Out Parameter
- outParam IntegerPosition 
- 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 
- 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 
- Name of the Out Parameter
- outParam numberPosition 
- 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 
- 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 
- Name of the Out Parameter
- out_param_ intposition 
- 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 
- 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 
- Name of the Out Parameter
- outParam NumberPosition 
- 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 
- 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.
GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail          
GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail          
- Content string
- Sql statement or script file content as base64 encoded string
- ScriptFile stringName 
- If a script needs to be executed, then provide file name of the script
- Content string
- Sql statement or script file content as base64 encoded string
- ScriptFile stringName 
- If a script needs to be executed, then provide file name of the script
- content String
- Sql statement or script file content as base64 encoded string
- scriptFile StringName 
- If a script needs to be executed, then provide file name of the script
- content string
- Sql statement or script file content as base64 encoded string
- scriptFile stringName 
- If a script needs to be executed, then provide file name of the script
- content str
- Sql statement or script file content as base64 encoded string
- script_file_ strname 
- If a script needs to be executed, then provide file name of the script
- content String
- Sql statement or script file content as base64 encoded string
- scriptFile StringName 
- If a script needs to be executed, then provide file name of the script
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.