showRunStrategy: false
default:
  strategy:
    runStrategy: 1
name: TencentDeployCertToLive
title: 腾讯云-部署到腾讯云直播
icon: svg:icon-tencentcloud
desc: https://console.cloud.tencent.com/live/
group: tencent
needPlus: true
input:
  accessId:
    title: Access提供者
    helper: access 授权
    component:
      name: access-selector
      type: tencent
    required: true
    order: 0
  domains:
    title: 直播域名
    component:
      name: remote-select
      vModel: value
      mode: tags
      type: plugin
      typeName: TencentDeployCertToLive
      action: onGetDomainList
      watches:
        - certDomains
        - accessId
    required: true
    mergeScript: |2-

                return {
                  component:{
                    form: ctx.compute(({form})=>{
                      return form
                    })
                  },
               }
              
    helper: 请选择域名或输入域名
    order: 0
  cert:
    title: 域名证书
    helper: 请选择前置任务输出的域名证书，或者选择前置任务“上传证书到腾讯云”任务的证书ID
    component:
      name: output-selector
      from:
        - CertApply
        - CertApplyLego
        - CertApplyUpload
        - UploadCertToTencent
    required: true
    order: 0
output: {}
type: builtIn
pluginType: deploy
scriptFilePath: ../../../plugins/plugin-tencent/plugin/deploy-to-live/index.js
