C# Class DigitalOcean.API.Clients.TagsClient

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

Méthodes publiques

Méthode Description
Create ( string tagName ) : Task

Create a new Tag

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

Delete an existing Tag

Get ( string tagName ) : Task

Retrieve an individual Tag by name

GetAll ( ) : Task>

Retrieve all Tags in your account

Tag ( string tagName, string>.List resources ) : System.Threading.Tasks.Task

Tag existing resources of given resource id / type combination

TagsClient ( IConnection connection ) : System.Collections.Generic
Untag ( string tagName, string>.List resources ) : System.Threading.Tasks.Task

Untag existing resources of given resource id / type combination

Update ( string tagName, string newTagName ) : Task

Update the name of a Tag

Method Details

Create() public méthode

Create a new Tag
public Create ( string tagName ) : Task
tagName string
Résultat Task

Delete() public méthode

Delete an existing Tag
public Delete ( string tagName ) : System.Threading.Tasks.Task
tagName string
Résultat System.Threading.Tasks.Task

Get() public méthode

Retrieve an individual Tag by name
public Get ( string tagName ) : Task
tagName string
Résultat Task

GetAll() public méthode

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

Tag() public méthode

Tag existing resources of given resource id / type combination
public Tag ( string tagName, string>.List resources ) : System.Threading.Tasks.Task
tagName string
resources string>.List
Résultat System.Threading.Tasks.Task

TagsClient() public méthode

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

Untag() public méthode

Untag existing resources of given resource id / type combination
public Untag ( string tagName, string>.List resources ) : System.Threading.Tasks.Task
tagName string
resources string>.List
Résultat System.Threading.Tasks.Task

Update() public méthode

Update the name of a Tag
public Update ( string tagName, string newTagName ) : Task
tagName string
newTagName string
Résultat Task