@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
135 lines (134 loc) • 4.91 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
export declare class CalculatedWebMetric extends pulumi.CustomResource {
/**
* Get an existing CalculatedWebMetric 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?: CalculatedWebMetricState, opts?: pulumi.CustomResourceOptions): CalculatedWebMetric;
/**
* Returns true if the given object is an instance of CalculatedWebMetric. 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 CalculatedWebMetric;
/**
* The Dynatrace entity ID of the application to which the metric belongs.
*/
readonly appIdentifier: pulumi.Output<string>;
/**
* Descriptor of a calculated web metric.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* Parameters of a definition of a calculated web metric.
*/
readonly dimensions: pulumi.Output<outputs.CalculatedWebMetricDimension[] | undefined>;
/**
* The metric is enabled (`true`) or disabled (`false`)
*/
readonly enabled: pulumi.Output<boolean>;
/**
* The definition of a calculated web metric.
*/
readonly metricDefinition: pulumi.Output<outputs.CalculatedWebMetricMetricDefinition>;
/**
* The unique key of the calculated web metric.
*/
readonly metricKey: pulumi.Output<string>;
/**
* The displayed name of the metric.
*/
readonly name: pulumi.Output<string>;
/**
* Parameters of a definition of a calculated web metric.
*/
readonly userActionFilter: pulumi.Output<outputs.CalculatedWebMetricUserActionFilter | undefined>;
/**
* Create a CalculatedWebMetric 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: CalculatedWebMetricArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering CalculatedWebMetric resources.
*/
export interface CalculatedWebMetricState {
/**
* The Dynatrace entity ID of the application to which the metric belongs.
*/
appIdentifier?: pulumi.Input<string>;
/**
* Descriptor of a calculated web metric.
*/
description?: pulumi.Input<string>;
/**
* Parameters of a definition of a calculated web metric.
*/
dimensions?: pulumi.Input<pulumi.Input<inputs.CalculatedWebMetricDimension>[]>;
/**
* The metric is enabled (`true`) or disabled (`false`)
*/
enabled?: pulumi.Input<boolean>;
/**
* The definition of a calculated web metric.
*/
metricDefinition?: pulumi.Input<inputs.CalculatedWebMetricMetricDefinition>;
/**
* The unique key of the calculated web metric.
*/
metricKey?: pulumi.Input<string>;
/**
* The displayed name of the metric.
*/
name?: pulumi.Input<string>;
/**
* Parameters of a definition of a calculated web metric.
*/
userActionFilter?: pulumi.Input<inputs.CalculatedWebMetricUserActionFilter>;
}
/**
* The set of arguments for constructing a CalculatedWebMetric resource.
*/
export interface CalculatedWebMetricArgs {
/**
* The Dynatrace entity ID of the application to which the metric belongs.
*/
appIdentifier: pulumi.Input<string>;
/**
* Descriptor of a calculated web metric.
*/
description?: pulumi.Input<string>;
/**
* Parameters of a definition of a calculated web metric.
*/
dimensions?: pulumi.Input<pulumi.Input<inputs.CalculatedWebMetricDimension>[]>;
/**
* The metric is enabled (`true`) or disabled (`false`)
*/
enabled: pulumi.Input<boolean>;
/**
* The definition of a calculated web metric.
*/
metricDefinition: pulumi.Input<inputs.CalculatedWebMetricMetricDefinition>;
/**
* The unique key of the calculated web metric.
*/
metricKey: pulumi.Input<string>;
/**
* The displayed name of the metric.
*/
name?: pulumi.Input<string>;
/**
* Parameters of a definition of a calculated web metric.
*/
userActionFilter?: pulumi.Input<inputs.CalculatedWebMetricUserActionFilter>;
}