Items with tag go

Goroutines, Pagination and the SoftLayer API Feb 16, 2024
Describes some ways to implement concurrency in your golang applications when interacting with the SoftLayer API. A few examples and explanation of softlayer-go's features.

View Example

order_endurance_storage.go Mar 10, 2023
order_endurance_storage.go

View Example

Understanding the softlayer-go library May 23, 2022
An in depth explanation of the softlayer-go library and how to make use of it in your applications.

View Example

Working with Subnets Apr 19, 2022
A collection of CLI Examples on how to interact with Subnets.

View Example

Working with Image Templates Apr 18, 2022
A collection of CLI Examples on how to interact with Image Templates.

View Example

Working with Virtual Guests Apr 14, 2022
A collection of CLI Examples on how to interact with Virtual Guests.

View Example

Golang Example Framework Sep 29, 2021
Explains how to setup a simple CLI framework to copy/paste examples into and easily get going.

View Example

Working with VLANs Sep 29, 2021
A collection of CLI Examples on how to interact with VLANs.

View Example

More Bare Metal Server examples Jul 12, 2021
Working with Bare Metal Server

View Example

Order a Virtual and Bare Metal Server by frondend/backend vlan or router Jun 30, 2021
Examples to order a Virtual and Bare Metal Server by frondend/backend vlan or router.

View Example

Event Logs May 4, 2021
Working with Event Log, with pagination support

View Example

Managing Notification Occurrence Events services Jan 18, 2021
How to interact with the Notification Ocurrence Events services. The SoftLayer_Notification_Occurrence_Event service represents all events with potential to cause a disruption in service.

View Example

Get all billing invoice items Dec 1, 2020
Retrieve all billing invoice items from account

View Example

Managing CDN accounts Oct 7, 2020
How to interact with the CdnMarketplace services. Order CDN, manage mappings and other related functions

View Example

Managing Metric Tracking Object services Oct 7, 2020
How to interact with the Metric Tracking Object services. How to get summary and graph data.

View Example

Order a Virtual Server Apr 30, 2019
The example can be used to order a public, suspended, transit and dedicated virtual server

View Example

Working with placement groups Jan 11, 2019
A few examples on interacting with placement group

View Example

activate_agent.go Nov 23, 2017
activate_agent.go

View Example

activate_suspend_scale_group.go Nov 23, 2017
activate_suspend_scale_group.go

View Example

add_firewall_rule_to_vsi.go Nov 23, 2017
add_firewall_rule_to_vsi.go

View Example

add_monitoring_query.go Nov 23, 2017
add_monitoring_query.go

View Example

add_origin_mapping.go Nov 23, 2017
add_origin_mapping.go

View Example

add_user_permission.go Nov 23, 2017
add_user_permission.go

View Example

associate_vlan.go Nov 23, 2017
associate_vlan.go

View Example

bypass_vlans.go Nov 23, 2017
bypass_vlans.go

View Example

cancel_global_ipv4_ip6.go Nov 23, 2017
cancel_global_ipv4_ip6.go

View Example

cancel_portable_storage.go Nov 23, 2017
cancel_portable_storage.go

View Example

copy_to_external_source.go Nov 23, 2017
copy_to_external_source.go

View Example

create_bms_scan_request.go Nov 23, 2017
create_bms_scan_request.go

View Example

create_customer.go Nov 23, 2017
create_customer.go

View Example

create_dedicated_firewall.go Nov 23, 2017
create_dedicated_firewall.go

View Example

create_from_external_source.go Nov 23, 2017
create_from_external_source.go

View Example

create_notification_subscriber.go Nov 23, 2017
create_notification_subscriber.go

View Example

create_portal_user.go Nov 23, 2017
create_portal_user.go

View Example

create_scale_group.go Nov 23, 2017
create_scale_group.go

View Example

create_server_simplified.go Nov 23, 2017
create_server_simplified.go

View Example

create_standard_firewall.go Nov 23, 2017
create_standard_firewall.go

View Example

create_user.go Nov 23, 2017
create_user.go

View Example

create_vsi_scan_request.go Nov 23, 2017
create_vsi_scan_request.go

View Example

delete_firewall_rule_from_vsi.go Nov 23, 2017
delete_firewall_rule_from_vsi.go

View Example

delete_monitoring_query.go Nov 23, 2017
delete_monitoring_query.go

View Example

delete_notification_subscriber.go Nov 23, 2017
delete_notification_subscriber.go

View Example

delete_origin_mapping.go Nov 23, 2017
delete_origin_mapping.go

View Example

delete_scale_group.go Nov 23, 2017
delete_scale_group.go

View Example

delete_user.go Nov 23, 2017
delete_user.go

View Example

desactivate_agent.go Nov 23, 2017
desactivate_agent.go

View Example

disassociate_vlan.go Nov 23, 2017
disassociate_vlan.go

View Example

edit_firewall_rule_from_vsi.go Nov 23, 2017
edit_firewall_rule_from_vsi.go

View Example

edit_gateway.go Nov 23, 2017
edit_gateway.go

View Example

edit_scale_group.go Nov 23, 2017
edit_scale_group.go

View Example

