C# Class DigitalOcean.API.Clients.KeysClient

Inheritance: IKeysClient
Afficher le fichier Open project: vevix/DigitalOcean.API Class Usage Examples

Méthodes publiques

Méthode Description
Create ( Models key ) : Task

Create a new key entry

Delete ( object keyIdOrFingerprint ) : System.Threading.Tasks.Task

Delete an existing key in your account

Get ( object keyIdOrFingerprint ) : Task

Retrieve an existing key in your account

GetAll ( ) : Task>

Retrieve all keys in your account

KeysClient ( IConnection connection ) : System.Collections.Generic
Update ( object keyIdOrFingerprint, Models key ) : Task

Update an existing key in your account

Method Details

Create() public méthode

Create a new key entry
public Create ( Models key ) : Task
key Models
Résultat Task

Delete() public méthode

Delete an existing key in your account
public Delete ( object keyIdOrFingerprint ) : System.Threading.Tasks.Task
keyIdOrFingerprint object
Résultat System.Threading.Tasks.Task

Get() public méthode

Retrieve an existing key in your account
public Get ( object keyIdOrFingerprint ) : Task
keyIdOrFingerprint object
Résultat Task

GetAll() public méthode

Retrieve all keys in your account
public GetAll ( ) : Task>
Résultat Task>

KeysClient() public méthode

public KeysClient ( IConnection connection ) : System.Collections.Generic
connection IConnection
Résultat System.Collections.Generic

Update() public méthode

Update an existing key in your account
public Update ( object keyIdOrFingerprint, Models key ) : Task
keyIdOrFingerprint object
key Models
Résultat Task