@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
135 lines (134 loc) • 5.28 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
export declare class CalculatedMobileMetric extends pulumi.CustomResource {
/**
* Get an existing CalculatedMobileMetric 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?: CalculatedMobileMetricState, opts?: pulumi.CustomResourceOptions): CalculatedMobileMetric;
/**
* Returns true if the given object is an instance of CalculatedMobileMetric. 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 CalculatedMobileMetric;
/**
* The Dynatrace entity ID of the application to which the metric belongs.
*/
readonly appIdentifier: pulumi.Output<string>;
/**
* Descriptor of a calculated mobile/custom app metric.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* Parameters of a definition of a calculated mobile/custom app metric.
*/
readonly dimensions: pulumi.Output<outputs.CalculatedMobileMetricDimension[] | undefined>;
/**
* The metric is enabled (`true`) or disabled (`false`)
*/
readonly enabled: pulumi.Output<boolean>;
/**
* The unique key of the calculated mobile/custom app metric.
*/
readonly metricKey: pulumi.Output<string>;
/**
* The type of the metric. Possible values: [ REPORTED*ERROR*COUNT, USER*ACTION*DURATION, WEB*REQUEST*COUNT, WEB*REQUEST*ERROR_COUNT ]
*/
readonly metricType: pulumi.Output<string>;
/**
* The displayed name of the metric.
*/
readonly name: pulumi.Output<string>;
/**
* Parameters of a definition of a calculated mobile/custom app metric.
*/
readonly userActionFilter: pulumi.Output<outputs.CalculatedMobileMetricUserActionFilter | undefined>;
/**
* Create a CalculatedMobileMetric 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: CalculatedMobileMetricArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering CalculatedMobileMetric resources.
*/
export interface CalculatedMobileMetricState {
/**
* The Dynatrace entity ID of the application to which the metric belongs.
*/
appIdentifier?: pulumi.Input<string>;
/**
* Descriptor of a calculated mobile/custom app metric.
*/
description?: pulumi.Input<string>;
/**
* Parameters of a definition of a calculated mobile/custom app metric.
*/
dimensions?: pulumi.Input<pulumi.Input<inputs.CalculatedMobileMetricDimension>[]>;
/**
* The metric is enabled (`true`) or disabled (`false`)
*/
enabled?: pulumi.Input<boolean>;
/**
* The unique key of the calculated mobile/custom app metric.
*/
metricKey?: pulumi.Input<string>;
/**
* The type of the metric. Possible values: [ REPORTED*ERROR*COUNT, USER*ACTION*DURATION, WEB*REQUEST*COUNT, WEB*REQUEST*ERROR_COUNT ]
*/
metricType?: pulumi.Input<string>;
/**
* The displayed name of the metric.
*/
name?: pulumi.Input<string>;
/**
* Parameters of a definition of a calculated mobile/custom app metric.
*/
userActionFilter?: pulumi.Input<inputs.CalculatedMobileMetricUserActionFilter>;
}
/**
* The set of arguments for constructing a CalculatedMobileMetric resource.
*/
export interface CalculatedMobileMetricArgs {
/**
* The Dynatrace entity ID of the application to which the metric belongs.
*/
appIdentifier: pulumi.Input<string>;
/**
* Descriptor of a calculated mobile/custom app metric.
*/
description?: pulumi.Input<string>;
/**
* Parameters of a definition of a calculated mobile/custom app metric.
*/
dimensions?: pulumi.Input<pulumi.Input<inputs.CalculatedMobileMetricDimension>[]>;
/**
* The metric is enabled (`true`) or disabled (`false`)
*/
enabled: pulumi.Input<boolean>;
/**
* The unique key of the calculated mobile/custom app metric.
*/
metricKey: pulumi.Input<string>;
/**
* The type of the metric. Possible values: [ REPORTED*ERROR*COUNT, USER*ACTION*DURATION, WEB*REQUEST*COUNT, WEB*REQUEST*ERROR_COUNT ]
*/
metricType: pulumi.Input<string>;
/**
* The displayed name of the metric.
*/
name?: pulumi.Input<string>;
/**
* Parameters of a definition of a calculated mobile/custom app metric.
*/
userActionFilter?: pulumi.Input<inputs.CalculatedMobileMetricUserActionFilter>;
}