Items with tag go

Creating a Virtual Guest Nov 7, 2016
Creates a new virtual server (VSI) and demonstrates the many options that can be used to customize the creation. .

View Example

Listing Virtual Guests Nov 7, 2016
A Go example to list Virtual Guests on an account.

View Example

Cancel a virtual guest Sep 19, 2016
Example of how to cancel a virtual guest.

View Example

Execute Remote Script Sep 19, 2016
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

View Example

Get Operating System Reference Codes Sep 19, 2016
Retrieve Virtual Guest creation options, and print a list of available OS reference codes

View Example

Get disk usage metrics for a time range Sep 19, 2016
Get the disk usage metrics for the most recent 24 hours. Also demonstrates how to pass datetime values to the API

View Example

Handle API errors Sep 19, 2016
This example shows how to handle specific errors (e.g., 404) by type-asserting the returned error and inspecting its fields.

View Example

List Account VMs Sep 19, 2016
Basic example showing how to get a list of Virtual Guests under an account

View Example

Look up an SSH key Sep 19, 2016
Look up information about an SSH key by its label. Demonstrates how to use the SDK's filter utility to apply an objectFilter to limit a result set

View Example

Manage (Create, Add Permissions, Delete) User Sep 19, 2016
Example application which 1) creates a user, 2) Adds some portal permissions, and 3) Deletes the user

View Example

Provision a virtual guest Sep 19, 2016
Example of provisioning a virtual guest from a template object.

View Example

Upgrade a virtual guest Sep 19, 2016
This example demonstrates the use of helper functions that simplify the process of placing a virtual guest upgrade order

View Example