az servicebus queue
Servicebus 佇列。
命令
| 名稱 | Description | 類型 | 狀態 |
|---|---|---|---|
| az servicebus queue authorization-rule |
Servicebus 佇列授權規則。 |
Core | GA |
| az servicebus queue authorization-rule create |
建立佇列的授權規則。 |
Core | GA |
| az servicebus queue authorization-rule delete |
刪除佇列授權規則。 |
Core | GA |
| az servicebus queue authorization-rule keys |
Servicebus 佇列授權規則金鑰。 |
Core | GA |
| az servicebus queue authorization-rule keys list |
佇列的主要和次要連接字串。 |
Core | GA |
| az servicebus queue authorization-rule keys renew |
將主要或次要連接字串重新產生至佇列。 |
Core | GA |
| az servicebus queue authorization-rule list |
列出佇列的所有授權規則。 |
Core | GA |
| az servicebus queue authorization-rule show |
依規則名稱取得佇列的授權規則。 |
Core | GA |
| az servicebus queue authorization-rule update |
更新佇列的授權規則。 |
Core | GA |
| az servicebus queue create |
建立服務總線佇列。 此作業是等冪的。 |
Core | GA |
| az servicebus queue delete |
從資源群組中指定的命名空間中刪除佇列。 |
Core | GA |
| az servicebus queue list |
列出命名空間內的佇列。 |
Core | GA |
| az servicebus queue show |
取得指定佇列的描述。 |
Core | GA |
| az servicebus queue update |
更新服務總線佇列。 此作業是等冪的。 |
Core | GA |
az servicebus queue create
建立服務總線佇列。 此作業是等冪的。
az servicebus queue create --name --queue-name
--namespace-name
--resource-group
[--auto-delete-on-idle]
[--default-message-time-to-live]
[--duplicate-detection --enable-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 --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-message-size-in-kilobytes]
[--max-size --max-size-in-megabytes]
[--status {Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, Restoring, SendDisabled, Unknown}]
必要參數
佇列名稱。
命名空間名稱。
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
ISO 8061 timeSpan 閑置間隔之後,佇列會自動刪除。 最短持續時間為 5 分鐘。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
ISO 8601 預設訊息時間範圍到即時值。 這是訊息到期的持續時間,從訊息傳送至服務總線時開始。 這是當 TimeToLive 未在訊息本身上設定時所使用的預設值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
值,指出此佇列是否需要重複偵測。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
定義重複偵測歷程記錄持續時間的 ISO 8601 timeSpan 結構。 預設值為 10 分鐘。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties 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 |
值,指出是否啟用 Express Entities。 快速佇列會在將訊息寫入永續性記憶體之前,暫時將訊息儲存在記憶體中。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
值,指出佇列是否要跨多個訊息代理程序進行分割。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
值,指出佇列是否支援會話的概念。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
要轉寄寄寄不出的信件訊息的佇列/主題名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
要轉送訊息的佇列/主題名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
預覽鎖定的 ISO 8601 時間範圍持續時間;也就是說,訊息鎖定給其他接收者的時間量。 LockDuration 的最大值為 5 分鐘;預設值為1分鐘。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
傳遞計數上限。 在傳遞次數之後,會自動死電訊息。 預設值為 10。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
主題可接受之訊息承載的大小上限(以 KB 為單位)。 這個屬性目前只會在 Premium 中使用,預設值為 1024。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
佇列的最大容量,以 MB 表示,表示指派給佇列的記憶體數量。 此參數的允許值為 1024、2048、3072、4096 和 5120 MB。 根據預設,系統會指派 1024 MB 的容量。 如果 'enable-partition' 設定設為 true,則指定的佇列大小會以 16 的因數放大。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
列舉傳訊實體狀態的可能值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, Restoring, SendDisabled, Unknown |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az servicebus queue delete
從資源群組中指定的命名空間中刪除佇列。
az servicebus queue delete [--ids]
[--name --queue-name]
[--namespace-name]
[--resource-group]
[--subscription]
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
佇列名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
命名空間名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | 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 servicebus queue list
列出命名空間內的佇列。
az servicebus queue list --namespace-name
--resource-group
[--skip]
[--top]
必要參數
命名空間名稱。
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
只有在先前的作業傳回部分結果時,才會使用Skip。 如果先前的回應包含 nextLink 元素,則 nextLink 元素的值會包含 skip 參數,指定要用於後續呼叫的起點。
可用來將結果數目限制為最新的 N usageDetails。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az servicebus queue show
取得指定佇列的描述。
az servicebus queue show [--ids]
[--name --queue-name]
[--namespace-name]
[--resource-group]
[--subscription]
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
佇列名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
命名空間名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | 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 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 --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-message-size-in-kilobytes]
[--max-size --max-size-in-megabytes]
[--name --queue-name]
[--namespace-name]
[--remove]
[--resource-group]
[--set]
[--status {Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, Restoring, SendDisabled, Unknown}]
[--subscription]
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
藉由指定路徑和索引鍵值組,將物件加入物件清單。 範例: --add property.listProperty <key=value, string or JSON string>.
| 屬性 | 值 |
|---|---|
| 參數群組: | Generic Update Arguments |
ISO 8061 timeSpan 閑置間隔之後,佇列會自動刪除。 最短持續時間為 5 分鐘。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
ISO 8601 預設訊息時間範圍到即時值。 這是訊息到期的持續時間,從訊息傳送至服務總線時開始。 這是當 TimeToLive 未在訊息本身上設定時所使用的預設值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
定義重複偵測歷程記錄持續時間的 ISO 8601 timeSpan 結構。 預設值為 10 分鐘。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties 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 |
值,指出是否啟用 Express Entities。 快速佇列會在將訊息寫入永續性記憶體之前,暫時將訊息儲存在記憶體中。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
使用 'set' 或 'add' 時,請保留字串常值,而不是嘗試轉換成 JSON。
| 屬性 | 值 |
|---|---|
| 參數群組: | Generic Update Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
要轉寄寄寄不出的信件訊息的佇列/主題名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
要轉送訊息的佇列/主題名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
預覽鎖定的 ISO 8601 時間範圍持續時間;也就是說,訊息鎖定給其他接收者的時間量。 LockDuration 的最大值為 5 分鐘;預設值為1分鐘。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
傳遞計數上限。 在傳遞次數之後,會自動死電訊息。 預設值為 10。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
主題可接受之訊息承載的大小上限(以 KB 為單位)。 這個屬性目前只會在 Premium 中使用,預設值為 1024。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
佇列的最大容量,以 MB 表示,表示指派給佇列的記憶體數量。 此參數的允許值為 1024、2048、3072、4096 和 5120 MB。 根據預設,系統會指派 1024 MB 的容量。 如果 'enable-partition' 設定設為 true,則指定的佇列大小會以 16 的因數放大。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
佇列名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
命名空間名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
從清單中移除屬性或專案。 範例: --remove property.list <indexToRemove> 或 --remove propertyToRemove。
| 屬性 | 值 |
|---|---|
| 參數群組: | Generic Update Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
指定要設定的屬性路徑和值,以更新物件。 範例: --set property1.property2=<value>.
| 屬性 | 值 |
|---|---|
| 參數群組: | Generic Update Arguments |
列舉傳訊實體狀態的可能值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, Restoring, SendDisabled, Unknown |
訂用帳戶的名稱或標識碼。 您可以使用 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 |