@lbrlabs/pulumi-dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
31 lines • 1.49 kB
JavaScript
;
// *** 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.getApplicationOutput = exports.getApplication = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* The application data source allows the application ID to be retrieved by its name and optionally tags / tag-value pairs.
*
* - `name` queries for all applications with the specified name
* - `tags` (optional) refers to the tags that need to be present for the application (inclusive)
*/
function getApplication(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("dynatrace:index/getApplication:getApplication", {
"name": args.name,
}, opts);
}
exports.getApplication = getApplication;
/**
* The application data source allows the application ID to be retrieved by its name and optionally tags / tag-value pairs.
*
* - `name` queries for all applications with the specified name
* - `tags` (optional) refers to the tags that need to be present for the application (inclusive)
*/
function getApplicationOutput(args, opts) {
return pulumi.output(args).apply((a) => getApplication(a, opts));
}
exports.getApplicationOutput = getApplicationOutput;
//# sourceMappingURL=getApplication.js.map