Class: TencentCloud::Cfw::V20190904::AssociatedInstanceInfo

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

Overview

企业安全组关联实例信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, instancename = nil, type = nil, vpcid = nil, vpcname = nil, publicip = nil, ip = nil, securitygroupcount = nil, securitygrouprulecount = nil, cdbid = nil) ⇒ AssociatedInstanceInfo

Returns a new instance of AssociatedInstanceInfo.



390
391
392
393
394
395
396
397
398
399
400
401
# File 'lib/v20190904/models.rb', line 390

def initialize(instanceid=nil, instancename=nil, type=nil, vpcid=nil, vpcname=nil, publicip=nil, ip=nil, securitygroupcount=nil, securitygrouprulecount=nil, cdbid=nil)
  @InstanceId = instanceid
  @InstanceName = instancename
  @Type = type
  @VpcId = vpcid
  @VpcName = vpcname
  @PublicIp = publicip
  @Ip = ip
  @SecurityGroupCount = securitygroupcount
  @SecurityGroupRuleCount = securitygrouprulecount
  @CdbId = cdbid
end

Instance Attribute Details

#CdbIdObject

Parameters:

  • InstanceId:

    实例ID

  • InstanceName:

    实例名称

  • Type:

    实例类型,3是cvm实例,4是clb实例,5是eni实例,6是云数据库

  • VpcId:

    私有网络ID

  • VpcName:

    私有网络名称

  • PublicIp:

    公网IP

  • Ip:

    内网IP

  • SecurityGroupCount:

    关联安全组数量

  • SecurityGroupRuleCount:

    关联安全组规则数量

  • CdbId:

    关联数据库代理Id



388
389
390
# File 'lib/v20190904/models.rb', line 388

def CdbId
  @CdbId
end

#InstanceIdObject

Parameters:

  • InstanceId:

    实例ID

  • InstanceName:

    实例名称

  • Type:

    实例类型,3是cvm实例,4是clb实例,5是eni实例,6是云数据库

  • VpcId:

    私有网络ID

  • VpcName:

    私有网络名称

  • PublicIp:

    公网IP

  • Ip:

    内网IP

  • SecurityGroupCount:

    关联安全组数量

  • SecurityGroupRuleCount:

    关联安全组规则数量

  • CdbId:

    关联数据库代理Id



388
389
390
# File 'lib/v20190904/models.rb', line 388

def InstanceId
  @InstanceId
end

#InstanceNameObject

Parameters:

  • InstanceId:

    实例ID

  • InstanceName:

    实例名称

  • Type:

    实例类型,3是cvm实例,4是clb实例,5是eni实例,6是云数据库

  • VpcId:

    私有网络ID

  • VpcName:

    私有网络名称

  • PublicIp:

    公网IP

  • Ip:

    内网IP

  • SecurityGroupCount:

    关联安全组数量

  • SecurityGroupRuleCount:

    关联安全组规则数量

  • CdbId:

    关联数据库代理Id



388
389
390
# File 'lib/v20190904/models.rb', line 388

def InstanceName
  @InstanceName
end

#IpObject

Parameters:

  • InstanceId:

    实例ID

  • InstanceName:

    实例名称

  • Type:

    实例类型,3是cvm实例,4是clb实例,5是eni实例,6是云数据库

  • VpcId:

    私有网络ID

  • VpcName:

    私有网络名称

  • PublicIp:

    公网IP

  • Ip:

    内网IP

  • SecurityGroupCount:

    关联安全组数量

  • SecurityGroupRuleCount:

    关联安全组规则数量

  • CdbId:

    关联数据库代理Id



388
389
390
# File 'lib/v20190904/models.rb', line 388

def Ip
  @Ip
end

#PublicIpObject

Parameters:

  • InstanceId:

    实例ID

  • InstanceName:

    实例名称

  • Type:

    实例类型,3是cvm实例,4是clb实例,5是eni实例,6是云数据库

  • VpcId:

    私有网络ID

  • VpcName:

    私有网络名称

  • PublicIp:

    公网IP

  • Ip:

    内网IP

  • SecurityGroupCount:

    关联安全组数量

  • SecurityGroupRuleCount:

    关联安全组规则数量

  • CdbId:

    关联数据库代理Id