edit_user.go Nov 23, 2017
edit_user.go

View Example

edit_virtual_guest.go Nov 23, 2017
edit_virtual_guest.go

View Example

get_account_invoices.go Nov 23, 2017
get_account_invoices.go

View Example

get_active_presets.go Nov 23, 2017
get_active_presets.go

View Example

get_all_scan_requests.go Nov 23, 2017
get_all_scan_requests.go

View Example

get_allowed_network_storage.go Nov 23, 2017
get_allowed_network_storage.go

View Example

get_available_network_storages.go Nov 23, 2017
get_available_network_storages.go

View Example

get_available_regions_for_scale_groups.go Nov 23, 2017
get_available_regions_for_scale_groups.go

View Example

get_bandwidth_data.go Nov 23, 2017
get_bandwidth_data.go

View Example

get_bare_metal_billing_items.go Nov 23, 2017
get_bare_metal_billing_items.go

View Example

get_child_users.go Nov 23, 2017
get_child_users.go

View Example

get_firewall_for_a_vsi.go Nov 23, 2017
get_firewall_for_a_vsi.go

View Example

get_firewall_ip_address.go Nov 23, 2017
get_firewall_ip_address.go

View Example

get_firewall_rules_for_a_vsi.go Nov 23, 2017
get_firewall_rules_for_a_vsi.go

View Example

get_gateway_details.go Nov 23, 2017
get_gateway_details.go

View Example

get_ip_addresses.go Nov 23, 2017
get_ip_addresses.go

View Example

get_item_prices_by_location.go Nov 23, 2017
get_item_prices_by_location.go

View Example

get_item_prices.go Nov 23, 2017
get_item_prices.go

View Example

get_locations.go Nov 23, 2017
get_locations.go

View Example

get_network_monitors.go Nov 23, 2017
get_network_monitors.go

View Example

get_notification_subscribers.go Nov 23, 2017
get_notification_subscribers.go

View Example

get_object_account.go Nov 23, 2017
get_object_account.go

View Example

get_scan_report.go Nov 23, 2017
get_scan_report.go

View Example

get_scan_requests.go Nov 23, 2017
get_scan_requests.go

View Example

get_server_cost.go Nov 23, 2017
get_server_cost.go

View Example

get_server_detail.go Nov 23, 2017
get_server_detail.go

View Example

get_standard_item_prices.go Nov 23, 2017
get_standard_item_prices.go

View Example

get_unattached_portal_storages.go Nov 23, 2017
get_unattached_portal_storages.go

View Example

get_virtual_guest_billing_items.go Nov 23, 2017
get_virtual_guest_billing_items.go

View Example

get_virtual_guests_list.go Nov 23, 2017
get_virtual_guests_list.go

View Example

get_virtual_server_detail.go Nov 23, 2017
get_virtual_server_detail.go

View Example

list_agents.go Nov 23, 2017
list_agents.go

View Example

list_customers.go Nov 23, 2017
list_customers.go

View Example

list_global_ips.go Nov 23, 2017
list_global_ips.go

View Example

list_origin_mapping.go Nov 23, 2017
list_origin_mapping.go

View Example

list_permission_roles.go Nov 23, 2017
list_permission_roles.go

View Example

list_scale_groups.go Nov 23, 2017
list_scale_groups.go

View Example

list_standard_firewalls.go Nov 23, 2017
list_standard_firewalls.go

View Example

list_tickets.go Nov 23, 2017
list_tickets.go

View Example

order_consistent_performance_storage_nfs.go Nov 23, 2017
order_consistent_performance_storage_nfs.go

View Example

order_endurance_storage_as_a_service.go Nov 23, 2017
order_endurance_storage_as_a_service.go

View Example

order_global_ipv4_ipv6.go Nov 23, 2017
order_global_ipv4_ipv6.go

View Example

order_performance_storage_iscsi.go Nov 23, 2017
order_performance_storage_iscsi.go

View Example

order_preset_server.go Nov 23, 2017
order_preset_server.go

View Example

order_server_with_raid_configuration.go Nov 23, 2017
order_server_with_raid_configuration.go

View Example

order_vyatta_gateway.go Nov 23, 2017
order_vyatta_gateway.go

View Example

place_order_monitoring.go Nov 23, 2017
place_order_monitoring.go

View Example

place_order_portable_storage.go Nov 23, 2017
place_order_portable_storage.go

View Example

reload_os.go Nov 23, 2017
reload_os.go

View Example

remove_user_permission.go Nov 23, 2017
remove_user_permission.go

View Example

reset_portal_user_password.go Nov 23, 2017
reset_portal_user_password.go

View Example

restart_agent.go Nov 23, 2017
restart_agent.go

View Example

route_vlans.go Nov 23, 2017
route_vlans.go

View Example

softlayer_service_request.go Nov 23, 2017
softlayer_service_request.go

View Example

update_firmware.go Nov 23, 2017
update_firmware.go

View Example

view_active_alarms.go Nov 23, 2017
view_active_alarms.go

View Example

view_agent_status.go Nov 23, 2017
view_agent_status.go

View Example

view_closed_alarms.go Nov 23, 2017
view_closed_alarms.go

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 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

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

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

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