import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a single graph query by its resourceName. * * Uses Azure REST API version 2024-04-01. * * Other available API versions: 2021-03-01, 2022-10-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native resourcegraph [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getGraphQuery(args: GetGraphQueryArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetGraphQueryArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the Graph Query resource. */ resourceName: string; } /** * Graph Query entity definition. */ export interface GetGraphQueryResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The description of a graph query. */ readonly description?: string; /** * This will be used to handle Optimistic Concurrency. If not present, it will always overwrite the existing resource without checking conflict. */ readonly etag?: string; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * The location of the resource */ readonly location?: string; /** * The name of the resource */ readonly name: string; /** * KQL query that will be graph. */ readonly query: string; /** * Enum indicating a type of graph query. */ readonly resultKind: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.resourcegraph.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * Date and time in UTC of the last modification that was made to this graph query definition. */ readonly timeModified: string; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Get a single graph query by its resourceName. * * Uses Azure REST API version 2024-04-01. * * Other available API versions: 2021-03-01, 2022-10-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native resourcegraph [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getGraphQueryOutput(args: GetGraphQueryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetGraphQueryOutputArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input; /** * The name of the Graph Query resource. */ resourceName: pulumi.Input; } //# sourceMappingURL=getGraphQuery.d.ts.map