共用方式為


az servicebus queue

Servicebus 佇列。

命令

名稱 Description 類型 狀態
az servicebus queue authorization-rule

Servicebus 佇列授權規則。

核心 GA
az servicebus queue authorization-rule create

建立佇列的授權規則。

核心 GA
az servicebus queue authorization-rule delete

刪除佇列授權規則。

核心 GA
az servicebus queue authorization-rule keys

Servicebus 佇列授權規則金鑰。

核心 GA
az servicebus queue authorization-rule keys list

佇列的主要和次要連接字串。

核心 GA
az servicebus queue authorization-rule keys renew

將主要或次要連接字串重新產生至佇列。

核心 GA
az servicebus queue authorization-rule list

列出佇列的所有授權規則。

核心 GA
az servicebus queue authorization-rule show

依規則名稱取得佇列的授權規則。

核心 GA
az servicebus queue authorization-rule update

更新佇列的授權規則。

核心 GA
az servicebus queue create

建立服務總線佇列。 此作業是等冪的。

核心 GA
az servicebus queue delete

從資源群組中指定的命名空間中刪除佇列。

核心 GA
az servicebus queue list

列出命名空間內的佇列。

核心 GA
az servicebus queue show

取得指定佇列的描述。

核心 GA
az servicebus queue update

更新服務總線佇列。 此作業是等冪的。

核心 GA

az servicebus queue create

建立服務總線佇列。 此作業是等冪的。

az servicebus queue create --name
                           --namespace-name
                           --resource-group
                           [--auto-delete-on-idle]
                           [--default-message-time-to-live]
                           [--duplicate-detection {0, 1, f, false, n, no, t, true, y, yes}]
                           [--duplicate-detection-history-time-window]
                           [--enable-batched-operations {0, 1, f, false, n, no, t, true, y, yes}]
                           [--enable-dead-lettering-on-message-expiration {0, 1, f, false, n, no, t, true, y, yes}]
                           [--enable-express {0, 1, f, false, n, no, t, true, y, yes}]
                           [--enable-partitioning {0, 1, f, false, n, no, t, true, y, yes}]
                           [--enable-session {0, 1, f, false, n, no, t, true, y, yes}]
                           [--forward-dead-lettered-messages-to]
                           [--forward-to]
                           [--lock-duration]
                           [--max-delivery-count]
                           [--max-message-size]
                           [--max-size]
                           [--status {Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, Restoring, SendDisabled, Unknown}]

必要參數

--name --queue-name -n

佇列名稱。

--namespace-name

命名空間名稱。

--resource-group -g

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

選擇性參數

--auto-delete-on-idle

ISO 8061 timeSpan 閑置間隔之後,佇列會自動刪除。 最短持續時間為 5 分鐘。

--default-message-time-to-live

ISO 8601 預設訊息時間範圍到即時值。 這是訊息到期的持續時間,從訊息傳送至服務總線時開始。 這是當 TimeToLive 未在訊息本身上設定時所使用的預設值。

--duplicate-detection --enable-duplicate-detection

值,指出此佇列是否需要重複偵測。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--duplicate-detection-history-time-window -d

定義重複偵測歷程記錄持續時間的 ISO 8601 timeSpan 結構。 預設值為 10 分鐘。

--enable-batched-operations

值,指出是否啟用伺服器端批次作業。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--enable-dead-lettering-on-message-expiration --message-expiration

值,指出當訊息到期時,這個佇列是否具有寄不出的信件支援。

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

值,指出是否啟用 Express Entities。 快速佇列會在將訊息寫入永續性記憶體之前,暫時將訊息儲存在記憶體中。

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

值,指出佇列是否要跨多個訊息代理程序進行分割。

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

值,指出佇列是否支援會話的概念。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--forward-dead-lettered-messages-to

要轉寄寄寄不出的信件訊息的佇列/主題名稱。

--forward-to

要轉送訊息的佇列/主題名稱。

--lock-duration

預覽鎖定的 ISO 8601 時間範圍持續時間;也就是說,訊息鎖定給其他接收者的時間量。 LockDuration 的最大值為 5 分鐘;預設值為1分鐘。

--max-delivery-count

傳遞計數上限。 在傳遞次數之後,會自動死電訊息。 預設值為 10。

--max-message-size --max-message-size-in-kilobytes

主題可接受之訊息承載的大小上限(以 KB 為單位)。 這個屬性目前只會在 Premium 中使用,預設值為 1024。

--max-size --max-size-in-megabytes

佇列的最大容量,以 MB 表示,表示指派給佇列的記憶體數量。 此參數的允許值為 1024、2048、3072、4096 和 5120 MB。 根據預設,系統會指派 1024 MB 的容量。 如果 'enable-partition' 設定設為 true,則指定的佇列大小會以 16 的因數放大。

