@lbrlabs/pulumi-dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
64 lines (63 loc) • 1.73 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* The `dynatrace.Slo` data source allows the SLO ID to be retrieved by its name.
*
* - `name` (String) - The name of the SLO
*
* 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.getSlo({
* name: "Terraform",
* });
* export const id = example.then(example => example.id);
* ```
*/
export declare function getSlo(args: GetSloArgs, opts?: pulumi.InvokeOptions): Promise<GetSloResult>;
/**
* A collection of arguments for invoking getSlo.
*/
export interface GetSloArgs {
name: string;
}
/**
* A collection of values returned by getSlo.
*/
export interface GetSloResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name: string;
}
/**
* The `dynatrace.Slo` data source allows the SLO ID to be retrieved by its name.
*
* - `name` (String) - The name of the SLO
*
* 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.getSlo({
* name: "Terraform",
* });
* export const id = example.then(example => example.id);
* ```
*/
export declare function getSloOutput(args: GetSloOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSloResult>;
/**
* A collection of arguments for invoking getSlo.
*/
export interface GetSloOutputArgs {
name: pulumi.Input<string>;
}