lib/v20180317/models.rb in tencentcloud-sdk-clb-1.0.235 vs lib/v20180317/models.rb in tencentcloud-sdk-clb-1.0.237

- old
+ new

@@ -815,20 +815,22 @@ # @type SnatPro: Boolean # @param SnatIps: 开启绑定跨地域/跨Vpc绑定IP的功能后,创建SnatIp。 # @type SnatIps: Array # @param ClusterIds: 公网独占集群ID或者CDCId。 # @type ClusterIds: Array + # @param SlaType: 性能保障规格。 + # @type SlaType: String # @param ClusterTag: Stgw独占集群的标签。 # @type ClusterTag: String # @param Zones: 仅适用于私有网络内网负载均衡。内网就近接入时,选择可用区下发。 # @type Zones: Array # @param EipAddressId: EIP 的唯一 ID,形如:eip-11112222,仅适用于内网负载均衡绑定EIP。 # @type EipAddressId: String - attr_accessor :LoadBalancerId, :LoadBalancerName, :ProjectId, :MasterZoneId, :SlaveZoneId, :ZoneId, :InternetAccessible, :VipIsp, :Vip, :Tags, :ExclusiveCluster, :BandwidthPackageId, :SnatPro, :SnatIps, :ClusterIds, :ClusterTag, :Zones, :EipAddressId + attr_accessor :LoadBalancerId, :LoadBalancerName, :ProjectId, :MasterZoneId, :SlaveZoneId, :ZoneId, :InternetAccessible, :VipIsp, :Vip, :Tags, :ExclusiveCluster, :BandwidthPackageId, :SnatPro, :SnatIps, :ClusterIds, :SlaType, :ClusterTag, :Zones, :EipAddressId - def initialize(loadbalancerid=nil, loadbalancername=nil, projectid=nil, masterzoneid=nil, slavezoneid=nil, zoneid=nil, internetaccessible=nil, vipisp=nil, vip=nil, tags=nil, exclusivecluster=nil, bandwidthpackageid=nil, snatpro=nil, snatips=nil, clusterids=nil, clustertag=nil, zones=nil, eipaddressid=nil) + def initialize(loadbalancerid=nil, loadbalancername=nil, projectid=nil, masterzoneid=nil, slavezoneid=nil, zoneid=nil, internetaccessible=nil, vipisp=nil, vip=nil, tags=nil, exclusivecluster=nil, bandwidthpackageid=nil, snatpro=nil, snatips=nil, clusterids=nil, slatype=nil, clustertag=nil, zones=nil, eipaddressid=nil) @LoadBalancerId = loadbalancerid @LoadBalancerName = loadbalancername @ProjectId = projectid @MasterZoneId = masterzoneid @SlaveZoneId = slavezoneid @@ -840,10 +842,11 @@ @ExclusiveCluster = exclusivecluster @BandwidthPackageId = bandwidthpackageid @SnatPro = snatpro @SnatIps = snatips @ClusterIds = clusterids + @SlaType = slatype @ClusterTag = clustertag @Zones = zones @EipAddressId = eipaddressid end @@ -881,10 +884,11 @@ snatip_tmp.deserialize(i) @SnatIps << snatip_tmp end end @ClusterIds = params['ClusterIds'] + @SlaType = params['SlaType'] @ClusterTag = params['ClusterTag'] @Zones = params['Zones'] @EipAddressId = params['EipAddressId'] end end @@ -1426,22 +1430,27 @@ # CreateLoadBalancer返回参数结构体 class CreateLoadBalancerResponse < TencentCloud::Common::AbstractModel # @param LoadBalancerIds: 由负载均衡实例唯一 ID 组成的数组。 # @type LoadBalancerIds: Array + # @param DealName: 订单号。 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type DealName: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String - attr_accessor :LoadBalancerIds, :RequestId + attr_accessor :LoadBalancerIds, :DealName, :RequestId - def initialize(loadbalancerids=nil, requestid=nil) + def initialize(loadbalancerids=nil, dealname=nil, requestid=nil) @LoadBalancerIds = loadbalancerids + @DealName = dealname @RequestId = requestid end def deserialize(params) @LoadBalancerIds = params['LoadBalancerIds'] + @DealName = params['DealName'] @RequestId = params['RequestId'] end end # CreateLoadBalancerSnatIps请求参数结构体 @@ -3610,37 +3619,46 @@ # DescribeTaskStatus请求参数结构体 class DescribeTaskStatusRequest < TencentCloud::Common::AbstractModel # @param TaskId: 请求ID,即接口返回的 RequestId 参数。 # @type TaskId: String + # @param DealName: 订单ID。 + # @type DealName: String - attr_accessor :TaskId + attr_accessor :TaskId, :DealName - def initialize(taskid=nil) + def initialize(taskid=nil, dealname=nil) @TaskId = taskid + @DealName = dealname end def deserialize(params) @TaskId = params['TaskId'] + @DealName = params['DealName'] end end # DescribeTaskStatus返回参数结构体 class DescribeTaskStatusResponse < TencentCloud::Common::AbstractModel # @param Status: 任务的当前状态。 0:成功,1:失败,2:进行中。 # @type Status: Integer + # @param LoadBalancerIds: 由负载均衡实例唯一 ID 组成的数组。 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type LoadBalancerIds: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String - attr_accessor :Status, :RequestId + attr_accessor :Status, :LoadBalancerIds, :RequestId - def initialize(status=nil, requestid=nil) + def initialize(status=nil, loadbalancerids=nil, requestid=nil) @Status = status + @LoadBalancerIds = loadbalancerids @RequestId = requestid end def deserialize(params) @Status = params['Status'] + @LoadBalancerIds = params['LoadBalancerIds'] @RequestId = params['RequestId'] end end # DisassociateTargetGroups请求参数结构体