/** * Autoscaling API * Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about autoscaling, see [Autoscaling](https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the Compute service, see [Compute](https://docs.oracle.com/iaas/Content/Compute/home.htm). * OpenAPI spec version: 20181001 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * Metric and threshold details for triggering an autoscaling action based on CPU or memory utilization. * */ export interface Metric extends model.MetricBase { "metricType": Metric.MetricType; "threshold": model.Threshold; "metricSource": string; } export declare namespace Metric { enum MetricType { CpuUtilization = "CPU_UTILIZATION", MemoryUtilization = "MEMORY_UTILIZATION", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } function getJsonObj(obj: Metric, isParentJsonObj?: boolean): object; const metricSource = "COMPUTE_AGENT"; function getDeserializedJsonObj(obj: Metric, isParentJsonObj?: boolean): object; }