Viewing docs for Oracle Cloud Infrastructure v4.3.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.3.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
This data source provides details about a specific Metric Extension resource in Oracle Cloud Infrastructure Stack Monitoring service.
Gets a Metric Extension by identifier
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMetricExtension = oci.StackMonitoring.getMetricExtension({
metricExtensionId: testMetricExtensionOciStackMonitoringMetricExtension.id,
});
import pulumi
import pulumi_oci as oci
test_metric_extension = oci.StackMonitoring.get_metric_extension(metric_extension_id=test_metric_extension_oci_stack_monitoring_metric_extension["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/stackmonitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := stackmonitoring.GetMetricExtension(ctx, &stackmonitoring.GetMetricExtensionArgs{
MetricExtensionId: testMetricExtensionOciStackMonitoringMetricExtension.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testMetricExtension = Oci.StackMonitoring.GetMetricExtension.Invoke(new()
{
MetricExtensionId = testMetricExtensionOciStackMonitoringMetricExtension.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.StackMonitoring.StackMonitoringFunctions;
import com.pulumi.oci.StackMonitoring.inputs.GetMetricExtensionArgs;
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 testMetricExtension = StackMonitoringFunctions.getMetricExtension(GetMetricExtensionArgs.builder()
.metricExtensionId(testMetricExtensionOciStackMonitoringMetricExtension.id())
.build());
}
}
variables:
testMetricExtension:
fn::invoke:
function: oci:StackMonitoring:getMetricExtension
arguments:
metricExtensionId: ${testMetricExtensionOciStackMonitoringMetricExtension.id}
Using getMetricExtension
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 getMetricExtension(args: GetMetricExtensionArgs, opts?: InvokeOptions): Promise<GetMetricExtensionResult>
function getMetricExtensionOutput(args: GetMetricExtensionOutputArgs, opts?: InvokeOptions): Output<GetMetricExtensionResult>def get_metric_extension(metric_extension_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMetricExtensionResult
def get_metric_extension_output(metric_extension_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMetricExtensionResult]func LookupMetricExtension(ctx *Context, args *LookupMetricExtensionArgs, opts ...InvokeOption) (*LookupMetricExtensionResult, error)
func LookupMetricExtensionOutput(ctx *Context, args *LookupMetricExtensionOutputArgs, opts ...InvokeOption) LookupMetricExtensionResultOutput> Note: This function is named LookupMetricExtension in the Go SDK.
public static class GetMetricExtension
{
public static Task<GetMetricExtensionResult> InvokeAsync(GetMetricExtensionArgs args, InvokeOptions? opts = null)
public static Output<GetMetricExtensionResult> Invoke(GetMetricExtensionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMetricExtensionResult> getMetricExtension(GetMetricExtensionArgs args, InvokeOptions options)
public static Output<GetMetricExtensionResult> getMetricExtension(GetMetricExtensionArgs args, InvokeOptions options)
fn::invoke:
function: oci:StackMonitoring/getMetricExtension:getMetricExtension
arguments:
# arguments dictionaryThe following arguments are supported:
- Metric
Extension stringId - The OCID of the metric extension resource.
- Metric
Extension stringId - The OCID of the metric extension resource.
- metric
Extension StringId - The OCID of the metric extension resource.
- metric
Extension stringId - The OCID of the metric extension resource.
- metric_
extension_ strid - The OCID of the metric extension resource.
- metric
Extension StringId - The OCID of the metric extension resource.
getMetricExtension Result
The following output properties are available:
- Collection
Method string - Type of possible collection methods.
- Collection
Recurrences 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
- Compartment
Id string - Compartment Identifier OCID
- Created
By string - Created by user
- Description string
- Description of the metric extension.
- Display
Name string - Display name of the metric.
- Enabled
On List<GetResources Metric Extension Enabled On Resource> - List of resource details objects having resourceIds on which this metric extension is enabled.
- Enabled
On intResources Count - Count of resources on which this metric extension is enabled.
- Id string
- The OCID of Metric Extension resource
- Last
Updated stringBy - Last updated by user
- Metric
Extension stringId - Metric
Lists List<GetMetric Extension Metric List> - List of metrics which are part of this metric extension
- Name string
- Name of the script file
- Publish
Trigger bool - Query
Properties List<GetMetric Extension Query Property> - Collection method and query properties details of metric extension
- Resource
Type string - Resource type to which Metric Extension applies
- Resource
Uri string - The URI path that the user can do a GET on to access the metric extension metadata
- State string
- The current lifecycle state of the metric extension
- Status string
- The current status of the metric extension i.e. whether it is Draft or Published
- Tenant
Id string - Tenant Identifier OCID
- Time
Created string - Metric Extension creation time. An RFC3339 formatted datetime string.
- Time
Updated string - Metric Extension update time. An RFC3339 formatted datetime string.
- Collection
Method string - Type of possible collection methods.
- Collection
Recurrences 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
- Compartment
Id string - Compartment Identifier OCID
- Created
By string - Created by user
- Description string
- Description of the metric extension.
- Display
Name string - Display name of the metric.
- Enabled
On []GetResources Metric Extension Enabled On Resource - List of resource details objects having resourceIds on which this metric extension is enabled.
- Enabled
On intResources Count - Count of resources on which this metric extension is enabled.
- Id string
- The OCID of Metric Extension resource
- Last
Updated stringBy - Last updated by user
- Metric
Extension stringId - Metric
Lists []GetMetric Extension Metric List - List of metrics which are part of this metric extension
- Name string
- Name of the script file
- Publish
Trigger bool - Query
Properties []GetMetric Extension Query Property - Collection method and query properties details of metric extension
- Resource
Type string - Resource type to which Metric Extension applies
- Resource
Uri string - The URI path that the user can do a GET on to access the metric extension metadata
- State string
- The current lifecycle state of the metric extension
- Status string
- The current status of the metric extension i.e. whether it is Draft or Published
- Tenant
Id string - Tenant Identifier OCID
- Time
Created string - Metric Extension creation time. An RFC3339 formatted datetime string.
- Time
Updated string - Metric Extension update time. An RFC3339 formatted datetime string.
- collection
Method String - Type of possible collection methods.
- collection
Recurrences 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
- compartment
Id String - Compartment Identifier OCID
- created
By String - Created by user
- description String
- Description of the metric extension.
- display
Name String - Display name of the metric.
- enabled
On List<GetResources Metric Extension Enabled On Resource> - List of resource details objects having resourceIds on which this metric extension is enabled.
- enabled
On IntegerResources Count - Count of resources on which this metric extension is enabled.
- id String
- The OCID of Metric Extension resource
- last
Updated StringBy - Last updated by user
- metric
Extension StringId - metric
Lists List<GetMetric Extension Metric List> - List of metrics which are part of this metric extension
- name String
- Name of the script file
- publish
Trigger Boolean - query
Properties List<GetMetric Extension Query Property> - Collection method and query properties details of metric extension
- resource
Type String - Resource type to which Metric Extension applies
- resource
Uri String - The URI path that the user can do a GET on to access the metric extension metadata
- state String
- The current lifecycle state of the metric extension
- status String
- The current status of the metric extension i.e. whether it is Draft or Published
- tenant
Id String - Tenant Identifier OCID
- time
Created String - Metric Extension creation time. An RFC3339 formatted datetime string.
- time
Updated String - Metric Extension update time. An RFC3339 formatted datetime string.
- collection
Method string - Type of possible collection methods.
- collection
Recurrences 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
- compartment
Id string - Compartment Identifier OCID
- created
By string - Created by user
- description string
- Description of the metric extension.
- display
Name string - Display name of the metric.
- enabled
On GetResources Metric Extension Enabled On Resource[] - List of resource details objects having resourceIds on which this metric extension is enabled.
- enabled
On numberResources Count - Count of resources on which this metric extension is enabled.
- id string
- The OCID of Metric Extension resource
- last
Updated stringBy - Last updated by user
- metric
Extension stringId - metric
Lists GetMetric Extension Metric List[] - List of metrics which are part of this metric extension
- name string
- Name of the script file
- publish
Trigger boolean - query
Properties GetMetric Extension Query Property[] - Collection method and query properties details of metric extension
- resource
Type string - Resource type to which Metric Extension applies
- resource
Uri string - The URI path that the user can do a GET on to access the metric extension metadata
- state string
- The current lifecycle state of the metric extension
- status string
- The current status of the metric extension i.e. whether it is Draft or Published
- tenant
Id string - Tenant Identifier OCID
- time
Created string - Metric Extension creation time. An RFC3339 formatted datetime string.
- time
Updated 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 - Compartment Identifier OCID
- 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 Extension Enabled On Resource] - List of resource details objects having resourceIds on which this metric extension is enabled.
- enabled_
on_ intresources_ count - Count of resources on which this metric extension is enabled.
- id str
- The OCID of Metric Extension resource
- last_
updated_ strby - Last updated by user
- metric_
extension_ strid - metric_
lists Sequence[GetMetric Extension Metric List] - List of metrics which are part of this metric extension
- name str
- Name of the script file
- publish_
trigger bool - query_
properties Sequence[GetMetric Extension Query Property] - Collection method and query properties details of metric extension
- resource_
type str - Resource type to which Metric Extension applies
- resource_
uri str - The URI path that the user can do a GET on to access the metric extension metadata
- state str
- The current lifecycle state of the metric extension
- status str
- The current status of the metric extension i.e. whether it is Draft or Published
- tenant_
id str - Tenant Identifier OCID
- time_
created str - Metric Extension creation time. An RFC3339 formatted datetime string.
- time_
updated str - Metric Extension update time. An RFC3339 formatted datetime string.
- collection
Method String - Type of possible collection methods.
- collection
Recurrences 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
- compartment
Id String - Compartment Identifier OCID
- created
By String - Created by user
- description String
- Description of the metric extension.
- display
Name String - Display name of the metric.
- enabled
On List<Property Map>Resources - List of resource details objects having resourceIds on which this metric extension is enabled.
- enabled
On NumberResources Count - Count of resources on which this metric extension is enabled.
- id String
- The OCID of Metric Extension resource
- last
Updated StringBy - Last updated by user
- metric
Extension StringId - metric
Lists List<Property Map> - List of metrics which are part of this metric extension
- name String
- Name of the script file
- publish
Trigger Boolean - query
Properties List<Property Map> - Collection method and query properties details of metric extension
- resource
Type String - Resource type to which Metric Extension applies
- resource
Uri String - The URI path that the user can do a GET on to access the metric extension metadata
- state String
- The current lifecycle state of the metric extension
- status String
- The current status of the metric extension i.e. whether it is Draft or Published
- tenant
Id String - Tenant Identifier OCID
- time
Created String - Metric Extension creation time. An RFC3339 formatted datetime string.
- time
Updated String - Metric Extension update time. An RFC3339 formatted datetime string.
Supporting Types
GetMetricExtensionEnabledOnResource
- Resource
Id string - The OCID of the resource on which Metric Extension is enabled
- Resource
Id string - The OCID of the resource on which Metric Extension is enabled
- resource
Id String - The OCID of the resource on which Metric Extension is enabled
- resource
Id 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
- resource
Id String - The OCID of the resource on which Metric Extension is enabled
GetMetricExtensionMetricList
- Compute
Expression string - Compute Expression to calculate the value of this metric
- Data
Type string - Data type of value of this metric
- Display
Name string - 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 string - Metric category
- Name string
- Name of the script file
- Unit string
- Unit of metric value
- Compute
Expression string - Compute Expression to calculate the value of this metric
- Data
Type string - Data type of value of this metric
- Display
Name string - 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 string - Metric category
- Name string
- Name of the script file
- Unit string
- Unit of metric value
- compute
Expression String - Compute Expression to calculate the value of this metric
- data
Type String - Data type of value of this metric
- display
Name String - Display name of the metric.
- is
Dimension 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
- metric
Category String - Metric category
- name String
- Name of the script file
- unit String
- Unit of metric value
- compute
Expression string - Compute Expression to calculate the value of this metric
- data
Type string - Data type of value of this metric
- display
Name string - Display name of the metric.
- is
Dimension 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
- metric
Category string - Metric category
- name string
- Name of the script file
- 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
- Name of the script file
- unit str
- Unit of metric value
- compute
Expression String - Compute Expression to calculate the value of this metric
- data
Type String - Data type of value of this metric
- display
Name String - Display name of the metric.
- is
Dimension 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
- metric
Category String - Metric category
- name String
- Name of the script file
- unit String
- Unit of metric value
GetMetricExtensionQueryProperty
- Arguments string
- Arguments required by either command or script
- Auto
Row stringPrefix - Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- Collection
Method 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
- Identity
Metric string - Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- In
Param List<GetDetails Metric Extension 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 string - List of JMX attributes or Metric Service Table columns separated by semi-colon
- Managed
Bean stringQuery - JMX Managed Bean Query or Metric Service Table name
- Out
Param List<GetDetails Metric Extension Query Property Out Param Detail> - Position and SQL Type of PL/SQL OUT parameter
- Protocol
Type 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
- Response
Content stringType - Type of content response given by the http(s) URL
- Script
Details List<GetMetric Extension 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 List<GetMetric Extension Query Property Sql Detail> - Details of Sql content which needs to execute to collect Metric Extension data
- Sql
Type string - Type of SQL data collection method i.e. either a Statement or SQL Script File
- Starts
With 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
- Auto
Row stringPrefix - Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- Collection
Method 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
- Identity
Metric string - Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- In
Param []GetDetails Metric Extension 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 string - List of JMX attributes or Metric Service Table columns separated by semi-colon
- Managed
Bean stringQuery - JMX Managed Bean Query or Metric Service Table name
- Out
Param []GetDetails Metric Extension Query Property Out Param Detail - Position and SQL Type of PL/SQL OUT parameter
- Protocol
Type 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
- Response
Content stringType - Type of content response given by the http(s) URL
- Script
Details []GetMetric Extension 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 []GetMetric Extension Query Property Sql Detail - Details of Sql content which needs to execute to collect Metric Extension data
- Sql
Type string - Type of SQL data collection method i.e. either a Statement or SQL Script File
- Starts
With 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
- auto
Row StringPrefix - Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- collection
Method 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
- identity
Metric String - Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- in
Param List<GetDetails Metric Extension Query Property In Param Detail> - List of values and position of PL/SQL procedure IN parameters
- is
Metric BooleanService Enabled - Indicates if Metric Service is enabled on server domain
- jmx
Attributes String - List of JMX attributes or Metric Service Table columns separated by semi-colon
- managed
Bean StringQuery - JMX Managed Bean Query or Metric Service Table name
- out
Param List<GetDetails Metric Extension Query Property Out Param Detail> - Position and SQL Type of PL/SQL OUT parameter
- protocol
Type 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
- response
Content StringType - Type of content response given by the http(s) URL
- script
Details List<GetMetric Extension 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 List<GetMetric Extension Query Property Sql Detail> - Details of Sql content which needs to execute to collect Metric Extension data
- sql
Type String - Type of SQL data collection method i.e. either a Statement or SQL Script File
- starts
With 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
- auto
Row stringPrefix - Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- collection
Method 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
- identity
Metric string - Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- in
Param GetDetails Metric Extension Query Property In Param Detail[] - List of values and position of PL/SQL procedure IN parameters
- is
Metric booleanService Enabled - Indicates if Metric Service is enabled on server domain
- jmx
Attributes string - List of JMX attributes or Metric Service Table columns separated by semi-colon
- managed
Bean stringQuery - JMX Managed Bean Query or Metric Service Table name
- out
Param GetDetails Metric Extension Query Property Out Param Detail[] - Position and SQL Type of PL/SQL OUT parameter
- protocol
Type 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
- response
Content stringType - Type of content response given by the http(s) URL
- script
Details GetMetric Extension 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 GetMetric Extension Query Property Sql Detail[] - Details of Sql content which needs to execute to collect Metric Extension data
- sql
Type string - Type of SQL data collection method i.e. either a Statement or SQL Script File
- starts
With 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 Extension 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 Extension 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 Extension 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 Extension 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
- auto
Row StringPrefix - Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- collection
Method 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
- identity
Metric String - Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- in
Param List<Property Map>Details - List of values and position of PL/SQL procedure IN parameters
- is
Metric BooleanService Enabled - Indicates if Metric Service is enabled on server domain
- jmx
Attributes String - List of JMX attributes or Metric Service Table columns separated by semi-colon
- managed
Bean StringQuery - JMX Managed Bean Query or Metric Service Table name
- out
Param List<Property Map>Details - Position and SQL Type of PL/SQL OUT parameter
- protocol
Type 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
- response
Content StringType - Type of content response given by the http(s) URL
- script
Details 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.
- sql
Details List<Property Map> - Details of Sql content which needs to execute to collect Metric Extension data
- sql
Type String - Type of SQL data collection method i.e. either a Statement or SQL Script File
- starts
With String - String prefix used to identify metric output of the OS Command
- url String
- Http(s) end point URL
GetMetricExtensionQueryPropertyInParamDetail
- In
Param intPosition - Position of IN parameter
- In
Param stringValue - Value of IN parameter
- In
Param intPosition - Position of IN parameter
- In
Param stringValue - Value of IN parameter
- in
Param IntegerPosition - Position of IN parameter
- in
Param StringValue - Value of IN parameter
- in
Param numberPosition - Position of IN parameter
- in
Param stringValue - Value of IN parameter
- in_
param_ intposition - Position of IN parameter
- in_
param_ strvalue - Value of IN parameter
- in
Param NumberPosition - Position of IN parameter
- in
Param StringValue - Value of IN parameter
GetMetricExtensionQueryPropertyOutParamDetail
- Out
Param stringName - 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 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 stringName - 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 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 StringName - Name of the Out Parameter
- out
Param 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.
- out
Param 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 stringName - Name of the Out Parameter
- out
Param 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.
- out
Param 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.
- out
Param StringName - Name of the Out Parameter
- out
Param 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.
- out
Param 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.
GetMetricExtensionQueryPropertyScriptDetail
GetMetricExtensionQueryPropertySqlDetail
- Content string
- Sql statement or script file content as base64 encoded string
- Script
File 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
- Script
File 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
- script
File 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
- script
File 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
- script
File 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.
Viewing docs for Oracle Cloud Infrastructure v4.3.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
