Class: TencentCloud::Monitor::V20180724::DescribeAlarmPoliciesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::DescribeAlarmPoliciesRequest
- Defined in:
- lib/v20180724/models.rb
Overview
DescribeAlarmPolicies请求参数结构体
Instance Attribute Summary collapse
- #Dimensions ⇒ Object
- #Enable ⇒ Object
- #Field ⇒ Object
- #InstanceGroupId ⇒ Object
- #IsPredefined ⇒ Object
- #Module ⇒ Object
- #MonitorTypes ⇒ Object
- #Namespaces ⇒ Object
- #NeedCorrespondence ⇒ Object
- #NotBindAll ⇒ Object
- #NotBindingNoticeRule ⇒ Object
- #NoticeContentTmplIDs ⇒ Object
- #NoticeIds ⇒ Object
- #NotInstanceGroup ⇒ Object
- #OneClickPolicyType ⇒ Object
- #Order ⇒ Object
- #PageNumber ⇒ Object
- #PageSize ⇒ Object
- #PolicyName ⇒ Object
- #PolicyType ⇒ Object
- #ProjectIds ⇒ Object
- #PromInsId ⇒ Object
- #ReceiverGroups ⇒ Object
- #ReceiverOnCallFormIDs ⇒ Object
- #ReceiverUids ⇒ Object
- #RuleTypes ⇒ Object
- #Tags ⇒ Object
- #TriggerTasks ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(_module = nil, pagenumber = nil, pagesize = nil, policyname = nil, monitortypes = nil, namespaces = nil, dimensions = nil, receiveruids = nil, receivergroups = nil, policytype = nil, field = nil, order = nil, projectids = nil, noticeids = nil, ruletypes = nil, enable = nil, notbindingnoticerule = nil, instancegroupid = nil, needcorrespondence = nil, triggertasks = nil, oneclickpolicytype = nil, notbindall = nil, notinstancegroup = nil, tags = nil, prominsid = nil, receiveroncallformids = nil, noticecontenttmplids = nil, ispredefined = nil) ⇒ DescribeAlarmPoliciesRequest
constructor
A new instance of DescribeAlarmPoliciesRequest.
Constructor Details
#initialize(_module = nil, pagenumber = nil, pagesize = nil, policyname = nil, monitortypes = nil, namespaces = nil, dimensions = nil, receiveruids = nil, receivergroups = nil, policytype = nil, field = nil, order = nil, projectids = nil, noticeids = nil, ruletypes = nil, enable = nil, notbindingnoticerule = nil, instancegroupid = nil, needcorrespondence = nil, triggertasks = nil, oneclickpolicytype = nil, notbindall = nil, notinstancegroup = nil, tags = nil, prominsid = nil, receiveroncallformids = nil, noticecontenttmplids = nil, ispredefined = nil) ⇒ DescribeAlarmPoliciesRequest
Returns a new instance of DescribeAlarmPoliciesRequest.
4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 |
# File 'lib/v20180724/models.rb', line 4692 def initialize(_module=nil, pagenumber=nil, pagesize=nil, policyname=nil, monitortypes=nil, namespaces=nil, dimensions=nil, receiveruids=nil, receivergroups=nil, policytype=nil, field=nil, order=nil, projectids=nil, noticeids=nil, ruletypes=nil, enable=nil, notbindingnoticerule=nil, instancegroupid=nil, needcorrespondence=nil, triggertasks=nil, oneclickpolicytype=nil, notbindall=nil, notinstancegroup=nil, =nil, prominsid=nil, receiveroncallformids=nil, noticecontenttmplids=nil, ispredefined=nil) @Module = _module @PageNumber = pagenumber @PageSize = pagesize @PolicyName = policyname @MonitorTypes = monitortypes @Namespaces = namespaces @Dimensions = dimensions @ReceiverUids = receiveruids @ReceiverGroups = receivergroups @PolicyType = policytype @Field = field @Order = order @ProjectIds = projectids @NoticeIds = noticeids @RuleTypes = ruletypes @Enable = enable @NotBindingNoticeRule = notbindingnoticerule @InstanceGroupId = instancegroupid @NeedCorrespondence = needcorrespondence @TriggerTasks = triggertasks @OneClickPolicyType = oneclickpolicytype @NotBindAll = notbindall @NotInstanceGroup = notinstancegroup @Tags = @PromInsId = prominsid @ReceiverOnCallFormIDs = receiveroncallformids @NoticeContentTmplIDs = noticecontenttmplids @IsPredefined = ispredefined end |
Instance Attribute Details
#Dimensions ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def Dimensions @Dimensions end |
#Enable ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def Enable @Enable end |
#Field ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def Field @Field end |
#InstanceGroupId ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def InstanceGroupId @InstanceGroupId end |
#IsPredefined ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def IsPredefined @IsPredefined end |
#Module ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def Module @Module end |
#MonitorTypes ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def MonitorTypes @MonitorTypes end |
#Namespaces ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def Namespaces @Namespaces end |
#NeedCorrespondence ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def NeedCorrespondence @NeedCorrespondence end |
#NotBindAll ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def NotBindAll @NotBindAll end |
#NotBindingNoticeRule ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def NotBindingNoticeRule @NotBindingNoticeRule end |
#NoticeContentTmplIDs ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def NoticeContentTmplIDs @NoticeContentTmplIDs end |
#NoticeIds ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def NoticeIds @NoticeIds end |
#NotInstanceGroup ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def NotInstanceGroup @NotInstanceGroup end |
#OneClickPolicyType ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def OneClickPolicyType @OneClickPolicyType end |
#Order ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def Order @Order end |
#PageNumber ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def PageNumber @PageNumber end |
#PageSize ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def PageSize @PageSize end |
#PolicyName ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def PolicyName @PolicyName end |
#PolicyType ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def PolicyType @PolicyType end |
#ProjectIds ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def ProjectIds @ProjectIds end |
#PromInsId ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def PromInsId @PromInsId end |
#ReceiverGroups ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def ReceiverGroups @ReceiverGroups end |
#ReceiverOnCallFormIDs ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def ReceiverOnCallFormIDs @ReceiverOnCallFormIDs end |
#ReceiverUids ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def ReceiverUids @ReceiverUids end |
#RuleTypes ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def RuleTypes @RuleTypes end |
#Tags ⇒ Object
4690 4691 4692 |
# File 'lib/v20180724/models.rb', line 4690 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 |
# File 'lib/v20180724/models.rb', line 4723 def deserialize(params) @Module = params['Module'] @PageNumber = params['PageNumber'] @PageSize = params['PageSize'] @PolicyName = params['PolicyName'] @MonitorTypes = params['MonitorTypes'] @Namespaces = params['Namespaces'] @Dimensions = params['Dimensions'] @ReceiverUids = params['ReceiverUids'] @ReceiverGroups = params['ReceiverGroups'] @PolicyType = params['PolicyType'] @Field = params['Field'] @Order = params['Order'] @ProjectIds = params['ProjectIds'] @NoticeIds = params['NoticeIds'] @RuleTypes = params['RuleTypes'] @Enable = params['Enable'] @NotBindingNoticeRule = params['NotBindingNoticeRule'] @InstanceGroupId = params['InstanceGroupId'] @NeedCorrespondence = params['NeedCorrespondence'] unless params['TriggerTasks'].nil? @TriggerTasks = [] params['TriggerTasks'].each do |i| alarmpolicytriggertask_tmp = AlarmPolicyTriggerTask.new alarmpolicytriggertask_tmp.deserialize(i) @TriggerTasks << alarmpolicytriggertask_tmp end end @OneClickPolicyType = params['OneClickPolicyType'] @NotBindAll = params['NotBindAll'] @NotInstanceGroup = params['NotInstanceGroup'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end @PromInsId = params['PromInsId'] @ReceiverOnCallFormIDs = params['ReceiverOnCallFormIDs'] @NoticeContentTmplIDs = params['NoticeContentTmplIDs'] @IsPredefined = params['IsPredefined'] end |