腾讯云TI-ONE训练平台提交跑批任务_AI解决方案_同尘科技
跑批任务创建查询删除
create_batch_task(self, batch_task_name, job_type, resource_config_info, output_config, input_config, resource_group_id=None, model_info=None, image_info=None, code_package=None, start_cmd=None, cron_info=None, tags=None, log_enable=False, log_logset_id=None, log_topic_id=None, vpc_id=None, subnet_id=None, remark=""): """创建跑批任务
:param batch_task_name: 跑批任务名称 :type batch_task_name: str :param job_type: 工作类型 1:单次 2:周期 :param job_type: int :param resource_config_info: 资源配置 :type resource_config_info: :class:`tikit.models.ResourceConfigInfo` :param output_config: 输出数据源配置(如果为COS,目标路径需为空字符串) :type output_config: list or :class:`tikit.models.TrainingDataConfig` :param input_config: 输入数据源配置(如果为COS,目标路径需为空字符串) :type input_config: list or :class:`tikit.models.TrainingDataConfig` :param resource_group_id: 预付费的资源组id :type resource_group_id: str :param model_info: 模型信息 :type model_info: :class:`tikit.models.ModelInfo` :param image_info: 镜像信息(如果使用模型文件,则自定义镜像无效) :type image_info: :class:`tikit.models.FrameworkInfo` :param code_package: 代码的cos信息 :type code_package: str :param start_cmd: 启动命令 :type start_cmd: str :param cron_info: 周期配置信息 :type cron_info: :class:`tikit.tencentcloud.tione.v20211111.models.CronInfo` :param tags: 标签 :type tags: list of :class:`tikit.tencentcloud.tione.v20211111.models.Tag` :param log_enable: 日志开关 :type log_enable: bool :param log_logset_id: 日志集id :type log_logset_id: str :param log_topic_id: 日志topic id :type log_topic_id: str :param vpc_id: vpc id :type vpc_id: str :param subnet_id: :type subnet_id: 子网id :param remark: 任务描述 :type remark: str :rtype: :class:`tikit.tencentcloud.tione.v20211111.models.CreateBatchTaskResponse` """
describe_batch_task(self, batch_task_id): """查询跑批任务
:param batch_task_id: :type batch_task_id: str :rtype: :class:`tikit.tencentcloud.tione.v20211111.models.DescribeBatchTaskResponse` """
describe_batch_tasks(self, filters=None, tag_filters=None, offset=0, limit=50, order="DESC", order_field="UpdateTime"): """获取跑批任务列表
:param filters: 过滤器,eg:[{ "Name": "TaskStatus", "Values": ["Running"] }] :type filters: list of Filter :param tag_filters: 标签过滤器,eg:[{ "TagKey": "TagKeyA", "TagValue": ["TagValueA"] }] :type tag_filters: list of TagFilter :param offset: 偏移量,默认为0 :type offset: int :param limit: 返回数量,默认为50 :type limit: int :param order: 输出列表的排列顺序。取值范围:ASC:升序排列 DESC:降序排列 :type order: str :param order_field: 排序的依据字段, 取值范围 "CreateTime" "UpdateTime" :type order_field: str :return: :rtype: :class:`tikit.tencentcloud.tione.v20211111.models.DescribeBatchTasksResponse` """
stop_batch_task(self, batch_task_id): """停止跑批任务
:param batch_task_id: :type batch_task_id: str :rtype: :class:`tikit.tencentcloud.tione.v20211111.models.StopBatchTaskResponse` """
delete_batch_task(self, batch_task_id): """删除跑批任务
:param batch_task_id: :type batch_task_id: str :rtype: :class:`tikit.tencentcloud.tione.v20211111.models.DeleteBatchTaskResponse` """
对解决方案有疑惑?想了解解决方案收费? 联系解决方案专家
腾讯云限时活动1折起,即将结束: 马上收藏
同尘科技为腾讯云授权服务中心,购买腾讯云享受折上折,更有现金返利:同意关联,立享优惠
阿里云解决方案也看看?: 点击对比阿里云的解决方案
暂无评论,你要说点什么吗?