import * as pulumi from "@pulumi/pulumi"; /** * The entity data source allows the entity ID to be retrieved by its name and type. * * - `name` (String) Display name of the entity * - `type` (String) Type of the entity, e.g. SERVICE. All available entity types can be retrieved with [/api/v2/entityTypes](https://www.dynatrace.com/support/help/dynatrace-api/environment-api/entity-v2/get-all-entity-types). * * If multiple services match the given criteria, the first result will be retrieved. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as dynatrace from "@pulumiverse/dynatrace"; * * const test = dynatrace.getEntity({ * type: "SERVICE", * name: "BookingService", * }); * export const id = test.then(test => test.id); * ``` */ export declare function getEntity(args?: GetEntityArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getEntity. */ export interface GetEntityArgs { entitySelector?: string; from?: string; name?: string; to?: string; type?: string; } /** * A collection of values returned by getEntity. */ export interface GetEntityResult { readonly entitySelector?: string; readonly from?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name?: string; readonly properties: { [key: string]: string; }; readonly to?: string; readonly type?: string; } /** * The entity data source allows the entity ID to be retrieved by its name and type. * * - `name` (String) Display name of the entity * - `type` (String) Type of the entity, e.g. SERVICE. All available entity types can be retrieved with [/api/v2/entityTypes](https://www.dynatrace.com/support/help/dynatrace-api/environment-api/entity-v2/get-all-entity-types). * * If multiple services match the given criteria, the first result will be retrieved. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as dynatrace from "@pulumiverse/dynatrace"; * * const test = dynatrace.getEntity({ * type: "SERVICE", * name: "BookingService", * }); * export const id = test.then(test => test.id); * ``` */ export declare function getEntityOutput(args?: GetEntityOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getEntity. */ export interface GetEntityOutputArgs { entitySelector?: pulumi.Input; from?: pulumi.Input; name?: pulumi.Input; to?: pulumi.Input; type?: pulumi.Input; }