published on Thursday, Mar 12, 2026 by opentelekomcloud
published on Thursday, Mar 12, 2026 by opentelekomcloud
Up-to-date reference of API arguments for CES one-click monitoring you can get at documentation portal
Manages a CES One-Click Alarm v2 resource within OpenTelekomCloud.
Example Usage
Basic one-click monitoring without notifications
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const test = new opentelekomcloud.CesOneClickAlarmV2("test", {
oneClickAlarmId: "ECSSystemOneClickAlarm",
dimensionNames: {
metrics: ["instance_id"],
},
notificationEnabled: false,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
test = opentelekomcloud.CesOneClickAlarmV2("test",
one_click_alarm_id="ECSSystemOneClickAlarm",
dimension_names={
"metrics": ["instance_id"],
},
notification_enabled=False)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := opentelekomcloud.NewCesOneClickAlarmV2(ctx, "test", &opentelekomcloud.CesOneClickAlarmV2Args{
OneClickAlarmId: pulumi.String("ECSSystemOneClickAlarm"),
DimensionNames: &opentelekomcloud.CesOneClickAlarmV2DimensionNamesArgs{
Metrics: pulumi.StringArray{
pulumi.String("instance_id"),
},
},
NotificationEnabled: pulumi.Bool(false),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var test = new Opentelekomcloud.CesOneClickAlarmV2("test", new()
{
OneClickAlarmId = "ECSSystemOneClickAlarm",
DimensionNames = new Opentelekomcloud.Inputs.CesOneClickAlarmV2DimensionNamesArgs
{
Metrics = new[]
{
"instance_id",
},
},
NotificationEnabled = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.CesOneClickAlarmV2;
import com.pulumi.opentelekomcloud.CesOneClickAlarmV2Args;
import com.pulumi.opentelekomcloud.inputs.CesOneClickAlarmV2DimensionNamesArgs;
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) {
var test = new CesOneClickAlarmV2("test", CesOneClickAlarmV2Args.builder()
.oneClickAlarmId("ECSSystemOneClickAlarm")
.dimensionNames(CesOneClickAlarmV2DimensionNamesArgs.builder()
.metrics("instance_id")
.build())
.notificationEnabled(false)
.build());
}
}
resources:
test:
type: opentelekomcloud:CesOneClickAlarmV2
properties:
oneClickAlarmId: ECSSystemOneClickAlarm
dimensionNames:
metrics:
- instance_id
notificationEnabled: false
One-click monitoring with notifications
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const topicUrn = config.requireObject<any>("topicUrn");
const test = new opentelekomcloud.CesOneClickAlarmV2("test", {
oneClickAlarmId: "OBSSystemOneClickAlarm",
dimensionNames: {
metrics: ["bucket_name"],
},
notificationEnabled: true,
alarmNotifications: [{
type: "notification",
notificationLists: [topicUrn],
}],
okNotifications: [{
type: "notification",
notificationLists: [topicUrn],
}],
notificationBeginTime: "00:00",
notificationEndTime: "23:59",
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
topic_urn = config.require_object("topicUrn")
test = opentelekomcloud.CesOneClickAlarmV2("test",
one_click_alarm_id="OBSSystemOneClickAlarm",
dimension_names={
"metrics": ["bucket_name"],
},
notification_enabled=True,
alarm_notifications=[{
"type": "notification",
"notification_lists": [topic_urn],
}],
ok_notifications=[{
"type": "notification",
"notification_lists": [topic_urn],
}],
notification_begin_time="00:00",
notification_end_time="23:59")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
topicUrn := cfg.RequireObject("topicUrn")
_, err := opentelekomcloud.NewCesOneClickAlarmV2(ctx, "test", &opentelekomcloud.CesOneClickAlarmV2Args{
OneClickAlarmId: pulumi.String("OBSSystemOneClickAlarm"),
DimensionNames: &opentelekomcloud.CesOneClickAlarmV2DimensionNamesArgs{
Metrics: pulumi.StringArray{
pulumi.String("bucket_name"),
},
},
NotificationEnabled: pulumi.Bool(true),
AlarmNotifications: opentelekomcloud.CesOneClickAlarmV2AlarmNotificationArray{
&opentelekomcloud.CesOneClickAlarmV2AlarmNotificationArgs{
Type: pulumi.String("notification"),
NotificationLists: pulumi.StringArray{
topicUrn,
},
},
},
OkNotifications: opentelekomcloud.CesOneClickAlarmV2OkNotificationArray{
&opentelekomcloud.CesOneClickAlarmV2OkNotificationArgs{
Type: pulumi.String("notification"),
NotificationLists: pulumi.StringArray{
topicUrn,
},
},
},
NotificationBeginTime: pulumi.String("00:00"),
NotificationEndTime: pulumi.String("23:59"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var topicUrn = config.RequireObject<dynamic>("topicUrn");
var test = new Opentelekomcloud.CesOneClickAlarmV2("test", new()
{
OneClickAlarmId = "OBSSystemOneClickAlarm",
DimensionNames = new Opentelekomcloud.Inputs.CesOneClickAlarmV2DimensionNamesArgs
{
Metrics = new[]
{
"bucket_name",
},
},
NotificationEnabled = true,
AlarmNotifications = new[]
{
new Opentelekomcloud.Inputs.CesOneClickAlarmV2AlarmNotificationArgs
{
Type = "notification",
NotificationLists = new[]
{
topicUrn,
},
},
},
OkNotifications = new[]
{
new Opentelekomcloud.Inputs.CesOneClickAlarmV2OkNotificationArgs
{
Type = "notification",
NotificationLists = new[]
{
topicUrn,
},
},
},
NotificationBeginTime = "00:00",
NotificationEndTime = "23:59",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.CesOneClickAlarmV2;
import com.pulumi.opentelekomcloud.CesOneClickAlarmV2Args;
import com.pulumi.opentelekomcloud.inputs.CesOneClickAlarmV2DimensionNamesArgs;
import com.pulumi.opentelekomcloud.inputs.CesOneClickAlarmV2AlarmNotificationArgs;
import com.pulumi.opentelekomcloud.inputs.CesOneClickAlarmV2OkNotificationArgs;
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 config = ctx.config();
final var topicUrn = config.get("topicUrn");
var test = new CesOneClickAlarmV2("test", CesOneClickAlarmV2Args.builder()
.oneClickAlarmId("OBSSystemOneClickAlarm")
.dimensionNames(CesOneClickAlarmV2DimensionNamesArgs.builder()
.metrics("bucket_name")
.build())
.notificationEnabled(true)
.alarmNotifications(CesOneClickAlarmV2AlarmNotificationArgs.builder()
.type("notification")
.notificationLists(topicUrn)
.build())
.okNotifications(CesOneClickAlarmV2OkNotificationArgs.builder()
.type("notification")
.notificationLists(topicUrn)
.build())
.notificationBeginTime("00:00")
.notificationEndTime("23:59")
.build());
}
}
configuration:
topicUrn:
type: dynamic
resources:
test:
type: opentelekomcloud:CesOneClickAlarmV2
properties:
oneClickAlarmId: OBSSystemOneClickAlarm
dimensionNames:
metrics:
- bucket_name
notificationEnabled: true
alarmNotifications:
- type: notification
notificationLists:
- ${topicUrn}
okNotifications:
- type: notification
notificationLists:
- ${topicUrn}
notificationBeginTime: 00:00
notificationEndTime: 23:59
One-click monitoring with event dimensions
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const topicUrn = config.requireObject<any>("topicUrn");
const test = new opentelekomcloud.CesOneClickAlarmV2("test", {
oneClickAlarmId: "ECSSystemOneClickAlarm",
dimensionNames: {
metrics: ["instance_id"],
event: true,
},
notificationEnabled: true,
alarmNotifications: [{
type: "notification",
notificationLists: [topicUrn],
}],
notificationBeginTime: "00:00",
notificationEndTime: "23:59",
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
topic_urn = config.require_object("topicUrn")
test = opentelekomcloud.CesOneClickAlarmV2("test",
one_click_alarm_id="ECSSystemOneClickAlarm",
dimension_names={
"metrics": ["instance_id"],
"event": True,
},
notification_enabled=True,
alarm_notifications=[{
"type": "notification",
"notification_lists": [topic_urn],
}],
notification_begin_time="00:00",
notification_end_time="23:59")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
topicUrn := cfg.RequireObject("topicUrn")
_, err := opentelekomcloud.NewCesOneClickAlarmV2(ctx, "test", &opentelekomcloud.CesOneClickAlarmV2Args{
OneClickAlarmId: pulumi.String("ECSSystemOneClickAlarm"),
DimensionNames: &opentelekomcloud.CesOneClickAlarmV2DimensionNamesArgs{
Metrics: pulumi.StringArray{
pulumi.String("instance_id"),
},
Event: pulumi.Bool(true),
},
NotificationEnabled: pulumi.Bool(true),
AlarmNotifications: opentelekomcloud.CesOneClickAlarmV2AlarmNotificationArray{
&opentelekomcloud.CesOneClickAlarmV2AlarmNotificationArgs{
Type: pulumi.String("notification"),
NotificationLists: pulumi.StringArray{
topicUrn,
},
},
},
NotificationBeginTime: pulumi.String("00:00"),
NotificationEndTime: pulumi.String("23:59"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var topicUrn = config.RequireObject<dynamic>("topicUrn");
var test = new Opentelekomcloud.CesOneClickAlarmV2("test", new()
{
OneClickAlarmId = "ECSSystemOneClickAlarm",
DimensionNames = new Opentelekomcloud.Inputs.CesOneClickAlarmV2DimensionNamesArgs
{
Metrics = new[]
{
"instance_id",
},
Event = true,
},
NotificationEnabled = true,
AlarmNotifications = new[]
{
new Opentelekomcloud.Inputs.CesOneClickAlarmV2AlarmNotificationArgs
{
Type = "notification",
NotificationLists = new[]
{
topicUrn,
},
},
},
NotificationBeginTime = "00:00",
NotificationEndTime = "23:59",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.CesOneClickAlarmV2;
import com.pulumi.opentelekomcloud.CesOneClickAlarmV2Args;
import com.pulumi.opentelekomcloud.inputs.CesOneClickAlarmV2DimensionNamesArgs;
import com.pulumi.opentelekomcloud.inputs.CesOneClickAlarmV2AlarmNotificationArgs;
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 config = ctx.config();
final var topicUrn = config.get("topicUrn");
var test = new CesOneClickAlarmV2("test", CesOneClickAlarmV2Args.builder()
.oneClickAlarmId("ECSSystemOneClickAlarm")
.dimensionNames(CesOneClickAlarmV2DimensionNamesArgs.builder()
.metrics("instance_id")
.event(true)
.build())
.notificationEnabled(true)
.alarmNotifications(CesOneClickAlarmV2AlarmNotificationArgs.builder()
.type("notification")
.notificationLists(topicUrn)
.build())
.notificationBeginTime("00:00")
.notificationEndTime("23:59")
.build());
}
}
configuration:
topicUrn:
type: dynamic
resources:
test:
type: opentelekomcloud:CesOneClickAlarmV2
properties:
oneClickAlarmId: ECSSystemOneClickAlarm
dimensionNames:
metrics:
- instance_id
event: true
notificationEnabled: true
alarmNotifications:
- type: notification
notificationLists:
- ${topicUrn}
notificationBeginTime: 00:00
notificationEndTime: 23:59
Create CesOneClickAlarmV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CesOneClickAlarmV2(name: string, args: CesOneClickAlarmV2Args, opts?: CustomResourceOptions);@overload
def CesOneClickAlarmV2(resource_name: str,
args: CesOneClickAlarmV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def CesOneClickAlarmV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
dimension_names: Optional[CesOneClickAlarmV2DimensionNamesArgs] = None,
notification_enabled: Optional[bool] = None,
one_click_alarm_id: Optional[str] = None,
alarm_notifications: Optional[Sequence[CesOneClickAlarmV2AlarmNotificationArgs]] = None,
ces_one_click_alarm_v2_id: Optional[str] = None,
notification_begin_time: Optional[str] = None,
notification_end_time: Optional[str] = None,
ok_notifications: Optional[Sequence[CesOneClickAlarmV2OkNotificationArgs]] = None,
timeouts: Optional[CesOneClickAlarmV2TimeoutsArgs] = None)func NewCesOneClickAlarmV2(ctx *Context, name string, args CesOneClickAlarmV2Args, opts ...ResourceOption) (*CesOneClickAlarmV2, error)public CesOneClickAlarmV2(string name, CesOneClickAlarmV2Args args, CustomResourceOptions? opts = null)
public CesOneClickAlarmV2(String name, CesOneClickAlarmV2Args args)
public CesOneClickAlarmV2(String name, CesOneClickAlarmV2Args args, CustomResourceOptions options)
type: opentelekomcloud:CesOneClickAlarmV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CesOneClickAlarmV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CesOneClickAlarmV2Args
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CesOneClickAlarmV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CesOneClickAlarmV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CesOneClickAlarmV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cesOneClickAlarmV2Resource = new Opentelekomcloud.CesOneClickAlarmV2("cesOneClickAlarmV2Resource", new()
{
DimensionNames = new Opentelekomcloud.Inputs.CesOneClickAlarmV2DimensionNamesArgs
{
Event = false,
Metrics = new[]
{
"string",
},
},
NotificationEnabled = false,
OneClickAlarmId = "string",
AlarmNotifications = new[]
{
new Opentelekomcloud.Inputs.CesOneClickAlarmV2AlarmNotificationArgs
{
NotificationLists = new[]
{
"string",
},
Type = "string",
},
},
CesOneClickAlarmV2Id = "string",
NotificationBeginTime = "string",
NotificationEndTime = "string",
OkNotifications = new[]
{
new Opentelekomcloud.Inputs.CesOneClickAlarmV2OkNotificationArgs
{
NotificationLists = new[]
{
"string",
},
Type = "string",
},
},
Timeouts = new Opentelekomcloud.Inputs.CesOneClickAlarmV2TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := opentelekomcloud.NewCesOneClickAlarmV2(ctx, "cesOneClickAlarmV2Resource", &opentelekomcloud.CesOneClickAlarmV2Args{
DimensionNames: &opentelekomcloud.CesOneClickAlarmV2DimensionNamesArgs{
Event: pulumi.Bool(false),
Metrics: pulumi.StringArray{
pulumi.String("string"),
},
},
NotificationEnabled: pulumi.Bool(false),
OneClickAlarmId: pulumi.String("string"),
AlarmNotifications: opentelekomcloud.CesOneClickAlarmV2AlarmNotificationArray{
&opentelekomcloud.CesOneClickAlarmV2AlarmNotificationArgs{
NotificationLists: pulumi.StringArray{
pulumi.String("string"),
},
Type: pulumi.String("string"),
},
},
CesOneClickAlarmV2Id: pulumi.String("string"),
NotificationBeginTime: pulumi.String("string"),
NotificationEndTime: pulumi.String("string"),
OkNotifications: opentelekomcloud.CesOneClickAlarmV2OkNotificationArray{
&opentelekomcloud.CesOneClickAlarmV2OkNotificationArgs{
NotificationLists: pulumi.StringArray{
pulumi.String("string"),
},
Type: pulumi.String("string"),
},
},
Timeouts: &opentelekomcloud.CesOneClickAlarmV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var cesOneClickAlarmV2Resource = new CesOneClickAlarmV2("cesOneClickAlarmV2Resource", CesOneClickAlarmV2Args.builder()
.dimensionNames(CesOneClickAlarmV2DimensionNamesArgs.builder()
.event(false)
.metrics("string")
.build())
.notificationEnabled(false)
.oneClickAlarmId("string")
.alarmNotifications(CesOneClickAlarmV2AlarmNotificationArgs.builder()
.notificationLists("string")
.type("string")
.build())
.cesOneClickAlarmV2Id("string")
.notificationBeginTime("string")
.notificationEndTime("string")
.okNotifications(CesOneClickAlarmV2OkNotificationArgs.builder()
.notificationLists("string")
.type("string")
.build())
.timeouts(CesOneClickAlarmV2TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
ces_one_click_alarm_v2_resource = opentelekomcloud.CesOneClickAlarmV2("cesOneClickAlarmV2Resource",
dimension_names={
"event": False,
"metrics": ["string"],
},
notification_enabled=False,
one_click_alarm_id="string",
alarm_notifications=[{
"notification_lists": ["string"],
"type": "string",
}],
ces_one_click_alarm_v2_id="string",
notification_begin_time="string",
notification_end_time="string",
ok_notifications=[{
"notification_lists": ["string"],
"type": "string",
}],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const cesOneClickAlarmV2Resource = new opentelekomcloud.CesOneClickAlarmV2("cesOneClickAlarmV2Resource", {
dimensionNames: {
event: false,
metrics: ["string"],
},
notificationEnabled: false,
oneClickAlarmId: "string",
alarmNotifications: [{
notificationLists: ["string"],
type: "string",
}],
cesOneClickAlarmV2Id: "string",
notificationBeginTime: "string",
notificationEndTime: "string",
okNotifications: [{
notificationLists: ["string"],
type: "string",
}],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: opentelekomcloud:CesOneClickAlarmV2
properties:
alarmNotifications:
- notificationLists:
- string
type: string
cesOneClickAlarmV2Id: string
dimensionNames:
event: false
metrics:
- string
notificationBeginTime: string
notificationEnabled: false
notificationEndTime: string
okNotifications:
- notificationLists:
- string
type: string
oneClickAlarmId: string
timeouts:
create: string
delete: string
update: string
CesOneClickAlarmV2 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CesOneClickAlarmV2 resource accepts the following input properties:
- Dimension
Names CesOne Click Alarm V2Dimension Names - Specifies the dimension names for metric and event alarm rules. The dimension_names structure is documented below. Changing this creates a new resource.
- Notification
Enabled bool - Specifies whether to enable alarm notifications.
- One
Click stringAlarm Id - Specifies the one-click monitoring ID.
The value can be a string of
1to64alphanumeric characters. Changing this creates a new resource. - Alarm
Notifications List<CesOne Click Alarm V2Alarm Notification> Specifies the action to be triggered by an alarm.
- If the value of
notification_enabledis false, this parameter should not be set. - If the value of
notification_enabledis true, this parameter is required.
The alarm_notifications structure is documented below.
- If the value of
- Ces
One stringClick Alarm V2Id - The one-click alarm ID.
- Notification
Begin stringTime - Specifies the alarm notification start time,
for example: 00:00. The format is
HH:MM. - Notification
End stringTime Specifies the alarm notification end time, for example: 23:59. The format is
HH:MM.<a name=<span pulumi-lang-nodejs=""dimensionNamesStruct"" pulumi-lang-dotnet=""DimensionNamesStruct"" pulumi-lang-go=""dimensionNamesStruct"" pulumi-lang-python=""dimension_names_struct"" pulumi-lang-yaml=""dimensionNamesStruct"" pulumi-lang-java=""dimensionNamesStruct"">"dimension_names_struct"> The
dimension_namesblock supports:- Ok
Notifications List<CesOne Click Alarm V2Ok Notification> Specifies the action to be triggered after an alarm is cleared.
- If the value of
notification_enabledis false, this parameter should not be set.
The ok_notifications structure is documented below.
- If the value of
- Timeouts
Ces
One Click Alarm V2Timeouts
- Dimension
Names CesOne Click Alarm V2Dimension Names Args - Specifies the dimension names for metric and event alarm rules. The dimension_names structure is documented below. Changing this creates a new resource.
- Notification
Enabled bool - Specifies whether to enable alarm notifications.
- One
Click stringAlarm Id - Specifies the one-click monitoring ID.
The value can be a string of
1to64alphanumeric characters. Changing this creates a new resource. - Alarm
Notifications []CesOne Click Alarm V2Alarm Notification Args Specifies the action to be triggered by an alarm.
- If the value of
notification_enabledis false, this parameter should not be set. - If the value of
notification_enabledis true, this parameter is required.
The alarm_notifications structure is documented below.
- If the value of
- Ces
One stringClick Alarm V2Id - The one-click alarm ID.
- Notification
Begin stringTime - Specifies the alarm notification start time,
for example: 00:00. The format is
HH:MM. - Notification
End stringTime Specifies the alarm notification end time, for example: 23:59. The format is
HH:MM.<a name=<span pulumi-lang-nodejs=""dimensionNamesStruct"" pulumi-lang-dotnet=""DimensionNamesStruct"" pulumi-lang-go=""dimensionNamesStruct"" pulumi-lang-python=""dimension_names_struct"" pulumi-lang-yaml=""dimensionNamesStruct"" pulumi-lang-java=""dimensionNamesStruct"">"dimension_names_struct"> The
dimension_namesblock supports:- Ok
Notifications []CesOne Click Alarm V2Ok Notification Args Specifies the action to be triggered after an alarm is cleared.
- If the value of
notification_enabledis false, this parameter should not be set.
The ok_notifications structure is documented below.
- If the value of
- Timeouts
Ces
One Click Alarm V2Timeouts Args
- dimension
Names CesOne Click Alarm V2Dimension Names - Specifies the dimension names for metric and event alarm rules. The dimension_names structure is documented below. Changing this creates a new resource.
- notification
Enabled Boolean - Specifies whether to enable alarm notifications.
- one
Click StringAlarm Id - Specifies the one-click monitoring ID.
The value can be a string of
1to64alphanumeric characters. Changing this creates a new resource. - alarm
Notifications List<CesOne Click Alarm V2Alarm Notification> Specifies the action to be triggered by an alarm.
- If the value of
notification_enabledis false, this parameter should not be set. - If the value of
notification_enabledis true, this parameter is required.
The alarm_notifications structure is documented below.
- If the value of
- ces
One StringClick Alarm V2Id - The one-click alarm ID.
- notification
Begin StringTime - Specifies the alarm notification start time,
for example: 00:00. The format is
HH:MM. - notification
End StringTime Specifies the alarm notification end time, for example: 23:59. The format is
HH:MM.<a name=<span pulumi-lang-nodejs=""dimensionNamesStruct"" pulumi-lang-dotnet=""DimensionNamesStruct"" pulumi-lang-go=""dimensionNamesStruct"" pulumi-lang-python=""dimension_names_struct"" pulumi-lang-yaml=""dimensionNamesStruct"" pulumi-lang-java=""dimensionNamesStruct"">"dimension_names_struct"> The
dimension_namesblock supports:- ok
Notifications List<CesOne Click Alarm V2Ok Notification> Specifies the action to be triggered after an alarm is cleared.
- If the value of
notification_enabledis false, this parameter should not be set.
The ok_notifications structure is documented below.
- If the value of
- timeouts
Ces
One Click Alarm V2Timeouts
- dimension
Names CesOne Click Alarm V2Dimension Names - Specifies the dimension names for metric and event alarm rules. The dimension_names structure is documented below. Changing this creates a new resource.
- notification
Enabled boolean - Specifies whether to enable alarm notifications.
- one
Click stringAlarm Id - Specifies the one-click monitoring ID.
The value can be a string of
1to64alphanumeric characters. Changing this creates a new resource. - alarm
Notifications CesOne Click Alarm V2Alarm Notification[] Specifies the action to be triggered by an alarm.
- If the value of
notification_enabledis false, this parameter should not be set. - If the value of
notification_enabledis true, this parameter is required.
The alarm_notifications structure is documented below.
- If the value of
- ces
One stringClick Alarm V2Id - The one-click alarm ID.
- notification
Begin stringTime - Specifies the alarm notification start time,
for example: 00:00. The format is
HH:MM. - notification
End stringTime Specifies the alarm notification end time, for example: 23:59. The format is
HH:MM.<a name=<span pulumi-lang-nodejs=""dimensionNamesStruct"" pulumi-lang-dotnet=""DimensionNamesStruct"" pulumi-lang-go=""dimensionNamesStruct"" pulumi-lang-python=""dimension_names_struct"" pulumi-lang-yaml=""dimensionNamesStruct"" pulumi-lang-java=""dimensionNamesStruct"">"dimension_names_struct"> The
dimension_namesblock supports:- ok
Notifications CesOne Click Alarm V2Ok Notification[] Specifies the action to be triggered after an alarm is cleared.
- If the value of
notification_enabledis false, this parameter should not be set.
The ok_notifications structure is documented below.
- If the value of
- timeouts
Ces
One Click Alarm V2Timeouts
- dimension_
names CesOne Click Alarm V2Dimension Names Args - Specifies the dimension names for metric and event alarm rules. The dimension_names structure is documented below. Changing this creates a new resource.
- notification_
enabled bool - Specifies whether to enable alarm notifications.
- one_
click_ stralarm_ id - Specifies the one-click monitoring ID.
The value can be a string of
1to64alphanumeric characters. Changing this creates a new resource. - alarm_
notifications Sequence[CesOne Click Alarm V2Alarm Notification Args] Specifies the action to be triggered by an alarm.
- If the value of
notification_enabledis false, this parameter should not be set. - If the value of
notification_enabledis true, this parameter is required.
The alarm_notifications structure is documented below.
- If the value of
- ces_
one_ strclick_ alarm_ v2_ id - The one-click alarm ID.
- notification_
begin_ strtime - Specifies the alarm notification start time,
for example: 00:00. The format is
HH:MM. - notification_
end_ strtime Specifies the alarm notification end time, for example: 23:59. The format is
HH:MM.<a name=<span pulumi-lang-nodejs=""dimensionNamesStruct"" pulumi-lang-dotnet=""DimensionNamesStruct"" pulumi-lang-go=""dimensionNamesStruct"" pulumi-lang-python=""dimension_names_struct"" pulumi-lang-yaml=""dimensionNamesStruct"" pulumi-lang-java=""dimensionNamesStruct"">"dimension_names_struct"> The
dimension_namesblock supports:- ok_
notifications Sequence[CesOne Click Alarm V2Ok Notification Args] Specifies the action to be triggered after an alarm is cleared.
- If the value of
notification_enabledis false, this parameter should not be set.
The ok_notifications structure is documented below.
- If the value of
- timeouts
Ces
One Click Alarm V2Timeouts Args
- dimension
Names Property Map - Specifies the dimension names for metric and event alarm rules. The dimension_names structure is documented below. Changing this creates a new resource.
- notification
Enabled Boolean - Specifies whether to enable alarm notifications.
- one
Click StringAlarm Id - Specifies the one-click monitoring ID.
The value can be a string of
1to64alphanumeric characters. Changing this creates a new resource. - alarm
Notifications List<Property Map> Specifies the action to be triggered by an alarm.
- If the value of
notification_enabledis false, this parameter should not be set. - If the value of
notification_enabledis true, this parameter is required.
The alarm_notifications structure is documented below.
- If the value of
- ces
One StringClick Alarm V2Id - The one-click alarm ID.
- notification
Begin StringTime - Specifies the alarm notification start time,
for example: 00:00. The format is
HH:MM. - notification
End StringTime Specifies the alarm notification end time, for example: 23:59. The format is
HH:MM.<a name=<span pulumi-lang-nodejs=""dimensionNamesStruct"" pulumi-lang-dotnet=""DimensionNamesStruct"" pulumi-lang-go=""dimensionNamesStruct"" pulumi-lang-python=""dimension_names_struct"" pulumi-lang-yaml=""dimensionNamesStruct"" pulumi-lang-java=""dimensionNamesStruct"">"dimension_names_struct"> The
dimension_namesblock supports:- ok
Notifications List<Property Map> Specifies the action to be triggered after an alarm is cleared.
- If the value of
notification_enabledis false, this parameter should not be set.
The ok_notifications structure is documented below.
- If the value of
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the CesOneClickAlarmV2 resource produces the following output properties:
- Description string
- The description of the one-click monitoring configuration.
- Enabled bool
- Whether one-click monitoring is enabled.
- Id string
- The provider-assigned unique ID for this managed resource.
- Internal
Alarm stringId - The auto-generated internal alarm ID returned by the API.
- Namespace string
- The namespace of the monitored service.
- Description string
- The description of the one-click monitoring configuration.
- Enabled bool
- Whether one-click monitoring is enabled.
- Id string
- The provider-assigned unique ID for this managed resource.
- Internal
Alarm stringId - The auto-generated internal alarm ID returned by the API.
- Namespace string
- The namespace of the monitored service.
- description String
- The description of the one-click monitoring configuration.
- enabled Boolean
- Whether one-click monitoring is enabled.
- id String
- The provider-assigned unique ID for this managed resource.
- internal
Alarm StringId - The auto-generated internal alarm ID returned by the API.
- namespace String
- The namespace of the monitored service.
- description string
- The description of the one-click monitoring configuration.
- enabled boolean
- Whether one-click monitoring is enabled.
- id string
- The provider-assigned unique ID for this managed resource.
- internal
Alarm stringId - The auto-generated internal alarm ID returned by the API.
- namespace string
- The namespace of the monitored service.
- description str
- The description of the one-click monitoring configuration.
- enabled bool
- Whether one-click monitoring is enabled.
- id str
- The provider-assigned unique ID for this managed resource.
- internal_
alarm_ strid - The auto-generated internal alarm ID returned by the API.
- namespace str
- The namespace of the monitored service.
- description String
- The description of the one-click monitoring configuration.
- enabled Boolean
- Whether one-click monitoring is enabled.
- id String
- The provider-assigned unique ID for this managed resource.
- internal
Alarm StringId - The auto-generated internal alarm ID returned by the API.
- namespace String
- The namespace of the monitored service.
Look up Existing CesOneClickAlarmV2 Resource
Get an existing CesOneClickAlarmV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CesOneClickAlarmV2State, opts?: CustomResourceOptions): CesOneClickAlarmV2@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alarm_notifications: Optional[Sequence[CesOneClickAlarmV2AlarmNotificationArgs]] = None,
ces_one_click_alarm_v2_id: Optional[str] = None,
description: Optional[str] = None,
dimension_names: Optional[CesOneClickAlarmV2DimensionNamesArgs] = None,
enabled: Optional[bool] = None,
internal_alarm_id: Optional[str] = None,
namespace: Optional[str] = None,
notification_begin_time: Optional[str] = None,
notification_enabled: Optional[bool] = None,
notification_end_time: Optional[str] = None,
ok_notifications: Optional[Sequence[CesOneClickAlarmV2OkNotificationArgs]] = None,
one_click_alarm_id: Optional[str] = None,
timeouts: Optional[CesOneClickAlarmV2TimeoutsArgs] = None) -> CesOneClickAlarmV2func GetCesOneClickAlarmV2(ctx *Context, name string, id IDInput, state *CesOneClickAlarmV2State, opts ...ResourceOption) (*CesOneClickAlarmV2, error)public static CesOneClickAlarmV2 Get(string name, Input<string> id, CesOneClickAlarmV2State? state, CustomResourceOptions? opts = null)public static CesOneClickAlarmV2 get(String name, Output<String> id, CesOneClickAlarmV2State state, CustomResourceOptions options)resources: _: type: opentelekomcloud:CesOneClickAlarmV2 get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Alarm
Notifications List<CesOne Click Alarm V2Alarm Notification> Specifies the action to be triggered by an alarm.
- If the value of
notification_enabledis false, this parameter should not be set. - If the value of
notification_enabledis true, this parameter is required.
The alarm_notifications structure is documented below.
- If the value of
- Ces
One stringClick Alarm V2Id - The one-click alarm ID.
- Description string
- The description of the one-click monitoring configuration.
- Dimension
Names CesOne Click Alarm V2Dimension Names - Specifies the dimension names for metric and event alarm rules. The dimension_names structure is documented below. Changing this creates a new resource.
- Enabled bool
- Whether one-click monitoring is enabled.
- Internal
Alarm stringId - The auto-generated internal alarm ID returned by the API.
- Namespace string
- The namespace of the monitored service.
- Notification
Begin stringTime - Specifies the alarm notification start time,
for example: 00:00. The format is
HH:MM. - Notification
Enabled bool - Specifies whether to enable alarm notifications.
- Notification
End stringTime Specifies the alarm notification end time, for example: 23:59. The format is
HH:MM.<a name=<span pulumi-lang-nodejs=""dimensionNamesStruct"" pulumi-lang-dotnet=""DimensionNamesStruct"" pulumi-lang-go=""dimensionNamesStruct"" pulumi-lang-python=""dimension_names_struct"" pulumi-lang-yaml=""dimensionNamesStruct"" pulumi-lang-java=""dimensionNamesStruct"">"dimension_names_struct"> The
dimension_namesblock supports:- Ok
Notifications List<CesOne Click Alarm V2Ok Notification> Specifies the action to be triggered after an alarm is cleared.
- If the value of
notification_enabledis false, this parameter should not be set.
The ok_notifications structure is documented below.
- If the value of
- One
Click stringAlarm Id - Specifies the one-click monitoring ID.
The value can be a string of
1to64alphanumeric characters. Changing this creates a new resource. - Timeouts
Ces
One Click Alarm V2Timeouts
- Alarm
Notifications []CesOne Click Alarm V2Alarm Notification Args Specifies the action to be triggered by an alarm.
- If the value of
notification_enabledis false, this parameter should not be set. - If the value of
notification_enabledis true, this parameter is required.
The alarm_notifications structure is documented below.
- If the value of
- Ces
One stringClick Alarm V2Id - The one-click alarm ID.
- Description string
- The description of the one-click monitoring configuration.
- Dimension
Names CesOne Click Alarm V2Dimension Names Args - Specifies the dimension names for metric and event alarm rules. The dimension_names structure is documented below. Changing this creates a new resource.
- Enabled bool
- Whether one-click monitoring is enabled.
- Internal
Alarm stringId - The auto-generated internal alarm ID returned by the API.
- Namespace string
- The namespace of the monitored service.
- Notification
Begin stringTime - Specifies the alarm notification start time,
for example: 00:00. The format is
HH:MM. - Notification
Enabled bool - Specifies whether to enable alarm notifications.
- Notification
End stringTime Specifies the alarm notification end time, for example: 23:59. The format is
HH:MM.<a name=<span pulumi-lang-nodejs=""dimensionNamesStruct"" pulumi-lang-dotnet=""DimensionNamesStruct"" pulumi-lang-go=""dimensionNamesStruct"" pulumi-lang-python=""dimension_names_struct"" pulumi-lang-yaml=""dimensionNamesStruct"" pulumi-lang-java=""dimensionNamesStruct"">"dimension_names_struct"> The
dimension_namesblock supports:- Ok
Notifications []CesOne Click Alarm V2Ok Notification Args Specifies the action to be triggered after an alarm is cleared.
- If the value of
notification_enabledis false, this parameter should not be set.
The ok_notifications structure is documented below.
- If the value of
- One
Click stringAlarm Id - Specifies the one-click monitoring ID.
The value can be a string of
1to64alphanumeric characters. Changing this creates a new resource. - Timeouts
Ces
One Click Alarm V2Timeouts Args
- alarm
Notifications List<CesOne Click Alarm V2Alarm Notification> Specifies the action to be triggered by an alarm.
- If the value of
notification_enabledis false, this parameter should not be set. - If the value of
notification_enabledis true, this parameter is required.
The alarm_notifications structure is documented below.
- If the value of
- ces
One StringClick Alarm V2Id - The one-click alarm ID.
- description String
- The description of the one-click monitoring configuration.
- dimension
Names CesOne Click Alarm V2Dimension Names - Specifies the dimension names for metric and event alarm rules. The dimension_names structure is documented below. Changing this creates a new resource.
- enabled Boolean
- Whether one-click monitoring is enabled.
- internal
Alarm StringId - The auto-generated internal alarm ID returned by the API.
- namespace String
- The namespace of the monitored service.
- notification
Begin StringTime - Specifies the alarm notification start time,
for example: 00:00. The format is
HH:MM. - notification
Enabled Boolean - Specifies whether to enable alarm notifications.
- notification
End StringTime Specifies the alarm notification end time, for example: 23:59. The format is
HH:MM.<a name=<span pulumi-lang-nodejs=""dimensionNamesStruct"" pulumi-lang-dotnet=""DimensionNamesStruct"" pulumi-lang-go=""dimensionNamesStruct"" pulumi-lang-python=""dimension_names_struct"" pulumi-lang-yaml=""dimensionNamesStruct"" pulumi-lang-java=""dimensionNamesStruct"">"dimension_names_struct"> The
dimension_namesblock supports:- ok
Notifications List<CesOne Click Alarm V2Ok Notification> Specifies the action to be triggered after an alarm is cleared.
- If the value of
notification_enabledis false, this parameter should not be set.
The ok_notifications structure is documented below.
- If the value of
- one
Click StringAlarm Id - Specifies the one-click monitoring ID.
The value can be a string of
1to64alphanumeric characters. Changing this creates a new resource. - timeouts
Ces
One Click Alarm V2Timeouts
- alarm
Notifications CesOne Click Alarm V2Alarm Notification[] Specifies the action to be triggered by an alarm.
- If the value of
notification_enabledis false, this parameter should not be set. - If the value of
notification_enabledis true, this parameter is required.
The alarm_notifications structure is documented below.
- If the value of
- ces
One stringClick Alarm V2Id - The one-click alarm ID.
- description string
- The description of the one-click monitoring configuration.
- dimension
Names CesOne Click Alarm V2Dimension Names - Specifies the dimension names for metric and event alarm rules. The dimension_names structure is documented below. Changing this creates a new resource.
- enabled boolean
- Whether one-click monitoring is enabled.
- internal
Alarm stringId - The auto-generated internal alarm ID returned by the API.
- namespace string
- The namespace of the monitored service.
- notification
Begin stringTime - Specifies the alarm notification start time,
for example: 00:00. The format is
HH:MM. - notification
Enabled boolean - Specifies whether to enable alarm notifications.
- notification
End stringTime Specifies the alarm notification end time, for example: 23:59. The format is
HH:MM.<a name=<span pulumi-lang-nodejs=""dimensionNamesStruct"" pulumi-lang-dotnet=""DimensionNamesStruct"" pulumi-lang-go=""dimensionNamesStruct"" pulumi-lang-python=""dimension_names_struct"" pulumi-lang-yaml=""dimensionNamesStruct"" pulumi-lang-java=""dimensionNamesStruct"">"dimension_names_struct"> The
dimension_namesblock supports:- ok
Notifications CesOne Click Alarm V2Ok Notification[] Specifies the action to be triggered after an alarm is cleared.
- If the value of
notification_enabledis false, this parameter should not be set.
The ok_notifications structure is documented below.
- If the value of
- one
Click stringAlarm Id - Specifies the one-click monitoring ID.
The value can be a string of
1to64alphanumeric characters. Changing this creates a new resource. - timeouts
Ces
One Click Alarm V2Timeouts
- alarm_
notifications Sequence[CesOne Click Alarm V2Alarm Notification Args] Specifies the action to be triggered by an alarm.
- If the value of
notification_enabledis false, this parameter should not be set. - If the value of
notification_enabledis true, this parameter is required.
The alarm_notifications structure is documented below.
- If the value of
- ces_
one_ strclick_ alarm_ v2_ id - The one-click alarm ID.
- description str
- The description of the one-click monitoring configuration.
- dimension_
names CesOne Click Alarm V2Dimension Names Args - Specifies the dimension names for metric and event alarm rules. The dimension_names structure is documented below. Changing this creates a new resource.
- enabled bool
- Whether one-click monitoring is enabled.
- internal_
alarm_ strid - The auto-generated internal alarm ID returned by the API.
- namespace str
- The namespace of the monitored service.
- notification_
begin_ strtime - Specifies the alarm notification start time,
for example: 00:00. The format is
HH:MM. - notification_
enabled bool - Specifies whether to enable alarm notifications.
- notification_
end_ strtime Specifies the alarm notification end time, for example: 23:59. The format is
HH:MM.<a name=<span pulumi-lang-nodejs=""dimensionNamesStruct"" pulumi-lang-dotnet=""DimensionNamesStruct"" pulumi-lang-go=""dimensionNamesStruct"" pulumi-lang-python=""dimension_names_struct"" pulumi-lang-yaml=""dimensionNamesStruct"" pulumi-lang-java=""dimensionNamesStruct"">"dimension_names_struct"> The
dimension_namesblock supports:- ok_
notifications Sequence[CesOne Click Alarm V2Ok Notification Args] Specifies the action to be triggered after an alarm is cleared.
- If the value of
notification_enabledis false, this parameter should not be set.
The ok_notifications structure is documented below.
- If the value of
- one_
click_ stralarm_ id - Specifies the one-click monitoring ID.
The value can be a string of
1to64alphanumeric characters. Changing this creates a new resource. - timeouts
Ces
One Click Alarm V2Timeouts Args
- alarm
Notifications List<Property Map> Specifies the action to be triggered by an alarm.
- If the value of
notification_enabledis false, this parameter should not be set. - If the value of
notification_enabledis true, this parameter is required.
The alarm_notifications structure is documented below.
- If the value of
- ces
One StringClick Alarm V2Id - The one-click alarm ID.
- description String
- The description of the one-click monitoring configuration.
- dimension
Names Property Map - Specifies the dimension names for metric and event alarm rules. The dimension_names structure is documented below. Changing this creates a new resource.
- enabled Boolean
- Whether one-click monitoring is enabled.
- internal
Alarm StringId - The auto-generated internal alarm ID returned by the API.
- namespace String
- The namespace of the monitored service.
- notification
Begin StringTime - Specifies the alarm notification start time,
for example: 00:00. The format is
HH:MM. - notification
Enabled Boolean - Specifies whether to enable alarm notifications.
- notification
End StringTime Specifies the alarm notification end time, for example: 23:59. The format is
HH:MM.<a name=<span pulumi-lang-nodejs=""dimensionNamesStruct"" pulumi-lang-dotnet=""DimensionNamesStruct"" pulumi-lang-go=""dimensionNamesStruct"" pulumi-lang-python=""dimension_names_struct"" pulumi-lang-yaml=""dimensionNamesStruct"" pulumi-lang-java=""dimensionNamesStruct"">"dimension_names_struct"> The
dimension_namesblock supports:- ok
Notifications List<Property Map> Specifies the action to be triggered after an alarm is cleared.
- If the value of
notification_enabledis false, this parameter should not be set.
The ok_notifications structure is documented below.
- If the value of
- one
Click StringAlarm Id - Specifies the one-click monitoring ID.
The value can be a string of
1to64alphanumeric characters. Changing this creates a new resource. - timeouts Property Map
Supporting Types
CesOneClickAlarmV2AlarmNotification, CesOneClickAlarmV2AlarmNotificationArgs
- Notification
Lists List<string> - Specifies the list of SMN topic URNs.
A maximum of
20items are supported. - Type string
- Specifies the notification type. The value is notification, which indicates that a notification will be sent via SMN topic subscriptions.
- Notification
Lists []string - Specifies the list of SMN topic URNs.
A maximum of
20items are supported. - Type string
- Specifies the notification type. The value is notification, which indicates that a notification will be sent via SMN topic subscriptions.
- notification
Lists List<String> - Specifies the list of SMN topic URNs.
A maximum of
20items are supported. - type String
- Specifies the notification type. The value is notification, which indicates that a notification will be sent via SMN topic subscriptions.
- notification
Lists string[] - Specifies the list of SMN topic URNs.
A maximum of
20items are supported. - type string
- Specifies the notification type. The value is notification, which indicates that a notification will be sent via SMN topic subscriptions.
- notification_
lists Sequence[str] - Specifies the list of SMN topic URNs.
A maximum of
20items are supported. - type str
- Specifies the notification type. The value is notification, which indicates that a notification will be sent via SMN topic subscriptions.
- notification
Lists List<String> - Specifies the list of SMN topic URNs.
A maximum of
20items are supported. - type String
- Specifies the notification type. The value is notification, which indicates that a notification will be sent via SMN topic subscriptions.
CesOneClickAlarmV2DimensionNames, CesOneClickAlarmV2DimensionNamesArgs
- Event bool
Specifies whether to enable event alarm rules. Defaults to
false.At least one of
metricoreventmust be configured withindimension_names.<a name=<span pulumi-lang-nodejs=""notificationsStruct"" pulumi-lang-dotnet=""NotificationsStruct"" pulumi-lang-go=""notificationsStruct"" pulumi-lang-python=""notifications_struct"" pulumi-lang-yaml=""notificationsStruct"" pulumi-lang-java=""notificationsStruct"">"notifications_struct"> The
alarm_notificationsandok_notificationsblocks support:- Metrics List<string>
- Specifies the dimension strings for metric alarm rules.
A maximum of
100items are supported. Each element can be a string of1to131characters that must start with a letter and contain only letters, digits, underscores (_), hyphens (-), and commas (,).
- Event bool
Specifies whether to enable event alarm rules. Defaults to
false.At least one of
metricoreventmust be configured withindimension_names.<a name=<span pulumi-lang-nodejs=""notificationsStruct"" pulumi-lang-dotnet=""NotificationsStruct"" pulumi-lang-go=""notificationsStruct"" pulumi-lang-python=""notifications_struct"" pulumi-lang-yaml=""notificationsStruct"" pulumi-lang-java=""notificationsStruct"">"notifications_struct"> The
alarm_notificationsandok_notificationsblocks support:- Metrics []string
- Specifies the dimension strings for metric alarm rules.
A maximum of
100items are supported. Each element can be a string of1to131characters that must start with a letter and contain only letters, digits, underscores (_), hyphens (-), and commas (,).
- event Boolean
Specifies whether to enable event alarm rules. Defaults to
false.At least one of
metricoreventmust be configured withindimension_names.<a name=<span pulumi-lang-nodejs=""notificationsStruct"" pulumi-lang-dotnet=""NotificationsStruct"" pulumi-lang-go=""notificationsStruct"" pulumi-lang-python=""notifications_struct"" pulumi-lang-yaml=""notificationsStruct"" pulumi-lang-java=""notificationsStruct"">"notifications_struct"> The
alarm_notificationsandok_notificationsblocks support:- metrics List<String>
- Specifies the dimension strings for metric alarm rules.
A maximum of
100items are supported. Each element can be a string of1to131characters that must start with a letter and contain only letters, digits, underscores (_), hyphens (-), and commas (,).
- event boolean
Specifies whether to enable event alarm rules. Defaults to
false.At least one of
metricoreventmust be configured withindimension_names.<a name=<span pulumi-lang-nodejs=""notificationsStruct"" pulumi-lang-dotnet=""NotificationsStruct"" pulumi-lang-go=""notificationsStruct"" pulumi-lang-python=""notifications_struct"" pulumi-lang-yaml=""notificationsStruct"" pulumi-lang-java=""notificationsStruct"">"notifications_struct"> The
alarm_notificationsandok_notificationsblocks support:- metrics string[]
- Specifies the dimension strings for metric alarm rules.
A maximum of
100items are supported. Each element can be a string of1to131characters that must start with a letter and contain only letters, digits, underscores (_), hyphens (-), and commas (,).
- event bool
Specifies whether to enable event alarm rules. Defaults to
false.At least one of
metricoreventmust be configured withindimension_names.<a name=<span pulumi-lang-nodejs=""notificationsStruct"" pulumi-lang-dotnet=""NotificationsStruct"" pulumi-lang-go=""notificationsStruct"" pulumi-lang-python=""notifications_struct"" pulumi-lang-yaml=""notificationsStruct"" pulumi-lang-java=""notificationsStruct"">"notifications_struct"> The
alarm_notificationsandok_notificationsblocks support:- metrics Sequence[str]
- Specifies the dimension strings for metric alarm rules.
A maximum of
100items are supported. Each element can be a string of1to131characters that must start with a letter and contain only letters, digits, underscores (_), hyphens (-), and commas (,).
- event Boolean
Specifies whether to enable event alarm rules. Defaults to
false.At least one of
metricoreventmust be configured withindimension_names.<a name=<span pulumi-lang-nodejs=""notificationsStruct"" pulumi-lang-dotnet=""NotificationsStruct"" pulumi-lang-go=""notificationsStruct"" pulumi-lang-python=""notifications_struct"" pulumi-lang-yaml=""notificationsStruct"" pulumi-lang-java=""notificationsStruct"">"notifications_struct"> The
alarm_notificationsandok_notificationsblocks support:- metrics List<String>
- Specifies the dimension strings for metric alarm rules.
A maximum of
100items are supported. Each element can be a string of1to131characters that must start with a letter and contain only letters, digits, underscores (_), hyphens (-), and commas (,).
CesOneClickAlarmV2OkNotification, CesOneClickAlarmV2OkNotificationArgs
- Notification
Lists List<string> - Specifies the list of SMN topic URNs.
A maximum of
20items are supported. - Type string
- Specifies the notification type. The value is notification, which indicates that a notification will be sent via SMN topic subscriptions.
- Notification
Lists []string - Specifies the list of SMN topic URNs.
A maximum of
20items are supported. - Type string
- Specifies the notification type. The value is notification, which indicates that a notification will be sent via SMN topic subscriptions.
- notification
Lists List<String> - Specifies the list of SMN topic URNs.
A maximum of
20items are supported. - type String
- Specifies the notification type. The value is notification, which indicates that a notification will be sent via SMN topic subscriptions.
- notification
Lists string[] - Specifies the list of SMN topic URNs.
A maximum of
20items are supported. - type string
- Specifies the notification type. The value is notification, which indicates that a notification will be sent via SMN topic subscriptions.
- notification_
lists Sequence[str] - Specifies the list of SMN topic URNs.
A maximum of
20items are supported. - type str
- Specifies the notification type. The value is notification, which indicates that a notification will be sent via SMN topic subscriptions.
- notification
Lists List<String> - Specifies the list of SMN topic URNs.
A maximum of
20items are supported. - type String
- Specifies the notification type. The value is notification, which indicates that a notification will be sent via SMN topic subscriptions.
CesOneClickAlarmV2Timeouts, CesOneClickAlarmV2TimeoutsArgs
Import
CES one-click alarms v2 can be imported using the id, e.g.
bash
$ pulumi import opentelekomcloud:index/cesOneClickAlarmV2:CesOneClickAlarmV2 test OBSSystemOneClickAlarm
Note that the imported state may not be identical to your resource definition, due to the API response not including
some attributes. The missing attributes include: one_click_alarm_id, dimension_names, notification_enabled,
alarm_notifications, ok_notifications, notification_begin_time, and notification_end_time.
It is generally recommended running pulumi preview after importing the resource. You can then decide
if changes should be applied to the resource, or the resource definition should be updated to align
with the resource. Also, you can ignore changes as below.
hcl
resource “opentelekomcloud_ces_one_click_alarm_v2” “test” {
lifecycle {
ignore_changes = [
one_click_alarm_id, dimension_names, notification_enabled,
alarm_notifications, ok_notifications, notification_begin_time, notification_end_time,
]
}
}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloudTerraform Provider.
published on Thursday, Mar 12, 2026 by opentelekomcloud
