Class: TencentCloud::Tse::V20201207::RouteWafStatus

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

Overview

路由 WAF 状态

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, id = nil, status = nil, methods = nil, paths = nil, hosts = nil, servicename = nil, serviceid = nil) ⇒ RouteWafStatus

Returns a new instance of RouteWafStatus.



11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
# File 'lib/v20201207/models.rb', line 11258

def initialize(name=nil, id=nil, status=nil, methods=nil, paths=nil, hosts=nil, servicename=nil, serviceid=nil)
  @Name = name
  @Id = id
  @Status = status
  @Methods = methods
  @Paths = paths
  @Hosts = hosts
  @ServiceName = servicename
  @ServiceId = serviceid
end

Instance Attribute Details

#HostsObject

Parameters:

  • Name:

    路由的名字

  • Id:

    路由的 ID

  • Status:

    路由是否开启 WAF 防护

  • Methods:

    方法

  • Paths:

    路径

  • Hosts:

    域名

  • ServiceName:

    路由对应服务的名字

  • ServiceId:

    路由对应服务的ID



11256
11257
11258
# File 'lib/v20201207/models.rb', line 11256

def Hosts
  @Hosts
end

#IdObject

Parameters:

  • Name:

    路由的名字

  • Id:

    路由的 ID

  • Status:

    路由是否开启 WAF 防护

  • Methods:

    方法

  • Paths:

    路径

  • Hosts:

    域名

  • ServiceName:

    路由对应服务的名字

  • ServiceId:

    路由对应服务的ID



11256
11257
11258
# File 'lib/v20201207/models.rb', line 11256

def Id
  @Id
end

#MethodsObject

Parameters:

  • Name:

    路由的名字

  • Id:

    路由的 ID

  • Status:

    路由是否开启 WAF 防护

  • Methods:

    方法

  • Paths:

    路径

  • Hosts:

    域名

  • ServiceName:

    路由对应服务的名字

  • ServiceId:

    路由对应服务的ID



11256
11257
11258
# File 'lib/v20201207/models.rb', line 11256

def Methods
  @Methods
end

#NameObject

Parameters:

  • Name:

    路由的名字

  • Id:

    路由的 ID

  • Status:

    路由是否开启 WAF 防护

  • Methods:

    方法

  • Paths:

    路径

  • Hosts:

    域名

  • ServiceName:

    路由对应服务的名字

  • ServiceId:

    路由对应服务的ID



11256
11257
11258
# File 'lib/v20201207/models.rb', line 11256

def Name
  @Name
end

#PathsObject

Parameters:

  • Name:

    路由的名字

  • Id:

    路由的 ID

  • Status:

    路由是否开启 WAF 防护

  • Methods:

    方法

  • Paths:

    路径

  • Hosts:

    域名

  • ServiceName:

    路由对应服务的名字

  • ServiceId:

    路由对应服务的ID



11256
11257
11258
# File 'lib/v20201207/models.rb', line 11256

def Paths
  @Paths
end

#ServiceIdObject

Parameters:

  • Name:

    路由的名字

  • Id:

    路由的 ID

  • Status:

    路由是否开启 WAF 防护

  • Methods:

    方法

  • Paths:

    路径

  • Hosts:

    域名

  • ServiceName:

    路由对应服务的名字

  • ServiceId:

    路由对应服务的ID



11256
11257
11258
# File 'lib/v20201207/models.rb', line 11256

def ServiceId
  @ServiceId
end

#ServiceNameObject

Parameters:

  • Name:

    路由的名字

  • Id:

    路由的 ID

  • Status:

    路由是否开启 WAF 防护

  • Methods:

    方法

  • Paths:

    路径

  • Hosts:

    域名

  • ServiceName:

    路由对应服务的名字

  • ServiceId:

    路由对应服务的ID



11256
11257
11258
# File 'lib/v20201207/models.rb', line 11256

def ServiceName
  @ServiceName
end

#StatusObject

Parameters:

  • Name:

    路由的名字

  • Id:

    路由的 ID

  • Status:

    路由是否开启 WAF 防护

  • Methods:

    方法

  • Paths:

    路径

  • Hosts:

    域名

  • ServiceName:

    路由对应服务的名字

  • ServiceId:

    路由对应服务的ID



11256
11257
11258
# File 'lib/v20201207/models.rb', line 11256

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
# File 'lib/v20201207/models.rb', line 11269

def deserialize(params)
  @Name = params['Name']
  @Id = params['Id']
  @Status = params['Status']
  @Methods = params['Methods']
  @Paths = params['Paths']
  @Hosts = params['Hosts']
  @ServiceName = params['ServiceName']
  @ServiceId = params['ServiceId']
end