【发布时间】:2018-12-14 20:50:48
【问题描述】:
我正在编写一个 Azure 资源管理器模板,用于使用 PostgreSQL 部署和构建 Web 应用程序,using the template provided here。
在资源类型部分Microsoft.DBforPostgreSQL/servers -- documentation reference here -- 在数据库大小方面提到了多个值; Sku Size,定义为 字符串,以及 storageMB,表示服务器允许的最大存储空间的整数。
链接文档中没有给出确切说明 Sku 大小需要什么字符串的示例。这里应该输入什么,它与数据库 storageMB 的定义有何不同?
资源 JSON 树
{
"name": "string",
"type": "Microsoft.DBforPostgreSQL/servers",
"apiVersion": "2017-12-01",
"sku": {
"name": "string",
"tier": "string",
"capacity": "integer",
"size": "string",
"family": "string"
},
"properties": {
"version": "string",
"sslEnforcement": "string",
"storageProfile": {
"backupRetentionDays": "integer",
"geoRedundantBackup": "string",
"storageMB": "integer"
},
"createMode": "string"
},
"location": "string",
"tags": {},
"resources": []
}
定义
Sku 尺寸(字符串,不需要) - 尺寸代码,由资源酌情解释。
storageMB(整数,不需要) - 服务器允许的最大存储空间。
【问题讨论】:
标签: postgresql azure