共用方式為


az search service

管理服務。

命令

名稱 Description 類型 狀態
az search service admin-key

管理管理員金鑰。

Core GA
az search service admin-key list

取得指定 Azure AI 搜尋服務的主要和次要系統管理員 API 金鑰。

Core GA
az search service admin-key regenerate

重新產生主要或次要管理員 API 金鑰。 您一次只能重新產生一個金鑰。

Core GA
az search service check-name-availability

檢查指定的搜尋服務名稱是否可供使用。 搜尋服務名稱必須是全域唯一的,因為它們是服務 URI (https://<name>.search.windows.net) 的一部分。

Core GA
az search service create

在指定的資源群組中建立或更新搜尋服務。 如果搜尋服務已經存在,所有屬性都會以指定的值更新。

Core GA
az search service delete

刪除指定資源群組中的搜尋服務及其相關聯的資源。

Core GA
az search service list

取得指定資源群組中所有搜尋服務的清單。

Core GA
az search service network-security-perimeter-configuration

管理網路安全周邊設定。

Core GA
az search service network-security-perimeter-configuration list

列出搜尋服務的網路安全性周邊設定清單。

Core GA
az search service network-security-perimeter-configuration reconcile

協調 Azure AI 搜尋服務資源提供者的網路安全性周邊設定。 這會藉由確保搜尋服務攜帶最新的設定,觸發與網路安全性周邊設定的手動重新同步處理。

Core GA
az search service network-security-perimeter-configuration show

取得網路安全性周邊設定。

Core GA
az search service private-endpoint-connection

管理私人端點連線。

Core GA
az search service private-endpoint-connection delete

刪除私人端點連線,並將其從搜尋服務中刪除。

Core GA
az search service private-endpoint-connection list

列出指定服務中所有私人端點連線的清單。

Core GA
az search service private-endpoint-connection show

取得指定資源群組中搜尋服務的私人端點連線詳細數據。

Core GA
az search service private-endpoint-connection update

更新指定資源群組中搜尋服務的私人端點連線。

Core GA
az search service private-link-resource

管理 Private Link 資源。

Core GA
az search service private-link-resource list

列出指定服務所有支援的私人連結資源類型清單。

Core GA
az search service query-key

管理建立查詢金鑰。

Core GA
az search service query-key create

為指定的搜尋服務建立新的查詢索引鍵。 每個服務最多可以建立 50 個查詢金鑰。

Core GA
az search service query-key delete

刪除指定的查詢索引鍵。 與管理金鑰不同,查詢金鑰不會重新產生。 重新產生查詢索引鍵的程序是刪除查詢索引鍵,然後重新建立它。

Core GA
az search service query-key list

傳回指定 Azure AI 搜尋服務的查詢 API 金鑰清單。

Core GA
az search service shared-private-link-resource

管理共用私人連結資源。

Core GA
az search service shared-private-link-resource create

建立或更新指定資源群組中搜尋服務所管理的共用私人連結資源。

Core GA
az search service shared-private-link-resource delete

從搜尋服務中刪除共用私人連結資源。

Core GA
az search service shared-private-link-resource list

列出指定服務所管理的所有共用私人連結資源清單。

Core GA
az search service shared-private-link-resource show

取得指定資源群組中搜尋服務所管理之共用私人連結資源的詳細數據。

Core GA
az search service shared-private-link-resource update

更新指定資源群組中搜尋服務所管理之共用私人連結資源的建立或更新。

Core GA
az search service shared-private-link-resource wait

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

Core GA
az search service show

取得具有指定資源群組中指定名稱的搜尋服務。

Core GA
az search service update

更新指定資源群組中的現有搜尋服務。

Core GA
az search service upgrade

將 Azure AI 搜尋服務升級至可用的最新版本。

Core GA
az search service wait

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

Core GA

az search service check-name-availability

檢查指定的搜尋服務名稱是否可供使用。 搜尋服務名稱必須是全域唯一的,因為它們是服務 URI (https://<name>.search.windows.net) 的一部分。

az search service check-name-availability --name
                                          --type {searchServices}

必要參數

--name

要驗證的搜尋服務名稱。 搜尋服務名稱必須只包含小寫字母、數位或破折號,不能使用虛線做為前兩個或最後一個字元、不能包含連續連字元,而且長度必須介於 2 到 60 個字元之間。

屬性
參數群組: CheckNameAvailabilityInput Arguments
--type

要驗證其名稱的資源類型。 此值必須一律為 'searchServices'。

屬性
參數群組: CheckNameAvailabilityInput Arguments
接受的值: searchServices
全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

輸出格式。

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

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

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az search service create

在指定的資源群組中建立或更新搜尋服務。 如果搜尋服務已經存在,所有屬性都會以指定的值更新。

az search service create --name --search-service-name
                         --resource-group
                         --sku {basic, free, standard, standard2, standard3, storage_optimized_l1, storage_optimized_l2}
                         [--aad-auth-failure-mode {http401WithBearerChallenge, http403}]
                         [--auth-options {aadOrApiKey, apiKeyOnly}]
                         [--bypass {AzureServices, None}]
                         [--compute-type {confidential, default}]
                         [--data--protections --data-exfiltration-protections]
                         [--disable-local-auth {0, 1, f, false, n, no, t, true, y, yes}]
                         [--encryption-with-cmk]
                         [--hosting-mode {default, highDensity}]
                         [--identity-type {None, SystemAssigned, SystemAssigned, UserAssigned, UserAssigned}]
                         [--ip-rules]
                         [--location]
                         [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                         [--partition-count]
                         [--public-access --public-network-access {disabled, enabled, securedByPerimeter}]
                         [--replica-count]
                         [--semantic-search {disabled, free, standard}]
                         [--tags]

必要參數

--name --search-service-name -n

要建立或更新的 Azure AI 搜尋服務名稱。 搜尋服務名稱必須只包含小寫字母、數位或破折號,不能使用虛線做為前兩個或最後一個字元、不能包含連續連字元,而且長度必須介於 2 到 60 個字元之間。 搜尋服務名稱必須是唯一的,因為它們是服務 URI (https://<name>.search.windows.net) 的一部分。 建立服務之後,您無法變更服務名稱。

--resource-group -g

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

--sku

搜尋服務的 SKU。 有效值包括:「免費」:共享服務。 'basic':最多 3 個複本的專用服務。 'standard': 專用服務,最多可有 12 個分割區和 12 個復本。 'standard2':類似於標準,但每個搜尋單位的容量較多。 'standard3':最大標準供應專案,最多可有 12 個分割區和 12 個復本(如果您也將 hostingMode 屬性設定為 'highDensity',則最多 3 個具有更多索引的數據分割)。 'storage_optimized_l1':支援每個分割區 1TB,最多 12 個分割區。 'storage_optimized_l2':支援每個分割區 2TB,最多 12 個分割區。'。

屬性
參數群組: Service Arguments
接受的值: basic, free, standard, standard2, standard3, storage_optimized_l1, storage_optimized_l2

選擇性參數

下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。

--aad-auth-failure-mode

描述搜尋服務的數據平面 API 會針對驗證失敗的要求傳送哪些回應。

屬性
參數群組: AuthOptions Arguments
接受的值: http401WithBearerChallenge, http403
--auth-options

一些說明。

屬性
參數群組: Properties Arguments
接受的值: aadOrApiKey, apiKeyOnly
--bypass

可略過 『ipRules』 區段中所定義規則之輸入流量的可能來源。

屬性
參數群組: NetworkRuleSet Arguments
接受的值: AzureServices, None
--compute-type

設定此屬性以支援使用預設計算或 Azure 機密計算的搜尋服務。

屬性
參數群組: Properties Arguments
接受的值: confidential, default
--data--protections --data-exfiltration-protections

明確不允許搜尋服務的數據外流案例清單。 目前,唯一支援的值是 『All』,以停用所有可能的數據匯出案例,並針對未來規劃更精細的控制。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。

屬性
參數群組: Properties Arguments
--disable-local-auth

當設定為 true 時,不允許對搜尋服務的呼叫利用 API 金鑰進行驗證。 如果已定義 『dataPlaneAuthOptions』,則無法設定為 true。

屬性
參數群組: Properties Arguments
接受的值: 0, 1, f, false, n, no, t, true, y, yes
--encryption-with-cmk

指定在搜尋服務中使用客戶經理密鑰加密資源(例如索引)的任何原則。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。

屬性
參數群組: Properties Arguments
--hosting-mode

僅適用於 standard3 SKU。 您可以設定此屬性來啟用最多 3 個高密度分割區,允許最多 1000 個索引,這遠高於任何其他 SKU 允許的最大索引。 針對 standard3 SKU,此值為 'default' 或 'highDensity'。 對於所有其他 SKU,此值必須是 'default'。

屬性
參數群組: Properties Arguments
預設值: default
接受的值: default, highDensity
--identity-type

識別類型。

屬性
參數群組: Identity Arguments
接受的值: None, SystemAssigned, SystemAssigned, UserAssigned, UserAssigned
--ip-rules

定義允許存取搜尋服務端點的輸入網路的 IP 清單。

屬性
參數群組: NetworkRuleSet Arguments
--location -l

未指定資源所在的地理位置,將會使用資源群組的位置。

屬性
參數群組: Service Arguments
--no-wait

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

屬性
接受的值: 0, 1, f, false, n, no, t, true, y, yes
--partition-count

搜尋服務中的分割區數目;如果指定,它可以是 1、2、3、4、6 或 12。 大於 1 的值僅適用於標準 SKU。 對於 hostingMode 設定為 'highDensity' 的 'standard3' 服務,允許的值介於 1 到 3 之間。

屬性
參數群組: Properties Arguments
預設值: 1
--public-access --public-network-access

此值可以設定為 「已啟用」,以避免現有客戶資源和範本發生重大變更。 如果設定為 『disabled』,則不允許透過公用介面的流量,而私人端點聯機會是獨佔存取方法。

屬性
參數群組: Properties Arguments
預設值: enabled
接受的值: disabled, enabled, securedByPerimeter
--replica-count

搜尋服務中的複本數目。 如果指定,它必須是標準 SKU 的 1 到 12 之間的值,或基本 SKU 的 1 到 3 之間。

屬性
參數群組: Properties Arguments
預設值: 1
--semantic-search

設定控制語意搜尋可用性的選項。 此設定僅適用於特定位置的特定 Azure AI 搜尋 SKU。

屬性
參數群組: Properties Arguments
接受的值: disabled, free, standard
--tags

資源標籤。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。

屬性
參數群組: Service Arguments
全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

輸出格式。

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

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

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az search service delete

刪除指定資源群組中的搜尋服務及其相關聯的資源。

az search service delete [--ids]
                         [--name --search-service-name]
                         [--resource-group]
                         [--subscription]
                         [--yes]

選擇性參數

下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。

--ids

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

屬性
參數群組: Resource Id Arguments
--name --search-service-name -n

與指定資源群組相關聯的 Azure AI 搜尋服務名稱。

屬性
參數群組: Resource Id Arguments
--resource-group -g

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

屬性
參數群組: Resource Id Arguments
--subscription

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

屬性
參數群組: Resource Id Arguments
--yes -y

請勿提示確認。

屬性
預設值: False
全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

輸出格式。

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az search service list

取得指定資源群組中所有搜尋服務的清單。

az search service list --resource-group

必要參數

--resource-group -g

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

全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

輸出格式。

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

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

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az search service show

取得具有指定資源群組中指定名稱的搜尋服務。

az search service show [--ids]
                       [--name --search-service-name]
                       [--resource-group]
                       [--subscription]

選擇性參數

下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。

--ids

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

屬性
參數群組: Resource Id Arguments
--name --search-service-name -n

與指定資源群組相關聯的 Azure AI 搜尋服務名稱。

屬性
參數群組: Resource Id Arguments
--resource-group -g

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

屬性
參數群組: Resource Id Arguments
--subscription

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

屬性
參數群組: Resource Id Arguments
全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

輸出格式。

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az search service update

更新指定資源群組中的現有搜尋服務。

az search service update [--aad-auth-failure-mode {http401WithBearerChallenge, http403}]
                         [--add]
                         [--auth-options {aadOrApiKey, apiKeyOnly}]
                         [--data--protections --data-exfiltration-protections]
                         [--disable-local-auth {0, 1, f, false, n, no, t, true, y, yes}]
                         [--encryption-with-cmk]
                         [--force-string {0, 1, f, false, n, no, t, true, y, yes}]
                         [--identity-type {None, SystemAssigned}]
                         [--ids]
                         [--ip-rules]
                         [--name --search-service-name]
                         [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                         [--partition-count]
                         [--public-access --public-network-access {disabled, enabled}]
                         [--remove]
                         [--replica-count]
                         [--resource-group]
                         [--semantic-search {disabled, free, standard}]
                         [--set]
                         [--sku {basic, free, standard, standard2, standard3, storage_optimized_l1, storage_optimized_l2}]
                         [--subscription]
                         [--tags]

選擇性參數

下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。

--aad-auth-failure-mode

描述搜尋服務的數據平面 API 會針對驗證失敗的要求傳送哪些回應。

屬性
參數群組: AuthOptions Arguments
接受的值: http401WithBearerChallenge, http403
--add

藉由指定路徑和索引鍵值組,將物件加入物件清單。 範例: --add property.listProperty <key=value, string or JSON string>.

屬性
參數群組: Generic Update Arguments
--auth-options

一些說明。

屬性
參數群組: Properties Arguments
接受的值: aadOrApiKey, apiKeyOnly
--data--protections --data-exfiltration-protections

明確不允許搜尋服務的數據外流案例清單。 目前,唯一支援的值是 『All』,以停用所有可能的數據匯出案例,並針對未來規劃更精細的控制。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。

屬性
參數群組: Properties Arguments
--disable-local-auth

當設定為 true 時,不允許對搜尋服務的呼叫利用 API 金鑰進行驗證。 如果已定義 『dataPlaneAuthOptions』,則無法設定為 true。

屬性
參數群組: Properties Arguments
接受的值: 0, 1, f, false, n, no, t, true, y, yes
--encryption-with-cmk

指定在搜尋服務中使用客戶經理密鑰加密資源(例如索引)的任何原則。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。

屬性
參數群組: Properties Arguments
--force-string

使用 'set' 或 'add' 時,請保留字串常值,而不是嘗試轉換成 JSON。

屬性
參數群組: Generic Update Arguments
接受的值: 0, 1, f, false, n, no, t, true, y, yes
--identity-type

識別類型。

屬性
參數群組: Identity Arguments
接受的值: None, SystemAssigned
--ids

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

屬性
參數群組: Resource Id Arguments
--ip-rules

定義允許存取搜尋服務端點的輸入網路的 IP 清單。

屬性
參數群組: NetworkRuleSet Arguments
--name --search-service-name -n

要更新的 Azure AI 搜尋服務名稱。

屬性
參數群組: Resource Id Arguments
--no-wait

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

屬性
接受的值: 0, 1, f, false, n, no, t, true, y, yes
--partition-count

搜尋服務中的分割區數目;如果指定,它可以是 1、2、3、4、6 或 12。 大於 1 的值僅適用於標準 SKU。 對於 hostingMode 設定為 'highDensity' 的 'standard3' 服務,允許的值介於 1 到 3 之間。

屬性
參數群組: Properties Arguments
--public-access --public-network-access

此值可以設定為 「已啟用」,以避免現有客戶資源和範本發生重大變更。 如果設定為 『disabled』,則不允許透過公用介面的流量,而私人端點聯機會是獨佔存取方法。

屬性
參數群組: Properties Arguments
接受的值: disabled, enabled
--remove

從清單中移除屬性或專案。 範例: --remove property.list <indexToRemove>--remove propertyToRemove

屬性
參數群組: Generic Update Arguments
--replica-count

搜尋服務中的複本數目。 如果指定,它必須是標準 SKU 的 1 到 12 之間的值,或基本 SKU 的 1 到 3 之間。

屬性
參數群組: Properties Arguments
--resource-group -g

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

屬性
參數群組: Resource Id Arguments
--semantic-search

設定控制語意搜尋可用性的選項。 此設定僅適用於特定位置的特定 Azure 認知搜尋 SKU。

屬性
參數群組: Properties Arguments
接受的值: disabled, free, standard
--set

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

屬性
參數群組: Generic Update Arguments
--sku

搜尋服務的 SKU。 有效值包括:「免費」:共享服務。 'basic':最多 3 個複本的專用服務。 'standard': 專用服務,最多可有 12 個分割區和 12 個復本。 'standard2':類似於標準,但每個搜尋單位的容量較多。 'standard3':最大標準供應專案,最多可有 12 個分割區和 12 個復本(如果您也將 hostingMode 屬性設定為 'highDensity',則最多 3 個具有更多索引的數據分割)。 'storage_optimized_l1':支援每個分割區 1TB,最多 12 個分割區。 'storage_optimized_l2':支援每個分割區 2TB,最多 12 個分割區。'。

屬性
參數群組: Service Arguments
接受的值: basic, free, standard, standard2, standard3, storage_optimized_l1, storage_optimized_l2
--subscription

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

屬性
參數群組: Resource Id Arguments
--tags

資源標籤。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。

屬性
參數群組: Service Arguments
全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

輸出格式。

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az search service upgrade

將 Azure AI 搜尋服務升級至可用的最新版本。

az search service upgrade [--ids]
                          [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                          [--resource-group]
                          [--search-service-name]
                          [--subscription]

選擇性參數

下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。

--ids

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

屬性
參數群組: Resource Id Arguments
--no-wait

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

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

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

屬性
參數群組: Resource Id Arguments
--search-service-name

與指定資源群組相關聯的 Azure AI 搜尋服務名稱。

屬性
參數群組: Resource Id Arguments
--subscription

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

屬性
參數群組: Resource Id Arguments
全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

輸出格式。

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az search service wait

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

az search service wait [--created]
                       [--custom]
                       [--deleted]
                       [--exists]
                       [--ids]
                       [--interval]
                       [--name --search-service-name]
                       [--resource-group]
                       [--subscription]
                       [--timeout]
                       [--updated]

選擇性參數

下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。

--created

請等候在 'Succeeded' 使用 'provisioningState' 建立。

屬性
參數群組: Wait Condition Arguments
預設值: False
--custom

等到條件符合自定義 JMESPath 查詢為止。 例如 provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running']。

屬性
參數群組: Wait Condition Arguments
--deleted

等到刪除為止。

屬性
參數群組: Wait Condition Arguments
預設值: False
--exists

等候資源存在。

屬性
參數群組: Wait Condition Arguments
預設值: False
--ids

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

屬性
參數群組: Resource Id Arguments
--interval

輪詢間隔以秒為單位。

屬性
參數群組: Wait Condition Arguments
預設值: 30
--name --search-service-name -n

與指定資源群組相關聯的 Azure AI 搜尋服務名稱。

屬性
參數群組: Resource Id Arguments
--resource-group -g

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

屬性
參數群組: Resource Id Arguments
--subscription

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

屬性
參數群組: Resource Id Arguments
--timeout

以秒為單位的等候上限。

屬性
參數群組: Wait Condition Arguments
預設值: 3600
--updated

等到 provisioningState 更新為 'Succeeded'。

屬性
參數群組: Wait Condition Arguments
預設值: False
全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

輸出格式。

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False