Show / Hide Table of Contents

Class BgpSession

Provides a resource to manage BGP sessions in Packet Host. Refer to Packet BGP documentation for more details.

You need to have BGP config enabled in your project.

BGP session must be linked to a device running BIRD or other BGP routing daemon which will control route advertisements via the session to Packet's upstream routers.

Inheritance
System.Object
Resource
CustomResource
BgpSession
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Packet
Assembly: Pulumi.Packet.dll
Syntax
public class BgpSession : CustomResource

Constructors

View Source

BgpSession(String, BgpSessionArgs, CustomResourceOptions)

Create a BgpSession resource with the given unique name, arguments, and options.

Declaration
public BgpSession(string name, BgpSessionArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

BgpSessionArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AddressFamily

ipv4 or ipv6

Declaration
public Output<string> AddressFamily { get; }
Property Value
Type Description
Output<System.String>
View Source

DefaultRoute

Boolean flag to set the default route policy. False by default.

Declaration
public Output<bool?> DefaultRoute { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

DeviceId

ID of device

Declaration
public Output<string> DeviceId { get; }
Property Value
Type Description
Output<System.String>
View Source

Status

Declaration
public Output<string> Status { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, BgpSessionState, CustomResourceOptions)

Get an existing BgpSession resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static BgpSession Get(string name, Input<string> id, BgpSessionState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

BgpSessionState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
BgpSession
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.