UNPKG

@pulumiverse/dynatrace

Version:

A Pulumi package for creating and managing Dynatrace cloud resources.

147 lines (146 loc) 4.92 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class MetricMetadata extends pulumi.CustomResource { /** * Get an existing MetricMetadata 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?: MetricMetadataState, opts?: pulumi.CustomResourceOptions): MetricMetadata; /** * Returns true if the given object is an instance of MetricMetadata. 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 MetricMetadata; /** * Description */ readonly description: pulumi.Output<string | undefined>; /** * Define metadata per metric dimension. */ readonly dimensions: pulumi.Output<outputs.MetricMetadataDimensions | undefined>; /** * Display name */ readonly displayName: pulumi.Output<string | undefined>; /** * The scope of this setting (metric) */ readonly metricId: pulumi.Output<string>; /** * Metric properties */ readonly metricProperties: pulumi.Output<outputs.MetricMetadataMetricProperties | undefined>; /** * Specifies which entity dimension should be used as the primary dimension. The property can only be configured for metrics ingested with the Metrics API. */ readonly sourceEntityType: pulumi.Output<string | undefined>; /** * Tags */ readonly tags: pulumi.Output<string[] | undefined>; /** * Unit */ readonly unit: pulumi.Output<string>; /** * The raw value is stored in bits or bytes. The user interface can display it in these numeral systems: */ readonly unitDisplayFormat: pulumi.Output<string | undefined>; /** * Create a MetricMetadata 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: MetricMetadataArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MetricMetadata resources. */ export interface MetricMetadataState { /** * Description */ description?: pulumi.Input<string>; /** * Define metadata per metric dimension. */ dimensions?: pulumi.Input<inputs.MetricMetadataDimensions>; /** * Display name */ displayName?: pulumi.Input<string>; /** * The scope of this setting (metric) */ metricId?: pulumi.Input<string>; /** * Metric properties */ metricProperties?: pulumi.Input<inputs.MetricMetadataMetricProperties>; /** * Specifies which entity dimension should be used as the primary dimension. The property can only be configured for metrics ingested with the Metrics API. */ sourceEntityType?: pulumi.Input<string>; /** * Tags */ tags?: pulumi.Input<pulumi.Input<string>[]>; /** * Unit */ unit?: pulumi.Input<string>; /** * The raw value is stored in bits or bytes. The user interface can display it in these numeral systems: */ unitDisplayFormat?: pulumi.Input<string>; } /** * The set of arguments for constructing a MetricMetadata resource. */ export interface MetricMetadataArgs { /** * Description */ description?: pulumi.Input<string>; /** * Define metadata per metric dimension. */ dimensions?: pulumi.Input<inputs.MetricMetadataDimensions>; /** * Display name */ displayName?: pulumi.Input<string>; /** * The scope of this setting (metric) */ metricId: pulumi.Input<string>; /** * Metric properties */ metricProperties?: pulumi.Input<inputs.MetricMetadataMetricProperties>; /** * Specifies which entity dimension should be used as the primary dimension. The property can only be configured for metrics ingested with the Metrics API. */ sourceEntityType?: pulumi.Input<string>; /** * Tags */ tags?: pulumi.Input<pulumi.Input<string>[]>; /** * Unit */ unit: pulumi.Input<string>; /** * The raw value is stored in bits or bytes. The user interface can display it in these numeral systems: */ unitDisplayFormat?: pulumi.Input<string>; }