Skip to main content

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

Lihat https://learn.microsoft.com/azure/governance/resource-graph/samples/starter?tabs=azure-cli untuk sampel pertanyaan permulaan.

Examples

Example #1

Kembalikan jadual dengan keputusan pertanyaan bagi 'sumber' pertanyaan pengguna

AzureResourceGraph.Query("resources")