如需在 Azure 入口網站使用這些查詢的資訊,請參閱 記錄分析教學。 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