1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. StackMonitoring
  5. getMetricExtensions
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

oci.StackMonitoring.getMetricExtensions

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

    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,
        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"],
        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/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:       compartmentId,
    			EnabledOnResourceId: pulumi.StringRef(testResource.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,
            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())
                .name(metricExtensionName)
                .resourceType(metricExtensionResourceType)
                .state(metricExtensionState)
                .status(metricExtensionStatus)
                .build());
    
        }
    }
    
    variables:
      testMetricExtensions:
        fn::invoke:
          Function: oci:StackMonitoring:getMetricExtensions
          Arguments:
            compartmentId: ${compartmentId}
            enabledOnResourceId: ${testResource.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[_stackmonitoring.GetMetricExtensionsFilter]] = 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[_stackmonitoring.GetMetricExtensionsFilterArgs]]]] = 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:StackMonitoring/getMetricExtensions:getMetricExtensions
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The ID of the compartment in which data is listed.
    EnabledOnResourceId string
    A filter to return metric extensions based on input resource Id on which metric extension is enabled
    Filters List<GetMetricExtensionsFilter>
    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.
    EnabledOnResourceId string
    A filter to return metric extensions based on input resource Id on which metric extension is enabled
    Filters []GetMetricExtensionsFilter
    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.
    enabledOnResourceId String
    A filter to return metric extensions based on input resource Id on which metric extension is enabled
    filters List<GetMetricExtensionsFilter>
    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.
    enabledOnResourceId string
    A filter to return metric extensions based on input resource Id on which metric extension is enabled
    filters GetMetricExtensionsFilter[]
    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_resource_id str
    A filter to return metric extensions based on input resource Id on which metric extension is enabled
    filters Sequence[stackmonitoring.GetMetricExtensionsFilter]
    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.
    enabledOnResourceId String
    A filter to return metric extensions based on input resource Id on which metric extension is enabled
    filters List<Property Map>
    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:

    CompartmentId string
    Compartment Identifier OCID
    Id string
    The provider-assigned unique ID for this managed resource.
    MetricExtensionCollections List<GetMetricExtensionsMetricExtensionCollection>
    The list of metric_extension_collection.
    EnabledOnResourceId string
    Filters List<GetMetricExtensionsFilter>
    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
    CompartmentId string
    Compartment Identifier OCID
    Id string
    The provider-assigned unique ID for this managed resource.
    MetricExtensionCollections []GetMetricExtensionsMetricExtensionCollection
    The list of metric_extension_collection.
    EnabledOnResourceId string
    Filters []GetMetricExtensionsFilter
    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
    compartmentId String
    Compartment Identifier OCID
    id String
    The provider-assigned unique ID for this managed resource.
    metricExtensionCollections List<GetMetricExtensionsMetricExtensionCollection>
    The list of metric_extension_collection.
    enabledOnResourceId String
    filters List<GetMetricExtensionsFilter>
    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
    compartmentId string
    Compartment Identifier OCID
    id string
    The provider-assigned unique ID for this managed resource.
    metricExtensionCollections GetMetricExtensionsMetricExtensionCollection[]
    The list of metric_extension_collection.
    enabledOnResourceId string
    filters GetMetricExtensionsFilter[]
    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
    compartment_id str
    Compartment Identifier OCID
    id str
    The provider-assigned unique ID for this managed resource.
    metric_extension_collections Sequence[stackmonitoring.GetMetricExtensionsMetricExtensionCollection]
    The list of metric_extension_collection.
    enabled_on_resource_id str
    filters Sequence[stackmonitoring.GetMetricExtensionsFilter]
    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
    compartmentId String
    Compartment Identifier OCID
    id String
    The provider-assigned unique ID for this managed resource.
    metricExtensionCollections List<Property Map>
    The list of metric_extension_collection.
    enabledOnResourceId String
    filters List<Property Map>
    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

    Name string
    A filter to return resources based on name.
    Values List<string>
    Regex bool
    Name string
    A filter to return resources based on name.
    Values []string
    Regex bool
    name String
    A filter to return resources based on name.
    values List<String>
    regex Boolean
    name string
    A filter to return resources based on name.
    values string[]
    regex boolean
    name str
    A filter to return resources based on name.
    values Sequence[str]
    regex bool
    name String
    A filter to return resources based on name.
    values List<String>
    regex Boolean

    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.
    EnabledOnResources List<GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource>
    List of resource objects on which this metric extension is enabled.
    EnabledOnResourcesCount int
    Count of resources on which this metric extension is enabled.
    Id string
    The OCID of Metric Extension resource
    LastUpdatedBy string
    Last updated by user
    MetricLists List<GetMetricExtensionsMetricExtensionCollectionItemMetricList>
    List of metrics which are part of this metric extension
    Name string
    A filter to return resources based on name.
    PublishTrigger bool
    QueryProperties List<GetMetricExtensionsMetricExtensionCollectionItemQueryProperty>
    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.
    EnabledOnResources []GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource
    List of resource objects on which this metric extension is enabled.
    EnabledOnResourcesCount int
    Count of resources on which this metric extension is enabled.
    Id string
    The OCID of Metric Extension resource
    LastUpdatedBy string
    Last updated by user
    MetricLists []GetMetricExtensionsMetricExtensionCollectionItemMetricList
    List of metrics which are part of this metric extension
    Name string
    A filter to return resources based on name.
    PublishTrigger bool
    QueryProperties []GetMetricExtensionsMetricExtensionCollectionItemQueryProperty
    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.
    enabledOnResources List<GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource>
    List of resource objects on which this metric extension is enabled.
    enabledOnResourcesCount Integer
    Count of resources on which this metric extension is enabled.
    id String
    The OCID of Metric Extension resource
    lastUpdatedBy String
    Last updated by user
    metricLists List<GetMetricExtensionsMetricExtensionCollectionItemMetricList>
    List of metrics which are part of this metric extension
    name String
    A filter to return resources based on name.
    publishTrigger Boolean
    queryProperties List<GetMetricExtensionsMetricExtensionCollectionItemQueryProperty>
    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.
    enabledOnResources GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource[]
    List of resource objects on which this metric extension is enabled.
    enabledOnResourcesCount number
    Count of resources on which this metric extension is enabled.
    id string
    The OCID of Metric Extension resource
    lastUpdatedBy string
    Last updated by user
    metricLists GetMetricExtensionsMetricExtensionCollectionItemMetricList[]
    List of metrics which are part of this metric extension
    name string
    A filter to return resources based on name.
    publishTrigger boolean
    queryProperties GetMetricExtensionsMetricExtensionCollectionItemQueryProperty[]
    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_resources Sequence[stackmonitoring.GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource]
    List of resource objects on which this metric extension is enabled.
    enabled_on_resources_count int
    Count of resources on which this metric extension is enabled.
    id str
    The OCID of Metric Extension resource
    last_updated_by str
    Last updated by user
    metric_lists Sequence[stackmonitoring.GetMetricExtensionsMetricExtensionCollectionItemMetricList]
    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[stackmonitoring.GetMetricExtensionsMetricExtensionCollectionItemQueryProperty]
    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.
    enabledOnResources List<Property Map>
    List of resource objects on which this metric extension is enabled.
    enabledOnResourcesCount Number
    Count of resources on which this metric extension is enabled.
    id String
    The OCID of Metric Extension resource
    lastUpdatedBy String
    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
    IsHidden 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
    IsHidden 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
    isHidden 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
    isHidden 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
    is_hidden 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
    isHidden 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
    AutoRowPrefix string
    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
    InParamDetails List<GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail>
    List of values and position of PL/SQL procedure IN parameters
    IsMetricServiceEnabled bool
    Indicates if Metric Service is enabled on server domain
    JmxAttributes string
    List of JMX attributes or Metric Service Table columns separated by semi-colon
    ManagedBeanQuery string
    JMX Managed Bean Query or Metric Service Table name
    OutParamDetails List<GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail>
    Position and SQL Type of PL/SQL OUT parameter
    ScriptDetails List<GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail>
    Script details applicable to any OS Command based Metric Extension which needs to run a script to collect data
    SqlDetails List<GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail>
    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
    Arguments string
    Arguments required by either command or script
    AutoRowPrefix string
    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
    InParamDetails []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail
    List of values and position of PL/SQL procedure IN parameters
    IsMetricServiceEnabled bool
    Indicates if Metric Service is enabled on server domain
    JmxAttributes string
    List of JMX attributes or Metric Service Table columns separated by semi-colon
    ManagedBeanQuery string
    JMX Managed Bean Query or Metric Service Table name
    OutParamDetails []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail
    Position and SQL Type of PL/SQL OUT parameter
    ScriptDetails []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail
    Script details applicable to any OS Command based Metric Extension which needs to run a script to collect data
    SqlDetails []GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail
    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
    arguments String
    Arguments required by either command or script
    autoRowPrefix String
    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
    inParamDetails List<GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail>
    List of values and position of PL/SQL procedure IN parameters
    isMetricServiceEnabled Boolean
    Indicates if Metric Service is enabled on server domain
    jmxAttributes String
    List of JMX attributes or Metric Service Table columns separated by semi-colon
    managedBeanQuery String
    JMX Managed Bean Query or Metric Service Table name
    outParamDetails List<GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail>
    Position and SQL Type of PL/SQL OUT parameter
    scriptDetails List<GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail>
    Script details applicable to any OS Command based Metric Extension which needs to run a script to collect data
    sqlDetails List<GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail>
    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
    arguments string
    Arguments required by either command or script
    autoRowPrefix string
    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
    inParamDetails GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail[]
    List of values and position of PL/SQL procedure IN parameters
    isMetricServiceEnabled boolean
    Indicates if Metric Service is enabled on server domain
    jmxAttributes string
    List of JMX attributes or Metric Service Table columns separated by semi-colon
    managedBeanQuery string
    JMX Managed Bean Query or Metric Service Table name
    outParamDetails GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail[]
    Position and SQL Type of PL/SQL OUT parameter
    scriptDetails GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail[]
    Script details applicable to any OS Command based Metric Extension which needs to run a script to collect data
    sqlDetails GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail[]
    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
    arguments str
    Arguments required by either command or script
    auto_row_prefix str
    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_details Sequence[stackmonitoring.GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail]
    List of values and position of PL/SQL procedure IN parameters
    is_metric_service_enabled bool
    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_query str
    JMX Managed Bean Query or Metric Service Table name
    out_param_details Sequence[stackmonitoring.GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail]
    Position and SQL Type of PL/SQL OUT parameter
    script_details Sequence[stackmonitoring.GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail]
    Script details applicable to any OS Command based Metric Extension which needs to run a script to collect data
    sql_details Sequence[stackmonitoring.GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail]
    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
    arguments String
    Arguments required by either command or script
    autoRowPrefix String
    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
    inParamDetails List<Property Map>
    List of values and position of PL/SQL procedure IN parameters
    isMetricServiceEnabled Boolean
    Indicates if Metric Service is enabled on server domain
    jmxAttributes String
    List of JMX attributes or Metric Service Table columns separated by semi-colon
    managedBeanQuery String
    JMX Managed Bean Query or Metric Service Table name
    outParamDetails List<Property Map>
    Position and SQL Type of PL/SQL OUT parameter
    scriptDetails List<Property Map>
    Script details applicable to any OS Command based Metric Extension which needs to run a script to collect data
    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

    GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail

    InParamPosition int
    Position of IN parameter
    InParamValue string
    Value of IN parameter
    InParamPosition int
    Position of IN parameter
    InParamValue string
    Value of IN parameter
    inParamPosition Integer
    Position of IN parameter
    inParamValue String
    Value of IN parameter
    inParamPosition number
    Position of IN parameter
    inParamValue string
    Value of IN parameter
    in_param_position int
    Position of IN parameter
    in_param_value str
    Value of IN parameter
    inParamPosition Number
    Position of IN parameter
    inParamValue String
    Value of IN parameter

    GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail

    OutParamPosition int
    Position of PL/SQL procedure OUT parameter
    OutParamType string
    SQL Type of PL/SQL procedure OUT parameter
    OutParamPosition int
    Position of PL/SQL procedure OUT parameter
    OutParamType string
    SQL Type of PL/SQL procedure OUT parameter
    outParamPosition Integer
    Position of PL/SQL procedure OUT parameter
    outParamType String
    SQL Type of PL/SQL procedure OUT parameter
    outParamPosition number
    Position of PL/SQL procedure OUT parameter
    outParamType string
    SQL Type of PL/SQL procedure OUT parameter
    out_param_position int
    Position of PL/SQL procedure OUT parameter
    out_param_type str
    SQL Type of PL/SQL procedure OUT parameter
    outParamPosition Number
    Position of PL/SQL procedure OUT parameter
    outParamType String
    SQL Type of PL/SQL procedure OUT parameter

    GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail

    Content string
    Sql statement or script file content as base64 encoded string
    Name string
    A filter to return resources based on name.
    Content string
    Sql statement or script file content as base64 encoded string
    Name string
    A filter to return resources based on name.
    content String
    Sql statement or script file content as base64 encoded string
    name String
    A filter to return resources based on name.
    content string
    Sql statement or script file content as base64 encoded string
    name string
    A filter to return resources based on name.
    content str
    Sql statement or script file content as base64 encoded string
    name str
    A filter to return resources based on name.
    content String
    Sql statement or script file content as base64 encoded string
    name String
    A filter to return resources based on name.

    GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail

    Content string
    Sql statement or script file content as base64 encoded string
    ScriptFileName string
    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
    ScriptFileName string
    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
    scriptFileName String
    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
    scriptFileName string
    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_name str
    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
    scriptFileName String
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi