/** * * * OpenAPI spec version: 20190415 * * * 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 common = require("oci-common"); /** * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/mysql/ListReplicas.ts.html |here} to see how to use ListReplicasRequest. */ export interface ListReplicasRequest extends common.BaseRequest { /** * The compartment [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ "compartmentId": string; /** * Customer-defined unique identifier for the request. If you need to * contact Oracle about a specific request, please provide the request * ID that you supplied in this header with the request. * */ "opcRequestId"?: string; /** * The maximum number of items to return in a paginated list call. For information about pagination, see * [List Pagination](https://docs.oracle.com/iaas/#API/Concepts/usingapi.htm#List_Pagination). * */ "limit"?: number; /** * The value of the {@code opc-next-page} or {@code opc-prev-page} response header from * the previous list call. For information about pagination, see [List * Pagination](https://docs.oracle.com/iaas/#API/Concepts/usingapi.htm#List_Pagination). * */ "page"?: string; /** * A filter to return only the resource matching the given display name exactly. */ "displayName"?: string; /** * The DB System [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ "dbSystemId"?: string; /** * The LifecycleState of the read replica. */ "lifecycleState"?: string; /** * The read replica [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ "replicaId"?: string; /** * The requested Configuration instance. */ "configurationId"?: string; /** * Filter instances if they are using the latest revision of the * Configuration they are associated with. * */ "isUpToDate"?: boolean; /** * The field to sort by. You can sort by one field only. By default, the Time field is sorted in descending order and the Display Name field in ascending order. * */ "sortBy"?: ListReplicasRequest.SortBy; /** * The sort order to use (ASC or DESC). */ "sortOrder"?: ListReplicasRequest.SortOrder; } export declare namespace ListReplicasRequest { enum SortBy { TimeCreated = "timeCreated", DisplayName = "displayName" } enum SortOrder { Asc = "ASC", Desc = "DESC" } }