Class: TencentCloud::Thpc::V20230321::SpaceVirtualPrivateCloud

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

Overview

描述了工作空间VPC相关信息,包括子网,IP信息等

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(vpcid = nil, subnetid = nil, asvpcgateway = nil, privateipaddresses = nil, ipv6addresscount = nil) ⇒ SpaceVirtualPrivateCloud

Returns a new instance of SpaceVirtualPrivateCloud.



2903
2904
2905
2906
2907
2908
2909
# File 'lib/v20230321/models.rb', line 2903

def initialize(vpcid=nil, subnetid=nil, asvpcgateway=nil, privateipaddresses=nil, ipv6addresscount=nil)
  @VpcId = vpcid
  @SubnetId = subnetid
  @AsVpcGateway = asvpcgateway
  @PrivateIpAddresses = privateipaddresses
  @Ipv6AddressCount = ipv6addresscount
end

Instance Attribute Details

#AsVpcGatewayObject

Parameters:

  • VpcId:

    私有网络ID

  • SubnetId:

    私有网络子网ID

  • AsVpcGateway:

    是否用作公网网关

  • PrivateIpAddresses:

    私有网络子网 IP 数组

  • Ipv6AddressCount:

    为弹性网卡指定随机生成



2901
2902
2903
# File 'lib/v20230321/models.rb', line 2901

def AsVpcGateway
  @AsVpcGateway
end

#Ipv6AddressCountObject

Parameters:

  • VpcId:

    私有网络ID

  • SubnetId:

    私有网络子网ID

  • AsVpcGateway:

    是否用作公网网关

  • PrivateIpAddresses:

    私有网络子网 IP 数组

  • Ipv6AddressCount:

    为弹性网卡指定随机生成



2901
2902
2903
# File 'lib/v20230321/models.rb', line 2901

def Ipv6AddressCount
  @Ipv6AddressCount
end

#PrivateIpAddressesObject

Parameters:

  • VpcId:

    私有网络ID

  • SubnetId:

    私有网络子网ID

  • AsVpcGateway:

    是否用作公网网关

  • PrivateIpAddresses:

    私有网络子网 IP 数组

  • Ipv6AddressCount:

    为弹性网卡指定随机生成



2901
2902
2903
# File 'lib/v20230321/models.rb', line 2901

def PrivateIpAddresses
  @PrivateIpAddresses
end

#SubnetIdObject

Parameters:

  • VpcId:

    私有网络ID

  • SubnetId:

    私有网络子网ID

  • AsVpcGateway:

    是否用作公网网关

  • PrivateIpAddresses:

    私有网络子网 IP 数组

  • Ipv6AddressCount:

    为弹性网卡指定随机生成



2901
2902
2903
# File 'lib/v20230321/models.rb', line 2901

def SubnetId
  @SubnetId
end

#VpcIdObject

Parameters:

  • VpcId:

    私有网络ID

  • SubnetId:

    私有网络子网ID

  • AsVpcGateway:

    是否用作公网网关

  • PrivateIpAddresses:

    私有网络子网 IP 数组

  • Ipv6AddressCount:

    为弹性网卡指定随机生成



2901
2902
2903
# File 'lib/v20230321/models.rb', line 2901

def VpcId
  @VpcId
end

Instance Method Details

#deserialize(params) ⇒ Object



2911
2912
2913
2914
2915
2916
2917
# File 'lib/v20230321/models.rb', line 2911

def deserialize(params)
  @VpcId = params['VpcId']
  @SubnetId = params['SubnetId']
  @AsVpcGateway = params['AsVpcGateway']
  @PrivateIpAddresses = params['PrivateIpAddresses']
  @Ipv6AddressCount = params['Ipv6AddressCount']
end