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.



3559
3560
3561
3562
3563
# File 'lib/v20190904/models.rb', line 3559

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,当前仅支持接入模式的实例,该字段必填



3557
3558
3559
# File 'lib/v20190904/models.rb', line 3557

def CfwInstance
  @CfwInstance
end

#ModeObject

Parameters:

  • Mode:

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

  • NatGatewayId:

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

  • CfwInstance:

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



3557
3558
3559
# File 'lib/v20190904/models.rb', line 3557

def Mode
  @Mode
end

#NatGatewayIdObject

Parameters:

  • Mode:

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

  • NatGatewayId:

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

  • CfwInstance:

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



3557
3558
3559
# File 'lib/v20190904/models.rb', line 3557

def NatGatewayId
  @NatGatewayId
end

Instance Method Details

#deserialize(params) ⇒ Object



3565
3566
3567
3568
3569
# File 'lib/v20190904/models.rb', line 3565

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