ConoHaNet.OpenStackMember.GetKeypair C# (CSharp) Method

GetKeypair() public method

public GetKeypair ( string keyName ) : Keypair
keyName string
return Keypair
        public Keypair GetKeypair(string keyName)
        {
            return ServersProvider.GetKeypair(keyName, this.DefaultRegion, this.Identity);
        }

Usage Example

        public void GetKeypairTest_Invalid()
        {
            var os = new OpenStackMember(UserName, Password, TenantName, TenantId);

            // expect ItemNotFoundException
            os.GetKeypair(InvalidItemName);
        }
All Usage Examples Of ConoHaNet.OpenStackMember::GetKeypair
OpenStackMember