Class: TencentCloud::Cfw::V20190904::DescribeCfwEipsRequest

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

Overview

DescribeCfwEips请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(mode = nil, natgatewayid = nil, cfwinstance = nil) ⇒ DescribeCfwEipsRequest

Returns a new instance of DescribeCfwEipsRequest.



3175
3176
3177
3178
3179
# File 'lib/v20190904/models.rb', line 3175

def initialize(mode=nil, natgatewayid=nil, cfwinstance=nil)
  @Mode = mode
  @NatGatewayId = natgatewayid
  @CfwInstance = cfwinstance
end

Instance Attribute Details

#CfwInstanceObject

Parameters:

  • Mode:

    1:cfw接入模式,目前仅支持接入模式实例

  • NatGatewayId:

    ALL:查询所有弹性公网ip; nat-xxxxx:接入模式场景指定网关的弹性公网ip

  • CfwInstance:

    防火墙实例id,当前仅支持接入模式的实例,该字段必填



3173
3174
3175
# File 'lib/v20190904/models.rb', line 3173

def CfwInstance
  @CfwInstance
end

#ModeObject

Parameters:

  • Mode:

    1:cfw接入模式,目前仅支持接入模式实例

  • NatGatewayId:

    ALL:查询所有弹性公网ip; nat-xxxxx:接入模式场景指定网关的弹性公网ip

  • CfwInstance:

    防火墙实例id,当前仅支持接入模式的实例,该字段必填



3173
3174
3175
# File 'lib/v20190904/models.rb', line 3173

def Mode
  @Mode
end

#NatGatewayIdObject

Parameters:

  • Mode:

    1:cfw接入模式,目前仅支持接入模式实例

  • NatGatewayId:

    ALL:查询所有弹性公网ip; nat-xxxxx:接入模式场景指定网关的弹性公网ip

  • CfwInstance:

    防火墙实例id,当前仅支持接入模式的实例,该字段必填



3173
3174
3175
# File 'lib/v20190904/models.rb', line 3173

def NatGatewayId
  @NatGatewayId
end

Instance Method Details

#deserialize(params) ⇒ Object



3181
3182
3183
3184
3185
# File 'lib/v20190904/models.rb', line 3181

def deserialize(params)
  @Mode = params['Mode']
  @NatGatewayId = params['NatGatewayId']
  @CfwInstance = params['CfwInstance']
end