az oracle-database autonomous-database

注释

此参考是 Azure CLI(版本 2.57.0 或更高版本)oracle 数据库 扩展的一部分。 该扩展将在首次运行 az oracle-database autonomous-database 命令时自动安装。 了解更多关于扩展 的相关信息。

Oracle 自治数据库。

命令

名称 说明 类型 Status
az oracle-database autonomous-database backup

自治数据库备份。

扩展 GA
az oracle-database autonomous-database backup create

创建 AutonomousDatabaseBackup。

扩展 GA
az oracle-database autonomous-database backup delete

删除 AutonomousDatabaseBackup。

扩展 GA
az oracle-database autonomous-database backup list

按 AutonomousDatabase 列出 AutonomousDatabaseBackup 资源。

扩展 GA
az oracle-database autonomous-database backup show

获取 AutonomousDatabaseBackup。

扩展 GA
az oracle-database autonomous-database backup update

更新 AutonomousDatabaseBackup。

扩展 GA
az oracle-database autonomous-database backup wait

将 CLI 置于等待状态,直到满足条件。

扩展 GA
az oracle-database autonomous-database character-set

自治数据库字符集。

扩展 GA
az oracle-database autonomous-database character-set list

按位置列出 AutonomousDatabaseCharacterSet 资源。

扩展 GA
az oracle-database autonomous-database create

创建 AutonomousDatabase。

扩展 GA
az oracle-database autonomous-database delete

删除 AutonomousDatabase。

扩展 GA
az oracle-database autonomous-database failover

对自治数据库执行故障转移作。

扩展 GA
az oracle-database autonomous-database list

按订阅 ID 列出 AutonomousDatabase 资源。

扩展 GA
az oracle-database autonomous-database national-character-set

自治数据库国家字符集。

扩展 GA
az oracle-database autonomous-database national-character-set list

按位置列出 AutonomousDatabaseNationalCharacterSet 资源。

扩展 GA
az oracle-database autonomous-database restore

根据提供的请求参数还原自治数据库。

扩展 GA
az oracle-database autonomous-database show

获取 AutonomousDatabase。

扩展 GA
az oracle-database autonomous-database switchover

对自治数据库执行切换作。

扩展 GA
az oracle-database autonomous-database update

更新 AutonomousDatabase。

扩展 GA
az oracle-database autonomous-database version

自治数据库版本。

扩展 GA
az oracle-database autonomous-database version list

按位置列出 AutonomousDbVersion 资源。

扩展 GA
az oracle-database autonomous-database wait

将 CLI 置于等待状态,直到满足条件。

扩展 GA

az oracle-database autonomous-database create

创建 AutonomousDatabase。

