Class: TencentCloud::Tccatalog::V20241024::NetWork

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

Overview

网络配置信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(vpcid = nil, vpccidrblock = nil, subnetid = nil, subnetcidrblock = nil, clbip = nil, clbport = nil) ⇒ NetWork

Returns a new instance of NetWork.



219
220
221
222
223
224
225
226
# File 'lib/v20241024/models.rb', line 219

def initialize(vpcid=nil, vpccidrblock=nil, subnetid=nil, subnetcidrblock=nil, clbip=nil, clbport=nil)
  @VpcId = vpcid
  @VpcCidrBlock = vpccidrblock
  @SubnetId = subnetid
  @SubnetCidrBlock = subnetcidrblock
  @ClbIp = clbip
  @ClbPort = clbport
end

Instance Attribute Details

#ClbIpObject

Parameters:

  • VpcId:

    vpc实例id

  • VpcCidrBlock:

    vpc网段

  • SubnetId:

    子网实例id

  • SubnetCidrBlock:

    子网网段

  • ClbIp:

    服务clbip

  • ClbPort:

    服务clbPort



217
218
219
# File 'lib/v20241024/models.rb', line 217

def ClbIp
  @ClbIp
end

#ClbPortObject

Parameters:

  • VpcId:

    vpc实例id

  • VpcCidrBlock:

    vpc网段

  • SubnetId:

    子网实例id

  • SubnetCidrBlock:

    子网网段

  • ClbIp:

    服务clbip

  • ClbPort:

    服务clbPort



217
218
219
# File 'lib/v20241024/models.rb', line 217

def ClbPort
  @ClbPort
end

#SubnetCidrBlockObject

Parameters:

  • VpcId:

    vpc实例id

  • VpcCidrBlock:

    vpc网段

  • SubnetId:

    子网实例id

  • SubnetCidrBlock:

    子网网段

  • ClbIp:

    服务clbip

  • ClbPort:

    服务clbPort



217
218
219
# File 'lib/v20241024/models.rb', line 217

def SubnetCidrBlock
  @SubnetCidrBlock
end

#SubnetIdObject

Parameters:

  • VpcId:

    vpc实例id

  • VpcCidrBlock:

    vpc网段

  • SubnetId:

    子网实例id

  • SubnetCidrBlock:

    子网网段

  • ClbIp:

    服务clbip

  • ClbPort:

    服务clbPort



217
218
219
# File 'lib/v20241024/models.rb', line 217

def SubnetId
  @SubnetId
end

#VpcCidrBlockObject

Parameters:

  • VpcId:

    vpc实例id

  • VpcCidrBlock:

    vpc网段

  • SubnetId:

    子网实例id

  • SubnetCidrBlock:

    子网网段

  • ClbIp:

    服务clbip

  • ClbPort:

    服务clbPort



217
218
219
# File 'lib/v20241024/models.rb', line 217

def VpcCidrBlock
  @VpcCidrBlock
end

#VpcIdObject

Parameters:

  • VpcId:

    vpc实例id

  • VpcCidrBlock:

    vpc网段

  • SubnetId:

    子网实例id

  • SubnetCidrBlock:

    子网网段

  • ClbIp:

    服务clbip

  • ClbPort:

    服务clbPort



217
218
219
# File 'lib/v20241024/models.rb', line 217

def VpcId
  @VpcId
end

Instance Method Details

#deserialize(params) ⇒ Object



228
229
230
231
232
233
234
235
# File 'lib/v20241024/models.rb', line 228

def deserialize(params)
  @VpcId = params['VpcId']
  @VpcCidrBlock = params['VpcCidrBlock']
  @SubnetId = params['SubnetId']
  @SubnetCidrBlock = params['SubnetCidrBlock']
  @ClbIp = params['ClbIp']
  @ClbPort = params['ClbPort']
end