コード例 #1
0
 internal BgpPeerStatus(string localAddress, string neighbor, long?asn, BgpPeerState?state, TimeSpan?connectedDuration, long?routesReceived, long?messagesSent, long?messagesReceived)
 {
     LocalAddress      = localAddress;
     Neighbor          = neighbor;
     Asn               = asn;
     State             = state;
     ConnectedDuration = connectedDuration;
     RoutesReceived    = routesReceived;
     MessagesSent      = messagesSent;
     MessagesReceived  = messagesReceived;
 }
コード例 #2
0
ファイル: BgpPeer.cs プロジェクト: dixler/pulumi-aws
 /// <summary>
 /// Get an existing BgpPeer resource's state with the given name, ID, and optional extra
 /// properties used to qualify the lookup.
 /// </summary>
 ///
 /// <param name="name">The unique name of the resulting resource.</param>
 /// <param name="id">The unique provider ID of the resource to lookup.</param>
 /// <param name="state">Any extra arguments used during the lookup.</param>
 /// <param name="options">A bag of options that control this resource's behavior</param>
 public static BgpPeer Get(string name, Input <string> id, BgpPeerState?state = null, CustomResourceOptions?options = null)
 {
     return(new BgpPeer(name, id, state, options));
 }
コード例 #3
0
ファイル: BgpPeer.cs プロジェクト: dixler/pulumi-aws
 private BgpPeer(string name, Input <string> id, BgpPeerState?state = null, CustomResourceOptions?options = null)
     : base("aws:directconnect/bgpPeer:BgpPeer", name, state, MakeResourceOptions(options, id))
 {
 }
コード例 #4
0
ファイル: BgpPeer.cs プロジェクト: pulumi/pulumi-alicloud
 private BgpPeer(string name, Input <string> id, BgpPeerState?state = null, CustomResourceOptions?options = null)
     : base("alicloud:vpc/bgpPeer:BgpPeer", name, state, MakeResourceOptions(options, id))
 {
 }