选项
|
默认值
|
说明
|
---|---|---|
-d | -D | --database | -n | --name
|
thingworx
|
要在 Azure 中创建的数据库的名称。
|
-g | --resourceGroup
|
Azure 中用于创建数据库的资源组的名称。
|
|
-h | -H | --server
|
用于存储数据库的 SQL Server 资源。
|
|
-c | --capacity
|
以整数 DTU 或 Vcore 表示的 SKU 容量组件。
|
|
--catalog-collation
|
元数据目录的校对。接受值:DATABASE_DEFAULT、SQL_Latin1_General_CP1_CI_AS。
|
|
--collation
|
Latin1_General_100_CS_AS_SC
|
用于数据库的校对。
|
-e | --edition | --tier
|
SKU 的版本组件。接受值:Basic、Standard、Premium、GeneralPurpose、BusinessCritical。
|
|
--elastic-pool
|
与数据库相关联的弹性池的名称。
|
|
-f | --family
|
SKU 的计算生成组件 - 仅适用于 Vcore SKU。接受值:Gen4、Gen5。
|
|
--license-type
|
要应用于此 Azure SQL 数据库的许可证类型。接受值:BasePrice、LicenseIncluded。
|
|
--max-size
|
最大存储大小。如果未指定单位,则默认单位为字节 B。
|
|
--no-wait
|
不等待长时间运行的操作完成。
|
|
--sample-name
|
要在创建此数据库时应用的示例架构的名称。
|
|
--service-objective
|
基于数据库设置的 SLA。接受值:S0、P1、GP_Gen4_1、BC_Gen5_2
|
|
--tags
|
数据库上用于在搜索时进行筛选的标记。
|
|
--use-device-code
|
false
|
指定要使用的身份验证类型。true 代表设备代码,false 代表浏览器登录。
|
-z | --zone-redundant
|
指定是否启用区域冗余。
|
-d | -D | --database | -n | --name
|
thingworx
|
要在 Azure 中创建的数据库的名称。
|
-h | -H | --server
|
用于存储数据库的 SQL Server 资源。
|
|
-i | -I
|
保留数据库的服务器实例。
|
|
-s | -S | --schema
|
twschema
|
用于标识基于此脚本创建的所有 SQL 对象的架构。
|
-t | -T
|
ThingWorx 用于对 Azure SQL 数据库进行身份验证的密码。
|
|
-l | -L
|
用于登录 Azure SQL Server 资源的 SQL Server 用户名。
|
|
-u | -U
|
twadmin
|
ThingWorx 用于对 Azure SQL 数据库进行身份验证的用户名。
|
-o | -O | --option
|
all
|
传入其中一个可用选项以指示要安装的架构部分。
可用选项:all、property、model、data、modelwithproperty 和 enablesso。
|
选项
|
默认值
|
说明
|
---|---|---|
-d | -D | --database | -n | --name
|
thingworx
|
要在 Azure 中删除的数据库的名称
|
-h | -H | --server
|
用于存储数据库的 SQL Server 资源
|
|
-g | --resourceGroup
|
Azure 中数据库所在的资源组
|
|
-y | --yes
|
不提示确认
|
|
--no-wait
|
不等待长时间运行的操作完成
|
|
--use-device-code
|
false
|
指定要使用的身份验证类型。true 代表设备代码,false 代表浏览器登录。
|
选项
|
默认值
|
说明
|
---|---|---|
-d | -D
|
thingworx
|
受管理实例中待清除的数据库的名称
|
-h | -H
|
受管理实例名称
|
|
-i | -I
|
保留数据库的服务器实例。
|
|
-a | -A
|
受管理实例管理员登录
|
|
-s | -S
|
twschema
|
用于标识基于此脚本创建的所有 SQL 对象的架构
|
-l | -L
|
twadmin
|
用于登录 Azure SQL Server 资源的 SQL Server 用户名
|
-u | -U
|
ThingWorx 用于对 Azure SQL 数据库进行身份验证的用户名
|
选项
|
默认值
|
说明
|
---|---|---|
-d | -D
|
thingworx
|
受管理实例中待清除的数据库的名称。
|
-h | -H
|
受管理实例名称。
|
|
- i | -I
|
保留数据库的服务器实例。
|
|
-l | -L
|
twadmin
|
用于登录 Azure SQL Server 资源的 SQL Server 用户名。
|
-o | -O
|
all
|
传入其中一个可用选项以指示要安装的架构部分
有效值:all、enablesso、model、property、data、modelwithproperty
|
选项
|
默认值
|
说明
|
---|---|---|
-d | -D
|
thingworx
|
受管理实例中待清除的数据库的名称。
|
-h | -H
|
受管理实例名称。
|
|
-i | -I
|
保留数据库的服务器实例。
|
|
-a | -A
|
受管理实例管理员登录
|
选项
|
默认值
|
说明
|
---|---|---|
-n | --name
|
要在 Azure 中创建的弹性池的名称。
|
|
-g | --resourceGroup
|
Azure 中用于创建数据库的资源组。
通过以下方式配置默认值:
az configure --defaults group=<name>
|
|
-h | -H | --server
|
用于存储数据库的 SQL Server 资源。
通过以下方式配置默认值:
az configure --defaults sql-server=<name>
|
|
-c | --capacity | --dtu
|
以整数 DTU 或 Vcore 表示的 SKU 容量组件。
|
|
--db-dtu-max | --db-max-capacity | --db-max-dtu
|
任何数据库均可使用的最大容量 (以 DTU 或 Vcore 表示)。
|
|
--db-dtu-min | --db-min-capacity | --db-min-dtu
|
每个数据库的最小保证容量 (以 DTU 或 Vcore 表示)。
|
|
-e | --edition | --tier
|
SKU 的版本组件。
允许值包括:Basic、Standard、Premium、GeneralPurpose、BusinessCritical。
|
|
-f | --family
|
SKU 的计算生成组件 - 仅适用于 Vcore SKU。
允许值包括:Gen4、Gen5。
|
|
--license-type
|
要应用于此弹性池的许可证类型。
允许值包括:BasePrice、LicenseIncluded。
|
|
--max-size
|
最大存储大小。如果未指定单位,则默认单位为字节 B。
|
|
--no-wait
|
不等待长时间运行的操作完成。
|
|
--tags
|
数据库上用于在搜索时进行筛选的标记。
|
|
-z | --zone-redundant
|
指定是否启用区域冗余。
|
选项
|
默认值
|
说明
|
---|---|---|
-n | --name
|
要在 Azure 中删除的弹性池的名称
|
|
-h | -H | --server
|
用于存储弹性池的 SQL Server 资源。
|
|
-g | --resourceGroup
|
Azure 中弹性池所在的资源组。
|
|
-y | --yes
|
不提示确认。
|
|
--no-wait
|
不等待长时间运行的操作完成。
|
|
--use-device-code
|
指定要使用的身份验证类型。True 代表设备代码,false 代表浏览器登录。
|