你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

az postgres flexible-server fabric-mirroring

将 PostgreSQL 数据引入 Microsoft Fabric。 镜像允许在 OneLake 中创建数据的副本,该副本可用于所有分析需求。

命令

名称 说明 类型 Status
az postgres flexible-server fabric-mirroring start

启用将 PostgreSQL 数据引入 Microsoft Fabric。

核心 加语
az postgres flexible-server fabric-mirroring stop

停止将 PostgreSQL 数据引入 Microsoft Fabric。

核心 加语
az postgres flexible-server fabric-mirroring update-databases

更新允许的镜像数据库。

核心 加语

az postgres flexible-server fabric-mirroring start

启用将 PostgreSQL 数据引入 Microsoft Fabric。

az postgres flexible-server fabric-mirroring start --database-names
                                                   --resource-group
                                                   --server-name
                                                   [--yes]

示例

启用将 PostgreSQL 数据引入 Microsoft Fabric。

az postgres flexible-server fabric-mirroring start -g testgroup -s testsvr --database-names testdb

必需参数

--database-names -d

要镜像的数据库名称的空格分隔列表。 如果启用了 --mirroring,则为必需。

--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。

--server-name -s

服务器的名称。 名称只能包含小写字母、数字和连字符 (-) 字符。 最少 3 个字符,最多 63 个字符。

可选参数

--yes -y

不要提示确认。

默认值: False
全局参数
--debug

增加日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关详细信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID配置默认订阅。

--verbose

增加日志记录详细程度。 对完整调试日志使用 --debug。

az postgres flexible-server fabric-mirroring stop

停止将 PostgreSQL 数据引入 Microsoft Fabric。

az postgres flexible-server fabric-mirroring stop --resource-group
                                                  --server-name
                                                  [--yes]

示例

停止将 PostgreSQL 数据引入 Microsoft Fabric。

az postgres flexible-server fabric-mirroring stop -g testgroup -s testsvr

必需参数

--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。

--server-name -s

服务器的名称。 名称只能包含小写字母、数字和连字符 (-) 字符。 最少 3 个字符,最多 63 个字符。

可选参数

--yes -y

不要提示确认。

默认值: False
全局参数
--debug

增加日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关详细信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID配置默认订阅。

--verbose

增加日志记录详细程度。 对完整调试日志使用 --debug。

az postgres flexible-server fabric-mirroring update-databases

更新允许的镜像数据库。

az postgres flexible-server fabric-mirroring update-databases --database-names
                                                              --resource-group
                                                              --server-name
                                                              [--yes]

示例

更新允许的镜像数据库。

az postgres flexible-server fabric-mirroring update-databases -g testgroup -s testsvr --database-names testdb2 testdb3

必需参数

--database-names -d

要镜像的数据库名称的空格分隔列表。 如果启用了 --mirroring,则为必需。

--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。

--server-name -s

服务器的名称。 名称只能包含小写字母、数字和连字符 (-) 字符。 最少 3 个字符,最多 63 个字符。

可选参数

--yes -y

不要提示确认。

默认值: False
全局参数
--debug

增加日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关详细信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID配置默认订阅。

--verbose

增加日志记录详细程度。 对完整调试日志使用 --debug。