UNPKG

@pulumiverse/dynatrace

Version:

A Pulumi package for creating and managing Dynatrace cloud resources.

60 lines 2.21 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getAttackAlertingOutput = exports.getAttackAlerting = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * 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); * ``` */ function getAttackAlerting(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("dynatrace:index/getAttackAlerting:getAttackAlerting", { "name": args.name, }, opts); } exports.getAttackAlerting = getAttackAlerting; /** * 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); * ``` */ function getAttackAlertingOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("dynatrace:index/getAttackAlerting:getAttackAlerting", { "name": args.name, }, opts); } exports.getAttackAlertingOutput = getAttackAlertingOutput; //# sourceMappingURL=getAttackAlerting.js.map