@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
91 lines (90 loc) • 2.58 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* The generic settings data source allows Settings 2.0 objects to be retrieved by its schema ID, scope, and/or filter.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as dynatrace from "@pulumi/dynatrace";
*
* const example = dynatrace.getGenericSettings({
* schema: "builtin:alerting.maintenance-window",
* });
* export const genericSettings = example;
* ```
*/
export declare function getGenericSettings(args?: GetGenericSettingsArgs, opts?: pulumi.InvokeOptions): Promise<GetGenericSettingsResult>;
/**
* A collection of arguments for invoking getGenericSettings.
*/
export interface GetGenericSettingsArgs {
/**
* Filter of the requested objects
*/
filter?: string;
/**
* Schema IDs to which the requested objects belong
*/
schema?: string;
/**
* Scope that the requested objects target
*/
scope?: string;
}
/**
* A collection of values returned by getGenericSettings.
*/
export interface GetGenericSettingsResult {
/**
* Filter of the requested objects
*/
readonly filter?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Schema IDs to which the requested objects belong
*/
readonly schema: string;
/**
* Scope that the requested objects target
*/
readonly scope: string;
readonly values: outputs.GetGenericSettingsValue[];
}
/**
* The generic settings data source allows Settings 2.0 objects to be retrieved by its schema ID, scope, and/or filter.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as dynatrace from "@pulumi/dynatrace";
*
* const example = dynatrace.getGenericSettings({
* schema: "builtin:alerting.maintenance-window",
* });
* export const genericSettings = example;
* ```
*/
export declare function getGenericSettingsOutput(args?: GetGenericSettingsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGenericSettingsResult>;
/**
* A collection of arguments for invoking getGenericSettings.
*/
export interface GetGenericSettingsOutputArgs {
/**
* Filter of the requested objects
*/
filter?: pulumi.Input<string>;
/**
* Schema IDs to which the requested objects belong
*/
schema?: pulumi.Input<string>;
/**
* Scope that the requested objects target
*/
scope?: pulumi.Input<string>;
}