Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 845 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 845 Bytes

sdk-dotnet-ecloud

This is the official .NET SDK for ANS eCloud

You should refer to the Getting Started section of the API documentation before proceeding below

Basic usage

To get started, we'll first instantiate an instance of IANSECloudClient:

IANSECloudClient client = new ANSECloudClient(new ClientConnection("myapikey"));

Next, we'll obtain an instance of IVirtualMachineOperations to perform operations on virtual machines:

var vmOps = client.VirtualMachineOperations();

Finally, we'll retrieve all virtual machines using the instance of IVirtualMachineOperations:

IList<VirtualMachine> vms = await vmOps.GetVirtualMachinesAsync();

Operations

All operations available via the SDK are exposed via the client (IANSECloudClient)