This is the official .NET SDK for ANS eCloud
You should refer to the Getting Started section of the API documentation before proceeding below
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();
All operations available via the SDK are exposed via the client (IANSECloudClient
)