Class: TencentCloud::Apm::V20210622::CreateProfileTaskRequest

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

Overview

CreateProfileTask请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(servicename = nil, instanceid = nil, serviceinstance = nil, event = nil, duration = nil, alltimes = nil, starttime = nil, taskinterval = nil) ⇒ CreateProfileTaskRequest

Returns a new instance of CreateProfileTaskRequest.



1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
# File 'lib/v20210622/models.rb', line 1255

def initialize(servicename=nil, instanceid=nil, serviceinstance=nil, event=nil, duration=nil, alltimes=nil, starttime=nil, taskinterval=nil)
  @ServiceName = servicename
  @InstanceId = instanceid
  @ServiceInstance = serviceinstance
  @Event = event
  @Duration = duration
  @AllTimes = alltimes
  @StartTime = starttime
  @TaskInterval = taskinterval
end

Instance Attribute Details

#AllTimesObject

Parameters:

  • ServiceName:

    应用名称

  • InstanceId:

    APM业务系统ID

  • ServiceInstance:

    应用实例(在线)

  • Event:

    事件类型(cpu、alloc)

  • Duration:

    任务持续时长(单位:毫秒),范围限制在5~180秒

  • AllTimes:

    执行次数,范围限制在1~100次

  • StartTime:

    开始时间戳,0代表从当前开始(单位:秒)

  • TaskInterval:

    任务执行间隔(单位:毫秒),范围限制在10~600秒,不可小于1.5倍的Duration



1253
1254
1255
# File 'lib/v20210622/models.rb', line 1253

def AllTimes
  @AllTimes
end

#DurationObject

Parameters:

  • ServiceName:

    应用名称

  • InstanceId:

    APM业务系统ID

  • ServiceInstance:

    应用实例(在线)

  • Event:

    事件类型(cpu、alloc)

  • Duration:

    任务持续时长(单位:毫秒),范围限制在5~180秒

  • AllTimes:

    执行次数,范围限制在1~100次

  • StartTime:

    开始时间戳,0代表从当前开始(单位:秒)

  • TaskInterval:

    任务执行间隔(单位:毫秒),范围限制在10~600秒,不可小于1.5倍的Duration



1253
1254
1255
# File 'lib/v20210622/models.rb', line 1253

def Duration
  @Duration
end

#EventObject

Parameters:

  • ServiceName:

    应用名称

  • InstanceId:

    APM业务系统ID

  • ServiceInstance:

    应用实例(在线)

  • Event:

    事件类型(cpu、alloc)

  • Duration:

    任务持续时长(单位:毫秒),范围限制在5~180秒

  • AllTimes:

    执行次数,范围限制在1~100次

  • StartTime:

    开始时间戳,0代表从当前开始(单位:秒)

  • TaskInterval:

    任务执行间隔(单位:毫秒),范围限制在10~600秒,不可小于1.5倍的Duration



1253
1254
1255
# File 'lib/v20210622/models.rb', line 1253

def Event
  @Event
end

#InstanceIdObject

Parameters:

  • ServiceName:

    应用名称

  • InstanceId:

    APM业务系统ID

  • ServiceInstance:

    应用实例(在线)

  • Event:

    事件类型(cpu、alloc)

  • Duration:

    任务持续时长(单位:毫秒),范围限制在5~180秒

  • AllTimes:

    执行次数,范围限制在1~100次

  • StartTime:

    开始时间戳,0代表从当前开始(单位:秒)

  • TaskInterval:

    任务执行间隔(单位:毫秒),范围限制在10~600秒,不可小于1.5倍的Duration



1253
1254
1255
# File 'lib/v20210622/models.rb', line 1253

def InstanceId
  @InstanceId
end

#ServiceInstanceObject

Parameters:

  • ServiceName:

    应用名称

  • InstanceId:

    APM业务系统ID

  • ServiceInstance:

    应用实例(在线)

  • Event:

    事件类型(cpu、alloc)

  • Duration:

    任务持续时长(单位:毫秒),范围限制在5~180秒

  • AllTimes:

    执行次数,范围限制在1~100次

  • StartTime:

    开始时间戳,0代表从当前开始(单位:秒)

  • TaskInterval:

    任务执行间隔(单位:毫秒),范围限制在10~600秒,不可小于1.5倍的Duration



1253
1254
1255
# File 'lib/v20210622/models.rb', line 1253

def ServiceInstance
  @ServiceInstance
end

#ServiceNameObject

Parameters:

  • ServiceName:

    应用名称

  • InstanceId:

    APM业务系统ID

  • ServiceInstance:

    应用实例(在线)

  • Event:

    事件类型(cpu、alloc)

  • Duration:

    任务持续时长(单位:毫秒),范围限制在5~180秒

  • AllTimes:

    执行次数,范围限制在1~100次

  • StartTime:

    开始时间戳,0代表从当前开始(单位:秒)

  • TaskInterval:

    任务执行间隔(单位:毫秒),范围限制在10~600秒,不可小于1.5倍的Duration



1253
1254
1255
# File 'lib/v20210622/models.rb', line 1253

def ServiceName
  @ServiceName
end

#StartTimeObject

Parameters:

  • ServiceName:

    应用名称

  • InstanceId:

    APM业务系统ID

  • ServiceInstance:

    应用实例(在线)

  • Event:

    事件类型(cpu、alloc)

  • Duration:

    任务持续时长(单位:毫秒),范围限制在5~180秒

  • AllTimes:

    执行次数,范围限制在1~100次

  • StartTime:

    开始时间戳,0代表从当前开始(单位:秒)

  • TaskInterval:

    任务执行间隔(单位:毫秒),范围限制在10~600秒,不可小于1.5倍的Duration



1253
1254
1255
# File 'lib/v20210622/models.rb', line 1253

def StartTime
  @StartTime
end

#TaskIntervalObject

Parameters:

  • ServiceName:

    应用名称

  • InstanceId:

    APM业务系统ID

  • ServiceInstance:

    应用实例(在线)

  • Event:

    事件类型(cpu、alloc)

  • Duration:

    任务持续时长(单位:毫秒),范围限制在5~180秒

  • AllTimes:

    执行次数,范围限制在1~100次

  • StartTime:

    开始时间戳,0代表从当前开始(单位:秒)

  • TaskInterval:

    任务执行间隔(单位:毫秒),范围限制在10~600秒,不可小于1.5倍的Duration



1253
1254
1255
# File 'lib/v20210622/models.rb', line 1253

def TaskInterval
  @TaskInterval
end

Instance Method Details

#deserialize(params) ⇒ Object



1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
# File 'lib/v20210622/models.rb', line 1266

def deserialize(params)
  @ServiceName = params['ServiceName']
  @InstanceId = params['InstanceId']
  @ServiceInstance = params['ServiceInstance']
  @Event = params['Event']
  @Duration = params['Duration']
  @AllTimes = params['AllTimes']
  @StartTime = params['StartTime']
  @TaskInterval = params['TaskInterval']
end