Hop til hovedindhold

AzureResourceGraph.Query

Syntax

AzureResourceGraph.Query(
query as text,
optional scope as text,
optional subscription as text,
optional managementGroup as text,
optional options as record
) as table

Remarks

Se https://learn.microsoft.com/azure/governance/resource-graph/samples/starter?tabs=azure-cli for eksempler på startforespørgsler.

Examples

Example #1

Returner en tabel med forespørgselsresultater fra brugerforespørgslen "ressourcer"

AzureResourceGraph.Query("resources")