volcengine.tls.Alarm
Explore with Pulumi AI
Provides a resource to manage tls alarm
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Volcengine.Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = new Volcengine.Tls.Alarm("foo", new()
{
AlarmName = "test",
AlarmNotifyGroups = new[]
{
"3019107f-28a2-4208-a2b6-c33fcb97ac3a",
},
AlarmPeriodDetail = new Volcengine.Tls.Inputs.AlarmAlarmPeriodDetailArgs
{
Email = 2,
GeneralWebhook = 3,
Phone = 10,
Sms = 10,
},
Condition = "$1.errNum>0",
ProjectId = "cc44f8b6-0328-4622-b043-023fca735cd4",
QueryRequests = new[]
{
new Volcengine.Tls.Inputs.AlarmQueryRequestArgs
{
EndTimeOffset = 0,
Number = 1,
Query = "Failed | select count(*) as errNum",
StartTimeOffset = -15,
TopicId = "af1a2240-ba62-4f18-b421-bde2f9684e57",
},
},
RequestCycle = new Volcengine.Tls.Inputs.AlarmRequestCycleArgs
{
Time = 11,
Type = "Period",
},
UserDefineMsg = "test for terraform",
});
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/tls"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tls.NewAlarm(ctx, "foo", &tls.AlarmArgs{
AlarmName: pulumi.String("test"),
AlarmNotifyGroups: pulumi.StringArray{
pulumi.String("3019107f-28a2-4208-a2b6-c33fcb97ac3a"),
},
AlarmPeriodDetail: &tls.AlarmAlarmPeriodDetailArgs{
Email: pulumi.Int(2),
GeneralWebhook: pulumi.Int(3),
Phone: pulumi.Int(10),
Sms: pulumi.Int(10),
},
Condition: pulumi.String("$1.errNum>0"),
ProjectId: pulumi.String("cc44f8b6-0328-4622-b043-023fca735cd4"),
QueryRequests: tls.AlarmQueryRequestArray{
&tls.AlarmQueryRequestArgs{
EndTimeOffset: pulumi.Int(0),
Number: pulumi.Int(1),
Query: pulumi.String("Failed | select count(*) as errNum"),
StartTimeOffset: -15,
TopicId: pulumi.String("af1a2240-ba62-4f18-b421-bde2f9684e57"),
},
},
RequestCycle: &tls.AlarmRequestCycleArgs{
Time: pulumi.Int(11),
Type: pulumi.String("Period"),
},
UserDefineMsg: pulumi.String("test for terraform"),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.tls.Alarm("foo",
alarm_name="test",
alarm_notify_groups=["3019107f-28a2-4208-a2b6-c33fcb97ac3a"],
alarm_period_detail=volcengine.tls.AlarmAlarmPeriodDetailArgs(
email=2,
general_webhook=3,
phone=10,
sms=10,
),
condition="$1.errNum>0",
project_id="cc44f8b6-0328-4622-b043-023fca735cd4",
query_requests=[volcengine.tls.AlarmQueryRequestArgs(
end_time_offset=0,
number=1,
query="Failed | select count(*) as errNum",
start_time_offset=-15,
topic_id="af1a2240-ba62-4f18-b421-bde2f9684e57",
)],
request_cycle=volcengine.tls.AlarmRequestCycleArgs(
time=11,
type="Period",
),
user_define_msg="test for terraform")
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@volcengine/pulumi";
const foo = new volcengine.tls.Alarm("foo", {
alarmName: "test",
alarmNotifyGroups: ["3019107f-28a2-4208-a2b6-c33fcb97ac3a"],
alarmPeriodDetail: {
email: 2,
generalWebhook: 3,
phone: 10,
sms: 10,
},
condition: "$1.errNum>0",
projectId: "cc44f8b6-0328-4622-b043-023fca735cd4",
queryRequests: [{
endTimeOffset: 0,
number: 1,
query: "Failed | select count(*) as errNum",
startTimeOffset: -15,
topicId: "af1a2240-ba62-4f18-b421-bde2f9684e57",
}],
requestCycle: {
time: 11,
type: "Period",
},
userDefineMsg: "test for terraform",
});
Coming soon!
Create Alarm Resource
new Alarm(name: string, args: AlarmArgs, opts?: CustomResourceOptions);
@overload
def Alarm(resource_name: str,
opts: Optional[ResourceOptions] = None,
alarm_name: Optional[str] = None,
alarm_notify_groups: Optional[Sequence[str]] = None,
alarm_period: Optional[int] = None,
alarm_period_detail: Optional[AlarmAlarmPeriodDetailArgs] = None,
condition: Optional[str] = None,
project_id: Optional[str] = None,
query_requests: Optional[Sequence[AlarmQueryRequestArgs]] = None,
request_cycle: Optional[AlarmRequestCycleArgs] = None,
status: Optional[bool] = None,
trigger_period: Optional[int] = None,
user_define_msg: Optional[str] = None)
@overload
def Alarm(resource_name: str,
args: AlarmArgs,
opts: Optional[ResourceOptions] = None)
func NewAlarm(ctx *Context, name string, args AlarmArgs, opts ...ResourceOption) (*Alarm, error)
public Alarm(string name, AlarmArgs args, CustomResourceOptions? opts = null)
type: volcengine:tls:Alarm
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlarmArgs
- 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 AlarmArgs
- 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 AlarmArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlarmArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AlarmArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Alarm Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Alarm resource accepts the following input properties:
- Alarm
Name string The name of the alarm.
- Alarm
Notify List<string>Groups List of notification groups corresponding to the alarm.
- Condition string
Alarm trigger condition.
- Project
Id string The project id.
- Query
Requests List<Volcengine.Alarm Query Request> Search and analyze sentences, 1~3 can be configured.
- Request
Cycle Volcengine.Alarm Request Cycle The execution period of the alarm task.
- Alarm
Period int Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- Alarm
Period Volcengine.Detail Alarm Alarm Period Detail Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- Status bool
Whether to enable the alert policy. The default value is true, that is, on.
- Trigger
Period int Continuous cycle. The alarm will be issued after the trigger condition is continuously met for TriggerPeriod periods; the minimum value is 1, the maximum value is 10, and the default value is 1.
- User
Define stringMsg Customize the alarm notification content.
- Alarm
Name string The name of the alarm.
- Alarm
Notify []stringGroups List of notification groups corresponding to the alarm.
- Condition string
Alarm trigger condition.
- Project
Id string The project id.
- Query
Requests []AlarmQuery Request Args Search and analyze sentences, 1~3 can be configured.
- Request
Cycle AlarmRequest Cycle Args The execution period of the alarm task.
- Alarm
Period int Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- Alarm
Period AlarmDetail Alarm Period Detail Args Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- Status bool
Whether to enable the alert policy. The default value is true, that is, on.
- Trigger
Period int Continuous cycle. The alarm will be issued after the trigger condition is continuously met for TriggerPeriod periods; the minimum value is 1, the maximum value is 10, and the default value is 1.
- User
Define stringMsg Customize the alarm notification content.
- alarm
Name String The name of the alarm.
- alarm
Notify List<String>Groups List of notification groups corresponding to the alarm.
- condition String
Alarm trigger condition.
- project
Id String The project id.
- query
Requests List<AlarmQuery Request> Search and analyze sentences, 1~3 can be configured.
- request
Cycle AlarmRequest Cycle The execution period of the alarm task.
- alarm
Period Integer Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- alarm
Period AlarmDetail Alarm Period Detail Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- status Boolean
Whether to enable the alert policy. The default value is true, that is, on.
- trigger
Period Integer Continuous cycle. The alarm will be issued after the trigger condition is continuously met for TriggerPeriod periods; the minimum value is 1, the maximum value is 10, and the default value is 1.
- user
Define StringMsg Customize the alarm notification content.
- alarm
Name string The name of the alarm.
- alarm
Notify string[]Groups List of notification groups corresponding to the alarm.
- condition string
Alarm trigger condition.
- project
Id string The project id.
- query
Requests AlarmQuery Request[] Search and analyze sentences, 1~3 can be configured.
- request
Cycle AlarmRequest Cycle The execution period of the alarm task.
- alarm
Period number Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- alarm
Period AlarmDetail Alarm Period Detail Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- status boolean
Whether to enable the alert policy. The default value is true, that is, on.
- trigger
Period number Continuous cycle. The alarm will be issued after the trigger condition is continuously met for TriggerPeriod periods; the minimum value is 1, the maximum value is 10, and the default value is 1.
- user
Define stringMsg Customize the alarm notification content.
- alarm_
name str The name of the alarm.
- alarm_
notify_ Sequence[str]groups List of notification groups corresponding to the alarm.
- condition str
Alarm trigger condition.
- project_
id str The project id.
- query_
requests Sequence[AlarmQuery Request Args] Search and analyze sentences, 1~3 can be configured.
- request_
cycle AlarmRequest Cycle Args The execution period of the alarm task.
- alarm_
period int Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- alarm_
period_ Alarmdetail Alarm Period Detail Args Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- status bool
Whether to enable the alert policy. The default value is true, that is, on.
- trigger_
period int Continuous cycle. The alarm will be issued after the trigger condition is continuously met for TriggerPeriod periods; the minimum value is 1, the maximum value is 10, and the default value is 1.
- user_
define_ strmsg Customize the alarm notification content.
- alarm
Name String The name of the alarm.
- alarm
Notify List<String>Groups List of notification groups corresponding to the alarm.
- condition String
Alarm trigger condition.
- project
Id String The project id.
- query
Requests List<Property Map> Search and analyze sentences, 1~3 can be configured.
- request
Cycle Property Map The execution period of the alarm task.
- alarm
Period Number Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- alarm
Period Property MapDetail Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- status Boolean
Whether to enable the alert policy. The default value is true, that is, on.
- trigger
Period Number Continuous cycle. The alarm will be issued after the trigger condition is continuously met for TriggerPeriod periods; the minimum value is 1, the maximum value is 10, and the default value is 1.
- user
Define StringMsg Customize the alarm notification content.
Outputs
All input properties are implicitly available as output properties. Additionally, the Alarm resource produces the following output properties:
Look up Existing Alarm Resource
Get an existing Alarm 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?: AlarmState, opts?: CustomResourceOptions): Alarm
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alarm_id: Optional[str] = None,
alarm_name: Optional[str] = None,
alarm_notify_groups: Optional[Sequence[str]] = None,
alarm_period: Optional[int] = None,
alarm_period_detail: Optional[AlarmAlarmPeriodDetailArgs] = None,
condition: Optional[str] = None,
project_id: Optional[str] = None,
query_requests: Optional[Sequence[AlarmQueryRequestArgs]] = None,
request_cycle: Optional[AlarmRequestCycleArgs] = None,
status: Optional[bool] = None,
trigger_period: Optional[int] = None,
user_define_msg: Optional[str] = None) -> Alarm
func GetAlarm(ctx *Context, name string, id IDInput, state *AlarmState, opts ...ResourceOption) (*Alarm, error)
public static Alarm Get(string name, Input<string> id, AlarmState? state, CustomResourceOptions? opts = null)
public static Alarm get(String name, Output<String> id, AlarmState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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
Id string The alarm id.
- Alarm
Name string The name of the alarm.
- Alarm
Notify List<string>Groups List of notification groups corresponding to the alarm.
- Alarm
Period int Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- Alarm
Period Volcengine.Detail Alarm Alarm Period Detail Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- Condition string
Alarm trigger condition.
- Project
Id string The project id.
- Query
Requests List<Volcengine.Alarm Query Request> Search and analyze sentences, 1~3 can be configured.
- Request
Cycle Volcengine.Alarm Request Cycle The execution period of the alarm task.
- Status bool
Whether to enable the alert policy. The default value is true, that is, on.
- Trigger
Period int Continuous cycle. The alarm will be issued after the trigger condition is continuously met for TriggerPeriod periods; the minimum value is 1, the maximum value is 10, and the default value is 1.
- User
Define stringMsg Customize the alarm notification content.
- Alarm
Id string The alarm id.
- Alarm
Name string The name of the alarm.
- Alarm
Notify []stringGroups List of notification groups corresponding to the alarm.
- Alarm
Period int Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- Alarm
Period AlarmDetail Alarm Period Detail Args Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- Condition string
Alarm trigger condition.
- Project
Id string The project id.
- Query
Requests []AlarmQuery Request Args Search and analyze sentences, 1~3 can be configured.
- Request
Cycle AlarmRequest Cycle Args The execution period of the alarm task.
- Status bool
Whether to enable the alert policy. The default value is true, that is, on.
- Trigger
Period int Continuous cycle. The alarm will be issued after the trigger condition is continuously met for TriggerPeriod periods; the minimum value is 1, the maximum value is 10, and the default value is 1.
- User
Define stringMsg Customize the alarm notification content.
- alarm
Id String The alarm id.
- alarm
Name String The name of the alarm.
- alarm
Notify List<String>Groups List of notification groups corresponding to the alarm.
- alarm
Period Integer Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- alarm
Period AlarmDetail Alarm Period Detail Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- condition String
Alarm trigger condition.
- project
Id String The project id.
- query
Requests List<AlarmQuery Request> Search and analyze sentences, 1~3 can be configured.
- request
Cycle AlarmRequest Cycle The execution period of the alarm task.
- status Boolean
Whether to enable the alert policy. The default value is true, that is, on.
- trigger
Period Integer Continuous cycle. The alarm will be issued after the trigger condition is continuously met for TriggerPeriod periods; the minimum value is 1, the maximum value is 10, and the default value is 1.
- user
Define StringMsg Customize the alarm notification content.
- alarm
Id string The alarm id.
- alarm
Name string The name of the alarm.
- alarm
Notify string[]Groups List of notification groups corresponding to the alarm.
- alarm
Period number Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- alarm
Period AlarmDetail Alarm Period Detail Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- condition string
Alarm trigger condition.
- project
Id string The project id.
- query
Requests AlarmQuery Request[] Search and analyze sentences, 1~3 can be configured.
- request
Cycle AlarmRequest Cycle The execution period of the alarm task.
- status boolean
Whether to enable the alert policy. The default value is true, that is, on.
- trigger
Period number Continuous cycle. The alarm will be issued after the trigger condition is continuously met for TriggerPeriod periods; the minimum value is 1, the maximum value is 10, and the default value is 1.
- user
Define stringMsg Customize the alarm notification content.
- alarm_
id str The alarm id.
- alarm_
name str The name of the alarm.
- alarm_
notify_ Sequence[str]groups List of notification groups corresponding to the alarm.
- alarm_
period int Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- alarm_
period_ Alarmdetail Alarm Period Detail Args Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- condition str
Alarm trigger condition.
- project_
id str The project id.
- query_
requests Sequence[AlarmQuery Request Args] Search and analyze sentences, 1~3 can be configured.
- request_
cycle AlarmRequest Cycle Args The execution period of the alarm task.
- status bool
Whether to enable the alert policy. The default value is true, that is, on.
- trigger_
period int Continuous cycle. The alarm will be issued after the trigger condition is continuously met for TriggerPeriod periods; the minimum value is 1, the maximum value is 10, and the default value is 1.
- user_
define_ strmsg Customize the alarm notification content.
- alarm
Id String The alarm id.
- alarm
Name String The name of the alarm.
- alarm
Notify List<String>Groups List of notification groups corresponding to the alarm.
- alarm
Period Number Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- alarm
Period Property MapDetail Period for sending alarm notifications. When the number of continuous alarm triggers reaches the specified limit (TriggerPeriod), Log Service will send alarm notifications according to the specified period.
- condition String
Alarm trigger condition.
- project
Id String The project id.
- query
Requests List<Property Map> Search and analyze sentences, 1~3 can be configured.
- request
Cycle Property Map The execution period of the alarm task.
- status Boolean
Whether to enable the alert policy. The default value is true, that is, on.
- trigger
Period Number Continuous cycle. The alarm will be issued after the trigger condition is continuously met for TriggerPeriod periods; the minimum value is 1, the maximum value is 10, and the default value is 1.
- user
Define StringMsg Customize the alarm notification content.
Supporting Types
AlarmAlarmPeriodDetail, AlarmAlarmPeriodDetailArgs
- Email int
Email alarm period, the unit is minutes, and the value range is 1~1440.
- General
Webhook int Customize the webhook alarm period, the unit is minutes, and the value range is 1~1440.
- Phone int
Telephone alarm cycle, the unit is minutes, and the value range is 10~1440.
- Sms int
SMS alarm cycle, the unit is minutes, and the value range is 10~1440.
- Email int
Email alarm period, the unit is minutes, and the value range is 1~1440.
- General
Webhook int Customize the webhook alarm period, the unit is minutes, and the value range is 1~1440.
- Phone int
Telephone alarm cycle, the unit is minutes, and the value range is 10~1440.
- Sms int
SMS alarm cycle, the unit is minutes, and the value range is 10~1440.
- email Integer
Email alarm period, the unit is minutes, and the value range is 1~1440.
- general
Webhook Integer Customize the webhook alarm period, the unit is minutes, and the value range is 1~1440.
- phone Integer
Telephone alarm cycle, the unit is minutes, and the value range is 10~1440.
- sms Integer
SMS alarm cycle, the unit is minutes, and the value range is 10~1440.
- email number
Email alarm period, the unit is minutes, and the value range is 1~1440.
- general
Webhook number Customize the webhook alarm period, the unit is minutes, and the value range is 1~1440.
- phone number
Telephone alarm cycle, the unit is minutes, and the value range is 10~1440.
- sms number
SMS alarm cycle, the unit is minutes, and the value range is 10~1440.
- email int
Email alarm period, the unit is minutes, and the value range is 1~1440.
- general_
webhook int Customize the webhook alarm period, the unit is minutes, and the value range is 1~1440.
- phone int
Telephone alarm cycle, the unit is minutes, and the value range is 10~1440.
- sms int
SMS alarm cycle, the unit is minutes, and the value range is 10~1440.
- email Number
Email alarm period, the unit is minutes, and the value range is 1~1440.
- general
Webhook Number Customize the webhook alarm period, the unit is minutes, and the value range is 1~1440.
- phone Number
Telephone alarm cycle, the unit is minutes, and the value range is 10~1440.
- sms Number
SMS alarm cycle, the unit is minutes, and the value range is 10~1440.
AlarmQueryRequest, AlarmQueryRequestArgs
- End
Time intOffset The end time of the query range is relative to the current historical time. The unit is minutes. The value is not positive and must be greater than StartTimeOffset. The maximum value is 0 and the minimum value is -1440.
- Number int
Alarm object sequence number; increments from 1.
- Query string
Query statement, the maximum supported length is 1024.
- Start
Time intOffset The start time of the query range is relative to the current historical time, in minutes. The value is non-positive, the maximum value is 0, and the minimum value is -1440.
- Topic
Id string The id of the topic.
- End
Time intOffset The end time of the query range is relative to the current historical time. The unit is minutes. The value is not positive and must be greater than StartTimeOffset. The maximum value is 0 and the minimum value is -1440.
- Number int
Alarm object sequence number; increments from 1.
- Query string
Query statement, the maximum supported length is 1024.
- Start
Time intOffset The start time of the query range is relative to the current historical time, in minutes. The value is non-positive, the maximum value is 0, and the minimum value is -1440.
- Topic
Id string The id of the topic.
- end
Time IntegerOffset The end time of the query range is relative to the current historical time. The unit is minutes. The value is not positive and must be greater than StartTimeOffset. The maximum value is 0 and the minimum value is -1440.
- number Integer
Alarm object sequence number; increments from 1.
- query String
Query statement, the maximum supported length is 1024.
- start
Time IntegerOffset The start time of the query range is relative to the current historical time, in minutes. The value is non-positive, the maximum value is 0, and the minimum value is -1440.
- topic
Id String The id of the topic.
- end
Time numberOffset The end time of the query range is relative to the current historical time. The unit is minutes. The value is not positive and must be greater than StartTimeOffset. The maximum value is 0 and the minimum value is -1440.
- number number
Alarm object sequence number; increments from 1.
- query string
Query statement, the maximum supported length is 1024.
- start
Time numberOffset The start time of the query range is relative to the current historical time, in minutes. The value is non-positive, the maximum value is 0, and the minimum value is -1440.
- topic
Id string The id of the topic.
- end_
time_ intoffset The end time of the query range is relative to the current historical time. The unit is minutes. The value is not positive and must be greater than StartTimeOffset. The maximum value is 0 and the minimum value is -1440.
- number int
Alarm object sequence number; increments from 1.
- query str
Query statement, the maximum supported length is 1024.
- start_
time_ intoffset The start time of the query range is relative to the current historical time, in minutes. The value is non-positive, the maximum value is 0, and the minimum value is -1440.
- topic_
id str The id of the topic.
- end
Time NumberOffset The end time of the query range is relative to the current historical time. The unit is minutes. The value is not positive and must be greater than StartTimeOffset. The maximum value is 0 and the minimum value is -1440.
- number Number
Alarm object sequence number; increments from 1.
- query String
Query statement, the maximum supported length is 1024.
- start
Time NumberOffset The start time of the query range is relative to the current historical time, in minutes. The value is non-positive, the maximum value is 0, and the minimum value is -1440.
- topic
Id String The id of the topic.
AlarmRequestCycle, AlarmRequestCycleArgs
Import
tls alarm can be imported using the id and project id, e.g.
$ pulumi import volcengine:tls/alarm:Alarm default projectId:fc************
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
volcengine
Terraform Provider.