--status

列舉傳訊實體狀態的可能值。

接受的值: Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, Restoring, SendDisabled, Unknown
全域參數
--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 servicebus queue delete

從資源群組中指定的命名空間中刪除佇列。

az servicebus queue delete [--ids]
                           [--name]
                           [--namespace-name]
                           [--resource-group]
                           [--subscription]

選擇性參數

--ids

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

--name --queue-name -n

佇列名稱。

--namespace-name

命名空間名稱。

--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 servicebus queue list

列出命名空間內的佇列。

az servicebus queue list --namespace-name
                         --resource-group
                         [--skip]
                         [--top]

必要參數

--namespace-name

命名空間名稱。

--resource-group -g

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

選擇性參數

--skip

只有在先前的作業傳回部分結果時,才會使用Skip。 如果先前的回應包含 nextLink 元素,則 nextLink 元素的值會包含 skip 參數,指定要用於後續呼叫的起點。

--top

可用來將結果數目限制為最新的 N usageDetails。

全域參數
--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 servicebus queue show

取得指定佇列的描述。

az servicebus queue show [--ids]
                         [--name]
                         [--namespace-name]
                         [--resource-group]
                         [--subscription]

選擇性參數

--ids

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

--name --queue-name -n

佇列名稱。

--namespace-name

命名空間名稱。

--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 servicebus queue update

更新服務總線佇列。 此作業是等冪的。

az servicebus queue update [--add]
                           [--auto-delete-on-idle]
                           [--default-message-time-to-live]
                           [--duplicate-detection-history-time-window]
                           [--enable-batched-operations {0, 1, f, false, n, no, t, true, y, yes}]
                           [--enable-dead-lettering-on-message-expiration {0, 1, f, false, n, no, t, true, y, yes}]
                           [--enable-express {0, 1, f, false, n, no, t, true, y, yes}]
                           [--force-string {0, 1, f, false, n, no, t, true, y, yes}]
                           [--forward-dead-lettered-messages-to]
                           [--forward-to]
                           [--ids]
                           [--lock-duration]
                           [--max-delivery-count]
                           [--max-message-size]
                           [--max-size]
                           [--name]
                           [--namespace-name]
                           [--remove]
                           [--resource-group]
                           [--set]
                           [--status {Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, Restoring, SendDisabled, Unknown}]
                           [--subscription]

選擇性參數

--add

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

--auto-delete-on-idle

ISO 8061 timeSpan 閑置間隔之後,佇列會自動刪除。 最短持續時間為 5 分鐘。

--default-message-time-to-live

ISO 8601 預設訊息時間範圍到即時值。 這是訊息到期的持續時間,從訊息傳送至服務總線時開始。 這是當 TimeToLive 未在訊息本身上設定時所使用的預設值。

--duplicate-detection-history-time-window -d

定義重複偵測歷程記錄持續時間的 ISO 8601 timeSpan 結構。 預設值為 10 分鐘。

--enable-batched-operations

值,指出是否啟用伺服器端批次作業。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--enable-dead-lettering-on-message-expiration --message-expiration

值,指出當訊息到期時,這個佇列是否具有寄不出的信件支援。

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

值,指出是否啟用 Express Entities。 快速佇列會在將訊息寫入永續性記憶體之前,暫時將訊息儲存在記憶體中。

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

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

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--forward-dead-lettered-messages-to

要轉寄寄寄不出的信件訊息的佇列/主題名稱。

--forward-to

要轉送訊息的佇列/主題名稱。

--ids

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

--lock-duration

預覽鎖定的 ISO 8601 時間範圍持續時間;也就是說,訊息鎖定給其他接收者的時間量。 LockDuration 的最大值為 5 分鐘;預設值為1分鐘。

--max-delivery-count

傳遞計數上限。 在傳遞次數之後,會自動死電訊息。 預設值為 10。

--max-message-size --max-message-size-in-kilobytes

主題可接受之訊息承載的大小上限(以 KB 為單位)。 這個屬性目前只會在 Premium 中使用,預設值為 1024。

--max-size --max-size-in-megabytes

佇列的最大容量,以 MB 表示,表示指派給佇列的記憶體數量。 此參數的允許值為 1024、2048、3072、4096 和 5120 MB。 根據預設,系統會指派 1024 MB 的容量。 如果 'enable-partition' 設定設為 true,則指定的佇列大小會以 16 的因數放大。

--name --queue-name -n

佇列名稱。

--namespace-name

命名空間名稱。

--remove

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

--resource-group -g

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

--set

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

--status

列舉傳訊實體狀態的可能值。

接受的值: Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, Restoring, SendDisabled, Unknown
--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。