Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 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,
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/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: 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:
- Compartment
Id string - The ID of the compartment in which data is listed.
- Enabled
On stringResource Id - A filter to return metric extensions based on input resource Id on which metric extension is enabled
- Filters
List<Get
Metric Extensions Filter> - Name string
- A filter to return resources based on name.
- Resource
Type 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 string - The ID of the compartment in which data is listed.
- Enabled
On stringResource Id - A filter to return metric extensions based on input resource Id on which metric extension is enabled
- Filters
[]Get
Metric Extensions Filter - Name string
- A filter to return resources based on name.
- Resource
Type 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 String - The ID of the compartment in which data is listed.
- enabled
On StringResource Id - A filter to return metric extensions based on input resource Id on which metric extension is enabled
- filters
List<Get
Metric Extensions Filter> - name String
- A filter to return resources based on name.
- resource
Type 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 string - The ID of the compartment in which data is listed.
- enabled
On stringResource Id - A filter to return metric extensions based on input resource Id on which metric extension is enabled
- filters
Get
Metric Extensions Filter[] - name string
- A filter to return resources based on name.
- resource
Type 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[stackmonitoring.
Get Metric Extensions Filter] - 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
- compartment
Id String - The ID of the compartment in which data is listed.
- enabled
On StringResource Id - 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.
- resource
Type 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:
- Compartment
Id string - Compartment Identifier OCID
- Id string
- The provider-assigned unique ID for this managed resource.
- Metric
Extension List<GetCollections Metric Extensions Metric Extension Collection> - The list of metric_extension_collection.
- Enabled
On stringResource Id - Filters
List<Get
Metric Extensions Filter> - Name string
- Name of the script file
- Resource
Type 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 string - Compartment Identifier OCID
- Id string
- The provider-assigned unique ID for this managed resource.
- Metric
Extension []GetCollections Metric Extensions Metric Extension Collection - The list of metric_extension_collection.
- Enabled
On stringResource Id - Filters
[]Get
Metric Extensions Filter - Name string
- Name of the script file
- Resource
Type 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 String - Compartment Identifier OCID
- id String
- The provider-assigned unique ID for this managed resource.
- metric
Extension List<GetCollections Metric Extensions Metric Extension Collection> - The list of metric_extension_collection.
- enabled
On StringResource Id - filters
List<Get
Metric Extensions Filter> - name String
- Name of the script file
- resource
Type 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 string - Compartment Identifier OCID
- id string
- The provider-assigned unique ID for this managed resource.
- metric
Extension GetCollections Metric Extensions Metric Extension Collection[] - The list of metric_extension_collection.
- enabled
On stringResource Id - filters
Get
Metric Extensions Filter[] - name string
- Name of the script file
- resource
Type 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_ Sequence[stackmonitoring.collections Get Metric Extensions Metric Extension Collection] - The list of metric_extension_collection.
- enabled_
on_ strresource_ id - filters
Sequence[stackmonitoring.
Get Metric Extensions Filter] - 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
- compartment
Id String - Compartment Identifier OCID
- id String
- The provider-assigned unique ID for this managed resource.
- metric
Extension List<Property Map>Collections - The list of metric_extension_collection.
- enabled
On StringResource Id - filters List<Property Map>
- name String
- Name of the script file
- resource
Type 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
- 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 - The ID of the compartment in which data is listed.
- 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 Extensions Metric Extension Collection Item Enabled On Resource> - List of resource objects 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
Lists 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.
- Publish
Trigger bool - Query
Properties List<GetMetric Extensions Metric Extension Collection Item Query Property> - Collection method and query properties details of metric extension
- Resource
Type string - A filter to return resources based on resource type.
- Resource
Uri 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
- 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 - The ID of the compartment in which data is listed.
- 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 Extensions Metric Extension Collection Item Enabled On Resource - List of resource objects 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
Lists []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.
- Publish
Trigger bool - Query
Properties []GetMetric Extensions Metric Extension Collection Item Query Property - Collection method and query properties details of metric extension
- Resource
Type string - A filter to return resources based on resource type.
- Resource
Uri 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
- 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 - The ID of the compartment in which data is listed.
- 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 Extensions Metric Extension Collection Item Enabled On Resource> - List of resource objects 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
Lists 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.
- publish
Trigger Boolean - query
Properties List<GetMetric Extensions Metric Extension Collection Item Query Property> - Collection method and query properties details of metric extension
- resource
Type String - A filter to return resources based on resource type.
- resource
Uri 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
- 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 - The ID of the compartment in which data is listed.
- 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 Extensions Metric Extension Collection Item Enabled On Resource[] - List of resource objects 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
Lists 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.
- publish
Trigger boolean - query
Properties GetMetric Extensions Metric Extension Collection Item Query Property[] - Collection method and query properties details of metric extension
- resource
Type string - A filter to return resources based on resource type.
- resource
Uri 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
- 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 - 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[stackmonitoring.resources Get Metric Extensions Metric Extension Collection Item Enabled On Resource] - List of resource objects 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[stackmonitoring.Get Metric 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[stackmonitoring.Get Metric 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.
- 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 - The ID of the compartment in which data is listed.
- 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 objects 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
Lists List<Property Map> - List of metrics which are part of this metric extension
- name String
- A filter to return resources based on name.
- publish
Trigger Boolean - query
Properties List<Property Map> - Collection method and query properties details of metric extension
- resource
Type String - A filter to return resources based on resource type.
- resource
Uri 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
- 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.
GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource
- 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
GetMetricExtensionsMetricExtensionCollectionItemMetricList
- 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
- A filter to return resources based on name.
- 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
- A filter to return resources based on name.
- 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
- A filter to return resources based on name.
- 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
- 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
- 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
- A filter to return resources based on name.
- unit String
- Unit of metric value
GetMetricExtensionsMetricExtensionCollectionItemQueryProperty
- 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 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 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 Extensions Metric Extension Collection Item Query Property Out Param Detail> - Position and SQL Type of PL/SQL OUT parameter
- Script
Details List<GetMetric Extensions Metric Extension Collection Item Query Property Script Detail> - Script details applicable to any OS Command based Metric Extension which needs to run a script to collect data
- Sql
Details List<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 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
- 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 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 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 Extensions Metric Extension Collection Item Query Property Out Param Detail - Position and SQL Type of PL/SQL OUT parameter
- Script
Details []GetMetric Extensions Metric Extension Collection Item Query Property Script Detail - Script details applicable to any OS Command based Metric Extension which needs to run a script to collect data
- Sql
Details []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 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
- 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 Extensions Metric Extension Collection Item 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 Extensions Metric Extension Collection Item Query Property Out Param Detail> - Position and SQL Type of PL/SQL OUT parameter
- script
Details List<GetMetric Extensions Metric Extension Collection Item Query Property Script Detail> - Script details applicable to any OS Command based Metric Extension which needs to run a script to collect data
- sql
Details List<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 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
- 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 Extensions Metric Extension Collection Item 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 Extensions Metric Extension Collection Item Query Property Out Param Detail[] - Position and SQL Type of PL/SQL OUT parameter
- script
Details GetMetric Extensions Metric Extension Collection Item Query Property Script Detail[] - Script details applicable to any OS Command based Metric Extension which needs to run a script to collect data
- sql
Details 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 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
- 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[stackmonitoring.details Get 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[stackmonitoring.details Get Metric Extensions Metric Extension Collection Item Query Property Out Param Detail] - Position and SQL Type of PL/SQL OUT parameter
- script_
details Sequence[stackmonitoring.Get Metric Extensions Metric Extension Collection Item Query Property Script Detail] - Script details applicable to any OS Command based Metric Extension which needs to run a script to collect data
- sql_
details Sequence[stackmonitoring.Get Metric 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
- 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
- script
Details List<Property Map> - Script details applicable to any OS Command based Metric Extension which needs to run a script to collect data
- 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
GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail
- 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
GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail
- Out
Param intPosition - Position of PL/SQL procedure OUT parameter
- Out
Param stringType - SQL Type of PL/SQL procedure OUT parameter
- Out
Param intPosition - Position of PL/SQL procedure OUT parameter
- Out
Param stringType - SQL Type of PL/SQL procedure OUT parameter
- out
Param IntegerPosition - Position of PL/SQL procedure OUT parameter
- out
Param StringType - SQL Type of PL/SQL procedure OUT parameter
- out
Param numberPosition - Position of PL/SQL procedure OUT parameter
- out
Param stringType - SQL Type of PL/SQL procedure OUT parameter
- out_
param_ intposition - Position of PL/SQL procedure OUT parameter
- out_
param_ strtype - SQL Type of PL/SQL procedure OUT parameter
- out
Param NumberPosition - Position of PL/SQL procedure OUT parameter
- out
Param StringType - SQL Type of PL/SQL procedure OUT parameter
GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail
GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail
- 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
oci
Terraform Provider.