/** * Service Mesh API * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. * OpenAPI spec version: 20220615 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2025, 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"; /** * This resource represents a customer-managed service route table in the Service Mesh. */ export interface VirtualServiceRouteTable { /** * Unique identifier that is immutable on creation. */ "id": string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. * */ "compartmentId": string; /** * The OCID of the virtual service in which this virtual service route table is created. */ "virtualServiceId": string; /** * A user-friendly name. The name must be unique within the same virtual service and cannot be changed after creation. * Avoid entering confidential information. *

Example: {@code My unique resource name} * */ "name": string; /** * Description of the resource. It can be changed after creation. * Avoid entering confidential information. *

Example: {@code This is my new resource} * */ "description"?: string; /** * The priority of the route table. Lower value means higher priority. The routes are declared based on the priority. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "priority"?: number; /** * The route rules for the virtual service. */ "routeRules"?: Array; /** * The time when this resource was created in an RFC3339 formatted datetime string. */ "timeCreated": Date; /** * The time when this resource was updated in an RFC3339 formatted datetime string. */ "timeUpdated": Date; /** * The current state of the Resource. */ "lifecycleState": VirtualServiceRouteTable.LifecycleState; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state. */ "lifecycleDetails"?: string; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} * */ "freeformTags"?: { [key: string]: string; }; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} * */ "definedTags"?: { [key: string]: { [key: string]: any; }; }; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} * */ "systemTags"?: { [key: string]: { [key: string]: any; }; }; } export declare namespace VirtualServiceRouteTable { enum LifecycleState { Creating = "CREATING", Updating = "UPDATING", Active = "ACTIVE", Deleting = "DELETING", Deleted = "DELETED", Failed = "FAILED", /** * 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: VirtualServiceRouteTable): object; function getDeserializedJsonObj(obj: VirtualServiceRouteTable): object; }