mirror of
https://github.com/certd/certd.git
synced 2026-04-23 11:37:23 +08:00
chore: plugin元数据换成yaml格式
This commit is contained in:
+59
@@ -0,0 +1,59 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 0
|
||||
name: TencentDeleteExpiringCert
|
||||
title: 腾讯云-删除即将过期证书
|
||||
icon: svg:icon-tencentcloud
|
||||
group: tencent
|
||||
desc: 仅删除未使用的证书
|
||||
needPlus: true
|
||||
input:
|
||||
accessId:
|
||||
title: Access提供者
|
||||
helper: access 授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
searchKey:
|
||||
title: 关键字筛选
|
||||
helper: 仅匹配ID、备注名称、域名包含关键字的证书,可以不填
|
||||
required: false
|
||||
component:
|
||||
name: a-input
|
||||
order: 0
|
||||
maxCount:
|
||||
title: 最大删除数量
|
||||
helper: 单次运行最大删除数量
|
||||
value: 100
|
||||
component:
|
||||
name: a-input-number
|
||||
vModel: value
|
||||
required: true
|
||||
order: 0
|
||||
expiringDays:
|
||||
title: 即将过期天数
|
||||
helper: >-
|
||||
仅删除有效期小于此天数的证书,
|
||||
|
||||
<span
|
||||
class="color-red">注意:`1.26.14`版本之前Certd创建的证书流水线默认是到期前20天才更新证书,需要将之前创建的证书申请任务的更新天数改为35天,保证删除之前就已经替换掉即将过期证书</span>
|
||||
value: 30
|
||||
component:
|
||||
name: a-input-number
|
||||
vModel: value
|
||||
required: true
|
||||
order: 0
|
||||
checkTimeout:
|
||||
title: 检查超时时间
|
||||
helper: 检查删除任务结果超时时间,单位分钟
|
||||
value: 10
|
||||
component:
|
||||
name: a-input-number
|
||||
vModel: value
|
||||
required: true
|
||||
order: 0
|
||||
output: {}
|
||||
pluginType: deploy
|
||||
@@ -0,0 +1,88 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: DeployCertToTencentAll
|
||||
title: 腾讯云-部署证书到任意云资源
|
||||
needPlus: false
|
||||
icon: svg:icon-tencentcloud
|
||||
group: tencent
|
||||
desc: 支持负载均衡、CDN、DDoS、直播、点播、Web应用防火墙、API网关、TEO、容器服务、对象存储、轻应用服务器、云原生微服务、云开发
|
||||
input:
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: access授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
tencentCertId:
|
||||
title: 证书
|
||||
helper: 请选择"证书申请任务"或“上传证书到腾讯云”前置任务的输出
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
- UploadCertToTencent
|
||||
required: true
|
||||
order: 0
|
||||
resourceType:
|
||||
title: 资源类型
|
||||
component:
|
||||
name: a-select
|
||||
vModel: value
|
||||
allowClear: true
|
||||
options:
|
||||
- value: clb
|
||||
label: 负载均衡
|
||||
- value: cdn
|
||||
label: CDN
|
||||
- value: ddos
|
||||
label: DDoS
|
||||
- value: live
|
||||
label: 直播
|
||||
- value: vod
|
||||
label: 点播
|
||||
- value: waf
|
||||
label: Web应用防火墙
|
||||
- value: apigateway
|
||||
label: API网关
|
||||
- value: teo
|
||||
label: TEO
|
||||
- value: tke
|
||||
label: 容器服务
|
||||
- value: cos
|
||||
label: 对象存储
|
||||
- value: lighthouse
|
||||
label: 轻应用服务器
|
||||
- value: tse
|
||||
label: 云原生微服务
|
||||
- value: tcb
|
||||
label: 云开发
|
||||
helper: ''
|
||||
required: true
|
||||
order: 0
|
||||
region:
|
||||
title: Region
|
||||
component:
|
||||
name: a-input
|
||||
vModel: value
|
||||
allowClear: true
|
||||
helper: >-
|
||||
当云资源类型传入clb、waf、apigateway、cos、lighthouse、tke、tse、tcb
|
||||
时,公共参数Region必传。[参考文档](https://cloud.tencent.com/document/product/400/91667)
|
||||
order: 0
|
||||
instanceIdList:
|
||||
title: 云资源实例Id列表
|
||||
component:
|
||||
name: a-select
|
||||
vModel: value
|
||||
open: false
|
||||
mode: tags
|
||||
helper: '[参考文档](https://cloud.tencent.com/document/product/400/91667)'
|
||||
order: 0
|
||||
output: {}
|
||||
pluginType: deploy
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: TencentDeployCertToCDNv2
|
||||
title: 腾讯云-部署到CDN-v2
|
||||
icon: svg:icon-tencentcloud
|
||||
group: tencent
|
||||
desc: 推荐使用
|
||||
input:
|
||||
accessId:
|
||||
title: Access提供者
|
||||
helper: access 授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
domains:
|
||||
title: CDN域名
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
typeName: TencentDeployCertToCDNv2
|
||||
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: {}
|
||||
pluginType: deploy
|
||||
@@ -0,0 +1,41 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: DeployCertToTencentCDN
|
||||
title: 腾讯云-部署到CDN(废弃)
|
||||
icon: svg:icon-tencentcloud
|
||||
group: tencent
|
||||
desc: 已废弃,请使用v2版
|
||||
input:
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access提供者
|
||||
helper: access 授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
certName:
|
||||
title: 证书名称
|
||||
helper: 证书上传后将以此参数作为名称前缀
|
||||
order: 0
|
||||
domainName:
|
||||
title: cdn加速域名
|
||||
rules:
|
||||
- required: true
|
||||
message: 该项必填
|
||||
order: 0
|
||||
output: {}
|
||||
pluginType: deploy
|
||||
@@ -0,0 +1,80 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: DeployCertToTencentCLB
|
||||
title: 腾讯云-部署到CLB
|
||||
icon: svg:icon-tencentcloud
|
||||
group: tencent
|
||||
desc: 暂时只支持单向认证证书,暂时只支持通用负载均衡
|
||||
input:
|
||||
region:
|
||||
title: 大区
|
||||
component:
|
||||
name: a-auto-complete
|
||||
vModel: value
|
||||
options:
|
||||
- value: ap-guangzhou
|
||||
- value: ap-beijing
|
||||
- value: ap-chengdu
|
||||
- value: ap-chongqing
|
||||
- value: ap-hongkong
|
||||
- value: ap-jakarta
|
||||
- value: ap-mumbai
|
||||
- value: ap-nanjing
|
||||
- value: ap-seoul
|
||||
- value: ap-shanghai
|
||||
- value: ap-shanghai-fsi
|
||||
- value: ap-shenzhen-fsi
|
||||
- value: ap-singapore
|
||||
- value: ap-tokyo
|
||||
- value: eu-frankfurt
|
||||
- value: na-ashburn
|
||||
- value: na-siliconvalley
|
||||
- value: na-toronto
|
||||
- value: sa-saopaulo
|
||||
required: true
|
||||
order: 0
|
||||
certName:
|
||||
title: 证书名称前缀
|
||||
order: 0
|
||||
loadBalancerId:
|
||||
title: 负载均衡ID
|
||||
helper: 如果没有配置,则根据域名匹配负载均衡下的监听器(根据域名匹配时暂时只支持前100个)
|
||||
required: true
|
||||
order: 0
|
||||
listenerId:
|
||||
title: 监听器ID
|
||||
required: true
|
||||
order: 0
|
||||
domain:
|
||||
title: 域名
|
||||
required: false
|
||||
component:
|
||||
name: a-select
|
||||
vModel: value
|
||||
open: false
|
||||
mode: tags
|
||||
helper: 如果开启了sni,则此项必须填写,未开启,则不要填写
|
||||
order: 0
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access提供者
|
||||
helper: access授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
output: {}
|
||||
pluginType: deploy
|
||||
@@ -0,0 +1,120 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: DeployCertToTencentCosPlugin
|
||||
title: 腾讯云-部署证书到COS
|
||||
needPlus: false
|
||||
icon: svg:icon-tencentcloud
|
||||
group: tencent
|
||||
desc: 部署到腾讯云COS源站域名证书【注意:很不稳定,需要重试很多次偶尔才能成功一次】
|
||||
input:
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: access授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
bucket:
|
||||
title: 存储桶名称
|
||||
helper: 请输入存储桶名称
|
||||
order: 0
|
||||
region:
|
||||
title: 所在地域
|
||||
helper: 存储桶所在地域
|
||||
component:
|
||||
name: a-auto-complete
|
||||
vModel: value
|
||||
options:
|
||||
- value: ''
|
||||
label: '--------中国大陆地区-------'
|
||||
disabled: true
|
||||
- value: ap-beijing-1
|
||||
label: 北京1区
|
||||
- value: ap-beijing
|
||||
label: 北京
|
||||
- value: ap-nanjing
|
||||
label: 南京
|
||||
- value: ap-shanghai
|
||||
label: 上海
|
||||
- value: ap-guangzhou
|
||||
label: 广州
|
||||
- value: ap-chengdu
|
||||
label: 成都
|
||||
- value: ap-chongqing
|
||||
label: 重庆
|
||||
- value: ap-shenzhen-fsi
|
||||
label: 深圳金融
|
||||
- value: ap-shanghai-fsi
|
||||
label: 上海金融
|
||||
- value: ap-beijing-fsi
|
||||
label: 北京金融
|
||||
- value: ''
|
||||
label: '--------中国香港及境外-------'
|
||||
disabled: true
|
||||
- value: ap-hongkong
|
||||
label: 中国香港
|
||||
- value: ap-singapore
|
||||
label: 新加坡
|
||||
- value: ap-mumbai
|
||||
label: 孟买
|
||||
- value: ap-jakarta
|
||||
label: 雅加达
|
||||
- value: ap-seoul
|
||||
label: 首尔
|
||||
- value: ap-bangkok
|
||||
label: 曼谷
|
||||
- value: ap-tokyo
|
||||
label: 东京
|
||||
- value: na-siliconvalley
|
||||
label: 硅谷
|
||||
- value: na-ashburn
|
||||
label: 弗吉尼亚
|
||||
- value: sa-saopaulo
|
||||
label: 圣保罗
|
||||
- value: eu-frankfurt
|
||||
label: 法兰克福
|
||||
order: 0
|
||||
domains:
|
||||
title: COS域名
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
typeName: DeployCertToTencentCosPlugin
|
||||
action: onGetDomainList
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
- bucket
|
||||
- region
|
||||
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: {}
|
||||
pluginType: deploy
|
||||
@@ -0,0 +1,49 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: DeployCertToTencentEO
|
||||
title: 腾讯云-部署到腾讯云EO
|
||||
icon: svg:icon-tencentcloud
|
||||
desc: 腾讯云边缘安全加速平台EO,必须配置上传证书到腾讯云任务
|
||||
group: tencent
|
||||
input:
|
||||
certId:
|
||||
title: 已上传证书ID
|
||||
helper: 请选择前置任务上传到腾讯云的证书
|
||||
component:
|
||||
name: output-selector
|
||||
from: UploadCertToTencent
|
||||
required: true
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access提供者
|
||||
helper: access 授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
zoneId:
|
||||
title: 站点ID
|
||||
helper: 类似于zone-xxxx的字符串,在站点概览页面左上角,或者,站点列表页面站点名称下方
|
||||
required: true
|
||||
order: 0
|
||||
certName:
|
||||
title: 证书名称
|
||||
helper: 证书上传后将以此参数作为名称前缀
|
||||
order: 0
|
||||
domainNames:
|
||||
title: cdn加速域名
|
||||
component:
|
||||
name: a-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
open: false
|
||||
helper: 支持多个域名
|
||||
rules:
|
||||
- required: true
|
||||
message: 该项必填
|
||||
order: 0
|
||||
output: {}
|
||||
pluginType: deploy
|
||||
@@ -0,0 +1,58 @@
|
||||
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: {}
|
||||
pluginType: deploy
|
||||
+94
@@ -0,0 +1,94 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: DeployCertToTencentTKEIngress
|
||||
title: 腾讯云-部署到TKE-ingress
|
||||
needPlus: true
|
||||
icon: svg:icon-tencentcloud
|
||||
group: tencent
|
||||
desc: serverless集群请使用K8S部署插件;Qcloud类型需要【上传到腾讯云】作为前置任务;ApiServer未开启外网访问则需要做域名的内网IP映射
|
||||
input:
|
||||
region:
|
||||
title: 大区
|
||||
value: ap-guangzhou
|
||||
required: true
|
||||
order: 0
|
||||
clusterId:
|
||||
title: 集群ID
|
||||
required: true
|
||||
desc: 例如:cls-6lbj1vee
|
||||
request: true
|
||||
order: 0
|
||||
namespace:
|
||||
title: 集群namespace
|
||||
value: default
|
||||
required: true
|
||||
order: 0
|
||||
secretName:
|
||||
title: 证书的secret名称
|
||||
required: true
|
||||
order: 0
|
||||
ingressName:
|
||||
title: ingress名称
|
||||
required: true
|
||||
order: 0
|
||||
ingressClass:
|
||||
title: ingress类型
|
||||
component:
|
||||
name: a-auto-complete
|
||||
vModel: value
|
||||
options:
|
||||
- value: qcloud
|
||||
- value: nginx
|
||||
helper: 可选 qcloud / nginx
|
||||
order: 0
|
||||
clusterDomain:
|
||||
title: 集群域名
|
||||
helper: 可不填,默认为:[clusterId].ccs.tencent-cloud.com
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: access授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
tencentCertId:
|
||||
title: 腾讯云证书id
|
||||
helper: 请选择“上传证书到腾讯云”前置任务的输出
|
||||
component:
|
||||
name: output-selector
|
||||
from: UploadCertToTencent
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
show: ctx.compute(({form})=>{
|
||||
return form.ingressClass === "qcloud"
|
||||
})
|
||||
}
|
||||
|
||||
required: true
|
||||
order: 0
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
show: ctx.compute(({form})=>{
|
||||
return form.ingressClass === "nginx"
|
||||
})
|
||||
}
|
||||
|
||||
required: true
|
||||
order: 0
|
||||
output: {}
|
||||
pluginType: deploy
|
||||
@@ -0,0 +1,36 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: UploadCertToTencent
|
||||
title: 腾讯云-上传证书到腾讯云
|
||||
icon: svg:icon-tencentcloud
|
||||
desc: 上传成功后输出:tencentCertId
|
||||
group: tencent
|
||||
input:
|
||||
name:
|
||||
title: 证书名称
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: access授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
required: true
|
||||
order: 0
|
||||
output:
|
||||
tencentCertId:
|
||||
title: 上传成功后的腾讯云CertId
|
||||
pluginType: deploy
|
||||
+133
@@ -0,0 +1,133 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 0
|
||||
name: TencentActionInstancesPlugin
|
||||
title: 腾讯云-实例开关机
|
||||
icon: svg:icon-tencentcloud
|
||||
group: tencent
|
||||
desc: 腾讯云实例开关机
|
||||
needPlus: false
|
||||
input:
|
||||
accessId:
|
||||
title: Access提供者
|
||||
helper: access 授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
region:
|
||||
title: 所在地域
|
||||
helper: 实例所在地域
|
||||
component:
|
||||
name: a-auto-complete
|
||||
vModel: value
|
||||
options:
|
||||
- value: ''
|
||||
label: '--------中国大陆地区-------'
|
||||
disabled: true
|
||||
- value: ap-beijing-1
|
||||
label: 北京1区
|
||||
- value: ap-beijing
|
||||
label: 北京
|
||||
- value: ap-nanjing
|
||||
label: 南京
|
||||
- value: ap-shanghai
|
||||
label: 上海
|
||||
- value: ap-guangzhou
|
||||
label: 广州
|
||||
- value: ap-chengdu
|
||||
label: 成都
|
||||
- value: ap-chongqing
|
||||
label: 重庆
|
||||
- value: ap-shenzhen-fsi
|
||||
label: 深圳金融
|
||||
- value: ap-shanghai-fsi
|
||||
label: 上海金融
|
||||
- value: ap-beijing-fsi
|
||||
label: 北京金融
|
||||
- value: ''
|
||||
label: '--------中国香港及境外-------'
|
||||
disabled: true
|
||||
- value: ap-hongkong
|
||||
label: 中国香港
|
||||
- value: ap-singapore
|
||||
label: 新加坡
|
||||
- value: ap-mumbai
|
||||
label: 孟买
|
||||
- value: ap-jakarta
|
||||
label: 雅加达
|
||||
- value: ap-seoul
|
||||
label: 首尔
|
||||
- value: ap-bangkok
|
||||
label: 曼谷
|
||||
- value: ap-tokyo
|
||||
label: 东京
|
||||
- value: na-siliconvalley
|
||||
label: 硅谷
|
||||
- value: na-ashburn
|
||||
label: 弗吉尼亚
|
||||
- value: sa-saopaulo
|
||||
label: 圣保罗
|
||||
- value: eu-frankfurt
|
||||
label: 法兰克福
|
||||
required: true
|
||||
order: 0
|
||||
instanceId:
|
||||
title: 实列ID
|
||||
component:
|
||||
name: remote-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
type: plugin
|
||||
typeName: TencentStartInstancesPlugin
|
||||
action: onGetInstanceList
|
||||
watches:
|
||||
- certDomains
|
||||
- accessId
|
||||
- region
|
||||
required: true
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
component:{
|
||||
form: ctx.compute(({form})=>{
|
||||
return form
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
helper: 请选择实列
|
||||
order: 0
|
||||
action:
|
||||
title: 操作
|
||||
component:
|
||||
name: a-radio-group
|
||||
vModel: value
|
||||
options:
|
||||
- value: start
|
||||
label: 开机
|
||||
- value: stop
|
||||
label: 关机
|
||||
required: true
|
||||
order: 0
|
||||
charging:
|
||||
title: 实例关机不收费
|
||||
value: true
|
||||
component:
|
||||
name: a-switch
|
||||
vModel: checked
|
||||
placeholder: 按量计费实例关机不收费
|
||||
required: false
|
||||
mergeScript: |2-
|
||||
|
||||
return {
|
||||
show: ctx.compute(({form})=>{
|
||||
return form.action === 'stop';
|
||||
})
|
||||
}
|
||||
|
||||
order: 0
|
||||
output: {}
|
||||
pluginType: deploy
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
showRunStrategy: false
|
||||
default:
|
||||
strategy:
|
||||
runStrategy: 1
|
||||
name: UploadCertToTencent
|
||||
title: 腾讯云-上传证书到腾讯云
|
||||
icon: svg:icon-tencentcloud
|
||||
desc: 上传成功后输出:tencentCertId
|
||||
group: tencent
|
||||
input:
|
||||
name:
|
||||
title: 证书名称
|
||||
order: 0
|
||||
accessId:
|
||||
title: Access授权
|
||||
helper: access授权
|
||||
component:
|
||||
name: access-selector
|
||||
type: tencent
|
||||
required: true
|
||||
order: 0
|
||||
cert:
|
||||
title: 域名证书
|
||||
helper: 请选择前置任务输出的域名证书
|
||||
component:
|
||||
name: output-selector
|
||||
from:
|
||||
- CertApply
|
||||
- CertApplyLego
|
||||
- CertApplyUpload
|
||||
required: true
|
||||
order: 0
|
||||
output:
|
||||
tencentCertId:
|
||||
title: 上传成功后的腾讯云CertId
|
||||
pluginType: deploy
|
||||
Reference in New Issue
Block a user