QueueCreateOptionalParams interface

選擇性參數。

Extends

RequestOptionsBase

屬性

abortSignal

可用來中止要求的訊號。

customHeaders

{object}[customHeaders]使用者定義自定義要求標頭,將在傳送要求之前套用。

metadata

自選。 包含此參數,以指定佇列的元數據會當做響應主體的一部分傳回。 請注意,使用此參數要求的元數據必須根據佇列服務的 2009-09-19 版本所強加的命名限制來儲存。 從這個版本開始,所有元數據名稱都必須遵守 C# 識別碼的命名慣例。

onDownloadProgress

下載進度引發的回呼。

onUploadProgress

上傳進度時引發的回呼。

requestId

提供客戶端產生的不透明值,其中包含啟用記憶體分析記錄時,分析記錄中記錄的 1 KB 字元限制。

timeout

要求在自動終止之前可能需要的毫秒數。

timeoutParameter

逾時參數是以秒為單位來表示。 如需詳細資訊,請參閱 <href=“https://docs.microsoft.com/en-us/rest/api/storageservices/setting-timeouts-for-queue-service-operations>設定佇列服務作業的逾時。

屬性詳細資料

abortSignal

可用來中止要求的訊號。

abortSignal?: AbortSignalLike

屬性值

AbortSignalLike

customHeaders

{object}[customHeaders]使用者定義自定義要求標頭,將在傳送要求之前套用。

customHeaders?: undefined | [key: string]: string

屬性值

undefined | [key: string]: string

metadata

自選。 包含此參數,以指定佇列的元數據會當做響應主體的一部分傳回。 請注意,使用此參數要求的元數據必須根據佇列服務的 2009-09-19 版本所強加的命名限制來儲存。 從這個版本開始,所有元數據名稱都必須遵守 C# 識別碼的命名慣例。

metadata?: undefined | [key: string]: string

屬性值

undefined | [key: string]: string

onDownloadProgress

下載進度引發的回呼。

onDownloadProgress?: undefined | (progress: TransferProgressEvent) => void

屬性值

undefined | (progress: TransferProgressEvent) => void

onUploadProgress

上傳進度時引發的回呼。

onUploadProgress?: undefined | (progress: TransferProgressEvent) => void

屬性值

undefined | (progress: TransferProgressEvent) => void

requestId

提供客戶端產生的不透明值,其中包含啟用記憶體分析記錄時,分析記錄中記錄的 1 KB 字元限制。

requestId?: undefined | string

屬性值

undefined | string

timeout

要求在自動終止之前可能需要的毫秒數。

timeout?: undefined | number

屬性值

undefined | number

timeoutParameter

逾時參數是以秒為單位來表示。 如需詳細資訊,請參閱 <href=“https://docs.microsoft.com/en-us/rest/api/storageservices/setting-timeouts-for-queue-service-operations>設定佇列服務作業的逾時。

timeoutParameter?: undefined | number

屬性值

undefined | number