Class: TencentCloud::Waf::V20180125::ModifyIpAccessControlRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180125/models.rb

Overview

ModifyIpAccessControl请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain = nil, iplist = nil, actiontype = nil, validts = nil, ruleid = nil, instanceid = nil, edition = nil, sourcetype = nil, note = nil, jobtype = nil, jobdatetime = nil) ⇒ ModifyIpAccessControlRequest

Returns a new instance of ModifyIpAccessControlRequest.



10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
# File 'lib/v20180125/models.rb', line 10939

def initialize(domain=nil, iplist=nil, actiontype=nil, validts=nil, ruleid=nil, instanceid=nil, edition=nil, sourcetype=nil, note=nil, jobtype=nil, jobdatetime=nil)
  @Domain = domain
  @IpList = iplist
  @ActionType = actiontype
  @ValidTS = validts
  @RuleId = ruleid
  @InstanceId = instanceid
  @Edition = edition
  @SourceType = sourcetype
  @Note = note
  @JobType = jobtype
  @JobDateTime = jobdatetime
end

Instance Attribute Details

#ActionTypeObject

全局域名为:global

Parameters:

  • Domain:

    具体域名如:test.qcloudwaf.com

  • IpList:

    ip参数列表

  • ActionType:

    42为黑名单,40为白名单

  • ValidTS:

    valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))

  • RuleId:

    规则ID

  • InstanceId:

    实例Id

  • Edition:

    WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF

  • SourceType:

    是否为批量防护IP黑白名单,当为批量防护IP黑白名单时,取值为batch,否则为空

  • Note:

    备注

  • JobType:

    定时配置类型

  • JobDateTime:

    定时配置详情



10937
10938
10939
# File 'lib/v20180125/models.rb', line 10937

def ActionType
  @ActionType
end

#DomainObject

全局域名为:global

Parameters:

  • Domain:

    具体域名如:test.qcloudwaf.com

  • IpList:

    ip参数列表

  • ActionType:

    42为黑名单,40为白名单

  • ValidTS:

    valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))

  • RuleId:

    规则ID

  • InstanceId:

    实例Id

  • Edition:

    WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF

  • SourceType:

    是否为批量防护IP黑白名单,当为批量防护IP黑白名单时,取值为batch,否则为空

  • Note:

    备注

  • JobType:

    定时配置类型

  • JobDateTime:

    定时配置详情



10937
10938
10939
# File 'lib/v20180125/models.rb', line 10937

def Domain
  @Domain
end

#EditionObject

全局域名为:global

Parameters:

  • Domain:

    具体域名如:test.qcloudwaf.com

  • IpList:

    ip参数列表

  • ActionType:

    42为黑名单,40为白名单

  • ValidTS:

    valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))

  • RuleId:

    规则ID

  • InstanceId:

    实例Id

  • Edition:

    WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF

  • SourceType:

    是否为批量防护IP黑白名单,当为批量防护IP黑白名单时,取值为batch,否则为空

  • Note:

    备注

  • JobType:

    定时配置类型

  • JobDateTime:

    定时配置详情



10937
10938
10939
# File 'lib/v20180125/models.rb', line 10937

def Edition
  @Edition
end

#InstanceIdObject

全局域名为:global

Parameters:

  • Domain:

    具体域名如:test.qcloudwaf.com

  • IpList:

    ip参数列表

  • ActionType:

    42为黑名单,40为白名单

  • ValidTS:

    valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))

  • RuleId:

    规则ID

  • InstanceId:

    实例Id

  • Edition:

    WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF

  • SourceType:

    是否为批量防护IP黑白名单,当为批量防护IP黑白名单时,取值为batch,否则为空

  • Note:

    备注

  • JobType:

    定时配置类型

  • JobDateTime:

    定时配置详情



10937
10938
10939
# File 'lib/v20180125/models.rb', line 10937

def InstanceId
  @InstanceId
end

#IpListObject

全局域名为:global

Parameters:

  • Domain:

    具体域名如:test.qcloudwaf.com

  • IpList:

    ip参数列表

  • ActionType:

    42为黑名单,40为白名单

  • ValidTS:

    valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))

  • RuleId:

    规则ID

  • InstanceId:

    实例Id

  • Edition:

    WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF

  • SourceType:

    是否为批量防护IP黑白名单,当为批量防护IP黑白名单时,取值为batch,否则为空

  • Note:

    备注

  • JobType:

    定时配置类型

  • JobDateTime:

    定时配置详情



10937
10938
10939
# File 'lib/v20180125/models.rb', line 10937

def IpList
  @IpList
end

#JobDateTimeObject

全局域名为:global

