publish.yaml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. Type: Application
  2. Name: rds-mysql-fc-http-java11
  3. Version: 0.0.1
  4. Provider:
  5. - 阿里云
  6. Description: 快速部署一个读写 Mysql 数据库的函数到阿里云函数计算。
  7. HomePage: https://github.com/devsapp/start-fc
  8. Tags:
  9. - 函数计算
  10. - 新手入门
  11. Category: 新手入门
  12. Service:
  13. 函数计算:
  14. Authorities:
  15. - AliyunFCFullAccess
  16. Runtime: Java11
  17. Parameters:
  18. type: object
  19. additionalProperties: false # 不允许增加其他属性
  20. required: # 必填项
  21. - region
  22. - serviceName
  23. - functionName
  24. - mysqlUrl
  25. - mysqlPort
  26. - mysqlDatabase
  27. - mysqlUser
  28. - mysqlPassword
  29. properties:
  30. region:
  31. title: 地域
  32. type: string
  33. default: cn-hangzhou
  34. description: 创建应用所在的地区
  35. enum:
  36. - cn-beijing
  37. - cn-hangzhou
  38. - cn-shanghai
  39. - cn-qingdao
  40. - cn-zhangjiakou
  41. - cn-huhehaote
  42. - cn-shenzhen
  43. - cn-chengdu
  44. - cn-hongkong
  45. - ap-southeast-1
  46. - ap-southeast-2
  47. - ap-southeast-3
  48. - ap-southeast-5
  49. - ap-northeast-1
  50. - eu-central-1
  51. - eu-west-1
  52. - us-west-1
  53. - us-east-1
  54. - ap-south-1
  55. serviceName:
  56. title: 服务名
  57. type: string
  58. default: rds-mysql-quick-start
  59. description: 服务名称,只能包含字母、数字、下划线和中划线。不能以数字、中划线开头。长度在 1-128 之间
  60. functionName:
  61. title: 函数名
  62. type: string
  63. default: rds-mysql-http-function-java
  64. description: 函数名称,只能包含字母、数字、下划线和中划线。不能以数字、中划线开头。长度在 1-64 之间
  65. mysqlUrl:
  66. title: Mysql 地址
  67. type: string
  68. description: Mysql地址,可登陆RDS控制台->实例列表->基本信息->网络类型->外网地址 查看
  69. mysqlPort:
  70. title: Mysql 端口
  71. type: string
  72. default: 3306
  73. description: Mysql端口号,默认3306
  74. mysqlDatabase:
  75. title: Mysql 数据库名
  76. type: string
  77. description: Mysql数据库名,可登陆RDS控制台->实例列表->数据库管理->数据库名称 查看
  78. mysqlUser:
  79. title: Mysql 用户
  80. type: string
  81. description: Mysql用户,可登陆RDS控制台->实例列表->账号管理->用户账号 查看
  82. mysqlPassword:
  83. title: Mysql 密码
  84. type: string
  85. description: Mysql密码,可登陆RDS控制台->实例列表->账号管理->用户账号 查看