class Softlayer::Network::Bandwidth::Version1::Allotment

Constants

SERVICE

Attributes

account[RW]
account_id[RW]
active_detail_count[RW]
active_details[RW]
application_delivery_controller_count[RW]
application_delivery_controllers[RW]
average_daily_public_bandwidth_usage[RW]
bandwidth_allotment_type_id[RW]
bare_metal_instance_count[RW]
bare_metal_instances[RW]
billing_cycle_bandwidth_usage[RW]
billing_cycle_bandwidth_usage_count[RW]
billing_cycle_private_bandwidth_usage[RW]
billing_cycle_public_bandwidth_usage[RW]
billing_cycle_public_usage_total[RW]
billing_item[RW]
create_date[RW]
current_bandwidth_summary[RW]
detail_count[RW]
details[RW]
end_date[RW]
hardware[RW]
hardware_count[RW]
id[RW]
inbound_public_bandwidth_usage[RW]
location_group[RW]
location_group_id[RW]
managed_bare_metal_instance_count[RW]
managed_bare_metal_instances[RW]
managed_hardware[RW]
managed_hardware_count[RW]
managed_virtual_guest_count[RW]
managed_virtual_guests[RW]
metric_tracking_object[RW]
metric_tracking_object_id[RW]
name[RW]
outbound_public_bandwidth_usage[RW]
over_bandwidth_allocation_flag[RW]
private_network_only_hardware[RW]
private_network_only_hardware_count[RW]
projected_over_bandwidth_allocation_flag[RW]
projected_public_bandwidth_usage[RW]
service_provider[RW]
service_provider_id[RW]
total_bandwidth_allocated[RW]
virtual_guest_count[RW]
virtual_guests[RW]

Public Class Methods

create_object(message) click to toggle source

template_object

# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 57
def self.create_object(message)
  request(:create_object, Softlayer::Network::Bandwidth::Version1::Allotment, message)
end
reassign_servers(message) click to toggle source

template_objects new_allotment_id

# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 226
def self.reassign_servers(message)
  request(:reassign_servers, Boolean, message)
end
unassign_servers(message) click to toggle source

template_objects

# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 255
def self.unassign_servers(message)
  request(:unassign_servers, Boolean, message)
end

Public Instance Methods

edit_object(message) click to toggle source

template_object

# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 62
def edit_object(message)
  request(:edit_object, Boolean, message)
end
get_account() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 66
def get_account
  request(:get_account, Softlayer::Account)
end
get_active_details() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 70
def get_active_details
  request(:get_active_details, Array[Softlayer::Network::Bandwidth::Version1::Allotment::Detail])
end
get_application_delivery_controllers() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 74
def get_application_delivery_controllers
  request(:get_application_delivery_controllers, Array[Softlayer::Network::Application::Delivery::Controller])
end
get_average_daily_public_bandwidth_usage() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 78
def get_average_daily_public_bandwidth_usage
  request(:get_average_daily_public_bandwidth_usage, Float)
end
get_backend_bandwidth_by_hour(message) click to toggle source

date

# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 83
def get_backend_bandwidth_by_hour(message)
  request(:get_backend_bandwidth_by_hour, Array[Softlayer::Container::Network::Bandwidth::Version1::Usage], message)
end
get_backend_bandwidth_use(message) click to toggle source

start_date end_date

# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 89
def get_backend_bandwidth_use(message)
  request(:get_backend_bandwidth_use, Array[Softlayer::Network::Bandwidth::Version1::Usage::Detail], message)
end
get_bandwidth_for_date_range(message) click to toggle source

start_date end_date

# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 95
def get_bandwidth_for_date_range(message)
  request(:get_bandwidth_for_date_range, Array[Softlayer::Metric::Tracking::Object::Data], message)
end
get_bandwidth_image(message) click to toggle source

network_type snapshot_range draw date_specified date_specified_end

# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 104
def get_bandwidth_image(message)
  request(:get_bandwidth_image, Softlayer::Container::Bandwidth::GraphOutputs, message)
end
get_bare_metal_instances() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 108
def get_bare_metal_instances
  request(:get_bare_metal_instances, Array[Softlayer::Hardware])
end
get_billing_cycle_bandwidth_usage() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 112
def get_billing_cycle_bandwidth_usage
  request(:get_billing_cycle_bandwidth_usage, Array[Softlayer::Network::Bandwidth::Usage])
end
get_billing_cycle_private_bandwidth_usage() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 116
def get_billing_cycle_private_bandwidth_usage
  request(:get_billing_cycle_private_bandwidth_usage, Softlayer::Network::Bandwidth::Usage)
end
get_billing_cycle_public_bandwidth_usage() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 120
def get_billing_cycle_public_bandwidth_usage
  request(:get_billing_cycle_public_bandwidth_usage, Softlayer::Network::Bandwidth::Usage)
