@lbrlabs/pulumi-dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
99 lines (98 loc) • 3.6 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
export declare class LogStorage extends pulumi.CustomResource {
/**
* Get an existing LogStorage resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LogStorageState, opts?: pulumi.CustomResourceOptions): LogStorage;
/**
* Returns true if the given object is an instance of LogStorage. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is LogStorage;
/**
* This setting is enabled (`true`) or disabled (`false`)
*/
readonly enabled: pulumi.Output<boolean>;
/**
* no documentation available
*/
readonly matchers: pulumi.Output<outputs.LogStorageMatchers | undefined>;
/**
* Name
*/
readonly name: pulumi.Output<string>;
/**
* The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
*/
readonly scope: pulumi.Output<string | undefined>;
/**
* If `true` matching logs will be included in storage. If `false` matching logs will be excluded from storage.
*/
readonly sendToStorage: pulumi.Output<boolean>;
/**
* Create a LogStorage resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: LogStorageArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering LogStorage resources.
*/
export interface LogStorageState {
/**
* This setting is enabled (`true`) or disabled (`false`)
*/
enabled?: pulumi.Input<boolean>;
/**
* no documentation available
*/
matchers?: pulumi.Input<inputs.LogStorageMatchers>;
/**
* Name
*/
name?: pulumi.Input<string>;
/**
* The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
*/
scope?: pulumi.Input<string>;
/**
* If `true` matching logs will be included in storage. If `false` matching logs will be excluded from storage.
*/
sendToStorage?: pulumi.Input<boolean>;
}
/**
* The set of arguments for constructing a LogStorage resource.
*/
export interface LogStorageArgs {
/**
* This setting is enabled (`true`) or disabled (`false`)
*/
enabled: pulumi.Input<boolean>;
/**
* no documentation available
*/
matchers?: pulumi.Input<inputs.LogStorageMatchers>;
/**
* Name
*/
name?: pulumi.Input<string>;
/**
* The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
*/
scope?: pulumi.Input<string>;
/**
* If `true` matching logs will be included in storage. If `false` matching logs will be excluded from storage.
*/
sendToStorage: pulumi.Input<boolean>;
}