@cuemby/equinix
Version:
A Pulumi package for creating and managing equinix cloud resources.
178 lines (177 loc) • 5.63 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Resource `equinix.NetworkBGP` allows creation and management of Equinix Network
* Edge BGP peering configurations.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as equinix from "@pulumi/equinix";
*
* const test = new equinix.NetworkBGP("test", {
* authenticationKey: "secret",
* connectionId: "54014acf-9730-4b55-a791-459283d05fb1",
* localAsn: 12345,
* localIpAddress: "10.1.1.1/30",
* remoteAsn: 66123,
* remoteIpAddress: "10.1.1.2",
* });
* ```
*
* ## Import
*
* This resource can be imported using an existing ID
*
* ```sh
* $ pulumi import equinix:index/networkBGP:NetworkBGP example {existing_id}
* ```
*/
export declare class NetworkBGP extends pulumi.CustomResource {
/**
* Get an existing NetworkBGP 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<pulumi.ID>, state?: NetworkBGPState, opts?: pulumi.CustomResourceOptions): NetworkBGP;
/**
* Returns true if the given object is an instance of NetworkBGP. 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 NetworkBGP;
/**
* shared key used for BGP peer authentication.
*/
readonly authenticationKey: pulumi.Output<string | undefined>;
/**
* identifier of a connection established between.
* network device and remote service provider that will be used for peering.
*/
readonly connectionId: pulumi.Output<string>;
/**
* unique identifier of a network device that is a local peer in a given BGP peering
* configuration.
*/
readonly deviceId: pulumi.Output<string>;
/**
* Local ASN number.
*/
readonly localAsn: pulumi.Output<number>;
/**
* IP address in CIDR format of a local device.
*/
readonly localIpAddress: pulumi.Output<string>;
/**
* BGP peering configuration provisioning status, one of `PROVISIONING`,
* `PENDING_UPDATE`, `PROVISIONED`, `FAILED`.
*/
readonly provisioningStatus: pulumi.Output<string>;
/**
* Remote ASN number.
*/
readonly remoteAsn: pulumi.Output<number>;
/**
* IP address of remote peer.
*/
readonly remoteIpAddress: pulumi.Output<string>;
/**
* BGP peer state, one of `Idle`, `Connect`, `Active`, `OpenSent`, `OpenConfirm`,
* `Established`.
*/
readonly state: pulumi.Output<string>;
/**
* BGP peering configuration unique identifier.
*/
readonly uuid: pulumi.Output<string>;
/**
* Create a NetworkBGP 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: NetworkBGPArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering NetworkBGP resources.
*/
export interface NetworkBGPState {
/**
* shared key used for BGP peer authentication.
*/
authenticationKey?: pulumi.Input<string>;
/**
* identifier of a connection established between.
* network device and remote service provider that will be used for peering.
*/
connectionId?: pulumi.Input<string>;
/**
* unique identifier of a network device that is a local peer in a given BGP peering
* configuration.
*/
deviceId?: pulumi.Input<string>;
/**
* Local ASN number.
*/
localAsn?: pulumi.Input<number>;
/**
* IP address in CIDR format of a local device.
*/
localIpAddress?: pulumi.Input<string>;
/**
* BGP peering configuration provisioning status, one of `PROVISIONING`,
* `PENDING_UPDATE`, `PROVISIONED`, `FAILED`.
*/
provisioningStatus?: pulumi.Input<string>;
/**
* Remote ASN number.
*/
remoteAsn?: pulumi.Input<number>;
/**
* IP address of remote peer.
*/
remoteIpAddress?: pulumi.Input<string>;
/**
* BGP peer state, one of `Idle`, `Connect`, `Active`, `OpenSent`, `OpenConfirm`,
* `Established`.
*/
state?: pulumi.Input<string>;
/**
* BGP peering configuration unique identifier.
*/
uuid?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a NetworkBGP resource.
*/
export interface NetworkBGPArgs {
/**
* shared key used for BGP peer authentication.
*/
authenticationKey?: pulumi.Input<string>;
/**
* identifier of a connection established between.
* network device and remote service provider that will be used for peering.
*/
connectionId: pulumi.Input<string>;
/**
* Local ASN number.
*/
localAsn: pulumi.Input<number>;
/**
* IP address in CIDR format of a local device.
*/
localIpAddress: pulumi.Input<string>;
/**
* Remote ASN number.
*/
remoteAsn: pulumi.Input<number>;
/**
* IP address of remote peer.
*/
remoteIpAddress: pulumi.Input<string>;
}