@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
64 lines (63 loc) • 2.01 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* The `dynatrace.AttackAlerting` data source allows the attack alerting profile ID to be retrieved by its name.
*
* - `name` (String) - The name of the attack alerting profile
*
* 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 "@pulumi/dynatrace";
*
* const example = dynatrace.getAttackAlerting({
* name: "Terraform Example",
* });
* export const id = example.then(example => example.id);
* ```
*/
export declare function getAttackAlerting(args: GetAttackAlertingArgs, opts?: pulumi.InvokeOptions): Promise<GetAttackAlertingResult>;
/**
* A collection of arguments for invoking getAttackAlerting.
*/
export interface GetAttackAlertingArgs {
name: string;
}
/**
* A collection of values returned by getAttackAlerting.
*/
export interface GetAttackAlertingResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name: string;
}
/**
* The `dynatrace.AttackAlerting` data source allows the attack alerting profile ID to be retrieved by its name.
*
* - `name` (String) - The name of the attack alerting profile
*
* 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 "@pulumi/dynatrace";
*
* const example = dynatrace.getAttackAlerting({
* name: "Terraform Example",
* });
* export const id = example.then(example => example.id);
* ```
*/
export declare function getAttackAlertingOutput(args: GetAttackAlertingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAttackAlertingResult>;
/**
* A collection of arguments for invoking getAttackAlerting.
*/
export interface GetAttackAlertingOutputArgs {
name: pulumi.Input<string>;
}