-
Working with Virtual Guests
A collection of CLI Examples on how to interact with Virtual Guests.
-
Order a Virtual Server
The example can be used to order a public, suspended, transit and dedicated virtual server
-
Execute Remote Script
Example of running a remotely hosted script on a VM. Demonstrates usage of Id() to specify the object to act on, as well as how to pass parameters (script URL) to a service method
-
Get Operating System Reference Codes
Retrieve Virtual Guest creation options, and print a list of available OS reference codes
-
Handle API errors
This example shows how to handle specific errors (e.g., 404) by type-asserting the returned error and inspecting its fields.