import * as pulumi from "@pulumi/pulumi"; /** * BGP neighbor * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const directConnectBgpPeerDemo = new volcenginecc.directconnect.BgpPeer("DirectConnectBgpPeerDemo", { * authKey: "QWExxxxx", * bgpPeerName: "ccapi-test", * description: "test", * ipVersion: "IPv4", * remoteAsn: 4294960000, * virtualInterfaceId: "dcv-33cjs5xxxxxxxxx", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:directconnect/bgpPeer:BgpPeer example "bgp_peer_id" * ``` */ export declare class BgpPeer extends pulumi.CustomResource { /** * Get an existing BgpPeer resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: BgpPeerState, opts?: pulumi.CustomResourceOptions): BgpPeer; /** * Returns true if the given object is an instance of BgpPeer. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is BgpPeer; /** * ID of the account to which the BGP neighbor belongs. */ readonly accountId: pulumi.Output; /** * Authentication key of the BGP neighbor. */ readonly authKey: pulumi.Output; /** * ID of the BGP neighbor. */ readonly bgpPeerId: pulumi.Output; /** * Name of the BGP neighbor. */ readonly bgpPeerName: pulumi.Output; /** * Time when the BGP neighbor was created. */ readonly creationTime: pulumi.Output; /** * Description of the BGP neighbor. */ readonly description: pulumi.Output; /** * IP type of the BGP neighbor. IPv4 indicates IPv4 type, IPv6 indicates IPv6 type. */ readonly ipVersion: pulumi.Output; /** * ASN of the Volcano side. */ readonly localAsn: pulumi.Output; /** * Peer ASN of the BGP neighbor. */ readonly remoteAsn: pulumi.Output; /** * Session status of the BGP neighbor. Up indicates normal, Down indicates not operational. */ readonly sessionStatus: pulumi.Output; /** * Status of the BGP neighbor. Creating means the neighbor is being created, Deleting means it is being deleted, Pending means it is being configured, Available means it is available. */ readonly status: pulumi.Output; /** * Time when the BGP neighbor was updated. */ readonly updateTime: pulumi.Output; /** * ID of the virtual interface where the BGP neighbor is located. */ readonly virtualInterfaceId: pulumi.Output; /** * Create a BgpPeer resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: BgpPeerArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering BgpPeer resources. */ export interface BgpPeerState { /** * ID of the account to which the BGP neighbor belongs. */ accountId?: pulumi.Input; /** * Authentication key of the BGP neighbor. */ authKey?: pulumi.Input; /** * ID of the BGP neighbor. */ bgpPeerId?: pulumi.Input; /** * Name of the BGP neighbor. */ bgpPeerName?: pulumi.Input; /** * Time when the BGP neighbor was created. */ creationTime?: pulumi.Input; /** * Description of the BGP neighbor. */ description?: pulumi.Input; /** * IP type of the BGP neighbor. IPv4 indicates IPv4 type, IPv6 indicates IPv6 type. */ ipVersion?: pulumi.Input; /** * ASN of the Volcano side. */ localAsn?: pulumi.Input; /** * Peer ASN of the BGP neighbor. */ remoteAsn?: pulumi.Input; /** * Session status of the BGP neighbor. Up indicates normal, Down indicates not operational. */ sessionStatus?: pulumi.Input; /** * Status of the BGP neighbor. Creating means the neighbor is being created, Deleting means it is being deleted, Pending means it is being configured, Available means it is available. */ status?: pulumi.Input; /** * Time when the BGP neighbor was updated. */ updateTime?: pulumi.Input; /** * ID of the virtual interface where the BGP neighbor is located. */ virtualInterfaceId?: pulumi.Input; } /** * The set of arguments for constructing a BgpPeer resource. */ export interface BgpPeerArgs { /** * Authentication key of the BGP neighbor. */ authKey?: pulumi.Input; /** * Name of the BGP neighbor. */ bgpPeerName?: pulumi.Input; /** * Description of the BGP neighbor. */ description?: pulumi.Input; /** * IP type of the BGP neighbor. IPv4 indicates IPv4 type, IPv6 indicates IPv6 type. */ ipVersion?: pulumi.Input; /** * Peer ASN of the BGP neighbor. */ remoteAsn: pulumi.Input; /** * ID of the virtual interface where the BGP neighbor is located. */ virtualInterfaceId: pulumi.Input; }