Class: TencentCloud::Clb::V20180317::DescribeTargetsRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::DescribeTargetsRequest
- Defined in:
- lib/v20180317/models.rb
Overview
DescribeTargets请求参数结构体
Instance Attribute Summary collapse
-
#Filters ⇒ Object
<li> location-id - String - 是否必填:否 - (过滤条件)按照 规则ID 过滤,如:“loc-12345678”。</li> <li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 后端服务内网IP 过滤,如:“172.16.1.1”。</li> <li> tag - String - 是否必填:否 - (过滤条件)按照 标签 过滤,如:“tag-test”。</li>.
-
#ListenerIds ⇒ Object
<li> location-id - String - 是否必填:否 - (过滤条件)按照 规则ID 过滤,如:“loc-12345678”。</li> <li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 后端服务内网IP 过滤,如:“172.16.1.1”。</li> <li> tag - String - 是否必填:否 - (过滤条件)按照 标签 过滤,如:“tag-test”。</li>.
-
#LoadBalancerId ⇒ Object
<li> location-id - String - 是否必填:否 - (过滤条件)按照 规则ID 过滤,如:“loc-12345678”。</li> <li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 后端服务内网IP 过滤,如:“172.16.1.1”。</li> <li> tag - String - 是否必填:否 - (过滤条件)按照 标签 过滤,如:“tag-test”。</li>.
-
#Port ⇒ Object
<li> location-id - String - 是否必填:否 - (过滤条件)按照 规则ID 过滤,如:“loc-12345678”。</li> <li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 后端服务内网IP 过滤,如:“172.16.1.1”。</li> <li> tag - String - 是否必填:否 - (过滤条件)按照 标签 过滤,如:“tag-test”。</li>.
-
#Protocol ⇒ Object
<li> location-id - String - 是否必填:否 - (过滤条件)按照 规则ID 过滤,如:“loc-12345678”。</li> <li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 后端服务内网IP 过滤,如:“172.16.1.1”。</li> <li> tag - String - 是否必填:否 - (过滤条件)按照 标签 过滤,如:“tag-test”。</li>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(loadbalancerid = nil, listenerids = nil, protocol = nil, port = nil, filters = nil) ⇒ DescribeTargetsRequest
constructor
A new instance of DescribeTargetsRequest.
Constructor Details
#initialize(loadbalancerid = nil, listenerids = nil, protocol = nil, port = nil, filters = nil) ⇒ DescribeTargetsRequest
Returns a new instance of DescribeTargetsRequest.
4265 4266 4267 4268 4269 4270 4271 |
# File 'lib/v20180317/models.rb', line 4265 def initialize(loadbalancerid=nil, listenerids=nil, protocol=nil, port=nil, filters=nil) @LoadBalancerId = loadbalancerid @ListenerIds = listenerids @Protocol = protocol @Port = port @Filters = filters end |
Instance Attribute Details
#Filters ⇒ Object
<li> location-id - String - 是否必填:否 - (过滤条件)按照 规则ID 过滤,如:“loc-12345678”。</li> <li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 后端服务内网IP 过滤,如:“172.16.1.1”。</li> <li> tag - String - 是否必填:否 - (过滤条件)按照 标签 过滤,如:“tag-test”。</li>
4263 4264 4265 |
# File 'lib/v20180317/models.rb', line 4263 def Filters @Filters end |
#ListenerIds ⇒ Object
<li> location-id - String - 是否必填:否 - (过滤条件)按照 规则ID 过滤,如:“loc-12345678”。</li> <li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 后端服务内网IP 过滤,如:“172.16.1.1”。</li> <li> tag - String - 是否必填:否 - (过滤条件)按照 标签 过滤,如:“tag-test”。</li>
4263 4264 4265 |
# File 'lib/v20180317/models.rb', line 4263 def ListenerIds @ListenerIds end |
#LoadBalancerId ⇒ Object
<li> location-id - String - 是否必填:否 - (过滤条件)按照 规则ID 过滤,如:“loc-12345678”。</li> <li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 后端服务内网IP 过滤,如:“172.16.1.1”。</li> <li> tag - String - 是否必填:否 - (过滤条件)按照 标签 过滤,如:“tag-test”。</li>
4263 4264 4265 |
# File 'lib/v20180317/models.rb', line 4263 def LoadBalancerId @LoadBalancerId end |
#Port ⇒ Object
<li> location-id - String - 是否必填:否 - (过滤条件)按照 规则ID 过滤,如:“loc-12345678”。</li> <li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 后端服务内网IP 过滤,如:“172.16.1.1”。</li> <li> tag - String - 是否必填:否 - (过滤条件)按照 标签 过滤,如:“tag-test”。</li>
4263 4264 4265 |
# File 'lib/v20180317/models.rb', line 4263 def Port @Port end |
#Protocol ⇒ Object
<li> location-id - String - 是否必填:否 - (过滤条件)按照 规则ID 过滤,如:“loc-12345678”。</li> <li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 后端服务内网IP 过滤,如:“172.16.1.1”。</li> <li> tag - String - 是否必填:否 - (过滤条件)按照 标签 过滤,如:“tag-test”。</li>
4263 4264 4265 |
# File 'lib/v20180317/models.rb', line 4263 def Protocol @Protocol end |
Instance Method Details
#deserialize(params) ⇒ Object
4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 |
# File 'lib/v20180317/models.rb', line 4273 def deserialize(params) @LoadBalancerId = params['LoadBalancerId'] @ListenerIds = params['ListenerIds'] @Protocol = params['Protocol'] @Port = params['Port'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end end |