UNPKG

@lbrlabs/pulumi-dynatrace

Version:

A Pulumi package for creating and managing Dynatrace cloud resources.

53 lines 1.89 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.getMobileApplicationOutput = exports.getMobileApplication = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * The `dynatrace.MobileApplication` data source allows the mobile application ID to be retrieved by its name. * * - `name` (String) - The name of the dashboard * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as dynatrace from "@pulumi/dynatrace"; * * const example = dynatrace.getMobileApplication({ * name: "Terraform", * }); * export const id = example.then(example => example.id); * ``` */ function getMobileApplication(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("dynatrace:index/getMobileApplication:getMobileApplication", { "name": args.name, }, opts); } exports.getMobileApplication = getMobileApplication; /** * The `dynatrace.MobileApplication` data source allows the mobile application ID to be retrieved by its name. * * - `name` (String) - The name of the dashboard * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as dynatrace from "@pulumi/dynatrace"; * * const example = dynatrace.getMobileApplication({ * name: "Terraform", * }); * export const id = example.then(example => example.id); * ``` */ function getMobileApplicationOutput(args, opts) { return pulumi.output(args).apply((a) => getMobileApplication(a, opts)); } exports.getMobileApplicationOutput = getMobileApplicationOutput; //# sourceMappingURL=getMobileApplication.js.map