共用方式為


MachinesListByWorkspaceOptionalParams interface

選擇性參數。

Extends

屬性

endTime

指定間隔結束時間的 UTC 日期和時間。 未指定時,服務會使用 DateTime.UtcNow

live

指定是否要傳回即時資源 (true) 或清查資源 (false)。 預設為 true 。 擷取即時資源時,應包含所需間隔的開始時間(startTime)和結束時間(endTime)。 擷取清查資源時,可以指定選擇性的時間戳 (timestamp) 參數,以傳回每個最接近該時間戳(不在之後)的資源版本。 默認值:true。

startTime

指定間隔開始時間的 UTC 日期和時間。 未指定時,服務會使用 DateTime.UtcNow - 10m

timestamp

UTC 日期和時間,指定要評估每部計算機資源的相對時間實例。 僅適用於 live=false時。 未指定時,服務會使用 DateTime.UtcNow。

top

要使用的頁面大小。 未指定時,預設頁面大小為100筆記錄。

繼承的屬性

abortSignal

可用來中止要求的訊號。

customHeaders

使用者定義自定義要求標頭,將在傳送要求之前套用。

onDownloadProgress

下載進度引發的回呼。

onUploadProgress

上傳進度時引發的回呼。

timeout

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

屬性詳細資料

endTime

指定間隔結束時間的 UTC 日期和時間。 未指定時,服務會使用 DateTime.UtcNow

endTime?: Date

屬性值

Date

live

指定是否要傳回即時資源 (true) 或清查資源 (false)。 預設為 true 。 擷取即時資源時,應包含所需間隔的開始時間(startTime)和結束時間(endTime)。 擷取清查資源時,可以指定選擇性的時間戳 (timestamp) 參數,以傳回每個最接近該時間戳(不在之後)的資源版本。 默認值:true。

live?: boolean

屬性值

boolean

startTime

指定間隔開始時間的 UTC 日期和時間。 未指定時,服務會使用 DateTime.UtcNow - 10m

startTime?: Date

屬性值

Date

timestamp

UTC 日期和時間,指定要評估每部計算機資源的相對時間實例。 僅適用於 live=false時。 未指定時,服務會使用 DateTime.UtcNow。

timestamp?: Date

屬性值

Date

top

要使用的頁面大小。 未指定時,預設頁面大小為100筆記錄。

top?: number

屬性值

number

繼承的屬性詳細資料

abortSignal

可用來中止要求的訊號。

abortSignal?: AbortSignalLike

屬性值

繼承自 msRest.RequestOptionsBase.abortSignal

customHeaders

使用者定義自定義要求標頭,將在傳送要求之前套用。

customHeaders?: {[key: string]: string}

屬性值

{[key: string]: string}

繼承自 msRest.RequestOptionsBase.customHeaders

onDownloadProgress

下載進度引發的回呼。

onDownloadProgress?: (progress: TransferProgressEvent) => void

屬性值

(progress: TransferProgressEvent) => void

繼承自 msRest.RequestOptionsBase.onDownloadProgress

onUploadProgress

上傳進度時引發的回呼。

onUploadProgress?: (progress: TransferProgressEvent) => void

屬性值

(progress: TransferProgressEvent) => void

繼承自 msRest.RequestOptionsBase.onUploadProgress

timeout

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

timeout?: number

屬性值

number

繼承自 msRest.RequestOptionsBase.timeout