az oracle-database autonomous-database create --autonomousdatabasename --name
                                              --resource-group
                                              [--admin-password]
                                              [--autonomous-database-id]
                                              [--autonomous-maintenance-schedule-type --schedule-type {Early, Regular}]
                                              [--backup-retention-period-in-days --retention-days]
                                              [--character-set]
                                              [--clone]
                                              [--compute-count]
                                              [--compute-model {ECPU, OCPU}]
                                              [--cpu-auto-scaling --is-auto-scaling-enabled {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--cpu-core-count]
                                              [--customer-contacts]
                                              [--data-storage-size-in-gbs --storage-gbs]
                                              [--data-storage-size-in-tbs --storage-tbs]
                                              [--database-edition {EnterpriseEdition, StandardEdition}]
                                              [--db-version]
                                              [--db-workload {AJD, APEX, DW, OLTP}]
                                              [--display-name]
                                              [--is-auto-scaling-for-storage-enabled --store-auto-scaling {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--is-local-data-guard-enabled --local-data-guard {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--is-mtls-connection-required --mtls-reqd {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--is-preview-version-with-service-terms-accepted --preview-accepted {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--license-model {BringYourOwnLicense, LicenseIncluded}]
                                              [--___location]
                                              [--ncharacter-set]
                                              [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--private-endpoint-ip]
                                              [--private-endpoint-label]
                                              [--regular]
                                              [--scheduled-operations]
                                              [--subnet-id]
                                              [--tags]
                                              [--vnet-id]
                                              [--whitelisted-ips]

示例

创建自治数据库

az oracle-database autonomous-database create --___location <___location> --autonomousdatabasename <name> --resource-group <resource_group> --subnet-id /<subnet_id> --display-name <display_name> --compute-model ECPU --compute-count <compute_count> --data-storage-size-in-gbs <storage_size> --license-model <BringYourOwnLicense/LicenseIncluded> --db-workload <OLTP> --admin-password <password> --db-version 19c --character-set AL32UTF8 --ncharacter-set AL16UTF16 --vnet-id <virtual network id> --regular

必需参数

--autonomousdatabasename --name -n

数据库名称。

--resource-group -g

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

可选参数

--admin-password

管理员密码。 如果值为空,则从 tty 中询问该值。

--autonomous-database-id

自治数据库 ID。

--autonomous-maintenance-schedule-type --schedule-type

自治无服务器数据库的维护计划类型。

接受的值: Early, Regular
--backup-retention-period-in-days --retention-days

长期备份的保留期(以天为单位)。

--character-set

自治数据库的字符集。

--clone

支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

--compute-count

数据库可用的计算量(CPU)。

--compute-model

自治数据库的计算模型。

接受的值: ECPU, OCPU
--cpu-auto-scaling --is-auto-scaling-enabled

指示是否为自治数据库 CPU 核心计数启用了自动缩放。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--cpu-core-count

要提供给数据库的 CPU 内核数。

--customer-contacts

客户联系人。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

--data-storage-size-in-gbs --storage-gbs

将创建并附加到数据库的数据卷的大小(以 GB 为单位)。

--data-storage-size-in-tbs --storage-tbs

数据库中的数据量(以 TB 为单位)。

--database-edition

适用于自治数据库的 Oracle 数据库版本。

接受的值: EnterpriseEdition, StandardEdition
--db-version

适用于自治数据库的有效 Oracle 数据库版本。

--db-workload

自治数据库工作负荷类型。

接受的值: AJD, APEX, DW, OLTP
--display-name

自治数据库的用户友好名称。

--is-auto-scaling-for-storage-enabled --store-auto-scaling

指示是否为自治数据库存储启用了自动缩放。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--is-local-data-guard-enabled --local-data-guard

指示自治数据库是启用了本地数据库还是启用了区域内 Data Guard。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--is-mtls-connection-required --mtls-reqd

指定自治数据库是否需要 mTLS 连接。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--is-preview-version-with-service-terms-accepted --preview-accepted

指定是否预配自治数据库预览版。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--license-model

适用于 Oracle 自治数据库的 Oracle 许可证模型。 默认值为LICENSE_INCLUDED。

接受的值: BringYourOwnLicense, LicenseIncluded
--___location -l

未指定资源所在的地理位置,将使用资源组的位置。

--ncharacter-set

自治数据库的字符集。

--no-wait

不等待长时间运行的操作完成。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--private-endpoint-ip

资源的专用终结点 IP 地址。

--private-endpoint-label

资源的专用终结点标签。

--regular

支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

--scheduled-operations

计划操作的列表。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

--subnet-id

客户端子网。

--tags

资源标记。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

--vnet-id

用于网络连接的 VNET。

--whitelisted-ips

客户端 IP 访问控制列表(ACL)。 这是 CIDR 表示法和/或 IP 地址的数组。 值应是单独的字符串,用逗号分隔。 示例:['1.1.1.1','1.1.1.0/24','1.1.2.25'] 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

全局参数
--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 oracle-database autonomous-database delete

删除 AutonomousDatabase。

az oracle-database autonomous-database delete [--autonomousdatabasename --name]
                                              [--ids]
                                              [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--resource-group]
                                              [--subscription]
                                              [--yes]

示例

删除自治数据库

az oracle-database autonomous-database delete --name <ADBS name> --resource-group <resource_group>

可选参数

--autonomousdatabasename --name -n

数据库名称。

--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

--no-wait

不等待长时间运行的操作完成。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--resource-group -g

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

--subscription

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

--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 oracle-database autonomous-database failover

对自治数据库执行故障转移作。

az oracle-database autonomous-database failover [--autonomousdatabasename]
                                                [--ids]
                                                [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                                [--peer-db-id]
                                                [--resource-group]
                                                [--subscription]

示例

故障转移

az oracle-database autonomous-database failover --autonomousdatabasename <ADBS name> --resource-group <resource_group> --peer-db-id <id>

可选参数

--autonomousdatabasename

数据库名称。

--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

--no-wait

不等待长时间运行的操作完成。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--peer-db-id

灾难恢复对等数据库的数据库 OCID,该数据库位于与当前对等数据库不同的区域中。

--resource-group -g

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

--subscription

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

全局参数
--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 oracle-database autonomous-database list

按订阅 ID 列出 AutonomousDatabase 资源。

az oracle-database autonomous-database list [--max-items]
                                            [--next-token]
                                            [--resource-group]

示例

列出自治数据库

az oracle-database autonomous-database list --resource-group <resource_group>

可选参数

--max-items

命令输出中要返回的项总数。 如果可用的项总数大于指定的值,则会在命令的输出中提供令牌。 若要恢复分页,请在后续命令的 --next-token 参数中提供令牌值。

--next-token

用于指定开始分页的位置的令牌。 这是先前截断的响应中的令牌值。

--resource-group -g

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

全局参数
--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 oracle-database autonomous-database restore

根据提供的请求参数还原自治数据库。

az oracle-database autonomous-database restore --timestamp
                                               [--autonomousdatabasename]
                                               [--ids]
                                               [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                               [--resource-group]
                                               [--subscription]

示例

还原自治数据库

az oracle-database autonomous-database restore --autonomousdatabasename <ADBS name> --resource-group <resource_group> --timestamp <timestamp>

必需参数

--timestamp

将数据库还原到的时间。

可选参数

--autonomousdatabasename

数据库名称。

--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

--no-wait

不等待长时间运行的操作完成。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--resource-group -g

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

--subscription

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

全局参数
--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 oracle-database autonomous-database show

获取 AutonomousDatabase。

az oracle-database autonomous-database show [--autonomousdatabasename --name]
                                            [--ids]
                                            [--resource-group]
                                            [--subscription]

示例

获取自治数据库

az oracle-database autonomous-database show --autonomousdatabasename <ADBS name> --resource-group <resource_group>

可选参数

--autonomousdatabasename --name -n

数据库名称。

--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

--resource-group -g

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

--subscription

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

全局参数
--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 oracle-database autonomous-database switchover

对自治数据库执行切换作。

az oracle-database autonomous-database switchover [--autonomousdatabasename]
                                                  [--ids]
                                                  [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                                  [--peer-db-id]
                                                  [--resource-group]
                                                  [--subscription]

示例

切换

az oracle-database autonomous-database switchover --autonomousdatabasename <ADBS name> --resource-group <resource_group> --peer-db-id <id>

可选参数

--autonomousdatabasename

数据库名称。

--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

--no-wait

不等待长时间运行的操作完成。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--peer-db-id

灾难恢复对等数据库的数据库 OCID,该数据库位于与当前对等数据库不同的区域中。

--resource-group -g

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

--subscription

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

全局参数
--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 oracle-database autonomous-database update

更新 AutonomousDatabase。

az oracle-database autonomous-database update [--add]
                                              [--admin-password]
                                              [--autonomous-maintenance-schedule-type --schedule-type {Early, Regular}]
                                              [--autonomousdatabasename --name]
                                              [--backup-retention-period-in-days --retention-days]
                                              [--backup-schedule --long-term-backup-schedule]
                                              [--clone]
                                              [--compute-count]
                                              [--cpu-auto-scaling --is-auto-scaling-enabled {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--cpu-core-count]
                                              [--customer-contacts]
                                              [--data-storage-size-in-gbs --storage-gbs]
                                              [--data-storage-size-in-tbs --storage-tbs]
                                              [--database-edition {EnterpriseEdition, StandardEdition}]
                                              [--display-name]
                                              [--failover-limit --local-adg-auto-failover-max-data-loss-limit]
                                              [--force-string {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--ids]
                                              [--is-auto-scaling-for-storage-enabled --store-auto-scaling {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--is-local-data-guard-enabled --local-data-guard {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--is-mtls-connection-required --mtls-reqd {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--license-model {BringYourOwnLicense, LicenseIncluded}]
                                              [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--open-mode {ReadOnly, ReadWrite}]
                                              [--peer-db-id]
                                              [--permission-level {Restricted, Unrestricted}]
                                              [--regular]
                                              [--remove]
                                              [--resource-group]
                                              [--role {BackupCopy, DisabledStandby, Primary, SnapshotStandby, Standby}]
                                              [--scheduled-operations]
                                              [--set]
                                              [--subscription]
                                              [--tags]
                                              [--whitelisted-ips]

示例

更新自治数据库

az oracle-database autonomous-database update --autonomousdatabasename <ADBS name> --resource-group <resource_group> --tags {Tagkey:TagValue}

可选参数

--add

通过指定路径和键值对将对象添加到对象列表。 示例:--add property.listProperty <key=value, string or JSON string>

--admin-password

管理员密码。 如果值为空,则从 tty 中询问该值。

--autonomous-maintenance-schedule-type --schedule-type

自治无服务器数据库的维护计划类型。

接受的值: Early, Regular
--autonomousdatabasename --name -n

数据库名称。

--backup-retention-period-in-days --retention-days

长期备份的保留期(以天为单位)。

--backup-schedule --long-term-backup-schedule

长期备份计划的详细信息。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

--clone

支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

--compute-count

数据库可用的计算量(CPU)。

--cpu-auto-scaling --is-auto-scaling-enabled

指示是否为自治数据库 CPU 核心计数启用了自动缩放。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--cpu-core-count

要提供给数据库的 CPU 内核数。

--customer-contacts

客户联系人。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

--data-storage-size-in-gbs --storage-gbs

将创建并附加到数据库的数据卷的大小(以 GB 为单位)。

--data-storage-size-in-tbs --storage-tbs

数据库中的数据量(以 TB 为单位)。

--database-edition

适用于自治数据库的 Oracle 数据库版本。

接受的值: EnterpriseEdition, StandardEdition
--display-name

自治数据库的用户友好名称。

--failover-limit --local-adg-auto-failover-max-data-loss-limit

允许用户选择可接受的最大数据丢失限制(以秒为单位),最多会在本地自治数据防护需要时触发自动故障转移。

--force-string

使用“set”或“add”时,保留字符串文本,而不是尝试转换为 JSON。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

--is-auto-scaling-for-storage-enabled --store-auto-scaling

指示是否为自治数据库存储启用了自动缩放。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--is-local-data-guard-enabled --local-data-guard

指示自治数据库是启用了本地数据库还是启用了区域内 Data Guard。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--is-mtls-connection-required --mtls-reqd

指定自治数据库是否需要 mTLS 连接。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--license-model

适用于 Oracle 自治数据库的 Oracle 许可证模型。 默认值为LICENSE_INCLUDED。

接受的值: BringYourOwnLicense, LicenseIncluded
--no-wait

不等待长时间运行的操作完成。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--open-mode

指示自治数据库模式。

接受的值: ReadOnly, ReadWrite
--peer-db-id

灾难恢复对等数据库的数据库 OCID,该数据库位于与当前对等数据库不同的区域中。

--permission-level

自治数据库权限级别。

接受的值: Restricted, Unrestricted
--regular

支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

--remove

从列表中删除属性或元素。 示例: --remove property.list <indexToRemove> OR --remove propertyToRemove.

--resource-group -g

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

--role

如果启用了自治数据防护,则自治容器数据库或自治数据库的数据防护角色。

接受的值: BackupCopy, DisabledStandby, Primary, SnapshotStandby, Standby
--scheduled-operations

计划操作的列表。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

--set

通过指定要设置的属性路径和值来更新对象。 示例:--set property1.property2=<value>

--subscription

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

--tags

资源标记。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

--whitelisted-ips

客户端 IP 访问控制列表(ACL)。 这是 CIDR 表示法和/或 IP 地址的数组。 值应是单独的字符串,用逗号分隔。 示例:['1.1.1.1','1.1.1.0/24','1.1.2.25'] 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

全局参数
--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 oracle-database autonomous-database wait

将 CLI 置于等待状态,直到满足条件。

az oracle-database autonomous-database wait [--autonomousdatabasename --name]
                                            [--created]
                                            [--custom]
                                            [--deleted]
                                            [--exists]
                                            [--ids]
                                            [--interval]
                                            [--resource-group]
                                            [--subscription]
                                            [--timeout]
                                            [--updated]

可选参数

--autonomousdatabasename --name -n

数据库名称。

--created

等待在“Succeeded”中使用“provisioningState”创建。

默认值: False
--custom

等待条件满足自定义 JMESPath 查询。 例如 provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running']。

--deleted

等到删除为止。

默认值: False
--exists

等待资源存在。

默认值: False
--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

--interval

轮询间隔(以秒为单位)。

默认值: 30
--resource-group -g

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

--subscription

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

--timeout

最大等待(以秒为单位)。

默认值: 3600
--updated

等到 provisioningState 更新为“Succeeded”。

默认值: 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 获取完整的调试日志。