az oracle-database autonomous-database
Note
此參考是Azure CLI<>oracle-database擴充功能(版本 2.75.0 或更高版本)的一部分。 當您第一次 執行 az oracle-database autonomous-database 命令時,擴充功能會自動安裝。 深入了解擴充功能。
Oracle 自發資料庫。
命令
az oracle-database autonomous-database action
對自主資料庫執行生命週期管理操作。
az oracle-database autonomous-database action --action {Restart, Start, Stop}
[--acquire-policy-token]
[--autonomousdatabasename]
[--change-reference]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
範例
AutonomousDatabases_Action
az oracle-database autonomous-database action --resource-group rgopenapi --autonomousdatabasename databasedb1 --action Start
必要參數
自主資料庫生命週期行動。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
| 接受的值: | Restart, Start, Stop |
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
自動取得 Azure 原則 令牌以進行此資源操作。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
資料庫名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
相關變更的 ID 是為此資源操作所參考的。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az oracle-database autonomous-database change-disaster-recovery-configuration
更改跨區域災難復原對等平台自主資料庫的災難復原設定。
az oracle-database autonomous-database change-disaster-recovery-configuration [--acquire-policy-token]
[--autonomousdatabasename]
[--change-reference]
[--disaster-recovery-type {Adg, BackupBased}]
[--ids]
[--is-replicate-automatic-backups {0, 1, f, false, n, no, t, true, y, yes}]
[--is-snapshot-standby {0, 1, f, false, n, no, t, true, y, yes}]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
[--time-snapshot-standby-enabled-till]
範例
變更跨區域災難復原對端的災難復原配置
az oracle-database autonomous-database change-disaster-recovery-configuration --resource-group MyResourceGroup --autonomousdatabasename MyCrossRegionPeerDB --disaster-recovery-type Adg --is-replicate-automatic-backups false
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
自動取得 Azure 原則 令牌以進行此資源操作。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
同儕自治資料庫名稱,指現有的跨區域災難復原協會。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
相關變更的 ID 是為此資源操作所參考的。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
表示自發資料庫無伺服器實例的災害復原 (DR) 類型。 自發式 Data Guard (ADG) DR 類型提供業務關鍵 DR,在故障轉移或切換期間提供更快速的復原時間目標(RTO)。 備份式DR類型會在故障轉移或切換期間,使用較慢的 RTO 來提供較低的成本DR。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
| 接受的值: | Adg, BackupBased |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
如果為 true,則會跨區域 ADB 複寫 7 天的備份,或在主要和待命之間 Backup-Based DR。 如果為 false,則不會將主要資料庫上建立的備份復寫到待命資料庫。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
指出使用者是否要轉換成快照待命。 例如,true 會將待命資料庫設定為快照式待命資料庫。 False 會將快照式待命資料庫設定回一般待命資料庫。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
儲存為 RFC 3339 格式化時間戳字串的時間和日期。 例如,2022-01-01T12:00:00.000Z 會設定將快照待命轉換為跨區域待命資料庫的限制。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az oracle-database autonomous-database create
建立一個自主資料庫。
每個請求只用一個建立模式選項。 資料庫類型可從 --regular、--clone、--clone-from-backup-timestamp 或 --cross-region-disaster-recovery 推斷。 不要直接傳遞 dataBaseType。 複製與災難復原欄位必須巢狀於匹配的建立模式選項中。
az oracle-database autonomous-database create --autonomousdatabasename --name
--resource-group
[--acquire-policy-token]
[--admin-password]
[--autonomous-database-id]
[--autonomous-maintenance-schedule-type --schedule-type {Early, Regular}]
[--backup-retention-period-in-days --retention-days]
[--change-reference]
[--character-set]
[--clone]
[--clone-from-backup-timestamp]
[--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]
[--cross-region-disaster-recovery]
[--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-list]
[--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 <vnet_id> --regular
從現有的自主資料庫複製
az oracle-database autonomous-database create --resource-group MyResourceGroup --location eastus --autonomousdatabasename MyCloneDB --display-name MyCloneDB --db-version 19c --admin-password <password> --compute-model ECPU --compute-count 2 --data-storage-size-in-gbs 1024 --license-model LicenseIncluded --db-workload OLTP --character-set AL32UTF8 --ncharacter-set AL16UTF16 --vnet-id <vnet_id> --subnet-id <subnet_id> --clone clone-type=Full source=Database source-id=<source_autonomous_database_id>
從備份時間戳克隆
az oracle-database autonomous-database create --resource-group MyResourceGroup --location eastus --autonomousdatabasename MyBackupCloneDB --display-name MyBackupCloneDB --db-version 19c --admin-password <password> --compute-model ECPU --compute-count 2 --data-storage-size-in-gbs 32 --license-model BringYourOwnLicense --db-workload OLTP --character-set AL32UTF8 --ncharacter-set AL16UTF16 --vnet-id <vnet_id> --subnet-id <subnet_id> --clone-from-backup-timestamp clone-type=Full source=BackupFromTimestamp source-id=<source_autonomous_database_id> timestamp=2026-06-03T15:45:11.000Z use-latest-available-backup-time-stamp=false
建立跨區域災難復原對等節點
az oracle-database autonomous-database create --resource-group MyResourceGroup --location germanywestcentral --autonomousdatabasename MyCrossRegionPeerDB --display-name MyCrossRegionPeerDB --db-version 19c --compute-model ECPU --compute-count 2 --data-storage-size-in-gbs 1024 --license-model LicenseIncluded --character-set AL32UTF8 --ncharacter-set AL16UTF16 --vnet-id <destination_vnet_id> --subnet-id <destination_subnet_id> --cross-region-disaster-recovery remote-disaster-recovery-type=Adg source=CrossRegionDisasterRecovery source-id=<source_autonomous_database_id> source-location=eastus is-replicate-automatic-backups=true
必要參數
資料庫名稱。
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
自動取得 Azure 原則 令牌以進行此資源操作。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
系統管理員密碼。 如果值為空白,則會從tty要求此值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
自發資料庫標識碼。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
自發資料庫伺服器的維護排程類型。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Early, Regular |
長期備份的保留期間,以天為單位。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
相關變更的 ID 是為此資源操作所參考的。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
自發資料庫的字元集。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
資料庫可用的計算量(CPU)。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
自發資料庫的計算模型。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | ECPU, OCPU |
指出是否已啟用自發資料庫 CPU 核心計數的自動調整。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
要提供給資料庫的 CPU 核心數目。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
客戶連絡人。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
將建立並附加至資料庫的數據磁碟區大小,以 GB 為單位。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
資料庫中的數據數量,以 TB 為單位。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
適用於自治資料庫的 Oracle 資料庫版本。 僅使用這個 --license-model BringYourOwnLicense 使用。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | EnterpriseEdition, StandardEdition |
自發資料庫的有效 Oracle 資料庫版本。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
自發資料庫工作負載類型。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | AJD, APEX, DW, OLTP |
自發資料庫的用戶易記名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
指出是否已啟用自發資料庫記憶體的自動調整。 對於來自現有資料庫的克隆,這個值必須與來源資料庫儲存空間自動縮放設定相符。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
指出是否已啟用自發資料庫本機或呼叫區域內 Data Guard。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
指定自發資料庫是否需要 mTLS 連線。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
指定是否正在布建自發資料庫預覽版本。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
適用於 Oracle 自發資料庫的 Oracle 授權模型。 預設值為 LICENSE_INCLUDED。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | BringYourOwnLicense, LicenseIncluded |
未指定資源所在的地理位置,將會使用資源群組的位置。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Arguments |
自發資料庫的字元集。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
資源的私人端點 IP 位址。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
資源的私人端點標籤。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
排程作業的清單。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
用戶端子網。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
資源標籤。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Arguments |
用於網路連線的 VNET。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
用戶端 IP 存取控制清單 (ACL)。 這是 CIDR 表示法和/或 IP 位址的陣列。 值應該是個別的字串,並以逗號分隔。 範例:['1.1.1.1','1.1.1.0/24','1.1.2.25'] 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az oracle-database autonomous-database delete
刪除一個自主資料庫。
az oracle-database autonomous-database delete [--acquire-policy-token]
[--autonomousdatabasename --name]
[--change-reference]
[--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>
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
自動取得 Azure 原則 令牌以進行此資源操作。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
資料庫名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
相關變更的 ID 是為此資源操作所參考的。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿提示確認。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az oracle-database autonomous-database failover
在自發資料庫上執行故障轉移動作。
az oracle-database autonomous-database failover [--acquire-policy-token]
[--autonomousdatabasename]
[--change-reference]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--peer-db-id]
[--peer-db-location]
[--peer-db-ocid]
[--resource-group]
[--subscription]
範例
Failover
az oracle-database autonomous-database failover --autonomousdatabasename <ADBS name> --resource-group <resource_group> --peer-db-id <id>
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
自動取得 Azure 原則 令牌以進行此資源操作。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
資料庫名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
相關變更的 ID 是為此資源操作所參考的。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
災害復原對等資料庫的資料庫 OCID,其位於與目前對等資料庫不同的區域中。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
災害復原對等資料庫的位置。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
災害復原對等資料庫的 Ocid,其位於與目前對等資料庫不同的區域中。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az oracle-database autonomous-database generate-wallet
在 Autonomous Database 上產生錢包操作。
az oracle-database autonomous-database generate-wallet --password
[--acquire-policy-token]
[--autonomousdatabasename]
[--change-reference]
[--file]
[--generate-type {All, Single}]
[--ids]
[--is-regional {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
範例
生成錢包
az oracle-database autonomous-database generate-wallet --autonomousdatabasename MyAutoDB --resource-group MyResourceGroup --password <password> --is-regional True --file wallet-MyAutoDB.zip
必要參數
錢包內加密金鑰的密碼如果值是空的,會向 tty 詢問。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
自動取得 Azure 原則 令牌以進行此資源操作。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
資料庫名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
相關變更的 ID 是為此資源操作所參考的。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
本地檔案路徑用來儲存產生的錢包壓縮檔。 預設為 wallet-{autonomousdatabasename}.zip。
要產生的錢包類型。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
| 接受的值: | All, Single |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
在 PDB 連線資訊中要求區域連接字串時為 True,僅適用於跨區域 DG。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az oracle-database autonomous-database list
依訂閱編號列出自治資料庫資源。
az oracle-database autonomous-database list [--max-items]
[--next-token]
[--resource-group]
範例
自主資料庫列表
az oracle-database autonomous-database list --resource-group <resource_group>
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
命令輸出中要傳回的項目總數。 如果可用的專案總數超過指定的值,則會在命令的輸出中提供令牌。 若要繼續分頁,請在後續命令的 --next-token 自變數中提供令牌值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Pagination Arguments |
標記,指定要開始分頁的位置。 這是先前截斷回應中的令牌值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Pagination Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az oracle-database autonomous-database restore
根據提供的要求參數還原自發資料庫。
az oracle-database autonomous-database restore --timestamp
[--acquire-policy-token]
[--autonomousdatabasename]
[--change-reference]
[--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 2026-06-03T15:45:11.000Z
必要參數
要將資料庫還原的時間點。 使用RFC3339 UTC格式,例如2026-06-03T15:45:11.000Z。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
自動取得 Azure 原則 令牌以進行此資源操作。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
資料庫名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
相關變更的 ID 是為此資源操作所參考的。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az oracle-database autonomous-database show
取得自主資料庫。
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>
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
資料庫名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az oracle-database autonomous-database shrink
此作業會將目前配置的記憶體縮減為目前實際使用的數據記憶體。
az oracle-database autonomous-database shrink [--acquire-policy-token]
[--autonomousdatabasename]
[--change-reference]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
範例
Shrink
az oracle-database autonomous-database shrink --autonomousdatabasename <ADBS name> --resource-group <resource_group>
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
自動取得 Azure 原則 令牌以進行此資源操作。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
資料庫名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
相關變更的 ID 是為此資源操作所參考的。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az oracle-database autonomous-database switchover
在自發資料庫上執行切換動作。
az oracle-database autonomous-database switchover [--acquire-policy-token]
[--autonomousdatabasename]
[--change-reference]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--peer-db-id]
[--peer-db-location]
[--peer-db-ocid]
[--resource-group]
[--subscription]
範例
Switchover
az oracle-database autonomous-database switchover --autonomousdatabasename <ADBS name> --resource-group <resource_group> --peer-db-id <id>
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
自動取得 Azure 原則 令牌以進行此資源操作。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
資料庫名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
相關變更的 ID 是為此資源操作所參考的。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
災害復原對等資料庫的資料庫 OCID,其位於與目前對等資料庫不同的區域中。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
災害復原對等資料庫的位置。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
災害復原對等資料庫的 Ocid,其位於與目前對等資料庫不同的區域中。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az oracle-database autonomous-database update
更新自主資料庫。
az oracle-database autonomous-database update [--acquire-policy-token]
[--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]
[--change-reference]
[--clone]
[--clone-from-backup-timestamp]
[--compute-count]
[--cpu-auto-scaling --is-auto-scaling-enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--cpu-core-count]
[--cross-region-disaster-recovery]
[--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-list]
[--set]
[--subscription]
[--tags]
[--whitelisted-ips]
範例
更新自主資料庫
az oracle-database autonomous-database update --autonomousdatabasename <ADBS name> --resource-group <resource_group> --tags {Tagkey:TagValue}
啟用本地自主資料守護
az oracle-database autonomous-database update --resource-group MyResourceGroup --autonomousdatabasename MyAutoDB --local-data-guard true --local-adg-auto-failover-max-data-loss-limit 0
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
自動取得 Azure 原則 令牌以進行此資源操作。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
藉由指定路徑和索引鍵值組,將物件加入物件清單。 範例: --add property.listProperty <key=value, string or JSON string>.
| 屬性 | 值 |
|---|---|
| 參數群組: | Generic Update Arguments |
系統管理員密碼。 如果值為空白,則會從tty要求此值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
自發資料庫伺服器的維護排程類型。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Early, Regular |
資料庫名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
長期備份的保留期間,以天為單位。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
長期備份排程的詳細數據。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
相關變更的 ID 是為此資源操作所參考的。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
資料庫可用的計算量(CPU)。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
指出是否已啟用自發資料庫 CPU 核心計數的自動調整。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
要提供給資料庫的 CPU 核心數目。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
客戶連絡人。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
將建立並附加至資料庫的數據磁碟區大小,以 GB 為單位。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
資料庫中的數據數量,以 TB 為單位。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
適用於自治資料庫的 Oracle 資料庫版本。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | EnterpriseEdition, StandardEdition |
自發資料庫的用戶易記名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
支援本地自主資料守護自動故障轉移的最大資料遺失限制,單位為秒。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
使用 'set' 或 'add' 時,請保留字串常值,而不是嘗試轉換成 JSON。
| 屬性 | 值 |
|---|---|
| 參數群組: | Generic Update Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
指出是否已啟用自發資料庫記憶體的自動調整。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
指示自治資料庫是否啟用本地區域內的自主資料守護。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
指定自發資料庫是否需要 mTLS 連線。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
適用於 Oracle 自發資料庫的 Oracle 授權模型。 預設值為 LICENSE_INCLUDED。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | BringYourOwnLicense, LicenseIncluded |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
表示自發資料庫模式。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | ReadOnly, ReadWrite |
災害復原對等資料庫的資料庫 OCID,其位於與目前對等資料庫不同的區域中。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
自發資料庫許可權等級。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Restricted, Unrestricted |
支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
從清單中移除屬性或專案。 範例: --remove property.list <indexToRemove> 或 --remove propertyToRemove。
| 屬性 | 值 |
|---|---|
| 參數群組: | Generic Update Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
如果已啟用自發式 Data Guard,則為自發容器資料庫或自發資料庫的 Data Guard 角色。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | BackupCopy, DisabledStandby, Primary, SnapshotStandby, Standby |
排程作業的清單。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
指定要設定的屬性路徑和值,以更新物件。 範例: --set property1.property2=<value>.
| 屬性 | 值 |
|---|---|
| 參數群組: | Generic Update Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源標籤。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Arguments |
用戶端 IP 存取控制清單 (ACL)。 這是 CIDR 表示法和/或 IP 位址的陣列。 值應該是個別的字串,並以逗號分隔。 範例:['1.1.1.1','1.1.1.0/24','1.1.2.25'] 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az oracle-database autonomous-database wait
將 CLI 置於等候狀態,直到符合條件為止。
az oracle-database autonomous-database wait [--acquire-policy-token]
[--autonomousdatabasename --name]
[--change-reference]
[--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
自動取得 Azure 原則 令牌以進行此資源操作。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
資料庫名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
相關變更的 ID 是為此資源操作所參考的。
| 屬性 | 值 |
|---|---|
| 參數群組: | Global Policy Arguments |
請等候在 'Succeeded' 使用 'provisioningState' 建立。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | False |
等到條件符合自定義 JMESPath 查詢為止。 例如 provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running']。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
等到刪除為止。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | False |
等候資源存在。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | False |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
輪詢間隔以秒為單位。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | 30 |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
以秒為單位的等候上限。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | 3600 |
等到 provisioningState 更新為 'Succeeded'。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | False |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |