import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class CalculatedServiceMetric extends pulumi.CustomResource { /** * Get an existing CalculatedServiceMetric 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, state?: CalculatedServiceMetricState, opts?: pulumi.CustomResourceOptions): CalculatedServiceMetric; /** * Returns true if the given object is an instance of CalculatedServiceMetric. 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 CalculatedServiceMetric; /** * The set of conditions for the metric usage. **All** the specified conditions must be fulfilled to use the metric */ readonly conditions: pulumi.Output; /** * The displayed description of the metric */ readonly description: pulumi.Output; /** * Parameters of a definition of a calculated service metric */ readonly dimensionDefinition: pulumi.Output; /** * The metric is enabled (`true`) or disabled (`false`) */ readonly enabled: pulumi.Output; /** * Restricts the metric usage to the specified service. This field is mutually exclusive with the `managementZones` field */ readonly entityId: pulumi.Output; /** * Metric should (true) or not (false) ignore muted requests. */ readonly ignoreMutedRequests: pulumi.Output; /** * Restricts the metric usage to specified management zones. This field is mutually exclusive with the `entityId` field */ readonly managementZones: pulumi.Output; /** * The definition of a calculated service metric */ readonly metricDefinition: pulumi.Output; /** * The key of the calculated service metric */ readonly metricKey: pulumi.Output; /** * The displayed name of the metric */ readonly name: pulumi.Output; /** * The unit of the metric. Possible values are `BIT`, `BIT_PER_HOUR`, `BIT_PER_MINUTE`, `BIT_PER_SECOND`, `BYTE`, `BYTE_PER_HOUR`, `BYTE_PER_MINUTE`, `BYTE_PER_SECOND`, `CORES`, `COUNT`, `DAY`, `DECIBEL_MILLI_WATT`, `GIBI_BYTE`, `GIGA`, `GIGA_BYTE`, `HOUR`, `KIBI_BYTE`, `KIBI_BYTE_PER_HOUR`, `KIBI_BYTE_PER_MINUTE`, `KIBI_BYTE_PER_SECOND`, `KILO`, `KILO_BYTE`, `KILO_BYTE_PER_HOUR`, `KILO_BYTE_PER_MINUTE`, `KILO_BYTE_PER_SECOND`, `MEBI_BYTE`, `MEBI_BYTE_PER_HOUR`, `MEBI_BYTE_PER_MINUTE`, `MEBI_BYTE_PER_SECOND`, `MEGA`, `MEGA_BYTE`, `MEGA_BYTE_PER_HOUR`, `MEGA_BYTE_PER_MINUTE`, `MEGA_BYTE_PER_SECOND`, `MICRO_SECOND`, `MILLI_CORES`, `MILLI_SECOND`, `MILLI_SECOND_PER_MINUTE`, `MINUTE`, `MONTH`, `MSU`, `NANO_SECOND`, `NANO_SECOND_PER_MINUTE`, `NOT_APPLICABLE`, `PERCENT`, `PER_HOUR`, `PER_MINUTE`, `PER_SECOND`, `PIXEL`, `PROMILLE`, `RATIO`, `SECOND`, `STATE`, `UNSPECIFIED`, `WEEK` and `YEAR` */ readonly unit: pulumi.Output; /** * The display name of the metric's unit. Only applicable when the **unit** parameter is set to `UNSPECIFIED` */ readonly unitDisplayName: pulumi.Output; /** * allows for configuring properties that are not explicitly supported by the current version of this provider */ readonly unknowns: pulumi.Output; /** * Create a CalculatedServiceMetric 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: CalculatedServiceMetricArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CalculatedServiceMetric resources. */ export interface CalculatedServiceMetricState { /** * The set of conditions for the metric usage. **All** the specified conditions must be fulfilled to use the metric */ conditions?: pulumi.Input[]>; /** * The displayed description of the metric */ description?: pulumi.Input; /** * Parameters of a definition of a calculated service metric */ dimensionDefinition?: pulumi.Input; /** * The metric is enabled (`true`) or disabled (`false`) */ enabled?: pulumi.Input; /** * Restricts the metric usage to the specified service. This field is mutually exclusive with the `managementZones` field */ entityId?: pulumi.Input; /** * Metric should (true) or not (false) ignore muted requests. */ ignoreMutedRequests?: pulumi.Input; /** * Restricts the metric usage to specified management zones. This field is mutually exclusive with the `entityId` field */ managementZones?: pulumi.Input[]>; /** * The definition of a calculated service metric */ metricDefinition?: pulumi.Input; /** * The key of the calculated service metric */ metricKey?: pulumi.Input; /** * The displayed name of the metric */ name?: pulumi.Input; /** * The unit of the metric. Possible values are `BIT`, `BIT_PER_HOUR`, `BIT_PER_MINUTE`, `BIT_PER_SECOND`, `BYTE`, `BYTE_PER_HOUR`, `BYTE_PER_MINUTE`, `BYTE_PER_SECOND`, `CORES`, `COUNT`, `DAY`, `DECIBEL_MILLI_WATT`, `GIBI_BYTE`, `GIGA`, `GIGA_BYTE`, `HOUR`, `KIBI_BYTE`, `KIBI_BYTE_PER_HOUR`, `KIBI_BYTE_PER_MINUTE`, `KIBI_BYTE_PER_SECOND`, `KILO`, `KILO_BYTE`, `KILO_BYTE_PER_HOUR`, `KILO_BYTE_PER_MINUTE`, `KILO_BYTE_PER_SECOND`, `MEBI_BYTE`, `MEBI_BYTE_PER_HOUR`, `MEBI_BYTE_PER_MINUTE`, `MEBI_BYTE_PER_SECOND`, `MEGA`, `MEGA_BYTE`, `MEGA_BYTE_PER_HOUR`, `MEGA_BYTE_PER_MINUTE`, `MEGA_BYTE_PER_SECOND`, `MICRO_SECOND`, `MILLI_CORES`, `MILLI_SECOND`, `MILLI_SECOND_PER_MINUTE`, `MINUTE`, `MONTH`, `MSU`, `NANO_SECOND`, `NANO_SECOND_PER_MINUTE`, `NOT_APPLICABLE`, `PERCENT`, `PER_HOUR`, `PER_MINUTE`, `PER_SECOND`, `PIXEL`, `PROMILLE`, `RATIO`, `SECOND`, `STATE`, `UNSPECIFIED`, `WEEK` and `YEAR` */ unit?: pulumi.Input; /** * The display name of the metric's unit. Only applicable when the **unit** parameter is set to `UNSPECIFIED` */ unitDisplayName?: pulumi.Input; /** * allows for configuring properties that are not explicitly supported by the current version of this provider */ unknowns?: pulumi.Input; } /** * The set of arguments for constructing a CalculatedServiceMetric resource. */ export interface CalculatedServiceMetricArgs { /** * The set of conditions for the metric usage. **All** the specified conditions must be fulfilled to use the metric */ conditions?: pulumi.Input[]>; /** * The displayed description of the metric */ description?: pulumi.Input; /** * Parameters of a definition of a calculated service metric */ dimensionDefinition?: pulumi.Input; /** * The metric is enabled (`true`) or disabled (`false`) */ enabled?: pulumi.Input; /** * Restricts the metric usage to the specified service. This field is mutually exclusive with the `managementZones` field */ entityId?: pulumi.Input; /** * Metric should (true) or not (false) ignore muted requests. */ ignoreMutedRequests?: pulumi.Input; /** * Restricts the metric usage to specified management zones. This field is mutually exclusive with the `entityId` field */ managementZones?: pulumi.Input[]>; /** * The definition of a calculated service metric */ metricDefinition?: pulumi.Input; /** * The key of the calculated service metric */ metricKey: pulumi.Input; /** * The displayed name of the metric */ name?: pulumi.Input; /** * The unit of the metric. Possible values are `BIT`, `BIT_PER_HOUR`, `BIT_PER_MINUTE`, `BIT_PER_SECOND`, `BYTE`, `BYTE_PER_HOUR`, `BYTE_PER_MINUTE`, `BYTE_PER_SECOND`, `CORES`, `COUNT`, `DAY`, `DECIBEL_MILLI_WATT`, `GIBI_BYTE`, `GIGA`, `GIGA_BYTE`, `HOUR`, `KIBI_BYTE`, `KIBI_BYTE_PER_HOUR`, `KIBI_BYTE_PER_MINUTE`, `KIBI_BYTE_PER_SECOND`, `KILO`, `KILO_BYTE`, `KILO_BYTE_PER_HOUR`, `KILO_BYTE_PER_MINUTE`, `KILO_BYTE_PER_SECOND`, `MEBI_BYTE`, `MEBI_BYTE_PER_HOUR`, `MEBI_BYTE_PER_MINUTE`, `MEBI_BYTE_PER_SECOND`, `MEGA`, `MEGA_BYTE`, `MEGA_BYTE_PER_HOUR`, `MEGA_BYTE_PER_MINUTE`, `MEGA_BYTE_PER_SECOND`, `MICRO_SECOND`, `MILLI_CORES`, `MILLI_SECOND`, `MILLI_SECOND_PER_MINUTE`, `MINUTE`, `MONTH`, `MSU`, `NANO_SECOND`, `NANO_SECOND_PER_MINUTE`, `NOT_APPLICABLE`, `PERCENT`, `PER_HOUR`, `PER_MINUTE`, `PER_SECOND`, `PIXEL`, `PROMILLE`, `RATIO`, `SECOND`, `STATE`, `UNSPECIFIED`, `WEEK` and `YEAR` */ unit: pulumi.Input; /** * The display name of the metric's unit. Only applicable when the **unit** parameter is set to `UNSPECIFIED` */ unitDisplayName?: pulumi.Input; /** * allows for configuring properties that are not explicitly supported by the current version of this provider */ unknowns?: pulumi.Input; }