QueueServices interface
表示 QueueServices 的介面。
方法
get |
取得記憶體帳戶佇列服務的屬性,包括記憶體分析和 CORS(跨原始來源資源分享)規則的屬性。 |
list(string, string, Queue |
列出記憶體帳戶的所有佇列服務 |
set |
設定記憶體帳戶佇列服務的屬性,包括記憶體分析和 CORS(跨原始來源資源分享)規則的屬性。 |
方法詳細資料
getServiceProperties(string, string, QueueServicesGetServicePropertiesOptionalParams)
取得記憶體帳戶佇列服務的屬性,包括記憶體分析和 CORS(跨原始來源資源分享)規則的屬性。
function getServiceProperties(resourceGroupName: string, accountName: string, options?: QueueServicesGetServicePropertiesOptionalParams): Promise<QueueServiceProperties>
參數
- resourceGroupName
-
string
用戶訂用帳戶內的資源組名。 名稱不區分大小寫。
- accountName
-
string
指定資源群組內的記憶體帳戶名稱。 儲存體帳戶名稱長度必須介於 3 到 24 個字元之間,且只能使用數位和小寫字母。
選項參數。
傳回
Promise<QueueServiceProperties>
list(string, string, QueueServicesListOptionalParams)
列出記憶體帳戶的所有佇列服務
function list(resourceGroupName: string, accountName: string, options?: QueueServicesListOptionalParams): Promise<ListQueueServices>
參數
- resourceGroupName
-
string
用戶訂用帳戶內的資源組名。 名稱不區分大小寫。
- accountName
-
string
指定資源群組內的記憶體帳戶名稱。 儲存體帳戶名稱長度必須介於 3 到 24 個字元之間,且只能使用數位和小寫字母。
- options
- QueueServicesListOptionalParams
選項參數。
傳回
Promise<ListQueueServices>
setServiceProperties(string, string, QueueServiceProperties, QueueServicesSetServicePropertiesOptionalParams)
設定記憶體帳戶佇列服務的屬性,包括記憶體分析和 CORS(跨原始來源資源分享)規則的屬性。
function setServiceProperties(resourceGroupName: string, accountName: string, parameters: QueueServiceProperties, options?: QueueServicesSetServicePropertiesOptionalParams): Promise<QueueServiceProperties>
參數
- resourceGroupName
-
string
用戶訂用帳戶內的資源組名。 名稱不區分大小寫。
- accountName
-
string
指定資源群組內的記憶體帳戶名稱。 儲存體帳戶名稱長度必須介於 3 到 24 個字元之間,且只能使用數位和小寫字母。
- parameters
- QueueServiceProperties
記憶體帳戶佇列服務的屬性,只能指定記憶體分析和 CORS(跨原始來源資源分享)規則的屬性。
選項參數。
傳回
Promise<QueueServiceProperties>