UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

123 lines (122 loc) 3.58 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets an entity query. * * Uses Azure REST API version 2025-01-01-preview. */ export declare function getActivityCustomEntityQuery(args: GetActivityCustomEntityQueryArgs, opts?: pulumi.InvokeOptions): Promise<GetActivityCustomEntityQueryResult>; export interface GetActivityCustomEntityQueryArgs { /** * entity query ID */ entityQueryId: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the workspace. */ workspaceName: string; } /** * Represents Activity entity query. */ export interface GetActivityCustomEntityQueryResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The entity query content to display in timeline */ readonly content?: string; /** * The time the activity was created */ readonly createdTimeUtc: string; /** * The entity query description */ readonly description?: string; /** * Determines whether this activity is enabled or disabled. */ readonly enabled?: boolean; /** * The query applied only to entities matching to all filters */ readonly entitiesFilter?: { [key: string]: string[]; }; /** * Etag of the azure resource */ readonly etag?: string; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * The type of the query's source entity */ readonly inputEntityType?: string; /** * The kind of the entity query * Expected value is 'Activity'. */ readonly kind: "Activity"; /** * The last time the activity was updated */ readonly lastModifiedTimeUtc: string; /** * The name of the resource */ readonly name: string; /** * The Activity query definitions */ readonly queryDefinitions?: outputs.securityinsights.ActivityEntityQueriesPropertiesResponseQueryDefinitions; /** * List of the fields of the source entity that are required to run the query */ readonly requiredInputFieldsSets?: string[][]; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.securityinsights.SystemDataResponse; /** * The template id this activity was created from */ readonly templateName?: string; /** * The entity query title */ readonly title?: string; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Gets an entity query. * * Uses Azure REST API version 2025-01-01-preview. */ export declare function getActivityCustomEntityQueryOutput(args: GetActivityCustomEntityQueryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetActivityCustomEntityQueryResult>; export interface GetActivityCustomEntityQueryOutputArgs { /** * entity query ID */ entityQueryId: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the workspace. */ workspaceName: pulumi.Input<string>; }