-
Notifications
You must be signed in to change notification settings - Fork 2
/
publish.yaml
78 lines (78 loc) · 2.1 KB
/
publish.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Edition: 3.0.0
Type: Project
Name: start-word2pdf-v3
Provider:
- 阿里云
Version: 0.0.8
Description: 本案例是将 word 转 pdf 的逻辑封装成一个python函数,快速创建并部署到阿里云函数计算 FC。
HomePage: https://github.com/devsapp/start-word2pdf
Organization: 阿里云函数计算(FC)
Effective: Public
Tags:
- 文档转换
- 计算任务
- 文档加水印
Category: 图文处理
Service:
函数计算:
Authorities:
- AliyunFCFullAccess
Parameters:
type: object
additionalProperties: false # 不允许增加其他属性
required: # 必填项
- region
- functionName
- timeZone
- ossBucket
- roleArn
properties:
region:
title: 地域
type: string
default: cn-hangzhou
description: 创建应用所在的地区
enum:
- cn-beijing
- cn-shanghai
- cn-hangzhou
- cn-shenzhen
- cn-zhangjiakou
- cn-wulanchabu
- cn-huhehaote
- cn-hongkong
- ap-northeast-1
- ap-southeast-1
- eu-central-1
- us-east-1
functionName:
title: 函数名
type: string
default: word2pdf-${default-suffix}
pattern: "^[a-zA-Z_][a-zA-Z0-9-_]{0,63}$"
description: 函数名称,只能包含字母、数字、下划线和中划线。不能以数字、中划线开头。长度在 1-64 之间
timeZone:
title: 时区
type: string
default: Asia/Shanghai
description: 创建的应用函数执行时候所在实例的时区, 详情参考 https://docs.oracle.com/middleware/12211/wcs/tag-ref/MISC/TimeZones.html
ossBucket:
title: OSS 存储桶名
type: string
default: ""
description: OSS 存储桶名
x-bucket:
dependency:
- region
roleArn:
title: RAM角色ARN
type: string
default: ""
pattern: "^acs:ram::[0-9]*:role/.*$"
description: "函数计算访问对象存储 OSS 服务时使用的服务角色"
required: true
x-role:
name: fcossrole
service: fc
authorities:
- AliyunOSSFullAccess