/** * * * OpenAPI spec version: 20180917 * * * 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/resourcemanager/ListStacks.ts.html |here} to see how to use ListStacksRequest. */ export interface ListStacksRequest extends common.BaseRequest { /** * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a * particular request, please provide the request ID. * */ "opcRequestId"?: string; /** * A filter to return only resources that exist in the compartment, identified by [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * */ "compartmentId"?: string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on which to query for a stack. * */ "id"?: string; /** * A filter that returns only those resources that match the specified * lifecycle state. The state value is case-insensitive. * For more information about stack lifecycle states, see * [Key Concepts](https://docs.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#concepts__StackStates). * */ "lifecycleState"?: string; /** * A filter to return only resources that match the given display name exactly. * Use this filter to list a resource by name. * Requires {@code sortBy} set to {@code DISPLAYNAME}. * Alternatively, when you know the resource OCID, use the related Get operation. * */ "displayName"?: string; /** * The field to use when sorting returned resources. * By default, {@code TIMECREATED} is ordered descending. * By default, {@code DISPLAYNAME} is ordered ascending. Note that you can sort only on one field. * */ "sortBy"?: ListStacksRequest.SortBy; /** * The sort order to use when sorting returned resources. Ascending ({@code ASC}) or descending ({@code DESC}). * */ "sortOrder"?: ListStacksRequest.SortOrder; /** * The number of items returned in a paginated {@code List} call. For information about pagination, see * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). * */ "limit"?: number; /** * The value of the {@code opc-next-page} response header from the preceding {@code List} call. * For information about pagination, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). * */ "page"?: string; } export declare namespace ListStacksRequest { enum SortBy { Timecreated = "TIMECREATED", Displayname = "DISPLAYNAME" } enum SortOrder { Asc = "ASC", Desc = "DESC" } }