lib/v20211111/models.rb in tencentcloud-sdk-tione-3.0.474 vs lib/v20211111/models.rb in tencentcloud-sdk-tione-3.0.475
- old
+ new
@@ -941,14 +941,16 @@
# @type ScheduledAction: :class:`Tencentcloud::Tione.v20211111.models.ScheduledAction`
# @param VolumeMount: 挂载配置,目前只支持CFS
# @type VolumeMount: :class:`Tencentcloud::Tione.v20211111.models.VolumeMount`
# @param ServiceLimit: 服务限速限流相关配置
# @type ServiceLimit: :class:`Tencentcloud::Tione.v20211111.models.ServiceLimit`
+ # @param CallbackUrl: 回调地址,用于回调创建服务状态信息
+ # @type CallbackUrl: String
- attr_accessor :ImageInfo, :ServiceGroupId, :ServiceGroupName, :ServiceDescription, :ChargeType, :ResourceGroupId, :ModelInfo, :Env, :Resources, :InstanceType, :ScaleMode, :Replicas, :HorizontalPodAutoscaler, :LogEnable, :LogConfig, :AuthorizationEnable, :Tags, :NewVersion, :CronScaleJobs, :ScaleStrategy, :HybridBillingPrepaidReplicas, :CreateSource, :ModelHotUpdateEnable, :ScheduledAction, :VolumeMount, :ServiceLimit
+ attr_accessor :ImageInfo, :ServiceGroupId, :ServiceGroupName, :ServiceDescription, :ChargeType, :ResourceGroupId, :ModelInfo, :Env, :Resources, :InstanceType, :ScaleMode, :Replicas, :HorizontalPodAutoscaler, :LogEnable, :LogConfig, :AuthorizationEnable, :Tags, :NewVersion, :CronScaleJobs, :ScaleStrategy, :HybridBillingPrepaidReplicas, :CreateSource, :ModelHotUpdateEnable, :ScheduledAction, :VolumeMount, :ServiceLimit, :CallbackUrl
- def initialize(imageinfo=nil, servicegroupid=nil, servicegroupname=nil, servicedescription=nil, chargetype=nil, resourcegroupid=nil, modelinfo=nil, env=nil, resources=nil, instancetype=nil, scalemode=nil, replicas=nil, horizontalpodautoscaler=nil, logenable=nil, logconfig=nil, authorizationenable=nil, tags=nil, newversion=nil, cronscalejobs=nil, scalestrategy=nil, hybridbillingprepaidreplicas=nil, createsource=nil, modelhotupdateenable=nil, scheduledaction=nil, volumemount=nil, servicelimit=nil)
+ def initialize(imageinfo=nil, servicegroupid=nil, servicegroupname=nil, servicedescription=nil, chargetype=nil, resourcegroupid=nil, modelinfo=nil, env=nil, resources=nil, instancetype=nil, scalemode=nil, replicas=nil, horizontalpodautoscaler=nil, logenable=nil, logconfig=nil, authorizationenable=nil, tags=nil, newversion=nil, cronscalejobs=nil, scalestrategy=nil, hybridbillingprepaidreplicas=nil, createsource=nil, modelhotupdateenable=nil, scheduledaction=nil, volumemount=nil, servicelimit=nil, callbackurl=nil)
@ImageInfo = imageinfo
@ServiceGroupId = servicegroupid
@ServiceGroupName = servicegroupname
@ServiceDescription = servicedescription
@ChargeType = chargetype
@@ -971,10 +973,11 @@
@CreateSource = createsource
@ModelHotUpdateEnable = modelhotupdateenable
@ScheduledAction = scheduledaction
@VolumeMount = volumemount
@ServiceLimit = servicelimit
+ @CallbackUrl = callbackurl
end
def deserialize(params)
unless params['ImageInfo'].nil?
@ImageInfo = ImageInfo.new
@@ -1045,9 +1048,10 @@
end
unless params['ServiceLimit'].nil?
@ServiceLimit = ServiceLimit.new
@ServiceLimit.deserialize(params['ServiceLimit'])
end
+ @CallbackUrl = params['CallbackUrl']
end
end
# CreateModelService返回参数结构体
class CreateModelServiceResponse < TencentCloud::Common::AbstractModel