import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Virtual Circuit resource in Oracle Cloud Infrastructure Core service. * * Gets the specified virtual circuit's information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVirtualCircuit = oci.core.getVirtualCircuit({ * virtualCircuitId: testVirtualCircuitOciCoreVirtualCircuit.id, * }); * ``` */ export declare function getVirtualCircuit(args: GetVirtualCircuitArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVirtualCircuit. */ export interface GetVirtualCircuitArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. */ virtualCircuitId: string; } /** * A collection of values returned by getVirtualCircuit. */ export interface GetVirtualCircuitResult { /** * The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see [ListFastConnectProviderServiceVirtualCircuitBandwidthShapes](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/FastConnectProviderService/ListFastConnectProviderVirtualCircuitBandwidthShapes). Example: `10 Gbps` */ readonly bandwidthShapeName: string; /** * Set to `ENABLED` (the default) to activate the BGP session of the virtual circuit, set to `DISABLED` to deactivate the virtual circuit. */ readonly bgpAdminState: string; /** * The state of the Ipv6 BGP session associated with the virtual circuit. */ readonly bgpIpv6sessionState: string; /** * Deprecated. Instead use the information in [FastConnectProviderService](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/FastConnectProviderService/). * * @deprecated The 'bgp_management' field has been deprecated. Please use the 'oci_core_fast_connect_provider_service' data source instead. */ readonly bgpManagement: string; /** * The state of the Ipv4 BGP session associated with the virtual circuit. */ readonly bgpSessionState: string; /** * The OCID of the compartment containing the virtual circuit. */ readonly compartmentId: string; /** * An array of mappings, each containing properties for a cross-connect or cross-connect group that is associated with this virtual circuit. */ readonly crossConnectMappings: outputs.Core.GetVirtualCircuitCrossConnectMapping[]; /** * The BGP ASN of the network at the other end of the BGP session from Oracle. If the session is between the customer's edge router and Oracle, the value is the customer's ASN. If the BGP session is between the provider's edge router and Oracle, the value is the provider's ASN. Can be a 2-byte or 4-byte ASN. Uses "asplain" format. */ readonly customerAsn: string; /** * Deprecated. Instead use `customerAsn`. If you specify values for both, the request will be rejected. * * @deprecated The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead. */ readonly customerBgpAsn: number; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly 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.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer's [dynamic routing gateway (DRG)](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Drg) that this virtual circuit uses. Applicable only to private virtual circuits. */ readonly gatewayId: string; /** * The virtual circuit's Oracle ID ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). */ readonly id: string; /** * The layer 3 IP MTU to use on this virtual circuit. */ readonly ipMtu: string; /** * Set to `true` to enable BFD for IPv4 BGP peering, or set to `false` to disable BFD. If this is not set, the default is `false`. */ readonly isBfdEnabled: boolean; /** * Set to `true` for the virtual circuit to carry only encrypted traffic, or set to `false` for the virtual circuit to carry unencrypted traffic. If this is not set, the default is `false`. */ readonly isTransportMode: boolean; /** * The Oracle BGP ASN. */ readonly oracleBgpAsn: number; /** * The OCI's FastConnect MultiCloud Provider/Partner remote region name associated with the Oracle Cloud Infrastructure region. To get the list of associated provider remote region use the ListProviderRemoteRegions operation */ readonly providerRemoteRegion: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service offered by the provider (if the customer is connecting via a provider). */ readonly providerServiceId: string; /** * The service key name offered by the provider (if the customer is connecting via a provider). */ readonly providerServiceKeyName: string; /** * The provider's state in relation to this virtual circuit (if the customer is connecting 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. */ readonly providerState: string; /** * For a public virtual circuit. The public IP prefixes (CIDRs) the customer wants to advertise across the connection. All prefix sizes are allowed. */ readonly publicPrefixes: outputs.Core.GetVirtualCircuitPublicPrefix[]; /** * Provider-supplied reference information about this virtual circuit (if the customer is connecting via a provider). */ readonly referenceComment: string; /** * The Oracle Cloud Infrastructure region where this virtual circuit is located. */ readonly region: string; /** * Customer's account on Provider/Partner cloud (AWS, GCP or any other) */ readonly remoteAccountId: string; /** * The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. Policies available are: `ORACLE_SERVICE_NETWORK`, `REGIONAL`, `MARKET_LEVEL`, and `GLOBAL`. See [Route Filtering](https://docs.cloud.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. */ readonly routingPolicies: string[]; /** * Provider service type. */ readonly serviceType: string; /** * The Shared unique identifier for the connection between the multicloud interconnect providers */ readonly sharedConnectionUuid: string; /** * The virtual circuit's current state. For information about the different states, see [FastConnect Overview](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). */ readonly state: string; /** * The date and time the virtual circuit was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeCreated: string; /** * The current traffic mode for the Virtual Circuit. This indicates whether the traffic is drained for the associated Virtual Circuit or not. */ readonly trafficMode: string; /** * Whether the virtual circuit supports private or public peering. For more information, see [FastConnect Overview](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). */ readonly type: string; readonly virtualCircuitId: string; /** * This resource provides redundancy level details for the virtual circuit. For more about redundancy, see [FastConnect Redundancy Best Practices](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnectresiliency.htm). */ readonly virtualCircuitRedundancyMetadatas: outputs.Core.GetVirtualCircuitVirtualCircuitRedundancyMetadata[]; } /** * This data source provides details about a specific Virtual Circuit resource in Oracle Cloud Infrastructure Core service. * * Gets the specified virtual circuit's information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVirtualCircuit = oci.core.getVirtualCircuit({ * virtualCircuitId: testVirtualCircuitOciCoreVirtualCircuit.id, * }); * ``` */ export declare function getVirtualCircuitOutput(args: GetVirtualCircuitOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVirtualCircuit. */ export interface GetVirtualCircuitOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. */ virtualCircuitId: pulumi.Input; } //# sourceMappingURL=getVirtualCircuit.d.ts.map