Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.StackMonitoring.getMonitoringTemplates
Start a Neo task
Explain and create an oci.StackMonitoring.getMonitoringTemplates resource
This data source provides the list of Monitoring Templates in Oracle Cloud Infrastructure Stack Monitoring service.
Returns a list of Monitoring Templates.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMonitoringTemplates = oci.StackMonitoring.getMonitoringTemplates({
compartmentId: compartmentId,
displayName: monitoringTemplateDisplayName,
metricNames: testMetric.name,
monitoringTemplateId: testMonitoringTemplate.id,
namespaces: monitoringTemplateNamespace,
resourceTypes: monitoringTemplateResourceTypes,
state: monitoringTemplateState,
status: monitoringTemplateStatus,
});
import pulumi
import pulumi_oci as oci
test_monitoring_templates = oci.StackMonitoring.get_monitoring_templates(compartment_id=compartment_id,
display_name=monitoring_template_display_name,
metric_names=test_metric["name"],
monitoring_template_id=test_monitoring_template["id"],
namespaces=monitoring_template_namespace,
resource_types=monitoring_template_resource_types,
state=monitoring_template_state,
status=monitoring_template_status)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/stackmonitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := stackmonitoring.GetMonitoringTemplates(ctx, &stackmonitoring.GetMonitoringTemplatesArgs{
CompartmentId: pulumi.StringRef(compartmentId),
DisplayName: pulumi.StringRef(monitoringTemplateDisplayName),
MetricNames: testMetric.Name,
MonitoringTemplateId: pulumi.StringRef(testMonitoringTemplate.Id),
Namespaces: monitoringTemplateNamespace,
ResourceTypes: monitoringTemplateResourceTypes,
State: pulumi.StringRef(monitoringTemplateState),
Status: pulumi.StringRef(monitoringTemplateStatus),
}, 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 testMonitoringTemplates = Oci.StackMonitoring.GetMonitoringTemplates.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = monitoringTemplateDisplayName,
MetricNames = testMetric.Name,
MonitoringTemplateId = testMonitoringTemplate.Id,
Namespaces = monitoringTemplateNamespace,
ResourceTypes = monitoringTemplateResourceTypes,
State = monitoringTemplateState,
Status = monitoringTemplateStatus,
});
});
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.GetMonitoringTemplatesArgs;
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 testMonitoringTemplates = StackMonitoringFunctions.getMonitoringTemplates(GetMonitoringTemplatesArgs.builder()
.compartmentId(compartmentId)
.displayName(monitoringTemplateDisplayName)
.metricNames(testMetric.name())
.monitoringTemplateId(testMonitoringTemplate.id())
.namespaces(monitoringTemplateNamespace)
.resourceTypes(monitoringTemplateResourceTypes)
.state(monitoringTemplateState)
.status(monitoringTemplateStatus)
.build());
}
}
variables:
testMonitoringTemplates:
fn::invoke:
function: oci:StackMonitoring:getMonitoringTemplates
arguments:
compartmentId: ${compartmentId}
displayName: ${monitoringTemplateDisplayName}
metricNames: ${testMetric.name}
monitoringTemplateId: ${testMonitoringTemplate.id}
namespaces: ${monitoringTemplateNamespace}
resourceTypes: ${monitoringTemplateResourceTypes}
state: ${monitoringTemplateState}
status: ${monitoringTemplateStatus}
Using getMonitoringTemplates
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 getMonitoringTemplates(args: GetMonitoringTemplatesArgs, opts?: InvokeOptions): Promise<GetMonitoringTemplatesResult>
function getMonitoringTemplatesOutput(args: GetMonitoringTemplatesOutputArgs, opts?: InvokeOptions): Output<GetMonitoringTemplatesResult>def get_monitoring_templates(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetMonitoringTemplatesFilter]] = None,
metric_names: Optional[Sequence[str]] = None,
monitoring_template_id: Optional[str] = None,
namespaces: Optional[Sequence[str]] = None,
resource_types: Optional[Sequence[str]] = None,
state: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMonitoringTemplatesResult
def get_monitoring_templates_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetMonitoringTemplatesFilterArgs]]]] = None,
metric_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
monitoring_template_id: Optional[pulumi.Input[str]] = None,
namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
resource_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
state: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMonitoringTemplatesResult]func GetMonitoringTemplates(ctx *Context, args *GetMonitoringTemplatesArgs, opts ...InvokeOption) (*GetMonitoringTemplatesResult, error)
func GetMonitoringTemplatesOutput(ctx *Context, args *GetMonitoringTemplatesOutputArgs, opts ...InvokeOption) GetMonitoringTemplatesResultOutput> Note: This function is named GetMonitoringTemplates in the Go SDK.
public static class GetMonitoringTemplates
{
public static Task<GetMonitoringTemplatesResult> InvokeAsync(GetMonitoringTemplatesArgs args, InvokeOptions? opts = null)
public static Output<GetMonitoringTemplatesResult> Invoke(GetMonitoringTemplatesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMonitoringTemplatesResult> getMonitoringTemplates(GetMonitoringTemplatesArgs args, InvokeOptions options)
public static Output<GetMonitoringTemplatesResult> getMonitoringTemplates(GetMonitoringTemplatesArgs args, InvokeOptions options)
fn::invoke:
function: oci:StackMonitoring/getMonitoringTemplates:getMonitoringTemplates
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The ID of the compartment in which data is listed.
- Display
Name string - A filter to return monitoring template based on name.
- Filters
List<Get
Monitoring Templates Filter> - Metric
Names List<string> - metricName filter.
- Monitoring
Template stringId - A filter to return monitoring template based on input monitoringTemplateId
- Namespaces List<string>
- namespace filter.
- Resource
Types List<string> - Multiple resource types filter.
- State string
- A filter to return monitoring template based on Lifecycle State
- Status string
- A filter to return monitoring template based on input status
- Compartment
Id string - The ID of the compartment in which data is listed.
- Display
Name string - A filter to return monitoring template based on name.
- Filters
[]Get
Monitoring Templates Filter - Metric
Names []string - metricName filter.
- Monitoring
Template stringId - A filter to return monitoring template based on input monitoringTemplateId
- Namespaces []string
- namespace filter.
- Resource
Types []string - Multiple resource types filter.
- State string
- A filter to return monitoring template based on Lifecycle State
- Status string
- A filter to return monitoring template based on input status
- compartment
Id String - The ID of the compartment in which data is listed.
- display
Name String - A filter to return monitoring template based on name.
- filters
List<Get
Monitoring Templates Filter> - metric
Names List<String> - metricName filter.
- monitoring
Template StringId - A filter to return monitoring template based on input monitoringTemplateId
- namespaces List<String>
- namespace filter.
- resource
Types List<String> - Multiple resource types filter.
- state String
- A filter to return monitoring template based on Lifecycle State
- status String
- A filter to return monitoring template based on input status
- compartment
Id string - The ID of the compartment in which data is listed.
- display
Name string - A filter to return monitoring template based on name.
- filters
Get
Monitoring Templates Filter[] - metric
Names string[] - metricName filter.
- monitoring
Template stringId - A filter to return monitoring template based on input monitoringTemplateId
- namespaces string[]
- namespace filter.
- resource
Types string[] - Multiple resource types filter.
- state string
- A filter to return monitoring template based on Lifecycle State
- status string
- A filter to return monitoring template based on input status
- compartment_
id str - The ID of the compartment in which data is listed.
- display_
name str - A filter to return monitoring template based on name.
- filters
Sequence[Get
Monitoring Templates Filter] - metric_
names Sequence[str] - metricName filter.
- monitoring_
template_ strid - A filter to return monitoring template based on input monitoringTemplateId
- namespaces Sequence[str]
- namespace filter.
- resource_
types Sequence[str] - Multiple resource types filter.
- state str
- A filter to return monitoring template based on Lifecycle State
- status str
- A filter to return monitoring template based on input status
- compartment
Id String - The ID of the compartment in which data is listed.
- display
Name String - A filter to return monitoring template based on name.
- filters List<Property Map>
- metric
Names List<String> - metricName filter.
- monitoring
Template StringId - A filter to return monitoring template based on input monitoringTemplateId
- namespaces List<String>
- namespace filter.
- resource
Types List<String> - Multiple resource types filter.
- state String
- A filter to return monitoring template based on Lifecycle State
- status String
- A filter to return monitoring template based on input status
getMonitoringTemplates Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Monitoring
Template List<GetCollections Monitoring Templates Monitoring Template Collection> - The list of monitoring_template_collection.
- Compartment
Id string - The OCID of the compartment containing the monitoringTemplate.
- Display
Name string - A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information.
- Filters
List<Get
Monitoring Templates Filter> - Metric
Names List<string> - Monitoring
Template stringId - Namespaces List<string>
- Resource
Types List<string> - State string
- The current lifecycle state of the monitoring template.
- Status string
- The current status of the monitoring template i.e. whether it is Applied or NotApplied.
- Id string
- The provider-assigned unique ID for this managed resource.
- Monitoring
Template []GetCollections Monitoring Templates Monitoring Template Collection - The list of monitoring_template_collection.
- Compartment
Id string - The OCID of the compartment containing the monitoringTemplate.
- Display
Name string - A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information.
- Filters
[]Get
Monitoring Templates Filter - Metric
Names []string - Monitoring
Template stringId - Namespaces []string
- Resource
Types []string - State string
- The current lifecycle state of the monitoring template.
- Status string
- The current status of the monitoring template i.e. whether it is Applied or NotApplied.
- id String
- The provider-assigned unique ID for this managed resource.
- monitoring
Template List<GetCollections Monitoring Templates Monitoring Template Collection> - The list of monitoring_template_collection.
- compartment
Id String - The OCID of the compartment containing the monitoringTemplate.
- display
Name String - A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information.
- filters
List<Get
Monitoring Templates Filter> - metric
Names List<String> - monitoring
Template StringId - namespaces List<String>
- resource
Types List<String> - state String
- The current lifecycle state of the monitoring template.
- status String
- The current status of the monitoring template i.e. whether it is Applied or NotApplied.
- id string
- The provider-assigned unique ID for this managed resource.
- monitoring
Template GetCollections Monitoring Templates Monitoring Template Collection[] - The list of monitoring_template_collection.
- compartment
Id string - The OCID of the compartment containing the monitoringTemplate.
- display
Name string - A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information.
- filters
Get
Monitoring Templates Filter[] - metric
Names string[] - monitoring
Template stringId - namespaces string[]
- resource
Types string[] - state string
- The current lifecycle state of the monitoring template.
- status string
- The current status of the monitoring template i.e. whether it is Applied or NotApplied.
- id str
- The provider-assigned unique ID for this managed resource.
- monitoring_
template_ Sequence[Getcollections Monitoring Templates Monitoring Template Collection] - The list of monitoring_template_collection.
- compartment_
id str - The OCID of the compartment containing the monitoringTemplate.
- display_
name str - A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information.
- filters
Sequence[Get
Monitoring Templates Filter] - metric_
names Sequence[str] - monitoring_
template_ strid - namespaces Sequence[str]
- resource_
types Sequence[str] - state str
- The current lifecycle state of the monitoring template.
- status str
- The current status of the monitoring template i.e. whether it is Applied or NotApplied.
- id String
- The provider-assigned unique ID for this managed resource.
- monitoring
Template List<Property Map>Collections - The list of monitoring_template_collection.
- compartment
Id String - The OCID of the compartment containing the monitoringTemplate.
- display
Name String - A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information.
- filters List<Property Map>
- metric
Names List<String> - monitoring
Template StringId - namespaces List<String>
- resource
Types List<String> - state String
- The current lifecycle state of the monitoring template.
- status String
- The current status of the monitoring template i.e. whether it is Applied or NotApplied.
Supporting Types
GetMonitoringTemplatesFilter
GetMonitoringTemplatesMonitoringTemplateCollection
GetMonitoringTemplatesMonitoringTemplateCollectionItem
- Compartment
Id string - The ID of the compartment in which data is listed.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Description string
- A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information.
- Destinations List<string>
- A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource.
- Display
Name string - A filter to return monitoring template based on name.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Id string
- The OCID of the resourceInstance/resourceType/resourceGroup
- Is
Alarms boolEnabled - Whether the alarm is enabled or disabled. Default value is enabled.
- Is
Split boolNotification Enabled - Whether the alarm notification is enabled or disabled, it will be Enabled by default.
- Members
List<Get
Monitoring Templates Monitoring Template Collection Item Member> - List of members of this monitoring template.
- Message
Format string - The format to use for alarm notifications.
- Repeat
Notification stringDuration - The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D.
- State string
- A filter to return monitoring template based on Lifecycle State
- Status string
- A filter to return monitoring template based on input status
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Tenant
Id string - Tenant Identifier OCID
- Time
Created string - The date and time the monitoringTemplate was created. Format defined by RFC3339.
- Time
Updated string - The date and time the monitoringTemplate was last updated. Format defined by RFC3339.
- Total
Alarm doubleConditions - Total Alarm Conditions
- Total
Applied doubleAlarm Conditions - Total Applied Alarm Conditions
- Compartment
Id string - The ID of the compartment in which data is listed.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Description string
- A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information.
- Destinations []string
- A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource.
- Display
Name string - A filter to return monitoring template based on name.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Id string
- The OCID of the resourceInstance/resourceType/resourceGroup
- Is
Alarms boolEnabled - Whether the alarm is enabled or disabled. Default value is enabled.
- Is
Split boolNotification Enabled - Whether the alarm notification is enabled or disabled, it will be Enabled by default.
- Members
[]Get
Monitoring Templates Monitoring Template Collection Item Member - List of members of this monitoring template.
- Message
Format string - The format to use for alarm notifications.
- Repeat
Notification stringDuration - The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D.
- State string
- A filter to return monitoring template based on Lifecycle State
- Status string
- A filter to return monitoring template based on input status
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Tenant
Id string - Tenant Identifier OCID
- Time
Created string - The date and time the monitoringTemplate was created. Format defined by RFC3339.
- Time
Updated string - The date and time the monitoringTemplate was last updated. Format defined by RFC3339.
- Total
Alarm float64Conditions - Total Alarm Conditions
- Total
Applied float64Alarm Conditions - Total Applied Alarm Conditions
- compartment
Id String - The ID of the compartment in which data is listed.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description String
- A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information.
- destinations List<String>
- A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource.
- display
Name String - A filter to return monitoring template based on name.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id String
- The OCID of the resourceInstance/resourceType/resourceGroup
- is
Alarms BooleanEnabled - Whether the alarm is enabled or disabled. Default value is enabled.
- is
Split BooleanNotification Enabled - Whether the alarm notification is enabled or disabled, it will be Enabled by default.
- members
List<Get
Monitoring Templates Monitoring Template Collection Item Member> - List of members of this monitoring template.
- message
Format String - The format to use for alarm notifications.
- repeat
Notification StringDuration - The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D.
- state String
- A filter to return monitoring template based on Lifecycle State
- status String
- A filter to return monitoring template based on input status
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - tenant
Id String - Tenant Identifier OCID
- time
Created String - The date and time the monitoringTemplate was created. Format defined by RFC3339.
- time
Updated String - The date and time the monitoringTemplate was last updated. Format defined by RFC3339.
- total
Alarm DoubleConditions - Total Alarm Conditions
- total
Applied DoubleAlarm Conditions - Total Applied Alarm Conditions
- compartment
Id string - The ID of the compartment in which data is listed.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description string
- A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information.
- destinations string[]
- A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource.
- display
Name string - A filter to return monitoring template based on name.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id string
- The OCID of the resourceInstance/resourceType/resourceGroup
- is
Alarms booleanEnabled - Whether the alarm is enabled or disabled. Default value is enabled.
- is
Split booleanNotification Enabled - Whether the alarm notification is enabled or disabled, it will be Enabled by default.
- members
Get
Monitoring Templates Monitoring Template Collection Item Member[] - List of members of this monitoring template.
- message
Format string - The format to use for alarm notifications.
- repeat
Notification stringDuration - The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D.
- state string
- A filter to return monitoring template based on Lifecycle State
- status string
- A filter to return monitoring template based on input status
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - tenant
Id string - Tenant Identifier OCID
- time
Created string - The date and time the monitoringTemplate was created. Format defined by RFC3339.
- time
Updated string - The date and time the monitoringTemplate was last updated. Format defined by RFC3339.
- total
Alarm numberConditions - Total Alarm Conditions
- total
Applied numberAlarm Conditions - Total Applied Alarm Conditions
- compartment_
id str - The ID of the compartment in which data is listed.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description str
- A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information.
- destinations Sequence[str]
- A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource.
- display_
name str - A filter to return monitoring template based on name.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id str
- The OCID of the resourceInstance/resourceType/resourceGroup
- is_
alarms_ boolenabled - Whether the alarm is enabled or disabled. Default value is enabled.
- is_
split_ boolnotification_ enabled - Whether the alarm notification is enabled or disabled, it will be Enabled by default.
- members
Sequence[Get
Monitoring Templates Monitoring Template Collection Item Member] - List of members of this monitoring template.
- message_
format str - The format to use for alarm notifications.
- repeat_
notification_ strduration - The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D.
- state str
- A filter to return monitoring template based on Lifecycle State
- status str
- A filter to return monitoring template based on input status
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - tenant_
id str - Tenant Identifier OCID
- time_
created str - The date and time the monitoringTemplate was created. Format defined by RFC3339.
- time_
updated str - The date and time the monitoringTemplate was last updated. Format defined by RFC3339.
- total_
alarm_ floatconditions - Total Alarm Conditions
- total_
applied_ floatalarm_ conditions - Total Applied Alarm Conditions
- compartment
Id String - The ID of the compartment in which data is listed.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description String
- A user-friendly description for the monitoring template. It does not have to be unique, and it's changeable. Avoid entering confidential information.
- destinations List<String>
- A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource.
- display
Name String - A filter to return monitoring template based on name.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id String
- The OCID of the resourceInstance/resourceType/resourceGroup
- is
Alarms BooleanEnabled - Whether the alarm is enabled or disabled. Default value is enabled.
- is
Split BooleanNotification Enabled - Whether the alarm notification is enabled or disabled, it will be Enabled by default.
- members List<Property Map>
- List of members of this monitoring template.
- message
Format String - The format to use for alarm notifications.
- repeat
Notification StringDuration - The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D.
- state String
- A filter to return monitoring template based on Lifecycle State
- status String
- A filter to return monitoring template based on input status
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - tenant
Id String - Tenant Identifier OCID
- time
Created String - The date and time the monitoringTemplate was created. Format defined by RFC3339.
- time
Updated String - The date and time the monitoringTemplate was last updated. Format defined by RFC3339.
- total
Alarm NumberConditions - Total Alarm Conditions
- total
Applied NumberAlarm Conditions - Total Applied Alarm Conditions
GetMonitoringTemplatesMonitoringTemplateCollectionItemMember
- Composite
Type string - The OCID of the composite resource type like EBS or Peoplesoft.
- Id string
- The OCID of the resourceInstance/resourceType/resourceGroup
- Type string
- Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP
- Composite
Type string - The OCID of the composite resource type like EBS or Peoplesoft.
- Id string
- The OCID of the resourceInstance/resourceType/resourceGroup
- Type string
- Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP
- composite
Type String - The OCID of the composite resource type like EBS or Peoplesoft.
- id String
- The OCID of the resourceInstance/resourceType/resourceGroup
- type String
- Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP
- composite
Type string - The OCID of the composite resource type like EBS or Peoplesoft.
- id string
- The OCID of the resourceInstance/resourceType/resourceGroup
- type string
- Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP
- composite_
type str - The OCID of the composite resource type like EBS or Peoplesoft.
- id str
- The OCID of the resourceInstance/resourceType/resourceGroup
- type str
- Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP
- composite
Type String - The OCID of the composite resource type like EBS or Peoplesoft.
- id String
- The OCID of the resourceInstance/resourceType/resourceGroup
- type String
- Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
