UNPKG

@pulumiverse/dynatrace

Version:

A Pulumi package for creating and managing Dynatrace cloud resources.

60 lines (59 loc) 1.86 kB
import * as pulumi from "@pulumi/pulumi"; /** * The `dynatrace.UpdateWindows` data source allows the OneAgent update maintenance window ID to be retrieved by its name. * * - `name` (String) - The name of the OneAgent update maintenance window * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as dynatrace from "@pulumi/dynatrace"; * * const example = dynatrace.getUpdateWindows({ * name: "Terraform Example", * }); * export const id = example.then(example => example.id); * ``` */ export declare function getUpdateWindows(args: GetUpdateWindowsArgs, opts?: pulumi.InvokeOptions): Promise<GetUpdateWindowsResult>; /** * A collection of arguments for invoking getUpdateWindows. */ export interface GetUpdateWindowsArgs { name: string; } /** * A collection of values returned by getUpdateWindows. */ export interface GetUpdateWindowsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; } /** * The `dynatrace.UpdateWindows` data source allows the OneAgent update maintenance window ID to be retrieved by its name. * * - `name` (String) - The name of the OneAgent update maintenance window * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as dynatrace from "@pulumi/dynatrace"; * * const example = dynatrace.getUpdateWindows({ * name: "Terraform Example", * }); * export const id = example.then(example => example.id); * ``` */ export declare function getUpdateWindowsOutput(args: GetUpdateWindowsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUpdateWindowsResult>; /** * A collection of arguments for invoking getUpdateWindows. */ export interface GetUpdateWindowsOutputArgs { name: pulumi.Input<string>; }