lib/v20170312/models.rb in tencentcloud-sdk-vpc-3.0.889 vs lib/v20170312/models.rb in tencentcloud-sdk-vpc-3.0.890

- old
+ new

@@ -482,19 +482,23 @@ # @type AddressSet: Array # @param CreatedTime: 创建时间。 # @type CreatedTime: String # @param AddressExtraSet: 带备注的IP地址信息。 # @type AddressExtraSet: Array + # @param TagSet: 标签键值对。 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type TagSet: Array - attr_accessor :AddressTemplateName, :AddressTemplateId, :AddressSet, :CreatedTime, :AddressExtraSet + attr_accessor :AddressTemplateName, :AddressTemplateId, :AddressSet, :CreatedTime, :AddressExtraSet, :TagSet - def initialize(addresstemplatename=nil, addresstemplateid=nil, addressset=nil, createdtime=nil, addressextraset=nil) + def initialize(addresstemplatename=nil, addresstemplateid=nil, addressset=nil, createdtime=nil, addressextraset=nil, tagset=nil) @AddressTemplateName = addresstemplatename @AddressTemplateId = addresstemplateid @AddressSet = addressset @CreatedTime = createdtime @AddressExtraSet = addressextraset + @TagSet = tagset end def deserialize(params) @AddressTemplateName = params['AddressTemplateName'] @AddressTemplateId = params['AddressTemplateId'] @@ -506,10 +510,18 @@ addressinfo_tmp = AddressInfo.new addressinfo_tmp.deserialize(i) @AddressExtraSet << addressinfo_tmp end end + unless params['TagSet'].nil? + @TagSet = [] + params['TagSet'].each do |i| + tag_tmp = Tag.new + tag_tmp.deserialize(i) + @TagSet << tag_tmp + end + end end end # IP地址模板集合 class AddressTemplateGroup < TencentCloud::Common::AbstractModel @@ -521,19 +533,23 @@ # @type AddressTemplateIdSet: Array # @param CreatedTime: 创建时间。 # @type CreatedTime: String # @param AddressTemplateSet: IP地址模板实例。 # @type AddressTemplateSet: Array + # @param TagSet: 标签键值对。 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type TagSet: Array - attr_accessor :AddressTemplateGroupName, :AddressTemplateGroupId, :AddressTemplateIdSet, :CreatedTime, :AddressTemplateSet + attr_accessor :AddressTemplateGroupName, :AddressTemplateGroupId, :AddressTemplateIdSet, :CreatedTime, :AddressTemplateSet, :TagSet - def initialize(addresstemplategroupname=nil, addresstemplategroupid=nil, addresstemplateidset=nil, createdtime=nil, addresstemplateset=nil) + def initialize(addresstemplategroupname=nil, addresstemplategroupid=nil, addresstemplateidset=nil, createdtime=nil, addresstemplateset=nil, tagset=nil) @AddressTemplateGroupName = addresstemplategroupname @AddressTemplateGroupId = addresstemplategroupid @AddressTemplateIdSet = addresstemplateidset @CreatedTime = createdtime @AddressTemplateSet = addresstemplateset + @TagSet = tagset end def deserialize(params) @AddressTemplateGroupName = params['AddressTemplateGroupName'] @AddressTemplateGroupId = params['AddressTemplateGroupId'] @@ -545,10 +561,18 @@ addresstemplateitem_tmp = AddressTemplateItem.new addresstemplateitem_tmp.deserialize(i) @AddressTemplateSet << addresstemplateitem_tmp end end + unless params['TagSet'].nil? + @TagSet = [] + params['TagSet'].each do |i| + tag_tmp = Tag.new + tag_tmp.deserialize(i) + @TagSet << tag_tmp + end + end end end # 地址信息 class AddressTemplateItem < TencentCloud::Common::AbstractModel @@ -15430,14 +15454,17 @@ # @param GroupSet: 终端节点绑定的安全组实例ID列表。 # @type GroupSet: Array # @param ServiceName: 终端节点服务名称。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ServiceName: String + # @param TagSet: 标签键值对。 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type TagSet: Array - attr_accessor :EndPointId, :VpcId, :SubnetId, :EndPointOwner, :EndPointName, :ServiceVpcId, :ServiceVip, :EndPointServiceId, :EndPointVip, :State, :CreateTime, :GroupSet, :ServiceName + attr_accessor :EndPointId, :VpcId, :SubnetId, :EndPointOwner, :EndPointName, :ServiceVpcId, :ServiceVip, :EndPointServiceId, :EndPointVip, :State, :CreateTime, :GroupSet, :ServiceName, :TagSet - def initialize(endpointid=nil, vpcid=nil, subnetid=nil, endpointowner=nil, endpointname=nil, servicevpcid=nil, servicevip=nil, endpointserviceid=nil, endpointvip=nil, state=nil, createtime=nil, groupset=nil, servicename=nil) + def initialize(endpointid=nil, vpcid=nil, subnetid=nil, endpointowner=nil, endpointname=nil, servicevpcid=nil, servicevip=nil, endpointserviceid=nil, endpointvip=nil, state=nil, createtime=nil, groupset=nil, servicename=nil, tagset=nil) @EndPointId = endpointid @VpcId = vpcid @SubnetId = subnetid @EndPointOwner = endpointowner @EndPointName = endpointname @@ -15447,10 +15474,11 @@ @EndPointVip = endpointvip @State = state @CreateTime = createtime @GroupSet = groupset @ServiceName = servicename + @TagSet = tagset end def deserialize(params) @EndPointId = params['EndPointId'] @VpcId = params['VpcId'] @@ -15463,10 +15491,18 @@ @EndPointVip = params['EndPointVip'] @State = params['State'] @CreateTime = params['CreateTime'] @GroupSet = params['GroupSet'] @ServiceName = params['ServiceName'] + unless params['TagSet'].nil? + @TagSet = [] + params['TagSet'].each do |i| + tag_tmp = Tag.new + tag_tmp.deserialize(i) + @TagSet << tag_tmp + end + end end end # 终端节点服务对象。 class EndPointService < TencentCloud::Common::AbstractModel @@ -15498,14 +15534,17 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type ServiceUin: String # @param BusinessIpType: 服务IP类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type BusinessIpType: Integer + # @param TagSet: 标签键值对。 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type TagSet: Array - attr_accessor :EndPointServiceId, :VpcId, :ServiceOwner, :ServiceName, :ServiceVip, :ServiceInstanceId, :AutoAcceptFlag, :EndPointCount, :EndPointSet, :CreateTime, :ServiceType, :ServiceUin, :BusinessIpType + attr_accessor :EndPointServiceId, :VpcId, :ServiceOwner, :ServiceName, :ServiceVip, :ServiceInstanceId, :AutoAcceptFlag, :EndPointCount, :EndPointSet, :CreateTime, :ServiceType, :ServiceUin, :BusinessIpType, :TagSet - def initialize(endpointserviceid=nil, vpcid=nil, serviceowner=nil, servicename=nil, servicevip=nil, serviceinstanceid=nil, autoacceptflag=nil, endpointcount=nil, endpointset=nil, createtime=nil, servicetype=nil, serviceuin=nil, businessiptype=nil) + def initialize(endpointserviceid=nil, vpcid=nil, serviceowner=nil, servicename=nil, servicevip=nil, serviceinstanceid=nil, autoacceptflag=nil, endpointcount=nil, endpointset=nil, createtime=nil, servicetype=nil, serviceuin=nil, businessiptype=nil, tagset=nil) @EndPointServiceId = endpointserviceid @VpcId = vpcid @ServiceOwner = serviceowner @ServiceName = servicename @ServiceVip = servicevip @@ -15515,10 +15554,11 @@ @EndPointSet = endpointset @CreateTime = createtime @ServiceType = servicetype @ServiceUin = serviceuin @BusinessIpType = businessiptype + @TagSet = tagset end def deserialize(params) @EndPointServiceId = params['EndPointServiceId'] @VpcId = params['VpcId'] @@ -15538,10 +15578,18 @@ end @CreateTime = params['CreateTime'] @ServiceType = params['ServiceType'] @ServiceUin = params['ServiceUin'] @BusinessIpType = params['BusinessIpType'] + unless params['TagSet'].nil? + @TagSet = [] + params['TagSet'].each do |i| + tag_tmp = Tag.new + tag_tmp.deserialize(i) + @TagSet << tag_tmp + end + end end end # 过滤器 class Filter < TencentCloud::Common::AbstractModel @@ -15908,14 +15956,17 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type CheckAssociate: Boolean # @param FlushedTime: HAVIP 刷新时间。该参数只作为出参数。以下场景会触发 FlushTime 被刷新:1)子机发出免费 ARP 触发 HAVIP 漂移;2)手动HAVIP解绑网卡; 没有更新时默认值:0000-00-00 00:00:00 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FlushedTime: String + # @param TagSet: 标签键值对。 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type TagSet: Array - attr_accessor :HaVipId, :HaVipName, :Vip, :VpcId, :SubnetId, :NetworkInterfaceId, :InstanceId, :AddressIp, :State, :CreatedTime, :Business, :HaVipAssociationSet, :CheckAssociate, :FlushedTime + attr_accessor :HaVipId, :HaVipName, :Vip, :VpcId, :SubnetId, :NetworkInterfaceId, :InstanceId, :AddressIp, :State, :CreatedTime, :Business, :HaVipAssociationSet, :CheckAssociate, :FlushedTime, :TagSet - def initialize(havipid=nil, havipname=nil, vip=nil, vpcid=nil, subnetid=nil, networkinterfaceid=nil, instanceid=nil, addressip=nil, state=nil, createdtime=nil, business=nil, havipassociationset=nil, checkassociate=nil, flushedtime=nil) + def initialize(havipid=nil, havipname=nil, vip=nil, vpcid=nil, subnetid=nil, networkinterfaceid=nil, instanceid=nil, addressip=nil, state=nil, createdtime=nil, business=nil, havipassociationset=nil, checkassociate=nil, flushedtime=nil, tagset=nil) @HaVipId = havipid @HaVipName = havipname @Vip = vip @VpcId = vpcid @SubnetId = subnetid @@ -15926,10 +15977,11 @@ @CreatedTime = createdtime @Business = business @HaVipAssociationSet = havipassociationset @CheckAssociate = checkassociate @FlushedTime = flushedtime + @TagSet = tagset end def deserialize(params) @HaVipId = params['HaVipId'] @HaVipName = params['HaVipName'] @@ -15950,10 +16002,18 @@ @HaVipAssociationSet << havipassociation_tmp end end @CheckAssociate = params['CheckAssociate'] @FlushedTime = params['FlushedTime'] + unless params['TagSet'].nil? + @TagSet = [] + params['TagSet'].each do |i| + tag_tmp = Tag.new + tag_tmp.deserialize(i) + @TagSet << tag_tmp + end + end end end # HaVipAssociateAddressIp请求参数结构体 class HaVipAssociateAddressIpRequest < TencentCloud::Common::AbstractModel @@ -16868,37 +16928,53 @@ class LocalGateway < TencentCloud::Common::AbstractModel # @param CdcId: CDC实例ID # @type CdcId: String # @param VpcId: VPC实例ID # @type VpcId: String - # @param UniqLocalGwId: 本地网关实例ID + # @param UniqLocalGwId: 本地网关实例ID(计划弃用) # @type UniqLocalGwId: String # @param LocalGatewayName: 本地网关名称 # @type LocalGatewayName: String # @param LocalGwIp: 本地网关IP地址 # @type LocalGwIp: String # @param CreateTime: 本地网关创建时间 # @type CreateTime: String + # @param TagSet: 标签键值对。 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type TagSet: Array + # @param LocalGatewayId: 本地网关实例ID(计划起用) + # @type LocalGatewayId: String - attr_accessor :CdcId, :VpcId, :UniqLocalGwId, :LocalGatewayName, :LocalGwIp, :CreateTime + attr_accessor :CdcId, :VpcId, :UniqLocalGwId, :LocalGatewayName, :LocalGwIp, :CreateTime, :TagSet, :LocalGatewayId - def initialize(cdcid=nil, vpcid=nil, uniqlocalgwid=nil, localgatewayname=nil, localgwip=nil, createtime=nil) + def initialize(cdcid=nil, vpcid=nil, uniqlocalgwid=nil, localgatewayname=nil, localgwip=nil, createtime=nil, tagset=nil, localgatewayid=nil) @CdcId = cdcid @VpcId = vpcid @UniqLocalGwId = uniqlocalgwid @LocalGatewayName = localgatewayname @LocalGwIp = localgwip @CreateTime = createtime + @TagSet = tagset + @LocalGatewayId = localgatewayid end def deserialize(params) @CdcId = params['CdcId'] @VpcId = params['VpcId'] @UniqLocalGwId = params['UniqLocalGwId'] @LocalGatewayName = params['LocalGatewayName'] @LocalGwIp = params['LocalGwIp'] @CreateTime = params['CreateTime'] + unless params['TagSet'].nil? + @TagSet = [] + params['TagSet'].each do |i| + tag_tmp = Tag.new + tag_tmp.deserialize(i) + @TagSet << tag_tmp + end + end + @LocalGatewayId = params['LocalGatewayId'] end end # LockCcnBandwidths请求参数结构体 class LockCcnBandwidthsRequest < TencentCloud::Common::AbstractModel @@ -19955,14 +20031,17 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type NetDetectDescription: String # @param CreateTime: 创建时间。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CreateTime: String + # @param TagSet: 标签键值对。 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type TagSet: Array - attr_accessor :VpcId, :VpcName, :SubnetId, :SubnetName, :NetDetectId, :NetDetectName, :DetectDestinationIp, :DetectSourceIp, :NextHopType, :NextHopDestination, :NextHopName, :NetDetectDescription, :CreateTime + attr_accessor :VpcId, :VpcName, :SubnetId, :SubnetName, :NetDetectId, :NetDetectName, :DetectDestinationIp, :DetectSourceIp, :NextHopType, :NextHopDestination, :NextHopName, :NetDetectDescription, :CreateTime, :TagSet - def initialize(vpcid=nil, vpcname=nil, subnetid=nil, subnetname=nil, netdetectid=nil, netdetectname=nil, detectdestinationip=nil, detectsourceip=nil, nexthoptype=nil, nexthopdestination=nil, nexthopname=nil, netdetectdescription=nil, createtime=nil) + def initialize(vpcid=nil, vpcname=nil, subnetid=nil, subnetname=nil, netdetectid=nil, netdetectname=nil, detectdestinationip=nil, detectsourceip=nil, nexthoptype=nil, nexthopdestination=nil, nexthopname=nil, netdetectdescription=nil, createtime=nil, tagset=nil) @VpcId = vpcid @VpcName = vpcname @SubnetId = subnetid @SubnetName = subnetname @NetDetectId = netdetectid @@ -19972,10 +20051,11 @@ @NextHopType = nexthoptype @NextHopDestination = nexthopdestination @NextHopName = nexthopname @NetDetectDescription = netdetectdescription @CreateTime = createtime + @TagSet = tagset end def deserialize(params) @VpcId = params['VpcId'] @VpcName = params['VpcName'] @@ -19988,10 +20068,18 @@ @NextHopType = params['NextHopType'] @NextHopDestination = params['NextHopDestination'] @NextHopName = params['NextHopName'] @NetDetectDescription = params['NetDetectDescription'] @CreateTime = params['CreateTime'] + unless params['TagSet'].nil? + @TagSet = [] + params['TagSet'].each do |i| + tag_tmp = Tag.new + tag_tmp.deserialize(i) + @TagSet << tag_tmp + end + end end end # 网络探测目的IP的验证结果。 class NetDetectIpState < TencentCloud::Common::AbstractModel @@ -22734,19 +22822,23 @@ # @type ServiceSet: Array # @param CreatedTime: 创建时间。 # @type CreatedTime: String # @param ServiceExtraSet: 带备注的协议端口信息。 # @type ServiceExtraSet: Array + # @param TagSet: 标签键值对。 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type TagSet: Array - attr_accessor :ServiceTemplateId, :ServiceTemplateName, :ServiceSet, :CreatedTime, :ServiceExtraSet + attr_accessor :ServiceTemplateId, :ServiceTemplateName, :ServiceSet, :CreatedTime, :ServiceExtraSet, :TagSet - def initialize(servicetemplateid=nil, servicetemplatename=nil, serviceset=nil, createdtime=nil, serviceextraset=nil) + def initialize(servicetemplateid=nil, servicetemplatename=nil, serviceset=nil, createdtime=nil, serviceextraset=nil, tagset=nil) @ServiceTemplateId = servicetemplateid @ServiceTemplateName = servicetemplatename @ServiceSet = serviceset @CreatedTime = createdtime @ServiceExtraSet = serviceextraset + @TagSet = tagset end def deserialize(params) @ServiceTemplateId = params['ServiceTemplateId'] @ServiceTemplateName = params['ServiceTemplateName'] @@ -22758,10 +22850,18 @@ servicesinfo_tmp = ServicesInfo.new servicesinfo_tmp.deserialize(i) @ServiceExtraSet << servicesinfo_tmp end end + unless params['TagSet'].nil? + @TagSet = [] + params['TagSet'].each do |i| + tag_tmp = Tag.new + tag_tmp.deserialize(i) + @TagSet << tag_tmp + end + end end end # 协议端口模板集合 class ServiceTemplateGroup < TencentCloud::Common::AbstractModel @@ -22773,19 +22873,23 @@ # @type ServiceTemplateIdSet: Array # @param CreatedTime: 创建时间。 # @type CreatedTime: String # @param ServiceTemplateSet: 协议端口模板实例信息。 # @type ServiceTemplateSet: Array + # @param TagSet: 标签键值对。 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type TagSet: Array - attr_accessor :ServiceTemplateGroupId, :ServiceTemplateGroupName, :ServiceTemplateIdSet, :CreatedTime, :ServiceTemplateSet + attr_accessor :ServiceTemplateGroupId, :ServiceTemplateGroupName, :ServiceTemplateIdSet, :CreatedTime, :ServiceTemplateSet, :TagSet - def initialize(servicetemplategroupid=nil, servicetemplategroupname=nil, servicetemplateidset=nil, createdtime=nil, servicetemplateset=nil) + def initialize(servicetemplategroupid=nil, servicetemplategroupname=nil, servicetemplateidset=nil, createdtime=nil, servicetemplateset=nil, tagset=nil) @ServiceTemplateGroupId = servicetemplategroupid @ServiceTemplateGroupName = servicetemplategroupname @ServiceTemplateIdSet = servicetemplateidset @CreatedTime = createdtime @ServiceTemplateSet = servicetemplateset + @TagSet = tagset end def deserialize(params) @ServiceTemplateGroupId = params['ServiceTemplateGroupId'] @ServiceTemplateGroupName = params['ServiceTemplateGroupName'] @@ -22797,10 +22901,18 @@ servicetemplate_tmp = ServiceTemplate.new servicetemplate_tmp.deserialize(i) @ServiceTemplateSet << servicetemplate_tmp end end + unless params['TagSet'].nil? + @TagSet = [] + params['TagSet'].each do |i| + tag_tmp = Tag.new + tag_tmp.deserialize(i) + @TagSet << tag_tmp + end + end end end # 协议端口模板 class ServiceTemplateSpecification < TencentCloud::Common::AbstractModel @@ -23018,24 +23130,28 @@ # @param Enable: 启用状态,True-启用,False-停用,默认为True。 # @type Enable: Boolean # @param CreateTime: 创建时间。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CreateTime: String + # @param TagSet: 标签键值对。 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type TagSet: Array - attr_accessor :SnapshotPolicyName, :BackupType, :KeepTime, :CreateNewCos, :CosRegion, :CosBucket, :SnapshotPolicyId, :BackupPolicies, :Enable, :CreateTime + attr_accessor :SnapshotPolicyName, :BackupType, :KeepTime, :CreateNewCos, :CosRegion, :CosBucket, :SnapshotPolicyId, :BackupPolicies, :Enable, :CreateTime, :TagSet - def initialize(snapshotpolicyname=nil, backuptype=nil, keeptime=nil, createnewcos=nil, cosregion=nil, cosbucket=nil, snapshotpolicyid=nil, backuppolicies=nil, enable=nil, createtime=nil) + def initialize(snapshotpolicyname=nil, backuptype=nil, keeptime=nil, createnewcos=nil, cosregion=nil, cosbucket=nil, snapshotpolicyid=nil, backuppolicies=nil, enable=nil, createtime=nil, tagset=nil) @SnapshotPolicyName = snapshotpolicyname @BackupType = backuptype @KeepTime = keeptime @CreateNewCos = createnewcos @CosRegion = cosregion @CosBucket = cosbucket @SnapshotPolicyId = snapshotpolicyid @BackupPolicies = backuppolicies @Enable = enable @CreateTime = createtime + @TagSet = tagset end def deserialize(params) @SnapshotPolicyName = params['SnapshotPolicyName'] @BackupType = params['BackupType'] @@ -23052,9 +23168,17 @@ @BackupPolicies << backuppolicy_tmp end end @Enable = params['Enable'] @CreateTime = params['CreateTime'] + unless params['TagSet'].nil? + @TagSet = [] + params['TagSet'].each do |i| + tag_tmp = Tag.new + tag_tmp.deserialize(i) + @TagSet << tag_tmp + end + end end end # NAT的SNAT规则 class SourceIpTranslationNatRule < TencentCloud::Common::AbstractModel