ConoHaNet.OpenStackMember.GetLBMember C# (CSharp) Method

GetLBMember() public method

public GetLBMember ( string memberId ) : LBMember
memberId string
return LBMember
        public LBMember GetLBMember(string memberId)
        {
            return NetworksProvider.GetLBMember(memberId, this.DefaultRegion, this.Identity);
        }

Usage Example

 public void GetLBMemberTest()
 {
     var os = new OpenStackMember(UserName, Password, TenantName, TenantId);
     var members = os.ListLBMembers();
     Assert.IsNotNull(members);
     foreach (var m in members)
     {
         var member = os.GetLBMember(m.Id);
         Assert.IsNotNull(member);
         Trace.WriteLine(string.Format("member.Id : {0}", member.Id));
         Trace.WriteLine(string.Format("member.PoolId : {0}", member.PoolId));
         Trace.WriteLine(string.Format("member.Status : {0}", member.Status));
         Trace.WriteLine(string.Format("member.ProtocolPort : {0}", member.ProtocolPort));
         Trace.WriteLine(string.Format("member.Address : {0}", member.Address));
     }
 }
OpenStackMember