/** * Core Services API * Use the Core Services API to manage resources such as virtual cloud networks (VCNs), compute instances, and block storage volumes. For more information, see the console documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), [Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and [Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. The required permissions are documented in the [Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. * OpenAPI spec version: 20160918 * * * 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"; export interface UpdateVirtualCircuitDetails { /** * The provisioned data rate of the connection. To get a list of the * available bandwidth levels (that is, shapes), see * {@link #listFastConnectProviderVirtualCircuitBandwidthShapes(ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) listFastConnectProviderVirtualCircuitBandwidthShapes}. * To be updated only by the customer who owns the virtual circuit. * */ "bandwidthShapeName"?: string; /** * An array of mappings, each containing properties for a cross-connect or * cross-connect group associated with this virtual circuit. *

The customer and provider can update different properties in the mapping * depending on the situation. See the description of the * {@link CrossConnectMapping}. * */ "crossConnectMappings"?: Array; /** * The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. * Policies available are: {@code ORACLE_SERVICE_NETWORK}, {@code REGIONAL}, {@code MARKET_LEVEL}, and {@code GLOBAL}. * See [Route Filtering](https://docs.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) for details. * By default, routing information is shared for all routes in the same market. * */ "routingPolicy"?: Array; /** * Set to {@code ENABLED} (the default) to activate the BGP session of the virtual circuit, set to {@code DISABLED} to deactivate the virtual circuit. * */ "bgpAdminState"?: UpdateVirtualCircuitDetails.BgpAdminState; /** * Set to {@code true} to enable BFD for IPv4 BGP peering, or set to {@code false} to disable BFD. If this is not set, the default is {@code false}. * */ "isBfdEnabled"?: boolean; /** * Set to {@code true} for the virtual circuit to carry only encrypted traffic, or set to {@code false} for the virtual circuit to carry unencrypted traffic. If this is not set, the default is {@code false}. * */ "isTransportMode"?: boolean; /** * Deprecated. Instead use {@code customerAsn}. * If you specify values for both, the request will be rejected. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "customerBgpAsn"?: number; /** * The BGP ASN of the network at the other end of the BGP * session from Oracle. *

If the BGP session is from the customer's edge router to Oracle, the * required value is the customer's ASN, and it can be updated only * by the customer. *

If the BGP session is from the provider's edge router to Oracle, the * required value is the provider's ASN, and it can be updated only * by the provider. *

Can be a 2-byte or 4-byte ASN. Uses \"asplain\" format. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "customerAsn"?: number; /** * Defined tags for this resource. Each key is predefined and scoped to a * namespace. For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). *

Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} * */ "definedTags"?: { [key: string]: { [key: string]: any; }; }; /** * A user-friendly name. Does not have to be unique, and it's changeable. * Avoid entering confidential information. * */ "displayName"?: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no * predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). *

Example: {@code {\"Department\": \"Finance\"}} * */ "freeformTags"?: { [key: string]: string; }; /** * The traffic mode to be set with this Virtual Circuit. This controls whether the traffic is to be drained * for the associated Virtual Circuit or not. * */ "trafficMode"?: UpdateVirtualCircuitDetails.TrafficMode; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the {@link Drg} * that this private virtual circuit uses. *

To be updated only by the customer who owns the virtual circuit. * */ "gatewayId"?: string; /** * The provider's state in relation to this virtual circuit. Relevant only * if the customer is using FastConnect via a provider. ACTIVE * means the provider has provisioned the virtual circuit from their * end. INACTIVE means the provider has not yet provisioned the virtual * circuit, or has de-provisioned it. *

To be updated only by the provider. * */ "providerState"?: UpdateVirtualCircuitDetails.ProviderState; /** * The service key name offered by the provider (if the customer is connecting via a provider). * */ "providerServiceKeyName"?: string; /** * Provider-supplied reference information about this virtual circuit. * Relevant only if the customer is using FastConnect via a provider. *

To be updated only by the provider. * */ "referenceComment"?: string; /** * The layer 3 IP MTU to use on this virtual circuit. */ "ipMtu"?: model.VirtualCircuitIpMtu; } export declare namespace UpdateVirtualCircuitDetails { enum RoutingPolicy { OracleServiceNetwork = "ORACLE_SERVICE_NETWORK", Regional = "REGIONAL", MarketLevel = "MARKET_LEVEL", Global = "GLOBAL" } enum BgpAdminState { Enabled = "ENABLED", Disabled = "DISABLED" } enum TrafficMode { Normal = "NORMAL", Drain = "DRAIN" } enum ProviderState { Active = "ACTIVE", Inactive = "INACTIVE" } function getJsonObj(obj: UpdateVirtualCircuitDetails): object; function getDeserializedJsonObj(obj: UpdateVirtualCircuitDetails): object; }