C# Class DigitalOcean.API.Clients.DropletsClient

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

Méthodes publiques

Méthode Description
Create ( Models droplet ) : Task

Create a new Droplet

Delete ( int dropletId ) : System.Threading.Tasks.Task

Delete an existing Droplet

DeleteByTag ( string tagName ) : System.Threading.Tasks.Task

Delete existing droplets by tag

DropletsClient ( IConnection connection ) : System.Collections.Generic
Get ( int dropletId ) : Task

Retrieve an existing Droplet

GetActions ( int dropletId ) : Task>

Retrieve all actions that have been executed on a Droplet.

GetAll ( ) : Task>

Retrieve all Droplets in your account.

GetAllByTag ( string tagName ) : Task>

Retrieve all Droplets in your account.

GetBackups ( int dropletId ) : Task>

Retrieve all backups that have been created for a Droplet.

GetKernels ( int dropletId ) : Task>

Retrieve all kernels available to a Droplet.

GetSnapshots ( int dropletId ) : Task>

Retrieve all snapshots that have been created for a Droplet.

GetUpgrades ( ) : Task>

Retrieve a list of droplets that are scheduled to be upgraded

Method Details

Create() public méthode

Create a new Droplet
public Create ( Models droplet ) : Task
droplet Models
Résultat Task

Delete() public méthode

Delete an existing Droplet
public Delete ( int dropletId ) : System.Threading.Tasks.Task
dropletId int
Résultat System.Threading.Tasks.Task

DeleteByTag() public méthode

Delete existing droplets by tag
public DeleteByTag ( string tagName ) : System.Threading.Tasks.Task
tagName string
Résultat System.Threading.Tasks.Task

DropletsClient() public méthode

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

Get() public méthode

Retrieve an existing Droplet
public Get ( int dropletId ) : Task
dropletId int
Résultat Task

GetActions() public méthode

Retrieve all actions that have been executed on a Droplet.
public GetActions ( int dropletId ) : Task>
dropletId int
Résultat Task>

GetAll() public méthode

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

GetAllByTag() public méthode

Retrieve all Droplets in your account.
public GetAllByTag ( string tagName ) : Task>
tagName string
Résultat Task>

GetBackups() public méthode

Retrieve all backups that have been created for a Droplet.
public GetBackups ( int dropletId ) : Task>
dropletId int
Résultat Task>

GetKernels() public méthode

Retrieve all kernels available to a Droplet.
public GetKernels ( int dropletId ) : Task>
dropletId int
Résultat Task>

GetSnapshots() public méthode

Retrieve all snapshots that have been created for a Droplet.
public GetSnapshots ( int dropletId ) : Task>
dropletId int
Résultat Task>

GetUpgrades() public méthode

Retrieve a list of droplets that are scheduled to be upgraded
public GetUpgrades ( ) : Task>
Résultat Task>