az oracle-database autonomous-database

注意

此參考是 Azure CLI 的 Oracle 資料庫延伸模組的一部分(2.57.0 版或更高版本)。 擴充功能會在您第一次執行 az oracle-database autonomous-database 命令時自動安裝。 深入了解擴充功能。

Oracle 自發資料庫。

命令

名稱 Description 類型 狀態
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

依訂用帳戶標識碼列出 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
                                              --resource-group
                                              [--admin-password]
                                              [--autonomous-database-id]
                                              [--autonomous-maintenance-schedule-type {Early, Regular}]
                                              [--backup-retention-period-in-days]
                                              [--character-set]
                                              [--clone]
                                              [--compute-count]
                                              [--compute-model {ECPU, OCPU}]
                                              [--cpu-auto-scaling {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--cpu-core-count]
                                              [--customer-contacts]
                                              [--data-storage-size-in-gbs]
                                              [--data-storage-size-in-tbs]
                                              [--database-edition {EnterpriseEdition, StandardEdition}]
                                              [--db-version]
                                              [--db-workload {AJD, APEX, DW, OLTP}]
                                              [--display-name]
                                              [--is-auto-scaling-for-storage-enabled {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--is-local-data-guard-enabled {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--is-mtls-connection-required {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--is-preview-version-with-service-terms-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

自發資料庫標識碼。

--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 Database Edition。

接受的值: 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

訂用帳戶的名稱或識別碼。 您可以使用 az account set -s NAME_OR_ID 設定預設訂用帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az oracle-database autonomous-database delete

刪除 AutonomousDatabase。

az oracle-database autonomous-database delete [--autonomousdatabasename]
                                              [--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

一或多個資源識別碼 (以空格分隔)。 它應該是完整資源識別碼,其中包含「資源標識碼」引數的所有資訊。 您應該提供 --ids 或其他「資源識別碼」引數。

--no-wait

請勿等候長時間執行的作業完成。

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

資源群組的名稱。 您可以使用 az configure --defaults group=<name> 來設定預設群組。

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 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

訂用帳戶的名稱或識別碼。 您可以使用 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

一或多個資源識別碼 (以空格分隔)。 它應該是完整資源識別碼,其中包含「資源標識碼」引數的所有資訊。 您應該提供 --ids 或其他「資源識別碼」引數。

--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

訂用帳戶的名稱或識別碼。 您可以使用 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

訂用帳戶的名稱或識別碼。 您可以使用 az account set -s NAME_OR_ID 設定預設訂用帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az oracle-database autonomous-database list

依訂用帳戶標識碼列出 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

訂用帳戶的名稱或識別碼。 您可以使用 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

一或多個資源識別碼 (以空格分隔)。 它應該是完整資源識別碼,其中包含「資源標識碼」引數的所有資訊。 您應該提供 --ids 或其他「資源識別碼」引數。

--no-wait

請勿等候長時間執行的作業完成。

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

資源群組的名稱。 您可以使用 az configure --defaults group=<name> 來設定預設群組。

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 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

訂用帳戶的名稱或識別碼。 您可以使用 az account set -s NAME_OR_ID 設定預設訂用帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az oracle-database autonomous-database show

取得 AutonomousDatabase。

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

範例

取得自發資料庫

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

選擇性參數

--autonomousdatabasename --name -n

資料庫名稱。

--ids

一或多個資源識別碼 (以空格分隔)。 它應該是完整資源識別碼,其中包含「資源標識碼」引數的所有資訊。 您應該提供 --ids 或其他「資源識別碼」引數。

--resource-group -g

資源群組的名稱。 您可以使用 az configure --defaults group=<name> 來設定預設群組。

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 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

訂用帳戶的名稱或識別碼。 您可以使用 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

一或多個資源識別碼 (以空格分隔)。 它應該是完整資源識別碼,其中包含「資源標識碼」引數的所有資訊。 您應該提供 --ids 或其他「資源識別碼」引數。

--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

訂用帳戶的名稱或識別碼。 您可以使用 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

訂用帳戶的名稱或識別碼。 您可以使用 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 {Early, Regular}]
                                              [--autonomousdatabasename]
                                              [--backup-retention-period-in-days]
                                              [--backup-schedule]
                                              [--clone]
                                              [--compute-count]
                                              [--cpu-auto-scaling {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--cpu-core-count]
                                              [--customer-contacts]
                                              [--data-storage-size-in-gbs]
                                              [--data-storage-size-in-tbs]
                                              [--database-edition {EnterpriseEdition, StandardEdition}]
                                              [--display-name]
                                              [--failover-limit]
                                              [--force-string {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--ids]
                                              [--is-auto-scaling-for-storage-enabled {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--is-local-data-guard-enabled {0, 1, f, false, n, no, t, true, y, yes}]
                                              [--is-mtls-connection-required {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 或 JSON 字串>。

--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 Database Edition。

接受的值: 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

一或多個資源識別碼 (以空格分隔)。 它應該是完整資源識別碼,其中包含「資源標識碼」引數的所有資訊。 您應該提供 --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

指出是否已啟用自發資料庫本機或呼叫區域內 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 OR --remove 屬性ToRemove。

--resource-group -g

資源群組的名稱。 您可以使用 az configure --defaults group=<name> 來設定預設群組。

--role

如果已啟用自發式 Data Guard,則為自發容器資料庫或自發資料庫的 Data Guard 角色。

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

排程作業的清單。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。

--set

指定要設定的屬性路徑和值,以更新物件。 範例:--set property1.property2=。

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 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

訂用帳戶的名稱或識別碼。 您可以使用 az account set -s NAME_OR_ID 設定預設訂用帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az oracle-database autonomous-database wait

將 CLI 置於等候狀態,直到符合條件為止。

az oracle-database autonomous-database wait [--autonomousdatabasename]
                                            [--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

一或多個資源識別碼 (以空格分隔)。 它應該是完整資源識別碼,其中包含「資源標識碼」引數的所有資訊。 您應該提供 --ids 或其他「資源識別碼」引數。

--interval

輪詢間隔以秒為單位。

預設值: 30
--resource-group -g

資源群組的名稱。 您可以使用 az configure --defaults group=<name> 來設定預設群組。

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 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

訂用帳戶的名稱或識別碼。 您可以使用 az account set -s NAME_OR_ID 設定預設訂用帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。