ContainerImageInventory 數據表的查詢

映像清查

清單 所有容器映射的狀態。

ContainerImageInventory
| summarize AggregatedValue = count() by Image, ImageTag, Running, _ResourceId

在 ContainerImageInventory 中尋找

在 ContainerImageInventory 中尋找以搜尋 ContainerImageInventory 數據表中的特定值。/n 請注意,此查詢需要更新 <SeachValue> 參數才能產生結果

// This query requires a parameter to run. Enter value in SearchValue to find in table.
let SearchValue =  "<SearchValue>";//Please update term you would like to find in the table.
ContainerImageInventory
| where * contains tostring(SearchValue)
| take 1000