Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi
oci.StackMonitoring.getMetricExtensions
Explore with Pulumi AI
This data source provides the list of Metric Extensions in Oracle Cloud Infrastructure Stack Monitoring service.
Returns a list of metric extensions
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMetricExtensions = oci.StackMonitoring.getMetricExtensions({
compartmentId: compartmentId,
enabledOnResourceId: testResource.id,
metricExtensionId: testMetricExtension.id,
name: metricExtensionName,
resourceType: metricExtensionResourceType,
state: metricExtensionState,
status: metricExtensionStatus,
});
import pulumi
import pulumi_oci as oci
test_metric_extensions = oci.StackMonitoring.get_metric_extensions(compartment_id=compartment_id,
enabled_on_resource_id=test_resource["id"],
metric_extension_id=test_metric_extension["id"],
name=metric_extension_name,
resource_type=metric_extension_resource_type,
state=metric_extension_state,
status=metric_extension_status)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := stackmonitoring.GetMetricExtensions(ctx, &stackmonitoring.GetMetricExtensionsArgs{
CompartmentId: pulumi.StringRef(compartmentId),
EnabledOnResourceId: pulumi.StringRef(testResource.Id),
MetricExtensionId: pulumi.StringRef(testMetricExtension.Id),
Name: pulumi.StringRef(metricExtensionName),
ResourceType: pulumi.StringRef(metricExtensionResourceType),
State: pulumi.StringRef(metricExtensionState),
Status: pulumi.StringRef(metricExtensionStatus),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testMetricExtensions = Oci.StackMonitoring.GetMetricExtensions.Invoke(new()
{
CompartmentId = compartmentId,
EnabledOnResourceId = testResource.Id,
MetricExtensionId = testMetricExtension.Id,
Name = metricExtensionName,
ResourceType = metricExtensionResourceType,
State = metricExtensionState,
Status = metricExtensionStatus,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.StackMonitoring.StackMonitoringFunctions;
import com.pulumi.oci.StackMonitoring.inputs.GetMetricExtensionsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testMetricExtensions = StackMonitoringFunctions.getMetricExtensions(GetMetricExtensionsArgs.builder()
.compartmentId(compartmentId)
.enabledOnResourceId(testResource.id())
.metricExtensionId(testMetricExtension.id())
.name(metricExtensionName)
.resourceType(metricExtensionResourceType)
.state(metricExtensionState)
.status(metricExtensionStatus)
.build());
}
}
variables:
testMetricExtensions:
fn::invoke:
function: oci:StackMonitoring:getMetricExtensions
arguments:
compartmentId: ${compartmentId}
enabledOnResourceId: ${testResource.id}
metricExtensionId: ${testMetricExtension.id}
name: ${metricExtensionName}
resourceType: ${metricExtensionResourceType}
state: ${metricExtensionState}
status: ${metricExtensionStatus}
Using getMetricExtensions
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMetricExtensions(args: GetMetricExtensionsArgs, opts?: InvokeOptions): Promise<GetMetricExtensionsResult>
function getMetricExtensionsOutput(args: GetMetricExtensionsOutputArgs, opts?: InvokeOptions): Output<GetMetricExtensionsResult>
def get_metric_extensions(compartment_id: Optional[str] = None,
enabled_on_resource_id: Optional[str] = None,
filters: Optional[Sequence[_stackmonitoring.GetMetricExtensionsFilter]] = None,
metric_extension_id: Optional[str] = None,
name: Optional[str] = None,
resource_type: Optional[str] = None,
state: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMetricExtensionsResult
def get_metric_extensions_output(compartment_id: Optional[pulumi.Input[str]] = None,
enabled_on_resource_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_stackmonitoring.GetMetricExtensionsFilterArgs]]]] = None,
metric_extension_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
resource_type: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMetricExtensionsResult]
func GetMetricExtensions(ctx *Context, args *GetMetricExtensionsArgs, opts ...InvokeOption) (*GetMetricExtensionsResult, error)
func GetMetricExtensionsOutput(ctx *Context, args *GetMetricExtensionsOutputArgs, opts ...InvokeOption) GetMetricExtensionsResultOutput
> Note: This function is named GetMetricExtensions
in the Go SDK.
public static class GetMetricExtensions
{
public static Task<GetMetricExtensionsResult> InvokeAsync(GetMetricExtensionsArgs args, InvokeOptions? opts = null)
public static Output<GetMetricExtensionsResult> Invoke(GetMetricExtensionsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMetricExtensionsResult> getMetricExtensions(GetMetricExtensionsArgs args, InvokeOptions options)
public static Output<GetMetricExtensionsResult> getMetricExtensions(GetMetricExtensionsArgs args, InvokeOptions options)
fn::invoke:
function: oci:StackMonitoring/getMetricExtensions:getMetricExtensions
arguments:
# arguments 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
Changes to this property will trigger replacement.
Metric Extensions Filter> - Metric
Extension stringId - Identifier for the metric extension
- 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
Changes to this property will trigger replacement.
Metric Extensions Filter - Metric
Extension stringId - Identifier for the metric extension
- 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
Changes to this property will trigger replacement.
Metric Extensions Filter> - metric
Extension StringId - Identifier for the metric extension
- 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
Changes to this property will trigger replacement.
Metric Extensions Filter[] - metric
Extension stringId - Identifier for the metric extension
- 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
Changes to this property will trigger replacement.
Get Metric Extensions Filter] - metric_
extension_ strid - Identifier for the metric extension
- name str
- A filter to return resources based on name.
- resource_
type str - A filter to return resources based on resource type.
- state str
- A filter to return metric extensions based on Lifecycle State
- status str
- A filter to return resources based on status e.g. Draft or Published
- 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
Changes to this property will trigger replacement.
- metric
Extension StringId - Identifier for the metric extension
- 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:
- 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.
- Compartment
Id string - Compartment Identifier OCID
- Enabled
On stringResource Id - Filters
List<Get
Metric Extensions Filter> - Metric
Extension stringId - 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
- 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.
- Compartment
Id string - Compartment Identifier OCID
- Enabled
On stringResource Id - Filters
[]Get
Metric Extensions Filter - Metric
Extension stringId - 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
- 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.
- compartment
Id String - Compartment Identifier OCID
- enabled
On StringResource Id - filters
List<Get
Metric Extensions Filter> - metric
Extension StringId - 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
- 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.
- compartment
Id string - Compartment Identifier OCID
- enabled
On stringResource Id - filters
Get
Metric Extensions Filter[] - metric
Extension stringId - 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
- 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.
- compartment_
id str - Compartment Identifier OCID
- enabled_
on_ strresource_ id - filters
Sequence[stackmonitoring.
Get Metric Extensions Filter] - metric_
extension_ strid - name str
- Name of the script file
- resource_
type str - Resource type to which Metric Extension applies
- state str
- The current lifecycle state of the metric extension
- status str
- The current status of the metric extension i.e. whether it is Draft or Published
- id String
- The provider-assigned unique ID for this managed resource.
- metric
Extension List<Property Map>Collections - The list of metric_extension_collection.
- compartment
Id String - Compartment Identifier OCID
- enabled
On StringResource Id - filters List<Property Map>
- metric
Extension StringId - 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
- Items
This property is required. List<GetMetric Extensions Metric Extension Collection Item>
- Items
This property is required. []GetMetric Extensions Metric Extension Collection Item
- items
This property is required. List<GetMetric Extensions Metric Extension Collection Item>
- items
This property is required. GetMetric Extensions Metric Extension Collection Item[]
- items
This property is required. Sequence[stackmonitoring.Get Metric Extensions Metric Extension Collection Item]
- items
This property is required. List<Property Map>
GetMetricExtensionsMetricExtensionCollectionItem
- Collection
Method This property is required. string - Type of possible collection methods.
- Collection
Recurrences This property is required. 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 This property is required. string - The ID of the compartment in which data is listed.
- Created
By This property is required. string - Created by user
- Description
This property is required. string - Description of the metric extension.
- Display
Name This property is required. string - Display name of the metric.
- Enabled
On Resources This property is required. List<GetMetric Extensions Metric Extension Collection Item Enabled On Resource> - List of resource details objects having resourceIds on which this metric extension is enabled.
- Enabled
On Resources Count This property is required. int - Count of resources on which this metric extension is enabled.
- Id
This property is required. string - The OCID of Metric Extension resource
- Last
Updated By This property is required. string - Last updated by user
- Metric
Lists This property is required. List<GetMetric Extensions Metric Extension Collection Item Metric List> - List of metrics which are part of this metric extension
- Name
This property is required. string - A filter to return resources based on name.
- Publish
Trigger This property is required. bool - Query
Properties This property is required. List<GetMetric Extensions Metric Extension Collection Item Query Property> - Collection method and query properties details of metric extension
- Resource
Type This property is required. string - A filter to return resources based on resource type.
- Resource
Uri This property is required. string - The URI path that the user can do a GET on to access the metric extension metadata
- State
This property is required. string - A filter to return metric extensions based on Lifecycle State
- Status
This property is required. string - A filter to return resources based on status e.g. Draft or Published
- Tenant
Id This property is required. string - Tenant Identifier OCID
- Time
Created This property is required. string - Metric Extension creation time. An RFC3339 formatted datetime string.
- Time
Updated This property is required. string - Metric Extension update time. An RFC3339 formatted datetime string.
- Collection
Method This property is required. string - Type of possible collection methods.
- Collection
Recurrences This property is required. 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 This property is required. string - The ID of the compartment in which data is listed.
- Created
By This property is required. string - Created by user
- Description
This property is required. string - Description of the metric extension.
- Display
Name This property is required. string - Display name of the metric.
- Enabled
On Resources This property is required. []GetMetric Extensions Metric Extension Collection Item Enabled On Resource - List of resource details objects having resourceIds on which this metric extension is enabled.
- Enabled
On Resources Count This property is required. int - Count of resources on which this metric extension is enabled.
- Id
This property is required. string - The OCID of Metric Extension resource
- Last
Updated By This property is required. string - Last updated by user
- Metric
Lists This property is required. []GetMetric Extensions Metric Extension Collection Item Metric List - List of metrics which are part of this metric extension
- Name
This property is required. string - A filter to return resources based on name.
- Publish
Trigger This property is required. bool - Query
Properties This property is required. []GetMetric Extensions Metric Extension Collection Item Query Property - Collection method and query properties details of metric extension
- Resource
Type This property is required. string - A filter to return resources based on resource type.
- Resource
Uri This property is required. string - The URI path that the user can do a GET on to access the metric extension metadata
- State
This property is required. string - A filter to return metric extensions based on Lifecycle State
- Status
This property is required. string - A filter to return resources based on status e.g. Draft or Published
- Tenant
Id This property is required. string - Tenant Identifier OCID
- Time
Created This property is required. string - Metric Extension creation time. An RFC3339 formatted datetime string.
- Time
Updated This property is required. string - Metric Extension update time. An RFC3339 formatted datetime string.
- collection
Method This property is required. String - Type of possible collection methods.
- collection
Recurrences This property is required. 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 This property is required. String - The ID of the compartment in which data is listed.
- created
By This property is required. String - Created by user
- description
This property is required. String - Description of the metric extension.
- display
Name This property is required. String - Display name of the metric.
- enabled
On Resources This property is required. List<GetMetric Extensions Metric Extension Collection Item Enabled On Resource> - List of resource details objects having resourceIds on which this metric extension is enabled.
- enabled
On Resources Count This property is required. Integer - Count of resources on which this metric extension is enabled.
- id
This property is required. String - The OCID of Metric Extension resource
- last
Updated By This property is required. String - Last updated by user
- metric
Lists This property is required. List<GetMetric Extensions Metric Extension Collection Item Metric List> - List of metrics which are part of this metric extension
- name
This property is required. String - A filter to return resources based on name.
- publish
Trigger This property is required. Boolean - query
Properties This property is required. List<GetMetric Extensions Metric Extension Collection Item Query Property> - Collection method and query properties details of metric extension
- resource
Type This property is required. String - A filter to return resources based on resource type.
- resource
Uri This property is required. String - The URI path that the user can do a GET on to access the metric extension metadata
- state
This property is required. String - A filter to return metric extensions based on Lifecycle State
- status
This property is required. String - A filter to return resources based on status e.g. Draft or Published
- tenant
Id This property is required. String - Tenant Identifier OCID
- time
Created This property is required. String - Metric Extension creation time. An RFC3339 formatted datetime string.
- time
Updated This property is required. String - Metric Extension update time. An RFC3339 formatted datetime string.
- collection
Method This property is required. string - Type of possible collection methods.
- collection
Recurrences This property is required. 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 This property is required. string - The ID of the compartment in which data is listed.
- created
By This property is required. string - Created by user
- description
This property is required. string - Description of the metric extension.
- display
Name This property is required. string - Display name of the metric.
- enabled
On Resources This property is required. GetMetric Extensions Metric Extension Collection Item Enabled On Resource[] - List of resource details objects having resourceIds on which this metric extension is enabled.
- enabled
On Resources Count This property is required. number - Count of resources on which this metric extension is enabled.
- id
This property is required. string - The OCID of Metric Extension resource
- last
Updated By This property is required. string - Last updated by user
- metric
Lists This property is required. GetMetric Extensions Metric Extension Collection Item Metric List[] - List of metrics which are part of this metric extension
- name
This property is required. string - A filter to return resources based on name.
- publish
Trigger This property is required. boolean - query
Properties This property is required. GetMetric Extensions Metric Extension Collection Item Query Property[] - Collection method and query properties details of metric extension
- resource
Type This property is required. string - A filter to return resources based on resource type.
- resource
Uri This property is required. string - The URI path that the user can do a GET on to access the metric extension metadata
- state
This property is required. string - A filter to return metric extensions based on Lifecycle State
- status
This property is required. string - A filter to return resources based on status e.g. Draft or Published
- tenant
Id This property is required. string - Tenant Identifier OCID
- time
Created This property is required. string - Metric Extension creation time. An RFC3339 formatted datetime string.
- time
Updated This property is required. string - Metric Extension update time. An RFC3339 formatted datetime string.
- collection_
method This property is required. str - Type of possible collection methods.
- collection_
recurrences This property is required. 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 This property is required. str - The ID of the compartment in which data is listed.
- created_
by This property is required. str - Created by user
- description
This property is required. str - Description of the metric extension.
- display_
name This property is required. str - Display name of the metric.
- enabled_
on_ resources This property is required. Sequence[stackmonitoring.Get Metric Extensions Metric Extension Collection Item Enabled On Resource] - List of resource details objects having resourceIds on which this metric extension is enabled.
- enabled_
on_ resources_ count This property is required. int - Count of resources on which this metric extension is enabled.
- id
This property is required. str - The OCID of Metric Extension resource
- last_
updated_ by This property is required. str - Last updated by user
- metric_
lists This property is required. Sequence[stackmonitoring.Get Metric Extensions Metric Extension Collection Item Metric List] - List of metrics which are part of this metric extension
- name
This property is required. str - A filter to return resources based on name.
- publish_
trigger This property is required. bool - query_
properties This property is required. Sequence[stackmonitoring.Get Metric Extensions Metric Extension Collection Item Query Property] - Collection method and query properties details of metric extension
- resource_
type This property is required. str - A filter to return resources based on resource type.
- resource_
uri This property is required. str - The URI path that the user can do a GET on to access the metric extension metadata
- state
This property is required. str - A filter to return metric extensions based on Lifecycle State
- status
This property is required. str - A filter to return resources based on status e.g. Draft or Published
- tenant_
id This property is required. str - Tenant Identifier OCID
- time_
created This property is required. str - Metric Extension creation time. An RFC3339 formatted datetime string.
- time_
updated This property is required. str - Metric Extension update time. An RFC3339 formatted datetime string.
- collection
Method This property is required. String - Type of possible collection methods.
- collection
Recurrences This property is required. 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 This property is required. String - The ID of the compartment in which data is listed.
- created
By This property is required. String - Created by user
- description
This property is required. String - Description of the metric extension.
- display
Name This property is required. String - Display name of the metric.
- enabled
On Resources This property is required. List<Property Map> - List of resource details objects having resourceIds on which this metric extension is enabled.
- enabled
On Resources Count This property is required. Number - Count of resources on which this metric extension is enabled.
- id
This property is required. String - The OCID of Metric Extension resource
- last
Updated By This property is required. String - Last updated by user
- metric
Lists This property is required. List<Property Map> - List of metrics which are part of this metric extension
- name
This property is required. String - A filter to return resources based on name.
- publish
Trigger This property is required. Boolean - query
Properties This property is required. List<Property Map> - Collection method and query properties details of metric extension
- resource
Type This property is required. String - A filter to return resources based on resource type.
- resource
Uri This property is required. String - The URI path that the user can do a GET on to access the metric extension metadata
- state
This property is required. String - A filter to return metric extensions based on Lifecycle State
- status
This property is required. String - A filter to return resources based on status e.g. Draft or Published
- tenant
Id This property is required. String - Tenant Identifier OCID
- time
Created This property is required. String - Metric Extension creation time. An RFC3339 formatted datetime string.
- time
Updated This property is required. String - Metric Extension update time. An RFC3339 formatted datetime string.
GetMetricExtensionsMetricExtensionCollectionItemEnabledOnResource
- Resource
Id This property is required. string - The OCID of the resource on which Metric Extension is enabled
- Resource
Id This property is required. string - The OCID of the resource on which Metric Extension is enabled
- resource
Id This property is required. String - The OCID of the resource on which Metric Extension is enabled
- resource
Id This property is required. string - The OCID of the resource on which Metric Extension is enabled
- resource_
id This property is required. str - The OCID of the resource on which Metric Extension is enabled
- resource
Id This property is required. String - The OCID of the resource on which Metric Extension is enabled
GetMetricExtensionsMetricExtensionCollectionItemMetricList
- Compute
Expression This property is required. string - Compute Expression to calculate the value of this metric
- Data
Type This property is required. string - Data type of value of this metric
- Display
Name This property is required. string - Display name of the metric.
- Is
Dimension This property is required. bool - Current metric need to be included as dimension or not
This property is required. 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 This property is required. string - Metric category
- Name
This property is required. string - A filter to return resources based on name.
- Unit
This property is required. string - Unit of metric value
- Compute
Expression This property is required. string - Compute Expression to calculate the value of this metric
- Data
Type This property is required. string - Data type of value of this metric
- Display
Name This property is required. string - Display name of the metric.
- Is
Dimension This property is required. bool - Current metric need to be included as dimension or not
This property is required. 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 This property is required. string - Metric category
- Name
This property is required. string - A filter to return resources based on name.
- Unit
This property is required. string - Unit of metric value
- compute
Expression This property is required. String - Compute Expression to calculate the value of this metric
- data
Type This property is required. String - Data type of value of this metric
- display
Name This property is required. String - Display name of the metric.
- is
Dimension This property is required. Boolean - Current metric need to be included as dimension or not
This property is required. 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 This property is required. String - Metric category
- name
This property is required. String - A filter to return resources based on name.
- unit
This property is required. String - Unit of metric value
- compute
Expression This property is required. string - Compute Expression to calculate the value of this metric
- data
Type This property is required. string - Data type of value of this metric
- display
Name This property is required. string - Display name of the metric.
- is
Dimension This property is required. boolean - Current metric need to be included as dimension or not
This property is required. 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 This property is required. string - Metric category
- name
This property is required. string - A filter to return resources based on name.
- unit
This property is required. string - Unit of metric value
- compute_
expression This property is required. str - Compute Expression to calculate the value of this metric
- data_
type This property is required. str - Data type of value of this metric
- display_
name This property is required. str - Display name of the metric.
- is_
dimension This property is required. bool - Current metric need to be included as dimension or not
This property is required. 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 This property is required. str - Metric category
- name
This property is required. str - A filter to return resources based on name.
- unit
This property is required. str - Unit of metric value
- compute
Expression This property is required. String - Compute Expression to calculate the value of this metric
- data
Type This property is required. String - Data type of value of this metric
- display
Name This property is required. String - Display name of the metric.
- is
Dimension This property is required. Boolean - Current metric need to be included as dimension or not
This property is required. 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 This property is required. String - Metric category
- name
This property is required. String - A filter to return resources based on name.
- unit
This property is required. String - Unit of metric value
GetMetricExtensionsMetricExtensionCollectionItemQueryProperty
- Arguments
This property is required. string - Arguments required by either command or script
- Auto
Row Prefix This property is required. string - Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- Collection
Method This property is required. string - Type of possible collection methods.
- Command
This property is required. string - OS command to execute without arguments
- Delimiter
This property is required. string - Character used to delimit multiple metric values in single line of output
- Identity
Metric This property is required. string - Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- In
Param Details This property is required. List<GetMetric Extensions Metric Extension Collection Item Query Property In Param Detail> - List of values and position of PL/SQL procedure IN parameters
- Is
Metric Service Enabled This property is required. bool - Indicates if Metric Service is enabled on server domain
- Jmx
Attributes This property is required. string - List of JMX attributes or Metric Service Table columns separated by semi-colon
- Managed
Bean Query This property is required. string - JMX Managed Bean Query or Metric Service Table name
- Out
Param Details This property is required. List<GetMetric Extensions Metric Extension Collection Item Query Property Out Param Detail> - Position and SQL Type of PL/SQL OUT parameter
- Protocol
Type This property is required. 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 Type This property is required. string - Type of content response given by the http(s) URL
- Script
Details This property is required. List<GetMetric Extensions Metric Extension Collection Item Query Property Script Detail> - Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored.
- Sql
Details This property is required. 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 This property is required. string - Type of SQL data collection method i.e. either a Statement or SQL Script File
- Starts
With This property is required. string - String prefix used to identify metric output of the OS Command
- Url
This property is required. string - Http(s) end point URL
- Arguments
This property is required. string - Arguments required by either command or script
- Auto
Row Prefix This property is required. string - Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- Collection
Method This property is required. string - Type of possible collection methods.
- Command
This property is required. string - OS command to execute without arguments
- Delimiter
This property is required. string - Character used to delimit multiple metric values in single line of output
- Identity
Metric This property is required. string - Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- In
Param Details This property is required. []GetMetric Extensions Metric Extension Collection Item Query Property In Param Detail - List of values and position of PL/SQL procedure IN parameters
- Is
Metric Service Enabled This property is required. bool - Indicates if Metric Service is enabled on server domain
- Jmx
Attributes This property is required. string - List of JMX attributes or Metric Service Table columns separated by semi-colon
- Managed
Bean Query This property is required. string - JMX Managed Bean Query or Metric Service Table name
- Out
Param Details This property is required. []GetMetric Extensions Metric Extension Collection Item Query Property Out Param Detail - Position and SQL Type of PL/SQL OUT parameter
- Protocol
Type This property is required. 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 Type This property is required. string - Type of content response given by the http(s) URL
- Script
Details This property is required. []GetMetric Extensions Metric Extension Collection Item Query Property Script Detail - Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored.
- Sql
Details This property is required. []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 This property is required. string - Type of SQL data collection method i.e. either a Statement or SQL Script File
- Starts
With This property is required. string - String prefix used to identify metric output of the OS Command
- Url
This property is required. string - Http(s) end point URL
- arguments
This property is required. String - Arguments required by either command or script
- auto
Row Prefix This property is required. String - Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- collection
Method This property is required. String - Type of possible collection methods.
- command
This property is required. String - OS command to execute without arguments
- delimiter
This property is required. String - Character used to delimit multiple metric values in single line of output
- identity
Metric This property is required. String - Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- in
Param Details This property is required. List<GetMetric Extensions Metric Extension Collection Item Query Property In Param Detail> - List of values and position of PL/SQL procedure IN parameters
- is
Metric Service Enabled This property is required. Boolean - Indicates if Metric Service is enabled on server domain
- jmx
Attributes This property is required. String - List of JMX attributes or Metric Service Table columns separated by semi-colon
- managed
Bean Query This property is required. String - JMX Managed Bean Query or Metric Service Table name
- out
Param Details This property is required. List<GetMetric Extensions Metric Extension Collection Item Query Property Out Param Detail> - Position and SQL Type of PL/SQL OUT parameter
- protocol
Type This property is required. 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 Type This property is required. String - Type of content response given by the http(s) URL
- script
Details This property is required. List<GetMetric Extensions Metric Extension Collection Item Query Property Script Detail> - Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored.
- sql
Details This property is required. 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 This property is required. String - Type of SQL data collection method i.e. either a Statement or SQL Script File
- starts
With This property is required. String - String prefix used to identify metric output of the OS Command
- url
This property is required. String - Http(s) end point URL
- arguments
This property is required. string - Arguments required by either command or script
- auto
Row Prefix This property is required. string - Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- collection
Method This property is required. string - Type of possible collection methods.
- command
This property is required. string - OS command to execute without arguments
- delimiter
This property is required. string - Character used to delimit multiple metric values in single line of output
- identity
Metric This property is required. string - Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- in
Param Details This property is required. GetMetric Extensions Metric Extension Collection Item Query Property In Param Detail[] - List of values and position of PL/SQL procedure IN parameters
- is
Metric Service Enabled This property is required. boolean - Indicates if Metric Service is enabled on server domain
- jmx
Attributes This property is required. string - List of JMX attributes or Metric Service Table columns separated by semi-colon
- managed
Bean Query This property is required. string - JMX Managed Bean Query or Metric Service Table name
- out
Param Details This property is required. GetMetric Extensions Metric Extension Collection Item Query Property Out Param Detail[] - Position and SQL Type of PL/SQL OUT parameter
- protocol
Type This property is required. 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 Type This property is required. string - Type of content response given by the http(s) URL
- script
Details This property is required. GetMetric Extensions Metric Extension Collection Item Query Property Script Detail[] - Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored.
- sql
Details This property is required. 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 This property is required. string - Type of SQL data collection method i.e. either a Statement or SQL Script File
- starts
With This property is required. string - String prefix used to identify metric output of the OS Command
- url
This property is required. string - Http(s) end point URL
- arguments
This property is required. str - Arguments required by either command or script
- auto_
row_ prefix This property is required. str - Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- collection_
method This property is required. str - Type of possible collection methods.
- command
This property is required. str - OS command to execute without arguments
- delimiter
This property is required. str - Character used to delimit multiple metric values in single line of output
- identity_
metric This property is required. str - Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- in_
param_ details This property is required. Sequence[stackmonitoring.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_ service_ enabled This property is required. bool - Indicates if Metric Service is enabled on server domain
- jmx_
attributes This property is required. str - List of JMX attributes or Metric Service Table columns separated by semi-colon
- managed_
bean_ query This property is required. str - JMX Managed Bean Query or Metric Service Table name
- out_
param_ details This property is required. Sequence[stackmonitoring.Get Metric Extensions Metric Extension Collection Item Query Property Out Param Detail] - Position and SQL Type of PL/SQL OUT parameter
- protocol_
type This property is required. 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_ type This property is required. str - Type of content response given by the http(s) URL
- script_
details This property is required. Sequence[stackmonitoring.Get Metric Extensions Metric Extension Collection Item Query Property Script Detail] - Script details applicable to any OS Command/HTTP based Metric Extension which needs to run a script to collect data. For removing it during OS Command based Metric Extension update, set its "content" property to an empty string. In that case, "name" property value is ignored.
- sql_
details This property is required. 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 This property is required. str - Type of SQL data collection method i.e. either a Statement or SQL Script File
- starts_
with This property is required. str - String prefix used to identify metric output of the OS Command
- url
This property is required. str - Http(s) end point URL
- arguments
This property is required. String - Arguments required by either command or script
- auto
Row Prefix This property is required. String - Prefix for an auto generated metric, in case multiple rows with non unique key values are returned
- collection
Method This property is required. String - Type of possible collection methods.
- command
This property is required. String - OS command to execute without arguments
- delimiter
This property is required. String - Character used to delimit multiple metric values in single line of output
- identity
Metric This property is required. String - Semi-colon separated list of key properties from Managed Bean ObjectName to be used as key metrics
- in
Param Details This property is required. List<Property Map> - List of values and position of PL/SQL procedure IN parameters
- is
Metric Service Enabled This property is required. Boolean - Indicates if Metric Service is enabled on server domain
- jmx
Attributes This property is required. String - List of JMX attributes or Metric Service Table columns separated by semi-colon
- managed
Bean Query This property is required. String - JMX Managed Bean Query or Metric Service Table name
- out
Param Details This property is required. List<Property Map> - Position and SQL Type of PL/SQL OUT parameter
- protocol
Type This property is required. 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 Type This property is required. String - Type of content response given by the http(s) URL
- script
Details This property is required. 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 This property is required. List<Property Map> - Details of Sql content which needs to execute to collect Metric Extension data
- sql
Type This property is required. String - Type of SQL data collection method i.e. either a Statement or SQL Script File
- starts
With This property is required. String - String prefix used to identify metric output of the OS Command
- url
This property is required. String - Http(s) end point URL
GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyInParamDetail
- In
Param Position This property is required. int - Position of IN parameter
- In
Param Value This property is required. string - Value of IN parameter
- In
Param Position This property is required. int - Position of IN parameter
- In
Param Value This property is required. string - Value of IN parameter
- in
Param Position This property is required. Integer - Position of IN parameter
- in
Param Value This property is required. String - Value of IN parameter
- in
Param Position This property is required. number - Position of IN parameter
- in
Param Value This property is required. string - Value of IN parameter
- in_
param_ position This property is required. int - Position of IN parameter
- in_
param_ value This property is required. str - Value of IN parameter
- in
Param Position This property is required. Number - Position of IN parameter
- in
Param Value This property is required. String - Value of IN parameter
GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyOutParamDetail
- Out
Param Name This property is required. string - Name of the Out Parameter
- Out
Param Position This property is required. int - 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 Type This property is required. string - 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 Name This property is required. string - Name of the Out Parameter
- Out
Param Position This property is required. int - 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 Type This property is required. string - 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 Name This property is required. String - Name of the Out Parameter
- out
Param Position This property is required. Integer - 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 Type This property is required. String - 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 Name This property is required. string - Name of the Out Parameter
- out
Param Position This property is required. number - 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 Type This property is required. string - 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_ name This property is required. str - Name of the Out Parameter
- out_
param_ position This property is required. int - 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_ type This property is required. str - 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 Name This property is required. String - Name of the Out Parameter
- out
Param Position This property is required. Number - 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 Type This property is required. String - SQL Type of PL/SQL procedure OUT parameter. During the update, to completely remove the out parameter, use the value NO_OUT_PARAM. In that case, the value of "outParamPosition" will be ignored.
GetMetricExtensionsMetricExtensionCollectionItemQueryPropertyScriptDetail
GetMetricExtensionsMetricExtensionCollectionItemQueryPropertySqlDetail
- Content
This property is required. string - Sql statement or script file content as base64 encoded string
- Script
File Name This property is required. string - If a script needs to be executed, then provide file name of the script
- Content
This property is required. string - Sql statement or script file content as base64 encoded string
- Script
File Name This property is required. string - If a script needs to be executed, then provide file name of the script
- content
This property is required. String - Sql statement or script file content as base64 encoded string
- script
File Name This property is required. String - If a script needs to be executed, then provide file name of the script
- content
This property is required. string - Sql statement or script file content as base64 encoded string
- script
File Name This property is required. string - If a script needs to be executed, then provide file name of the script
- content
This property is required. str - Sql statement or script file content as base64 encoded string
- script_
file_ name This property is required. str - If a script needs to be executed, then provide file name of the script
- content
This property is required. String - Sql statement or script file content as base64 encoded string
- script
File Name This property is required. 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.