tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.MonitorPolicyGroup
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Create MonitorPolicyGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MonitorPolicyGroup(name: string, args: MonitorPolicyGroupArgs, opts?: CustomResourceOptions);
@overload
def MonitorPolicyGroup(resource_name: str,
args: MonitorPolicyGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MonitorPolicyGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
group_name: Optional[str] = None,
policy_view_name: Optional[str] = None,
remark: Optional[str] = None,
conditions: Optional[Sequence[MonitorPolicyGroupConditionArgs]] = None,
event_conditions: Optional[Sequence[MonitorPolicyGroupEventConditionArgs]] = None,
is_union_rule: Optional[float] = None,
monitor_policy_group_id: Optional[str] = None,
project_id: Optional[float] = None)
func NewMonitorPolicyGroup(ctx *Context, name string, args MonitorPolicyGroupArgs, opts ...ResourceOption) (*MonitorPolicyGroup, error)
public MonitorPolicyGroup(string name, MonitorPolicyGroupArgs args, CustomResourceOptions? opts = null)
public MonitorPolicyGroup(String name, MonitorPolicyGroupArgs args)
public MonitorPolicyGroup(String name, MonitorPolicyGroupArgs args, CustomResourceOptions options)
type: tencentcloud:MonitorPolicyGroup
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 MonitorPolicyGroupArgs
- 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 MonitorPolicyGroupArgs
- 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 MonitorPolicyGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MonitorPolicyGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MonitorPolicyGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
MonitorPolicyGroup 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 MonitorPolicyGroup resource accepts the following input properties:
- Group
Name string - Policy group name, length should between 1 and 20.
- Policy
View stringName - Policy view name, eg:
cvm_device
,BANDWIDTHPACKAGE
, refer todata.tencentcloud_monitor_policy_conditions(policy_view_name)
. - Remark string
- Policy group's remark information.
- Conditions
List<Monitor
Policy Group Condition> - A list of threshold rules. Each element contains the following attributes:
- Event
Conditions List<MonitorPolicy Group Event Condition> - A list of event rules. Each element contains the following attributes:
- Is
Union doubleRule - The and or relation of indicator alarm rule. Valid values:
0
,1
.0
represents or rule (if any rule is met, the alarm will be raised),1
represents and rule (if all rules are met, the alarm will be raised).The default is 0. - Monitor
Policy stringGroup Id - Project
Id double - The project id to which the policy group belongs, default is
0
.
- Group
Name string - Policy group name, length should between 1 and 20.
- Policy
View stringName - Policy view name, eg:
cvm_device
,BANDWIDTHPACKAGE
, refer todata.tencentcloud_monitor_policy_conditions(policy_view_name)
. - Remark string
- Policy group's remark information.
- Conditions
[]Monitor
Policy Group Condition Args - A list of threshold rules. Each element contains the following attributes:
- Event
Conditions []MonitorPolicy Group Event Condition Args - A list of event rules. Each element contains the following attributes:
- Is
Union float64Rule - The and or relation of indicator alarm rule. Valid values:
0
,1
.0
represents or rule (if any rule is met, the alarm will be raised),1
represents and rule (if all rules are met, the alarm will be raised).The default is 0. - Monitor
Policy stringGroup Id - Project
Id float64 - The project id to which the policy group belongs, default is
0
.
- group
Name String - Policy group name, length should between 1 and 20.
- policy
View StringName - Policy view name, eg:
cvm_device
,BANDWIDTHPACKAGE
, refer todata.tencentcloud_monitor_policy_conditions(policy_view_name)
. - remark String
- Policy group's remark information.
- conditions
List<Monitor
Policy Group Condition> - A list of threshold rules. Each element contains the following attributes:
- event
Conditions List<MonitorPolicy Group Event Condition> - A list of event rules. Each element contains the following attributes:
- is
Union DoubleRule - The and or relation of indicator alarm rule. Valid values:
0
,1
.0
represents or rule (if any rule is met, the alarm will be raised),1
represents and rule (if all rules are met, the alarm will be raised).The default is 0. - monitor
Policy StringGroup Id - project
Id Double - The project id to which the policy group belongs, default is
0
.
- group
Name string - Policy group name, length should between 1 and 20.
- policy
View stringName - Policy view name, eg:
cvm_device
,BANDWIDTHPACKAGE
, refer todata.tencentcloud_monitor_policy_conditions(policy_view_name)
. - remark string
- Policy group's remark information.
- conditions
Monitor
Policy Group Condition[] - A list of threshold rules. Each element contains the following attributes:
- event
Conditions MonitorPolicy Group Event Condition[] - A list of event rules. Each element contains the following attributes:
- is
Union numberRule - The and or relation of indicator alarm rule. Valid values:
0
,1
.0
represents or rule (if any rule is met, the alarm will be raised),1
represents and rule (if all rules are met, the alarm will be raised).The default is 0. - monitor
Policy stringGroup Id - project
Id number - The project id to which the policy group belongs, default is
0
.
- group_
name str - Policy group name, length should between 1 and 20.
- policy_
view_ strname - Policy view name, eg:
cvm_device
,BANDWIDTHPACKAGE
, refer todata.tencentcloud_monitor_policy_conditions(policy_view_name)
. - remark str
- Policy group's remark information.
- conditions
Sequence[Monitor
Policy Group Condition Args] - A list of threshold rules. Each element contains the following attributes:
- event_
conditions Sequence[MonitorPolicy Group Event Condition Args] - A list of event rules. Each element contains the following attributes:
- is_
union_ floatrule - The and or relation of indicator alarm rule. Valid values:
0
,1
.0
represents or rule (if any rule is met, the alarm will be raised),1
represents and rule (if all rules are met, the alarm will be raised).The default is 0. - monitor_
policy_ strgroup_ id - project_
id float - The project id to which the policy group belongs, default is
0
.
- group
Name String - Policy group name, length should between 1 and 20.
- policy
View StringName - Policy view name, eg:
cvm_device
,BANDWIDTHPACKAGE
, refer todata.tencentcloud_monitor_policy_conditions(policy_view_name)
. - remark String
- Policy group's remark information.
- conditions List<Property Map>
- A list of threshold rules. Each element contains the following attributes:
- event
Conditions List<Property Map> - A list of event rules. Each element contains the following attributes:
- is
Union NumberRule - The and or relation of indicator alarm rule. Valid values:
0
,1
.0
represents or rule (if any rule is met, the alarm will be raised),1
represents and rule (if all rules are met, the alarm will be raised).The default is 0. - monitor
Policy StringGroup Id - project
Id Number - The project id to which the policy group belongs, default is
0
.
Outputs
All input properties are implicitly available as output properties. Additionally, the MonitorPolicyGroup resource produces the following output properties:
- Binding
Objects List<MonitorPolicy Group Binding Object> - A list binding objects(list only those in the
provider.region
). Each element contains the following attributes: - Dimension
Groups List<string> - A list of dimensions for this policy group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Edit stringUin - Recently edited user uin.
- Receivers
List<Monitor
Policy Group Receiver> - A list of receivers. Each element contains the following attributes:
- Support
Regions List<string> - Support regions this policy group.
- Update
Time string - The policy group update time.
- Binding
Objects []MonitorPolicy Group Binding Object - A list binding objects(list only those in the
provider.region
). Each element contains the following attributes: - Dimension
Groups []string - A list of dimensions for this policy group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Edit stringUin - Recently edited user uin.
- Receivers
[]Monitor
Policy Group Receiver - A list of receivers. Each element contains the following attributes:
- Support
Regions []string - Support regions this policy group.
- Update
Time string - The policy group update time.
- binding
Objects List<MonitorPolicy Group Binding Object> - A list binding objects(list only those in the
provider.region
). Each element contains the following attributes: - dimension
Groups List<String> - A list of dimensions for this policy group.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Edit StringUin - Recently edited user uin.
- receivers
List<Monitor
Policy Group Receiver> - A list of receivers. Each element contains the following attributes:
- support
Regions List<String> - Support regions this policy group.
- update
Time String - The policy group update time.
- binding
Objects MonitorPolicy Group Binding Object[] - A list binding objects(list only those in the
provider.region
). Each element contains the following attributes: - dimension
Groups string[] - A list of dimensions for this policy group.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Edit stringUin - Recently edited user uin.
- receivers
Monitor
Policy Group Receiver[] - A list of receivers. Each element contains the following attributes:
- support
Regions string[] - Support regions this policy group.
- update
Time string - The policy group update time.
- binding_
objects Sequence[MonitorPolicy Group Binding Object] - A list binding objects(list only those in the
provider.region
). Each element contains the following attributes: - dimension_
groups Sequence[str] - A list of dimensions for this policy group.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
edit_ struin - Recently edited user uin.
- receivers
Sequence[Monitor
Policy Group Receiver] - A list of receivers. Each element contains the following attributes:
- support_
regions Sequence[str] - Support regions this policy group.
- update_
time str - The policy group update time.
- binding
Objects List<Property Map> - A list binding objects(list only those in the
provider.region
). Each element contains the following attributes: - dimension
Groups List<String> - A list of dimensions for this policy group.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Edit StringUin - Recently edited user uin.
- receivers List<Property Map>
- A list of receivers. Each element contains the following attributes:
- support
Regions List<String> - Support regions this policy group.
- update
Time String - The policy group update time.
Look up Existing MonitorPolicyGroup Resource
Get an existing MonitorPolicyGroup 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?: MonitorPolicyGroupState, opts?: CustomResourceOptions): MonitorPolicyGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
binding_objects: Optional[Sequence[MonitorPolicyGroupBindingObjectArgs]] = None,
conditions: Optional[Sequence[MonitorPolicyGroupConditionArgs]] = None,
dimension_groups: Optional[Sequence[str]] = None,
event_conditions: Optional[Sequence[MonitorPolicyGroupEventConditionArgs]] = None,
group_name: Optional[str] = None,
is_union_rule: Optional[float] = None,
last_edit_uin: Optional[str] = None,
monitor_policy_group_id: Optional[str] = None,
policy_view_name: Optional[str] = None,
project_id: Optional[float] = None,
receivers: Optional[Sequence[MonitorPolicyGroupReceiverArgs]] = None,
remark: Optional[str] = None,
support_regions: Optional[Sequence[str]] = None,
update_time: Optional[str] = None) -> MonitorPolicyGroup
func GetMonitorPolicyGroup(ctx *Context, name string, id IDInput, state *MonitorPolicyGroupState, opts ...ResourceOption) (*MonitorPolicyGroup, error)
public static MonitorPolicyGroup Get(string name, Input<string> id, MonitorPolicyGroupState? state, CustomResourceOptions? opts = null)
public static MonitorPolicyGroup get(String name, Output<String> id, MonitorPolicyGroupState state, CustomResourceOptions options)
resources: _: type: tencentcloud:MonitorPolicyGroup 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.
- Binding
Objects List<MonitorPolicy Group Binding Object> - A list binding objects(list only those in the
provider.region
). Each element contains the following attributes: - Conditions
List<Monitor
Policy Group Condition> - A list of threshold rules. Each element contains the following attributes:
- Dimension
Groups List<string> - A list of dimensions for this policy group.
- Event
Conditions List<MonitorPolicy Group Event Condition> - A list of event rules. Each element contains the following attributes:
- Group
Name string - Policy group name, length should between 1 and 20.
- Is
Union doubleRule - The and or relation of indicator alarm rule. Valid values:
0
,1
.0
represents or rule (if any rule is met, the alarm will be raised),1
represents and rule (if all rules are met, the alarm will be raised).The default is 0. - Last
Edit stringUin - Recently edited user uin.
- Monitor
Policy stringGroup Id - Policy
View stringName - Policy view name, eg:
cvm_device
,BANDWIDTHPACKAGE
, refer todata.tencentcloud_monitor_policy_conditions(policy_view_name)
. - Project
Id double - The project id to which the policy group belongs, default is
0
. - Receivers
List<Monitor
Policy Group Receiver> - A list of receivers. Each element contains the following attributes:
- Remark string
- Policy group's remark information.
- Support
Regions List<string> - Support regions this policy group.
- Update
Time string - The policy group update time.
- Binding
Objects []MonitorPolicy Group Binding Object Args - A list binding objects(list only those in the
provider.region
). Each element contains the following attributes: - Conditions
[]Monitor
Policy Group Condition Args - A list of threshold rules. Each element contains the following attributes:
- Dimension
Groups []string - A list of dimensions for this policy group.
- Event
Conditions []MonitorPolicy Group Event Condition Args - A list of event rules. Each element contains the following attributes:
- Group
Name string - Policy group name, length should between 1 and 20.
- Is
Union float64Rule - The and or relation of indicator alarm rule. Valid values:
0
,1
.0
represents or rule (if any rule is met, the alarm will be raised),1
represents and rule (if all rules are met, the alarm will be raised).The default is 0. - Last
Edit stringUin - Recently edited user uin.
- Monitor
Policy stringGroup Id - Policy
View stringName - Policy view name, eg:
cvm_device
,BANDWIDTHPACKAGE
, refer todata.tencentcloud_monitor_policy_conditions(policy_view_name)
. - Project
Id float64 - The project id to which the policy group belongs, default is
0
. - Receivers
[]Monitor
Policy Group Receiver Args - A list of receivers. Each element contains the following attributes:
- Remark string
- Policy group's remark information.
- Support
Regions []string - Support regions this policy group.
- Update
Time string - The policy group update time.
- binding
Objects List<MonitorPolicy Group Binding Object> - A list binding objects(list only those in the
provider.region
). Each element contains the following attributes: - conditions
List<Monitor
Policy Group Condition> - A list of threshold rules. Each element contains the following attributes:
- dimension
Groups List<String> - A list of dimensions for this policy group.
- event
Conditions List<MonitorPolicy Group Event Condition> - A list of event rules. Each element contains the following attributes:
- group
Name String - Policy group name, length should between 1 and 20.
- is
Union DoubleRule - The and or relation of indicator alarm rule. Valid values:
0
,1
.0
represents or rule (if any rule is met, the alarm will be raised),1
represents and rule (if all rules are met, the alarm will be raised).The default is 0. - last
Edit StringUin - Recently edited user uin.
- monitor
Policy StringGroup Id - policy
View StringName - Policy view name, eg:
cvm_device
,BANDWIDTHPACKAGE
, refer todata.tencentcloud_monitor_policy_conditions(policy_view_name)
. - project
Id Double - The project id to which the policy group belongs, default is
0
. - receivers
List<Monitor
Policy Group Receiver> - A list of receivers. Each element contains the following attributes:
- remark String
- Policy group's remark information.
- support
Regions List<String> - Support regions this policy group.
- update
Time String - The policy group update time.
- binding
Objects MonitorPolicy Group Binding Object[] - A list binding objects(list only those in the
provider.region
). Each element contains the following attributes: - conditions
Monitor
Policy Group Condition[] - A list of threshold rules. Each element contains the following attributes:
- dimension
Groups string[] - A list of dimensions for this policy group.
- event
Conditions MonitorPolicy Group Event Condition[] - A list of event rules. Each element contains the following attributes:
- group
Name string - Policy group name, length should between 1 and 20.
- is
Union numberRule - The and or relation of indicator alarm rule. Valid values:
0
,1
.0
represents or rule (if any rule is met, the alarm will be raised),1
represents and rule (if all rules are met, the alarm will be raised).The default is 0. - last
Edit stringUin - Recently edited user uin.
- monitor
Policy stringGroup Id - policy
View stringName - Policy view name, eg:
cvm_device
,BANDWIDTHPACKAGE
, refer todata.tencentcloud_monitor_policy_conditions(policy_view_name)
. - project
Id number - The project id to which the policy group belongs, default is
0
. - receivers
Monitor
Policy Group Receiver[] - A list of receivers. Each element contains the following attributes:
- remark string
- Policy group's remark information.
- support
Regions string[] - Support regions this policy group.
- update
Time string - The policy group update time.
- binding_
objects Sequence[MonitorPolicy Group Binding Object Args] - A list binding objects(list only those in the
provider.region
). Each element contains the following attributes: - conditions
Sequence[Monitor
Policy Group Condition Args] - A list of threshold rules. Each element contains the following attributes:
- dimension_
groups Sequence[str] - A list of dimensions for this policy group.
- event_
conditions Sequence[MonitorPolicy Group Event Condition Args] - A list of event rules. Each element contains the following attributes:
- group_
name str - Policy group name, length should between 1 and 20.
- is_
union_ floatrule - The and or relation of indicator alarm rule. Valid values:
0
,1
.0
represents or rule (if any rule is met, the alarm will be raised),1
represents and rule (if all rules are met, the alarm will be raised).The default is 0. - last_
edit_ struin - Recently edited user uin.
- monitor_
policy_ strgroup_ id - policy_
view_ strname - Policy view name, eg:
cvm_device
,BANDWIDTHPACKAGE
, refer todata.tencentcloud_monitor_policy_conditions(policy_view_name)
. - project_
id float - The project id to which the policy group belongs, default is
0
. - receivers
Sequence[Monitor
Policy Group Receiver Args] - A list of receivers. Each element contains the following attributes:
- remark str
- Policy group's remark information.
- support_
regions Sequence[str] - Support regions this policy group.
- update_
time str - The policy group update time.
- binding
Objects List<Property Map> - A list binding objects(list only those in the
provider.region
). Each element contains the following attributes: - conditions List<Property Map>
- A list of threshold rules. Each element contains the following attributes:
- dimension
Groups List<String> - A list of dimensions for this policy group.
- event
Conditions List<Property Map> - A list of event rules. Each element contains the following attributes:
- group
Name String - Policy group name, length should between 1 and 20.
- is
Union NumberRule - The and or relation of indicator alarm rule. Valid values:
0
,1
.0
represents or rule (if any rule is met, the alarm will be raised),1
represents and rule (if all rules are met, the alarm will be raised).The default is 0. - last
Edit StringUin - Recently edited user uin.
- monitor
Policy StringGroup Id - policy
View StringName - Policy view name, eg:
cvm_device
,BANDWIDTHPACKAGE
, refer todata.tencentcloud_monitor_policy_conditions(policy_view_name)
. - project
Id Number - The project id to which the policy group belongs, default is
0
. - receivers List<Property Map>
- A list of receivers. Each element contains the following attributes:
- remark String
- Policy group's remark information.
- support
Regions List<String> - Support regions this policy group.
- update
Time String - The policy group update time.
Supporting Types
MonitorPolicyGroupBindingObject, MonitorPolicyGroupBindingObjectArgs
- Dimensions
Json string - Is
Shielded double - Region string
- Unique
Id string
- Dimensions
Json string - Is
Shielded float64 - Region string
- Unique
Id string
- dimensions
Json String - is
Shielded Double - region String
- unique
Id String
- dimensions
Json string - is
Shielded number - region string
- unique
Id string
- dimensions_
json str - is_
shielded float - region str
- unique_
id str
- dimensions
Json String - is
Shielded Number - region String
- unique
Id String
MonitorPolicyGroupCondition, MonitorPolicyGroupConditionArgs
- Alarm
Notify doublePeriod - Alarm sending cycle per second. <0 does not fire,
0
only fires once, and >0 fires every triggerTime second. - Alarm
Notify doubleType - Alarm sending convergence type.
0
continuous alarm,1
index alarm. - Metric
Id double - Id of the metric, refer to
data.tencentcloud_monitor_policy_conditions(metric_id)
. - Calc
Period double - Data aggregation cycle (unit of second), if the metric has a default value can not be filled, refer to
data.tencentcloud_monitor_policy_conditions(period_keys)
. - Calc
Type double - Compare type. Valid value ranges: [1~12].
1
means more than,2
means greater than or equal,3
means less than,4
means less than or equal to,5
means equal,6
means not equal,7
means days rose,8
means days fell,9
means weeks rose,10
means weeks fell,11
means period rise,12
means period fell, refer todata.tencentcloud_monitor_policy_conditions(calc_type_keys)
. - Calc
Value double - Threshold value, refer to
data.tencentcloud_monitor_policy_conditions(calc_value_*)
. - Continue
Period double - The rule triggers an alert that lasts for several detection cycles, refer to
data.tencentcloud_monitor_policy_conditions(period_num_keys)
.
- Alarm
Notify float64Period - Alarm sending cycle per second. <0 does not fire,
0
only fires once, and >0 fires every triggerTime second. - Alarm
Notify float64Type - Alarm sending convergence type.
0
continuous alarm,1
index alarm. - Metric
Id float64 - Id of the metric, refer to
data.tencentcloud_monitor_policy_conditions(metric_id)
. - Calc
Period float64 - Data aggregation cycle (unit of second), if the metric has a default value can not be filled, refer to
data.tencentcloud_monitor_policy_conditions(period_keys)
. - Calc
Type float64 - Compare type. Valid value ranges: [1~12].
1
means more than,2
means greater than or equal,3
means less than,4
means less than or equal to,5
means equal,6
means not equal,7
means days rose,8
means days fell,9
means weeks rose,10
means weeks fell,11
means period rise,12
means period fell, refer todata.tencentcloud_monitor_policy_conditions(calc_type_keys)
. - Calc
Value float64 - Threshold value, refer to
data.tencentcloud_monitor_policy_conditions(calc_value_*)
. - Continue
Period float64 - The rule triggers an alert that lasts for several detection cycles, refer to
data.tencentcloud_monitor_policy_conditions(period_num_keys)
.
- alarm
Notify DoublePeriod - Alarm sending cycle per second. <0 does not fire,
0
only fires once, and >0 fires every triggerTime second. - alarm
Notify DoubleType - Alarm sending convergence type.
0
continuous alarm,1
index alarm. - metric
Id Double - Id of the metric, refer to
data.tencentcloud_monitor_policy_conditions(metric_id)
. - calc
Period Double - Data aggregation cycle (unit of second), if the metric has a default value can not be filled, refer to
data.tencentcloud_monitor_policy_conditions(period_keys)
. - calc
Type Double - Compare type. Valid value ranges: [1~12].
1
means more than,2
means greater than or equal,3
means less than,4
means less than or equal to,5
means equal,6
means not equal,7
means days rose,8
means days fell,9
means weeks rose,10
means weeks fell,11
means period rise,12
means period fell, refer todata.tencentcloud_monitor_policy_conditions(calc_type_keys)
. - calc
Value Double - Threshold value, refer to
data.tencentcloud_monitor_policy_conditions(calc_value_*)
. - continue
Period Double - The rule triggers an alert that lasts for several detection cycles, refer to
data.tencentcloud_monitor_policy_conditions(period_num_keys)
.
- alarm
Notify numberPeriod - Alarm sending cycle per second. <0 does not fire,
0
only fires once, and >0 fires every triggerTime second. - alarm
Notify numberType - Alarm sending convergence type.
0
continuous alarm,1
index alarm. - metric
Id number - Id of the metric, refer to
data.tencentcloud_monitor_policy_conditions(metric_id)
. - calc
Period number - Data aggregation cycle (unit of second), if the metric has a default value can not be filled, refer to
data.tencentcloud_monitor_policy_conditions(period_keys)
. - calc
Type number - Compare type. Valid value ranges: [1~12].
1
means more than,2
means greater than or equal,3
means less than,4
means less than or equal to,5
means equal,6
means not equal,7
means days rose,8
means days fell,9
means weeks rose,10
means weeks fell,11
means period rise,12
means period fell, refer todata.tencentcloud_monitor_policy_conditions(calc_type_keys)
. - calc
Value number - Threshold value, refer to
data.tencentcloud_monitor_policy_conditions(calc_value_*)
. - continue
Period number - The rule triggers an alert that lasts for several detection cycles, refer to
data.tencentcloud_monitor_policy_conditions(period_num_keys)
.
- alarm_
notify_ floatperiod - Alarm sending cycle per second. <0 does not fire,
0
only fires once, and >0 fires every triggerTime second. - alarm_
notify_ floattype - Alarm sending convergence type.
0
continuous alarm,1
index alarm. - metric_
id float - Id of the metric, refer to
data.tencentcloud_monitor_policy_conditions(metric_id)
. - calc_
period float - Data aggregation cycle (unit of second), if the metric has a default value can not be filled, refer to
data.tencentcloud_monitor_policy_conditions(period_keys)
. - calc_
type float - Compare type. Valid value ranges: [1~12].
1
means more than,2
means greater than or equal,3
means less than,4
means less than or equal to,5
means equal,6
means not equal,7
means days rose,8
means days fell,9
means weeks rose,10
means weeks fell,11
means period rise,12
means period fell, refer todata.tencentcloud_monitor_policy_conditions(calc_type_keys)
. - calc_
value float - Threshold value, refer to
data.tencentcloud_monitor_policy_conditions(calc_value_*)
. - continue_
period float - The rule triggers an alert that lasts for several detection cycles, refer to
data.tencentcloud_monitor_policy_conditions(period_num_keys)
.
- alarm
Notify NumberPeriod - Alarm sending cycle per second. <0 does not fire,
0
only fires once, and >0 fires every triggerTime second. - alarm
Notify NumberType - Alarm sending convergence type.
0
continuous alarm,1
index alarm. - metric
Id Number - Id of the metric, refer to
data.tencentcloud_monitor_policy_conditions(metric_id)
. - calc
Period Number - Data aggregation cycle (unit of second), if the metric has a default value can not be filled, refer to
data.tencentcloud_monitor_policy_conditions(period_keys)
. - calc
Type Number - Compare type. Valid value ranges: [1~12].
1
means more than,2
means greater than or equal,3
means less than,4
means less than or equal to,5
means equal,6
means not equal,7
means days rose,8
means days fell,9
means weeks rose,10
means weeks fell,11
means period rise,12
means period fell, refer todata.tencentcloud_monitor_policy_conditions(calc_type_keys)
. - calc
Value Number - Threshold value, refer to
data.tencentcloud_monitor_policy_conditions(calc_value_*)
. - continue
Period Number - The rule triggers an alert that lasts for several detection cycles, refer to
data.tencentcloud_monitor_policy_conditions(period_num_keys)
.
MonitorPolicyGroupEventCondition, MonitorPolicyGroupEventConditionArgs
- Alarm
Notify doublePeriod - Alarm sending cycle per second. <0 does not fire,
0
only fires once, and >0 fires every triggerTime second. - Alarm
Notify doubleType - Alarm sending convergence type.
0
continuous alarm,1
index alarm. - Event
Id double - The ID of this event metric, refer to `data.tencentcloud_monitor_policy_conditions(event_id).
- Alarm
Notify float64Period - Alarm sending cycle per second. <0 does not fire,
0
only fires once, and >0 fires every triggerTime second. - Alarm
Notify float64Type - Alarm sending convergence type.
0
continuous alarm,1
index alarm. - Event
Id float64 - The ID of this event metric, refer to `data.tencentcloud_monitor_policy_conditions(event_id).
- alarm
Notify DoublePeriod - Alarm sending cycle per second. <0 does not fire,
0
only fires once, and >0 fires every triggerTime second. - alarm
Notify DoubleType - Alarm sending convergence type.
0
continuous alarm,1
index alarm. - event
Id Double - The ID of this event metric, refer to `data.tencentcloud_monitor_policy_conditions(event_id).
- alarm
Notify numberPeriod - Alarm sending cycle per second. <0 does not fire,
0
only fires once, and >0 fires every triggerTime second. - alarm
Notify numberType - Alarm sending convergence type.
0
continuous alarm,1
index alarm. - event
Id number - The ID of this event metric, refer to `data.tencentcloud_monitor_policy_conditions(event_id).
- alarm_
notify_ floatperiod - Alarm sending cycle per second. <0 does not fire,
0
only fires once, and >0 fires every triggerTime second. - alarm_
notify_ floattype - Alarm sending convergence type.
0
continuous alarm,1
index alarm. - event_
id float - The ID of this event metric, refer to `data.tencentcloud_monitor_policy_conditions(event_id).
- alarm
Notify NumberPeriod - Alarm sending cycle per second. <0 does not fire,
0
only fires once, and >0 fires every triggerTime second. - alarm
Notify NumberType - Alarm sending convergence type.
0
continuous alarm,1
index alarm. - event
Id Number - The ID of this event metric, refer to `data.tencentcloud_monitor_policy_conditions(event_id).
MonitorPolicyGroupReceiver, MonitorPolicyGroupReceiverArgs
- End
Time double - Need
Send doubleNotice - Notify
Ways List<string> - Person
Interval double - Receive
Language string - Receiver
Group List<double>Lists - Receiver
Type string - Receiver
User List<double>Lists - Recover
Notifies List<string> - Round
Interval double - Round
Number double - Send
Fors List<string> - Start
Time double - Uid
Lists List<double>
- End
Time float64 - Need
Send float64Notice - Notify
Ways []string - Person
Interval float64 - Receive
Language string - Receiver
Group []float64Lists - Receiver
Type string - Receiver
User []float64Lists - Recover
Notifies []string - Round
Interval float64 - Round
Number float64 - Send
Fors []string - Start
Time float64 - Uid
Lists []float64
- end
Time Double - need
Send DoubleNotice - notify
Ways List<String> - person
Interval Double - receive
Language String - receiver
Group List<Double>Lists - receiver
Type String - receiver
User List<Double>Lists - recover
Notifies List<String> - round
Interval Double - round
Number Double - send
Fors List<String> - start
Time Double - uid
Lists List<Double>
- end
Time number - need
Send numberNotice - notify
Ways string[] - person
Interval number - receive
Language string - receiver
Group number[]Lists - receiver
Type string - receiver
User number[]Lists - recover
Notifies string[] - round
Interval number - round
Number number - send
Fors string[] - start
Time number - uid
Lists number[]
- end_
time float - need_
send_ floatnotice - notify_
ways Sequence[str] - person_
interval float - receive_
language str - receiver_
group_ Sequence[float]lists - receiver_
type str - receiver_
user_ Sequence[float]lists - recover_
notifies Sequence[str] - round_
interval float - round_
number float - send_
fors Sequence[str] - start_
time float - uid_
lists Sequence[float]
- end
Time Number - need
Send NumberNotice - notify
Ways List<String> - person
Interval Number - receive
Language String - receiver
Group List<Number>Lists - receiver
Type String - receiver
User List<Number>Lists - recover
Notifies List<String> - round
Interval Number - round
Number Number - send
Fors List<String> - start
Time Number - uid
Lists List<Number>
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack