import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * The management zones data source allows retrieval of all management zones. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as dynatrace from "@pulumiverse/dynatrace"; * * const test = dynatrace.getManagementZones({}); * const _name_ = new dynatrace.CalculatedServiceMetric("#name#", { * enabled: true, * managementZones: [test.then(test => test.values?.[0]?.id)], * metricKey: "calc:service.#name#", * unit: "MILLI_SECOND_PER_MINUTE", * conditions: [{ * conditions: [{ * attribute: "HTTP_REQUEST_METHOD", * comparison: { * negate: false, * httpMethod: { * operator: "EQUALS_ANY_OF", * values: [ * "POST", * "GET", * ], * }, * }, * }], * }], * metricDefinition: { * metric: "REQUEST_ATTRIBUTE", * requestAttribute: "foo", * }, * }); * ``` */ export declare function getManagementZones(opts?: pulumi.InvokeOptions): Promise; /** * A collection of values returned by getManagementZones. */ export interface GetManagementZonesResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly values: outputs.GetManagementZonesValue[]; } /** * The management zones data source allows retrieval of all management zones. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as dynatrace from "@pulumiverse/dynatrace"; * * const test = dynatrace.getManagementZones({}); * const _name_ = new dynatrace.CalculatedServiceMetric("#name#", { * enabled: true, * managementZones: [test.then(test => test.values?.[0]?.id)], * metricKey: "calc:service.#name#", * unit: "MILLI_SECOND_PER_MINUTE", * conditions: [{ * conditions: [{ * attribute: "HTTP_REQUEST_METHOD", * comparison: { * negate: false, * httpMethod: { * operator: "EQUALS_ANY_OF", * values: [ * "POST", * "GET", * ], * }, * }, * }], * }], * metricDefinition: { * metric: "REQUEST_ATTRIBUTE", * requestAttribute: "foo", * }, * }); * ``` */ export declare function getManagementZonesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output;