Files
certd/packages/ui/certd-server/metadata/deploy_AliyunDeployCertToFC.yaml

155 lines
3.9 KiB
YAML
Raw Normal View History

2025-04-27 15:11:50 +08:00
showRunStrategy: false
default:
strategy:
runStrategy: 1
name: AliyunDeployCertToFC
title: 阿里云-部署至阿里云FC(3.0)
icon: svg:icon-aliyun
group: aliyun
2025-12-30 11:09:50 +08:00
desc: 部署证书到阿里云函数计算FC3.0
needPlus: false
2025-04-27 15:11:50 +08:00
input:
cert:
title: 域名证书
helper: 请选择证书申请任务输出的域名证书
component:
name: output-selector
from:
2025-12-30 11:09:50 +08:00
- ':cert:'
2025-04-27 15:11:50 +08:00
required: true
order: 0
certDomains:
title: 当前证书域名
component:
name: cert-domains-getter
mergeScript: |2-
return {
component:{
inputKey: ctx.compute(({form})=>{
return form.cert
}),
}
}
2025-12-30 11:09:50 +08:00
template: false
2025-04-27 15:11:50 +08:00
required: false
order: 0
regionId:
title: FC大区
value: cn-hangzhou
component:
name: a-auto-complete
vModel: value
options:
- value: cn-qingdao
label: 华北1青岛
- value: cn-beijing
label: 华北2北京
- value: cn-zhangjiakou
label: 华北 3张家口
- value: cn-huhehaote
label: 华北5呼和浩特
- value: cn-hangzhou
label: 华东1杭州
- value: cn-shanghai
label: 华东2上海
- value: cn-shenzhen
label: 华南1深圳
- value: ap-southeast-2
label: 澳大利亚(悉尼)
- value: eu-central-1
label: 德国(法兰克福)
- value: ap-southeast-3
label: 马来西亚(吉隆坡)
- value: us-east-1
label: 美国(弗吉尼亚)
- value: us-west-1
label: 美国(硅谷)
- value: ap-northeast-1
label: 日本(东京)
- value: ap-southeast-7
label: 泰国(曼谷)
- value: cn-chengdu
label: 西南1成都
- value: ap-southeast-1
label: 新加坡
- value: ap-south-1
label: 印度(孟买)
- value: ap-southeast-5
label: 印度尼西亚(雅加达)
- value: eu-west-1
label: 英国(伦敦)
- value: cn-hongkong
label: 中国香港
required: true
order: 0
accountId:
title: 阿里云账号id
helper: 阿里云主账号ID右上角头像下方获取
component:
name: a-input
vModel: value
required: true
order: 0
accessId:
title: Access授权
helper: 阿里云授权AccessKeyId、AccessKeySecret
component:
name: access-selector
type: aliyun
required: true
order: 0
fcDomains:
title: FC域名
component:
name: remote-select
vModel: value
mode: tags
type: plugin
typeName: AliyunDeployCertToFC
action: onGetDomainList
2025-12-30 11:09:50 +08:00
search: false
pager: false
2026-03-17 14:01:18 +08:00
multi: true
2025-04-27 15:11:50 +08:00
watches:
- certDomains
- accessId
- accessId
- regionId
required: true
mergeScript: |2-
return {
component:{
form: ctx.compute(({form})=>{
return form
})
},
}
2025-12-30 11:09:50 +08:00
helper: 请选择要部署证书的域名
2025-04-27 15:11:50 +08:00
order: 0
protocol:
title: 域名支持的协议类型
2025-12-30 11:09:50 +08:00
value: ''
2025-04-27 15:11:50 +08:00
component:
name: a-select
2025-12-30 11:09:50 +08:00
vModel: value
2025-04-27 15:11:50 +08:00
options:
- value: ''
label: 保持原样适用于原来已经开启了HTTPS
- value: HTTPS
label: 仅HTTPS
- value: HTTP,HTTPS
label: HTTP与HTTPS同时支持
order: 0
2025-12-30 11:09:50 +08:00
certName:
title: 证书名称
helper: 上传后将以此名称作为前缀备注
order: 0
2025-04-27 15:11:50 +08:00
output: {}
pluginType: deploy
type: builtIn
scriptFilePath: /plugins/plugin-aliyun/plugin/deploy-to-fc/index.js