Class Fog::Compute::RackspaceV2::KeyPairs
In: lib/fog/rackspace/models/compute_v2/key_pairs.rb
Parent: Fog::Collection

Methods

all   get  

Public Instance methods

Fetch the list of known keypairs @return [Fog::Compute::RackspaceV2::Keypairs] the retreived keypairs @raise [Fog::Compute::RackspaceV2::NotFound] @raise [Fog::Compute::RackspaceV2::BadRequest] @raise [Fog::Compute::RackspaceV2::InternalServerError] @raise [Fog::Compute::RackspaceV2::ServiceError]

Fetch keypair details @param [String] key_name name of the key to request @return [Fog::Compute::RackspaceV2::Keypair] the requested keypair or ‘nil’ when not found @raise [Fog::Compute::RackspaceV2::BadRequest] @raise [Fog::Compute::RackspaceV2::InternalServerError] @raise [Fog::Compute::RackspaceV2::ServiceError]

[Validate]