@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
60 lines (59 loc) • 1.84 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* The `dynatrace.RequestAttribute` data source allows the request attribute ID to be retrieved by its name.
*
* - `name` (String) - The name of the request attribute
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as dynatrace from "@pulumi/dynatrace";
*
* const example = dynatrace.getRequestAttribute({
* name: "Terraform Example",
* });
* export const id = example.then(example => example.id);
* ```
*/
export declare function getRequestAttribute(args: GetRequestAttributeArgs, opts?: pulumi.InvokeOptions): Promise<GetRequestAttributeResult>;
/**
* A collection of arguments for invoking getRequestAttribute.
*/
export interface GetRequestAttributeArgs {
name: string;
}
/**
* A collection of values returned by getRequestAttribute.
*/
export interface GetRequestAttributeResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name: string;
}
/**
* The `dynatrace.RequestAttribute` data source allows the request attribute ID to be retrieved by its name.
*
* - `name` (String) - The name of the request attribute
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as dynatrace from "@pulumi/dynatrace";
*
* const example = dynatrace.getRequestAttribute({
* name: "Terraform Example",
* });
* export const id = example.then(example => example.id);
* ```
*/
export declare function getRequestAttributeOutput(args: GetRequestAttributeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRequestAttributeResult>;
/**
* A collection of arguments for invoking getRequestAttribute.
*/
export interface GetRequestAttributeOutputArgs {
name: pulumi.Input<string>;
}