閱讀英文

共用方式為


ContainerImageInventory 資料表的查詢

若要了解如何在 Azure 入口網站中使用這些查詢,請參閱 Log Analytics 教程。 For the REST API, see Query.

圖片庫存

列出所有容器映像及其狀態。

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

在 ContainerImageInventory 中尋找

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

// 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

其他資源