Sdílet prostřednictvím


Dotazy na tabulku ContainerImageInventory

Informace o používání těchto dotazů na webu Azure Portal najdete v kurzu služby Log Analytics. Informace o rozhraní REST API najdete v tématu Dotaz.

Inventář imagí

Zobrazí seznam všech imagí kontejneru se stavem.

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

Najít v ContainerImageInventory

Vyhledejte v ContainerImageInventory konkrétní hodnotu v tabulce ContainerImageInventory./nNote, že tento dotaz vyžaduje aktualizaci parametru <SeachValue> , aby se vytvořily výsledky.

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