@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
60 lines • 2.2 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.getRequestNamingOutput = exports.getRequestNaming = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* The `dynatrace.RequestNaming` data source allows the request naming rule ID to be retrieved by its name.
*
* - `name` (String) - The name to be assigned to matching requests.
*
* 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.getRequestNaming({
* name: "Terraform Example",
* });
* export const id = example.then(example => example.id);
* ```
*/
function getRequestNaming(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("dynatrace:index/getRequestNaming:getRequestNaming", {
"name": args.name,
}, opts);
}
exports.getRequestNaming = getRequestNaming;
/**
* The `dynatrace.RequestNaming` data source allows the request naming rule ID to be retrieved by its name.
*
* - `name` (String) - The name to be assigned to matching requests.
*
* 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.getRequestNaming({
* name: "Terraform Example",
* });
* export const id = example.then(example => example.id);
* ```
*/
function getRequestNamingOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("dynatrace:index/getRequestNaming:getRequestNaming", {
"name": args.name,
}, opts);
}
exports.getRequestNamingOutput = getRequestNamingOutput;
//# sourceMappingURL=getRequestNaming.js.map