Parameters:

  • Domain:

    具体域名如:test.qcloudwaf.com

  • IpList:

    ip参数列表

  • ActionType:

    42为黑名单,40为白名单

  • ValidTS:

    valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))

  • RuleId:

    规则ID

  • InstanceId:

    实例Id

  • Edition:

    WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF

  • SourceType:

    是否为批量防护IP黑白名单,当为批量防护IP黑白名单时,取值为batch,否则为空

  • Note:

    备注

  • JobType:

    定时配置类型

  • JobDateTime:

    定时配置详情



10937
10938
10939
# File 'lib/v20180125/models.rb', line 10937

def JobDateTime
  @JobDateTime
end

#JobTypeObject

全局域名为:global

Parameters:

  • Domain:

    具体域名如:test.qcloudwaf.com

  • IpList:

    ip参数列表

  • ActionType:

    42为黑名单,40为白名单

  • ValidTS:

    valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))

  • RuleId:

    规则ID

  • InstanceId:

    实例Id

  • Edition:

    WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF

  • SourceType:

    是否为批量防护IP黑白名单,当为批量防护IP黑白名单时,取值为batch,否则为空

  • Note:

    备注

  • JobType:

    定时配置类型

  • JobDateTime:

    定时配置详情



10937
10938
10939
# File 'lib/v20180125/models.rb', line 10937

def JobType
  @JobType
end

#NoteObject

全局域名为:global

Parameters:

  • Domain:

    具体域名如:test.qcloudwaf.com

  • IpList:

    ip参数列表

  • ActionType:

    42为黑名单,40为白名单

  • ValidTS:

    valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))

  • RuleId:

    规则ID

  • InstanceId:

    实例Id

  • Edition:

    WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF

  • SourceType:

    是否为批量防护IP黑白名单,当为批量防护IP黑白名单时,取值为batch,否则为空

  • Note:

    备注

  • JobType:

    定时配置类型

  • JobDateTime:

    定时配置详情



10937
10938
10939
# File 'lib/v20180125/models.rb', line 10937

def Note
  @Note
end

#RuleIdObject

全局域名为:global

Parameters:

  • Domain:

    具体域名如:test.qcloudwaf.com

  • IpList:

    ip参数列表

  • ActionType:

    42为黑名单,40为白名单

  • ValidTS:

    valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))

  • RuleId:

    规则ID

  • InstanceId:

    实例Id

  • Edition:

    WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF

  • SourceType:

    是否为批量防护IP黑白名单,当为批量防护IP黑白名单时,取值为batch,否则为空

  • Note:

    备注

  • JobType:

    定时配置类型

  • JobDateTime:

    定时配置详情



10937
10938
10939
# File 'lib/v20180125/models.rb', line 10937

def RuleId
  @RuleId
end

#SourceTypeObject

全局域名为:global

Parameters:

  • Domain:

    具体域名如:test.qcloudwaf.com

  • IpList:

    ip参数列表

  • ActionType:

    42为黑名单,40为白名单

  • ValidTS:

    valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))

  • RuleId:

    规则ID

  • InstanceId:

    实例Id

  • Edition:

    WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF

  • SourceType:

    是否为批量防护IP黑白名单,当为批量防护IP黑白名单时,取值为batch,否则为空

  • Note:

    备注

  • JobType:

    定时配置类型

  • JobDateTime:

    定时配置详情



10937
10938
10939
# File 'lib/v20180125/models.rb', line 10937

def SourceType
  @SourceType
end

#ValidTSObject

全局域名为:global

Parameters:

  • Domain:

    具体域名如:test.qcloudwaf.com

  • IpList:

    ip参数列表

  • ActionType:

    42为黑名单,40为白名单

  • ValidTS:

    valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))

  • RuleId:

    规则ID

  • InstanceId:

    实例Id

  • Edition:

    WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF

  • SourceType:

    是否为批量防护IP黑白名单,当为批量防护IP黑白名单时,取值为batch,否则为空

  • Note:

    备注

  • JobType:

    定时配置类型

  • JobDateTime:

    定时配置详情



10937
10938
10939
# File 'lib/v20180125/models.rb', line 10937

def ValidTS
  @ValidTS
end

Instance Method Details

#deserialize(params) ⇒ Object



10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
# File 'lib/v20180125/models.rb', line 10953

def deserialize(params)
  @Domain = params['Domain']
  @IpList = params['IpList']
  @ActionType = params['ActionType']
  @ValidTS = params['ValidTS']
  @RuleId = params['RuleId']
  @InstanceId = params['InstanceId']
  @Edition = params['Edition']
  @SourceType = params['SourceType']
  @Note = params['Note']
  @JobType = params['JobType']
  unless params['JobDateTime'].nil?
    @JobDateTime = JobDateTime.new
    @JobDateTime.deserialize(params['JobDateTime'])
  end
end