388
389
390
# File 'lib/v20190904/models.rb', line 388

def PublicIp
  @PublicIp
end

#SecurityGroupCountObject

Parameters:

  • InstanceId:

    实例ID

  • InstanceName:

    实例名称

  • Type:

    实例类型,3是cvm实例,4是clb实例,5是eni实例,6是云数据库

  • VpcId:

    私有网络ID

  • VpcName:

    私有网络名称

  • PublicIp:

    公网IP

  • Ip:

    内网IP

  • SecurityGroupCount:

    关联安全组数量

  • SecurityGroupRuleCount:

    关联安全组规则数量

  • CdbId:

    关联数据库代理Id



388
389
390
# File 'lib/v20190904/models.rb', line 388

def SecurityGroupCount
  @SecurityGroupCount
end

#SecurityGroupRuleCountObject

Parameters:

  • InstanceId:

    实例ID

  • InstanceName:

    实例名称

  • Type:

    实例类型,3是cvm实例,4是clb实例,5是eni实例,6是云数据库

  • VpcId:

    私有网络ID

  • VpcName:

    私有网络名称

  • PublicIp:

    公网IP

  • Ip:

    内网IP

  • SecurityGroupCount:

    关联安全组数量

  • SecurityGroupRuleCount:

    关联安全组规则数量

  • CdbId:

    关联数据库代理Id



388
389
390
# File 'lib/v20190904/models.rb', line 388

def SecurityGroupRuleCount
  @SecurityGroupRuleCount
end

#TypeObject

Parameters:

  • InstanceId:

    实例ID

  • InstanceName:

    实例名称

  • Type:

    实例类型,3是cvm实例,4是clb实例,5是eni实例,6是云数据库

  • VpcId:

    私有网络ID

  • VpcName:

    私有网络名称

  • PublicIp:

    公网IP

  • Ip:

    内网IP

  • SecurityGroupCount:

    关联安全组数量

  • SecurityGroupRuleCount:

    关联安全组规则数量

  • CdbId:

    关联数据库代理Id



388
389
390
# File 'lib/v20190904/models.rb', line 388

def Type
  @Type
end

#VpcIdObject

Parameters:

  • InstanceId:

    实例ID

  • InstanceName:

    实例名称

  • Type:

    实例类型,3是cvm实例,4是clb实例,5是eni实例,6是云数据库

  • VpcId:

    私有网络ID

  • VpcName:

    私有网络名称

  • PublicIp:

    公网IP

  • Ip:

    内网IP

  • SecurityGroupCount:

    关联安全组数量

  • SecurityGroupRuleCount:

    关联安全组规则数量

  • CdbId:

    关联数据库代理Id



388
389
390
# File 'lib/v20190904/models.rb', line 388

def VpcId
  @VpcId
end

#VpcNameObject

Parameters:

  • InstanceId:

    实例ID

  • InstanceName:

    实例名称

  • Type:

    实例类型,3是cvm实例,4是clb实例,5是eni实例,6是云数据库

  • VpcId:

    私有网络ID

  • VpcName:

    私有网络名称

  • PublicIp:

    公网IP

  • Ip:

    内网IP

  • SecurityGroupCount:

    关联安全组数量

  • SecurityGroupRuleCount:

    关联安全组规则数量

  • CdbId:

    关联数据库代理Id



388
389
390
# File 'lib/v20190904/models.rb', line 388

def VpcName
  @VpcName
end

Instance Method Details

#deserialize(params) ⇒ Object



403
404
405
406
407
408
409
410
411
412
413
414
# File 'lib/v20190904/models.rb', line 403

def deserialize(params)
  @InstanceId = params['InstanceId']
  @InstanceName = params['InstanceName']
  @Type = params['Type']
  @VpcId = params['VpcId']
  @VpcName = params['VpcName']
  @PublicIp = params['PublicIp']
  @Ip = params['Ip']
  @SecurityGroupCount = params['SecurityGroupCount']
  @SecurityGroupRuleCount = params['SecurityGroupRuleCount']
  @CdbId = params['CdbId']
end