C# Класс DigitalOcean.API.Clients.ImagesClient

Наследование: IImagesClient
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Delete ( int imageId ) : System.Threading.Tasks.Task

Delete an existing image

Get ( object imageIdOrSlug ) : Task

Retrieve information about a public or private image on your account.

You can only retrieve information about public images when using a slug.

GetAll ( ImageType type = ImageType.All ) : Task>

Retrieve all images available on your account.

ImagesClient ( IConnection connection ) : System
Update ( int imageId, Models image ) : Task

Update an existing image

Описание методов

Delete() публичный Метод

Delete an existing image
public Delete ( int imageId ) : System.Threading.Tasks.Task
imageId int
Результат System.Threading.Tasks.Task

Get() публичный Метод

Retrieve information about a public or private image on your account.
You can only retrieve information about public images when using a slug.
public Get ( object imageIdOrSlug ) : Task
imageIdOrSlug object
Результат Task

GetAll() публичный Метод

Retrieve all images available on your account.
public GetAll ( ImageType type = ImageType.All ) : Task>
type ImageType
Результат Task>

ImagesClient() публичный Метод

public ImagesClient ( IConnection connection ) : System
connection IConnection
Результат System

Update() публичный Метод

Update an existing image
public Update ( int imageId, Models image ) : Task
imageId int
image Models
Результат Task