PacketCapture interface
定義建立封包擷取作業的參數。
屬性
bytes |
每個封包擷取的位元組數目,其餘的位元組會被截斷。 |
capture |
擷取設定會保存 'FileCount'、'FileSizeInBytes'、'SessionTimeLimitInSeconds' 值。 |
continuous |
這個連續擷取是可為 Null 的布爾值,可以保存 'null'、'true' 或 'false' 值。 如果未傳遞此參數,則會將其視為 『null』,預設值為 『null』。 |
filters | 封包擷取篩選的清單。 |
scope | 可以包含或排除以執行封包擷取的 AzureVMSS 實例清單。 如果包含和排除兩者都是空的,則封包擷取將會在所有 AzureVMSS 實例上執行。 |
storage |
封包擷取會話的儲存位置。 |
target | 目前僅支援目標資源的標識碼,只有 AzureVM 和 AzureVMSS 作為目標類型。 |
target |
提供之資源的目標類型。 |
time |
擷取會話的持續時間上限,以秒為單位。 |
total |
擷取輸出的大小上限。 |
屬性詳細資料
bytesToCapturePerPacket
每個封包擷取的位元組數目,其餘的位元組會被截斷。
bytesToCapturePerPacket?: number
屬性值
number
captureSettings
擷取設定會保存 'FileCount'、'FileSizeInBytes'、'SessionTimeLimitInSeconds' 值。
captureSettings?: PacketCaptureSettings
屬性值
continuousCapture
這個連續擷取是可為 Null 的布爾值,可以保存 'null'、'true' 或 'false' 值。 如果未傳遞此參數,則會將其視為 『null』,預設值為 『null』。
continuousCapture?: boolean
屬性值
boolean
filters
scope
可以包含或排除以執行封包擷取的 AzureVMSS 實例清單。 如果包含和排除兩者都是空的,則封包擷取將會在所有 AzureVMSS 實例上執行。
scope?: PacketCaptureMachineScope
屬性值
storageLocation
target
目前僅支援目標資源的標識碼,只有 AzureVM 和 AzureVMSS 作為目標類型。
target: string
屬性值
string
targetType
timeLimitInSeconds
擷取會話的持續時間上限,以秒為單位。
timeLimitInSeconds?: number
屬性值
number
totalBytesPerSession
擷取輸出的大小上限。
totalBytesPerSession?: number
屬性值
number