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