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.



6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
# File 'lib/v20201207/models.rb', line 6192

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

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    路由的名字

  • Id:

    路由的 ID

  • Status:

    路由是否开启 WAF 防护

  • Methods:

    方法

  • Paths:

    路径

  • Hosts:

    域名

  • ServiceName:

    路由对应服务的名字

  • ServiceId:

    路由对应服务的ID



6190
6191
6192
# File 'lib/v20201207/models.rb', line 6190

def Hosts
  @Hosts
end

#IdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    路由的名字

  • Id:

    路由的 ID

  • Status:

    路由是否开启 WAF 防护

  • Methods:

    方法

  • Paths:

    路径

  • Hosts:

    域名

  • ServiceName:

    路由对应服务的名字

  • ServiceId:

    路由对应服务的ID



6190
6191
6192
# File 'lib/v20201207/models.rb', line 6190

def Id
  @Id
end

#MethodsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    路由的名字

  • Id:

    路由的 ID

  • Status:

    路由是否开启 WAF 防护

  • Methods:

    方法

  • Paths:

    路径

  • Hosts:

    域名

  • ServiceName:

    路由对应服务的名字

  • ServiceId:

    路由对应服务的ID



6190
6191
6192
# File 'lib/v20201207/models.rb', line 6190

def Methods
  @Methods
end

#NameObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    路由的名字

  • Id:

    路由的 ID

  • Status:

    路由是否开启 WAF 防护

  • Methods:

    方法

  • Paths:

    路径

  • Hosts:

    域名

  • ServiceName:

    路由对应服务的名字

  • ServiceId:

    路由对应服务的ID



6190
6191
6192
# File 'lib/v20201207/models.rb', line 6190

def Name
  @Name
end

#PathsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    路由的名字

  • Id:

    路由的 ID

  • Status:

    路由是否开启 WAF 防护

  • Methods:

    方法

  • Paths:

    路径

  • Hosts:

    域名

  • ServiceName:

    路由对应服务的名字

  • ServiceId:

    路由对应服务的ID



6190
6191
6192
# File 'lib/v20201207/models.rb', line 6190

def Paths
  @Paths
end

#ServiceIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    路由的名字

  • Id:

    路由的 ID

  • Status:

    路由是否开启 WAF 防护

  • Methods:

    方法

  • Paths:

    路径

  • Hosts:

    域名

  • ServiceName:

    路由对应服务的名字

  • ServiceId:

    路由对应服务的ID



6190
6191
6192
# File 'lib/v20201207/models.rb', line 6190

def ServiceId
  @ServiceId
end

#ServiceNameObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    路由的名字

  • Id:

    路由的 ID

  • Status:

    路由是否开启 WAF 防护

  • Methods:

    方法

  • Paths:

    路径

  • Hosts:

    域名

  • ServiceName:

    路由对应服务的名字

  • ServiceId:

    路由对应服务的ID



6190
6191
6192
# File 'lib/v20201207/models.rb', line 6190

def ServiceName
  @ServiceName
end

#StatusObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    路由的名字

  • Id:

    路由的 ID

  • Status:

    路由是否开启 WAF 防护

  • Methods:

    方法

  • Paths:

    路径

  • Hosts:

    域名

  • ServiceName:

    路由对应服务的名字

  • ServiceId:

    路由对应服务的ID



6190
6191
6192
# File 'lib/v20201207/models.rb', line 6190

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
# File 'lib/v20201207/models.rb', line 6203

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