end
get_billing_cycle_public_usage_total() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 124
def get_billing_cycle_public_usage_total
  request(:get_billing_cycle_public_usage_total, Integer)
end
get_billing_item() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 128
def get_billing_item
  request(:get_billing_item, Softlayer::Billing::Item)
end
get_current_bandwidth_summary() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 132
def get_current_bandwidth_summary
  request(:get_current_bandwidth_summary, Softlayer::Metric::Tracking::Object::Bandwidth::Summary)
end
get_custom_bandwidth_data_by_date(message) click to toggle source

graph_data

# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 137
def get_custom_bandwidth_data_by_date(message)
  request(:get_custom_bandwidth_data_by_date, Softlayer::Container::Graph, message)
end
get_details() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 141
def get_details
  request(:get_details, Array[Softlayer::Network::Bandwidth::Version1::Allotment::Detail])
end
get_frontend_bandwidth_by_hour(message) click to toggle source

date

# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 146
def get_frontend_bandwidth_by_hour(message)
  request(:get_frontend_bandwidth_by_hour, Array[Softlayer::Container::Network::Bandwidth::Version1::Usage], message)
end
get_frontend_bandwidth_use(message) click to toggle source

start_date end_date

# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 152
def get_frontend_bandwidth_use(message)
  request(:get_frontend_bandwidth_use, Array[Softlayer::Network::Bandwidth::Version1::Usage::Detail], message)
end
get_hardware() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 156
def get_hardware
  request(:get_hardware, Array[Softlayer::Hardware])
end
get_inbound_public_bandwidth_usage() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 160
def get_inbound_public_bandwidth_usage
  request(:get_inbound_public_bandwidth_usage, Float)
end
get_location_group() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 164
def get_location_group
  request(:get_location_group, Softlayer::Location::Group)
end
get_managed_bare_metal_instances() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 168
def get_managed_bare_metal_instances
  request(:get_managed_bare_metal_instances, Array[Softlayer::Hardware])
end
get_managed_hardware() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 172
def get_managed_hardware
  request(:get_managed_hardware, Array[Softlayer::Hardware])
end
get_managed_virtual_guests() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 176
def get_managed_virtual_guests
  request(:get_managed_virtual_guests, Array[Softlayer::Virtual::Guest])
end
get_metric_tracking_object() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 180
def get_metric_tracking_object
  request(:get_metric_tracking_object, Softlayer::Metric::Tracking::Object::VirtualDedicatedRack)
end
get_metric_tracking_object_id() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 184
def get_metric_tracking_object_id
  request(:get_metric_tracking_object_id, Integer)
end
get_object() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 188
def get_object
  request(:get_object, Softlayer::Network::Bandwidth::Version1::Allotment)
end
get_outbound_public_bandwidth_usage() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 192
def get_outbound_public_bandwidth_usage
  request(:get_outbound_public_bandwidth_usage, Float)
end
get_over_bandwidth_allocation_flag() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 196
def get_over_bandwidth_allocation_flag
  request(:get_over_bandwidth_allocation_flag, Integer)
end
get_private_network_only_hardware() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 200
def get_private_network_only_hardware
  request(:get_private_network_only_hardware, Array[Softlayer::Hardware])
end
get_projected_over_bandwidth_allocation_flag() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 204
def get_projected_over_bandwidth_allocation_flag
  request(:get_projected_over_bandwidth_allocation_flag, Integer)
end
get_projected_public_bandwidth_usage() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 208
def get_projected_public_bandwidth_usage
  request(:get_projected_public_bandwidth_usage, Float)
end
get_service_provider() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 212
def get_service_provider
  request(:get_service_provider, Softlayer::Service::Provider)
end
get_total_bandwidth_allocated() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 216
def get_total_bandwidth_allocated
  request(:get_total_bandwidth_allocated, BigDecimal)
end
get_virtual_guests() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 220
def get_virtual_guests
  request(:get_virtual_guests, Array[Softlayer::Virtual::Guest])
end
request_vdr_cancellation() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 230
def request_vdr_cancellation
  request(:request_vdr_cancellation, Boolean)
end
request_vdr_content_updates(message) click to toggle source

hardware_to_add hardware_to_remove clouds_to_add clouds_to_remove optional_allotment_id adc_to_add adc_to_remove

# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 241
def request_vdr_content_updates(message)
  request(:request_vdr_content_updates, Boolean, message)
end
set_vdr_content(message) click to toggle source

hardware bare_metal_servers virtual_server_instance adc optional_allotment_id

# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 250
def set_vdr_content(message)
  request(:set_vdr_content, Boolean, message)
end
void_pending_server_move(message) click to toggle source

id type

# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 261
def void_pending_server_move(message)
  request(:void_pending_server_move, Boolean, message)
end
void_pending_vdr_cancellation() click to toggle source
# File lib/softlayer/network/bandwidth/version1/allotment.rb, line 265
def void_pending_vdr_cancellation
  request(:void_pending_vdr_cancellation, Boolean)
end