Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.StackMonitoring.getMonitoringTemplates
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:
- CompartmentId string
- The ID of the compartment in which data is listed.
- DisplayName string
- A filter to return monitoring template based on name.
- Filters
List<GetMonitoring Templates Filter> 
- MetricNames List<string>
- metricName filter.
- MonitoringTemplate stringId 
- A filter to return monitoring template based on input monitoringTemplateId
- Namespaces List<string>
- namespace filter.
- ResourceTypes 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
- CompartmentId string
- The ID of the compartment in which data is listed.
- DisplayName string
- A filter to return monitoring template based on name.
- Filters
[]GetMonitoring Templates Filter 
- MetricNames []string
- metricName filter.
- MonitoringTemplate stringId 
- A filter to return monitoring template based on input monitoringTemplateId
- Namespaces []string
- namespace filter.
- ResourceTypes []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
- compartmentId String
- The ID of the compartment in which data is listed.
- displayName String
- A filter to return monitoring template based on name.
- filters
List<GetMonitoring Templates Filter> 
- metricNames List<String>
- metricName filter.
- monitoringTemplate StringId 
- A filter to return monitoring template based on input monitoringTemplateId
- namespaces List<String>
- namespace filter.
- resourceTypes 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
- compartmentId string
- The ID of the compartment in which data is listed.
- displayName string
- A filter to return monitoring template based on name.
- filters
GetMonitoring Templates Filter[] 
- metricNames string[]
- metricName filter.
- monitoringTemplate stringId 
- A filter to return monitoring template based on input monitoringTemplateId
- namespaces string[]
- namespace filter.
- resourceTypes 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[GetMonitoring 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
- compartmentId String
- The ID of the compartment in which data is listed.
- displayName String
- A filter to return monitoring template based on name.
- filters List<Property Map>
- metricNames List<String>
- metricName filter.
- monitoringTemplate StringId 
- A filter to return monitoring template based on input monitoringTemplateId
- namespaces List<String>
- namespace filter.
- resourceTypes 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.
- MonitoringTemplate List<GetCollections Monitoring Templates Monitoring Template Collection> 
- The list of monitoring_template_collection.
- CompartmentId string
- The OCID of the compartment containing the monitoringTemplate.
- DisplayName 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<GetMonitoring Templates Filter> 
- MetricNames List<string>
- MonitoringTemplate stringId 
- Namespaces List<string>
- ResourceTypes 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.
- MonitoringTemplate []GetCollections Monitoring Templates Monitoring Template Collection 
- The list of monitoring_template_collection.
- CompartmentId string
- The OCID of the compartment containing the monitoringTemplate.
- DisplayName string
- A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information.
- Filters
[]GetMonitoring Templates Filter 
- MetricNames []string
- MonitoringTemplate stringId 
- Namespaces []string
- ResourceTypes []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.
- monitoringTemplate List<GetCollections Monitoring Templates Monitoring Template Collection> 
- The list of monitoring_template_collection.
- compartmentId String
- The OCID of the compartment containing the monitoringTemplate.
- displayName 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<GetMonitoring Templates Filter> 
- metricNames List<String>
- monitoringTemplate StringId 
- namespaces List<String>
- resourceTypes 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.
- monitoringTemplate GetCollections Monitoring Templates Monitoring Template Collection[] 
- The list of monitoring_template_collection.
- compartmentId string
- The OCID of the compartment containing the monitoringTemplate.
- displayName string
- A user-friendly name for the monitoring template. It should be unique, and it's mutable in nature. Avoid entering confidential information.
- filters
GetMonitoring Templates Filter[] 
- metricNames string[]
- monitoringTemplate stringId 
- namespaces string[]
- resourceTypes 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[GetMonitoring 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.
- monitoringTemplate List<Property Map>Collections 
- The list of monitoring_template_collection.
- compartmentId String
- The OCID of the compartment containing the monitoringTemplate.
- displayName 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>
- metricNames List<String>
- monitoringTemplate StringId 
- namespaces List<String>
- resourceTypes 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      
- CompartmentId 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.
- DisplayName 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
- IsAlarms boolEnabled 
- Whether the alarm is enabled or disabled. Default value is enabled.
- IsSplit boolNotification Enabled 
- Whether the alarm notification is enabled or disabled, it will be Enabled by default.
- Members
List<GetMonitoring Templates Monitoring Template Collection Item Member> 
- List of members of this monitoring template.
- MessageFormat string
- The format to use for alarm notifications.
- RepeatNotification 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"}
- TenantId string
- Tenant Identifier OCID
- TimeCreated string
- The date and time the monitoringTemplate was created. Format defined by RFC3339.
- TimeUpdated string
- The date and time the monitoringTemplate was last updated. Format defined by RFC3339.
- TotalAlarm doubleConditions 
- Total Alarm Conditions
- TotalApplied doubleAlarm Conditions 
- Total Applied Alarm Conditions
- CompartmentId 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.
- DisplayName 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
- IsAlarms boolEnabled 
- Whether the alarm is enabled or disabled. Default value is enabled.
- IsSplit boolNotification Enabled 
- Whether the alarm notification is enabled or disabled, it will be Enabled by default.
- Members
[]GetMonitoring Templates Monitoring Template Collection Item Member 
- List of members of this monitoring template.
- MessageFormat string
- The format to use for alarm notifications.
- RepeatNotification 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"}
- TenantId string
- Tenant Identifier OCID
- TimeCreated string
- The date and time the monitoringTemplate was created. Format defined by RFC3339.
- TimeUpdated string
- The date and time the monitoringTemplate was last updated. Format defined by RFC3339.
- TotalAlarm float64Conditions 
- Total Alarm Conditions
- TotalApplied float64Alarm Conditions 
- Total Applied Alarm Conditions
- compartmentId 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.
- displayName 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
- isAlarms BooleanEnabled 
- Whether the alarm is enabled or disabled. Default value is enabled.
- isSplit BooleanNotification Enabled 
- Whether the alarm notification is enabled or disabled, it will be Enabled by default.
- members
List<GetMonitoring Templates Monitoring Template Collection Item Member> 
- List of members of this monitoring template.
- messageFormat String
- The format to use for alarm notifications.
- repeatNotification 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"}
- tenantId String
- Tenant Identifier OCID
- timeCreated String
- The date and time the monitoringTemplate was created. Format defined by RFC3339.
- timeUpdated String
- The date and time the monitoringTemplate was last updated. Format defined by RFC3339.
- totalAlarm DoubleConditions 
- Total Alarm Conditions
- totalApplied DoubleAlarm Conditions 
- Total Applied Alarm Conditions
- compartmentId 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.
- displayName 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
- isAlarms booleanEnabled 
- Whether the alarm is enabled or disabled. Default value is enabled.
- isSplit booleanNotification Enabled 
- Whether the alarm notification is enabled or disabled, it will be Enabled by default.
- members
GetMonitoring Templates Monitoring Template Collection Item Member[] 
- List of members of this monitoring template.
- messageFormat string
- The format to use for alarm notifications.
- repeatNotification 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"}
- tenantId string
- Tenant Identifier OCID
- timeCreated string
- The date and time the monitoringTemplate was created. Format defined by RFC3339.
- timeUpdated string
- The date and time the monitoringTemplate was last updated. Format defined by RFC3339.
- totalAlarm numberConditions 
- Total Alarm Conditions
- totalApplied 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[GetMonitoring 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
- compartmentId 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.
- displayName 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
- isAlarms BooleanEnabled 
- Whether the alarm is enabled or disabled. Default value is enabled.
- isSplit 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.
- messageFormat String
- The format to use for alarm notifications.
- repeatNotification 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"}
- tenantId String
- Tenant Identifier OCID
- timeCreated String
- The date and time the monitoringTemplate was created. Format defined by RFC3339.
- timeUpdated String
- The date and time the monitoringTemplate was last updated. Format defined by RFC3339.
- totalAlarm NumberConditions 
- Total Alarm Conditions
- totalApplied NumberAlarm Conditions 
- Total Applied Alarm Conditions
GetMonitoringTemplatesMonitoringTemplateCollectionItemMember       
- CompositeType 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
- CompositeType 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
- compositeType 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
- compositeType 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
- compositeType 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.
