Class: TencentCloud::Cdb::V20170320::AuditPolicy
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::AuditPolicy
- Defined in:
- lib/v20170320/models.rb
Overview
审计策略
Instance Attribute Summary collapse
-
#CreateTime ⇒ Object
“creating” - 创建中; “running” - 运行中; “paused” - 暂停中; “failed” - 创建失败。.
-
#InstanceId ⇒ Object
“creating” - 创建中; “running” - 运行中; “paused” - 暂停中; “failed” - 创建失败。.
-
#InstanceName ⇒ Object
“creating” - 创建中; “running” - 运行中; “paused” - 暂停中; “failed” - 创建失败。.
-
#ModifyTime ⇒ Object
“creating” - 创建中; “running” - 运行中; “paused” - 暂停中; “failed” - 创建失败。.
-
#PolicyId ⇒ Object
“creating” - 创建中; “running” - 运行中; “paused” - 暂停中; “failed” - 创建失败。.
-
#PolicyName ⇒ Object
“creating” - 创建中; “running” - 运行中; “paused” - 暂停中; “failed” - 创建失败。.
-
#RuleId ⇒ Object
“creating” - 创建中; “running” - 运行中; “paused” - 暂停中; “failed” - 创建失败。.
-
#RuleName ⇒ Object
“creating” - 创建中; “running” - 运行中; “paused” - 暂停中; “failed” - 创建失败。.
-
#Status ⇒ Object
“creating” - 创建中; “running” - 运行中; “paused” - 暂停中; “failed” - 创建失败。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(policyid = nil, status = nil, instanceid = nil, createtime = nil, modifytime = nil, policyname = nil, ruleid = nil, rulename = nil, instancename = nil) ⇒ AuditPolicy
constructor
A new instance of AuditPolicy.
Constructor Details
#initialize(policyid = nil, status = nil, instanceid = nil, createtime = nil, modifytime = nil, policyname = nil, ruleid = nil, rulename = nil, instancename = nil) ⇒ AuditPolicy
Returns a new instance of AuditPolicy.
935 936 937 938 939 940 941 942 943 944 945 |
# File 'lib/v20170320/models.rb', line 935 def initialize(policyid=nil, status=nil, instanceid=nil, createtime=nil, modifytime=nil, policyname=nil, ruleid=nil, rulename=nil, instancename=nil) @PolicyId = policyid @Status = status @InstanceId = instanceid @CreateTime = createtime @ModifyTime = modifytime @PolicyName = policyname @RuleId = ruleid @RuleName = rulename @InstanceName = instancename end |
Instance Attribute Details
#CreateTime ⇒ Object
“creating” - 创建中; “running” - 运行中; “paused” - 暂停中; “failed” - 创建失败。
933 934 935 |
# File 'lib/v20170320/models.rb', line 933 def CreateTime @CreateTime end |
#InstanceId ⇒ Object
“creating” - 创建中; “running” - 运行中; “paused” - 暂停中; “failed” - 创建失败。
933 934 935 |
# File 'lib/v20170320/models.rb', line 933 def InstanceId @InstanceId end |
#InstanceName ⇒ Object
“creating” - 创建中; “running” - 运行中; “paused” - 暂停中; “failed” - 创建失败。
933 934 935 |
# File 'lib/v20170320/models.rb', line 933 def InstanceName @InstanceName end |
#ModifyTime ⇒ Object
“creating” - 创建中; “running” - 运行中; “paused” - 暂停中; “failed” - 创建失败。
933 934 935 |
# File 'lib/v20170320/models.rb', line 933 def ModifyTime @ModifyTime end |
#PolicyId ⇒ Object
“creating” - 创建中; “running” - 运行中; “paused” - 暂停中; “failed” - 创建失败。
933 934 935 |
# File 'lib/v20170320/models.rb', line 933 def PolicyId @PolicyId end |
#PolicyName ⇒ Object
“creating” - 创建中; “running” - 运行中; “paused” - 暂停中; “failed” - 创建失败。
933 934 935 |
# File 'lib/v20170320/models.rb', line 933 def PolicyName @PolicyName end |
#RuleId ⇒ Object
“creating” - 创建中; “running” - 运行中; “paused” - 暂停中; “failed” - 创建失败。
933 934 935 |
# File 'lib/v20170320/models.rb', line 933 def RuleId @RuleId end |
#RuleName ⇒ Object
“creating” - 创建中; “running” - 运行中; “paused” - 暂停中; “failed” - 创建失败。
933 934 935 |
# File 'lib/v20170320/models.rb', line 933 def RuleName @RuleName end |
#Status ⇒ Object
“creating” - 创建中; “running” - 运行中; “paused” - 暂停中; “failed” - 创建失败。
933 934 935 |
# File 'lib/v20170320/models.rb', line 933 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
947 948 949 950 951 952 953 954 955 956 957 |
# File 'lib/v20170320/models.rb', line 947 def deserialize(params) @PolicyId = params['PolicyId'] @Status = params['Status'] @InstanceId = params['InstanceId'] @CreateTime = params['CreateTime'] @ModifyTime = params['ModifyTime'] @PolicyName = params['PolicyName'] @RuleId = params['RuleId'] @RuleName = params['RuleName'] @InstanceName = params['InstanceName'] end |