Class: Softlayer::Network::Bandwidth::Version1::Allotment

Inherits:
Model
  • Object
show all
Defined in:
lib/softlayer/network/bandwidth/version1/allotment.rb,
lib/softlayer/network/bandwidth/version1/allotment/detail.rb

Defined Under Namespace

Classes: Detail, Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Network_Bandwidth_Version1_Allotment'

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Model

all, all_request_for, create, find, #init_headers, parse, request, #request, service_name, #to_hash

Methods included from Model::Operations

extended, #filter, included, #limit, #mask, #request_headers

Instance Attribute Details

#accountObject

Returns the value of attribute account.



27
28
29
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 27

def 
  @account
end

#account_idObject

Returns the value of attribute account_id.



8
9
10
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 8

def 
  @account_id
end

#active_detail_countObject

Returns the value of attribute active_detail_count.



16
17
18
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 16

def active_detail_count
  @active_detail_count
end

#active_detailsObject

Returns the value of attribute active_details.



28
29
30
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 28

def active_details
  @active_details
end

#application_delivery_controller_countObject

Returns the value of attribute application_delivery_controller_count.



17
18
19
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 17

def application_delivery_controller_count
  @application_delivery_controller_count
end

#application_delivery_controllersObject

Returns the value of attribute application_delivery_controllers.



29
30
31
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 29

def application_delivery_controllers
  @application_delivery_controllers
end

#average_daily_public_bandwidth_usageObject

Returns the value of attribute average_daily_public_bandwidth_usage.



30
31
32
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 30

def average_daily_public_bandwidth_usage
  @average_daily_public_bandwidth_usage
end

#bandwidth_allotment_type_idObject

Returns the value of attribute bandwidth_allotment_type_id.



9
10
11
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 9

def bandwidth_allotment_type_id
  @bandwidth_allotment_type_id
end

#bare_metal_instance_countObject

Returns the value of attribute bare_metal_instance_count.



18
19
20
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 18

def bare_metal_instance_count
  @bare_metal_instance_count
end

#bare_metal_instancesObject

Returns the value of attribute bare_metal_instances.



31
32
33
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 31

def bare_metal_instances
  @bare_metal_instances
end

#billing_cycle_bandwidth_usageObject

Returns the value of attribute billing_cycle_bandwidth_usage.



32
33
34
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 32

def billing_cycle_bandwidth_usage
  @billing_cycle_bandwidth_usage
end

#billing_cycle_bandwidth_usage_countObject

Returns the value of attribute billing_cycle_bandwidth_usage_count.



19
20
21
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 19

def billing_cycle_bandwidth_usage_count
  @billing_cycle_bandwidth_usage_count
end

#billing_cycle_private_bandwidth_usageObject

Returns the value of attribute billing_cycle_private_bandwidth_usage.



33
34
35
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 33

def billing_cycle_private_bandwidth_usage
  @billing_cycle_private_bandwidth_usage
end

#billing_cycle_public_bandwidth_usageObject

Returns the value of attribute billing_cycle_public_bandwidth_usage.



34
35
36
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 34

def billing_cycle_public_bandwidth_usage
  @billing_cycle_public_bandwidth_usage
end

#billing_cycle_public_usage_totalObject

Returns the value of attribute billing_cycle_public_usage_total.



35
36
37
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 35

def billing_cycle_public_usage_total
  @billing_cycle_public_usage_total
end

#billing_itemObject

Returns the value of attribute billing_item.



36
37
38
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 36

def billing_item
  @billing_item
end

#create_dateObject

Returns the value of attribute create_date.



10
11
12
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 10

def create_date
  @create_date
end

#current_bandwidth_summaryObject

Returns the value of attribute current_bandwidth_summary.



37
38
39
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 37

def current_bandwidth_summary
  @current_bandwidth_summary
end

#detail_countObject

Returns the value of attribute detail_count.



20
21
22
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 20

def detail_count
  @detail_count
end

#detailsObject

Returns the value of attribute details.



38
39
40
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 38

def details
  @details
end

#end_dateObject

Returns the value of attribute end_date.



11
12
13
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 11

def end_date
  @end_date
end

#hardwareObject

Returns the value of attribute hardware.



39
40
41
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 39

def hardware
  @hardware
end

#hardware_countObject

Returns the value of attribute hardware_count.



21
22
23
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 21

def hardware_count
  @hardware_count
end

#idObject

Returns the value of attribute id.



12
13
14
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 12

def id
  @id
end

#inbound_public_bandwidth_usageObject

Returns the value of attribute inbound_public_bandwidth_usage.



40
41
42
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 40

def inbound_public_bandwidth_usage
  @inbound_public_bandwidth_usage
end

#location_groupObject

Returns the value of attribute location_group.



41
42
43
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 41

def location_group
  @location_group
end

#location_group_idObject

Returns the value of attribute location_group_id.



13
14
15
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 13

def location_group_id
  @location_group_id
end

#managed_bare_metal_instance_countObject

Returns the value of attribute managed_bare_metal_instance_count.



22
23
24
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 22

def managed_bare_metal_instance_count
  @managed_bare_metal_instance_count
end

#managed_bare_metal_instancesObject

Returns the value of attribute managed_bare_metal_instances.



42
43
44
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 42

def managed_bare_metal_instances
  @managed_bare_metal_instances
end

#managed_hardwareObject

Returns the value of attribute managed_hardware.



43
44
45
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 43

def managed_hardware
  @managed_hardware
end

#managed_hardware_countObject

Returns the value of attribute managed_hardware_count.



23
24
25
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 23

def managed_hardware_count
  @managed_hardware_count
end

#managed_virtual_guest_countObject

Returns the value of attribute managed_virtual_guest_count.



24
25
26
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 24

def managed_virtual_guest_count
  @managed_virtual_guest_count
end

#managed_virtual_guestsObject

Returns the value of attribute managed_virtual_guests.



44
45
46
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 44

def managed_virtual_guests
  @managed_virtual_guests
end

#metric_tracking_objectObject

Returns the value of attribute metric_tracking_object.



45
46
47
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 45

def metric_tracking_object
  @metric_tracking_object
end

#metric_tracking_object_idObject

Returns the value of attribute metric_tracking_object_id.



46
47
48
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 46

def metric_tracking_object_id
  @metric_tracking_object_id
end

#nameObject

Returns the value of attribute name.



14
15
16
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 14

def name
  @name
end

#outbound_public_bandwidth_usageObject

Returns the value of attribute outbound_public_bandwidth_usage.



47
48
49
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 47

def outbound_public_bandwidth_usage
  @outbound_public_bandwidth_usage
end

#over_bandwidth_allocation_flagObject

Returns the value of attribute over_bandwidth_allocation_flag.



48
49
50
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 48

def over_bandwidth_allocation_flag
  @over_bandwidth_allocation_flag
end

#private_network_only_hardwareObject

Returns the value of attribute private_network_only_hardware.



49
50
51
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 49

def private_network_only_hardware
  @private_network_only_hardware
end

#private_network_only_hardware_countObject

Returns the value of attribute private_network_only_hardware_count.



25
26
27
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 25

def private_network_only_hardware_count
  @private_network_only_hardware_count
end

#projected_over_bandwidth_allocation_flagObject

Returns the value of attribute projected_over_bandwidth_allocation_flag.



50
51
52
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 50

def projected_over_bandwidth_allocation_flag
  @projected_over_bandwidth_allocation_flag
end

#projected_public_bandwidth_usageObject

Returns the value of attribute projected_public_bandwidth_usage.



51
52
53
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 51

def projected_public_bandwidth_usage
  @projected_public_bandwidth_usage
end

#service_providerObject

Returns the value of attribute service_provider.



52
53
54
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 52

def service_provider
  @service_provider
end

#service_provider_idObject

Returns the value of attribute service_provider_id.



15
16
17
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 15

def service_provider_id
  @service_provider_id
end

#total_bandwidth_allocatedObject

Returns the value of attribute total_bandwidth_allocated.



53
54
55
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 53

def total_bandwidth_allocated
  @total_bandwidth_allocated
end

#virtual_guest_countObject

Returns the value of attribute virtual_guest_count.



26
27
28
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 26

def virtual_guest_count
  @virtual_guest_count
end

#virtual_guestsObject

Returns the value of attribute virtual_guests.



54
55
56
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 54

def virtual_guests
  @virtual_guests
end

Class Method Details

.create_object(template_object = nil) ⇒ Object



56
57
58
59
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 56

def self.create_object(template_object = nil)
  message = {template_object: template_object}
  request(:create_object, Boolean, message)
end

.reassign_servers(template_objects = nil, new_allotment_id = nil) ⇒ Object



222
223
224
225
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 222

def self.reassign_servers(template_objects = nil, new_allotment_id = nil)
  message = {template_objects: template_objects, new_allotment_id: new_allotment_id}
  request(:reassign_servers, Boolean, message)
end

.unassign_servers(template_objects = nil) ⇒ Object



241
242
243
244
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 241

def self.unassign_servers(template_objects = nil)
  message = {template_objects: template_objects}
  request(:unassign_servers, Boolean, message)
end

Instance Method Details

#edit_object(template_object = nil) ⇒ Object



61
62
63
64
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 61

def edit_object(template_object = nil)
  message = {template_object: template_object}
  request(:edit_object, Boolean, message)
end

#get_accountObject



66
67
68
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 66

def 
  request(:get_account, Softlayer::Account)
end

#get_active_detailsObject



70
71
72
# 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_controllersObject



74
75
76
# 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_usageObject



78
79
80
# 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(date = nil) ⇒ Object



82
83
84
85
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 82

def get_backend_bandwidth_by_hour(date = nil)
  message = {date: date}
  request(:get_backend_bandwidth_by_hour, Array[Softlayer::Container::Network::Bandwidth::Version1::Usage], message)
end

#get_backend_bandwidth_use(start_date = nil, end_date = nil) ⇒ Object



87
88
89
90
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 87

def get_backend_bandwidth_use(start_date = nil, end_date = nil)
  message = {start_date: start_date, end_date: end_date}
  request(:get_backend_bandwidth_use, Array[Softlayer::Network::Bandwidth::Version1::Usage::Detail], message)
end

#get_bandwidth_for_date_range(start_date = nil, end_date = nil) ⇒ Object



92
93
94
95
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 92

def get_bandwidth_for_date_range(start_date = nil, end_date = nil)
  message = {start_date: start_date, end_date: end_date}
  request(:get_bandwidth_for_date_range, Array[Softlayer::Metric::Tracking::Object::Data], message)
end

#get_bandwidth_image(network_type = nil, snapshot_range = nil, draw = nil, date_specified = nil) ⇒ Object



97
98
99
100
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 97

def get_bandwidth_image(network_type = nil, snapshot_range = nil, draw = nil, date_specified = nil)
  message = {network_type: network_type, snapshot_range: snapshot_range, draw: draw, date_specified: date_specified}
  request(:get_bandwidth_image, Softlayer::Container::Bandwidth::GraphOutputs, message)
end

#get_bare_metal_instancesObject



102
103
104
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 102

def get_bare_metal_instances
  request(:get_bare_metal_instances, Array[Softlayer::Hardware])
end

#get_billing_cycle_bandwidth_usageObject



106
107
108
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 106

def get_billing_cycle_bandwidth_usage
  request(:get_billing_cycle_bandwidth_usage, Array[Softlayer::Network::Bandwidth::Usage])
end

#get_billing_cycle_private_bandwidth_usageObject



110
111
112
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 110

def get_billing_cycle_private_bandwidth_usage
  request(:get_billing_cycle_private_bandwidth_usage, Softlayer::Network::Bandwidth::Usage)
end

#get_billing_cycle_public_bandwidth_usageObject



114
115
116
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 114

def get_billing_cycle_public_bandwidth_usage
  request(:get_billing_cycle_public_bandwidth_usage, Softlayer::Network::Bandwidth::Usage)
end

#get_billing_cycle_public_usage_totalObject



118
119
120
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 118

def get_billing_cycle_public_usage_total
  request(:get_billing_cycle_public_usage_total, Integer)
end

#get_billing_itemObject



122
123
124
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 122

def get_billing_item
  request(:get_billing_item, Softlayer::Billing::Item)
end

#get_current_bandwidth_summaryObject



126
127
128
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 126

def get_current_bandwidth_summary
  request(:get_current_bandwidth_summary, Softlayer::Metric::Tracking::Object::Bandwidth::Summary)
end

#get_custom_bandwidth_data_by_date(graph_data = nil) ⇒ Object



130
131
132
133
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 130

def get_custom_bandwidth_data_by_date(graph_data = nil)
  message = {graph_data: graph_data}
  request(:get_custom_bandwidth_data_by_date, Softlayer::Container::Graph, message)
end

#get_detailsObject



135
136
137
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 135

def get_details
  request(:get_details, Array[Softlayer::Network::Bandwidth::Version1::Allotment::Detail])
end

#get_frontend_bandwidth_by_hour(date = nil) ⇒ Object



139
140
141
142
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 139

def get_frontend_bandwidth_by_hour(date = nil)
  message = {date: date}
  request(:get_frontend_bandwidth_by_hour, Array[Softlayer::Container::Network::Bandwidth::Version1::Usage], message)
end

#get_frontend_bandwidth_use(start_date = nil, end_date = nil) ⇒ Object



144
145
146
147
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 144

def get_frontend_bandwidth_use(start_date = nil, end_date = nil)
  message = {start_date: start_date, end_date: end_date}
  request(:get_frontend_bandwidth_use, Array[Softlayer::Network::Bandwidth::Version1::Usage::Detail], message)
end

#get_hardwareObject



149
150
151
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 149

def get_hardware
  request(:get_hardware, Array[Softlayer::Hardware])
end

#get_inbound_public_bandwidth_usageObject



153
154
155
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 153

def get_inbound_public_bandwidth_usage
  request(:get_inbound_public_bandwidth_usage, Float)
end

#get_location_groupObject



157
158
159
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 157

def get_location_group
  request(:get_location_group, Softlayer::Location::Group)
end

#get_managed_bare_metal_instancesObject



161
162
163
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 161

def get_managed_bare_metal_instances
  request(:get_managed_bare_metal_instances, Array[Softlayer::Hardware])
end

#get_managed_hardwareObject



165
166
167
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 165

def get_managed_hardware
  request(:get_managed_hardware, Array[Softlayer::Hardware])
end

#get_managed_virtual_guestsObject



169
170
171
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 169

def get_managed_virtual_guests
  request(:get_managed_virtual_guests, Array[Softlayer::Virtual::Guest])
end

#get_metric_tracking_objectObject



173
174
175
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 173

def get_metric_tracking_object
  request(:get_metric_tracking_object, Softlayer::Metric::Tracking::Object::VirtualDedicatedRack)
end

#get_metric_tracking_object_idObject



177
178
179
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 177

def get_metric_tracking_object_id
  request(:get_metric_tracking_object_id, Integer)
end

#get_objectObject



181
182
183
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 181

def get_object
  request(:get_object, Softlayer::Network::Bandwidth::Version1::Allotment)
end

#get_outbound_public_bandwidth_usageObject



185
186
187
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 185

def get_outbound_public_bandwidth_usage
  request(:get_outbound_public_bandwidth_usage, Float)
end

#get_over_bandwidth_allocation_flagObject



189
190
191
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 189

def get_over_bandwidth_allocation_flag
  request(:get_over_bandwidth_allocation_flag, Integer)
end

#get_private_network_only_hardwareObject



193
194
195
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 193

def get_private_network_only_hardware
  request(:get_private_network_only_hardware, Array[Softlayer::Hardware])
end

#get_projected_over_bandwidth_allocation_flagObject



197
198
199
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 197

def get_projected_over_bandwidth_allocation_flag
  request(:get_projected_over_bandwidth_allocation_flag, Integer)
end

#get_projected_public_bandwidth_usageObject



201
202
203
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 201

def get_projected_public_bandwidth_usage
  request(:get_projected_public_bandwidth_usage, Float)
end

#get_service_providerObject



205
206
207
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 205

def get_service_provider
  request(:get_service_provider, Softlayer::Service::Provider)
end

#get_total_bandwidth_allocatedObject



209
210
211
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 209

def get_total_bandwidth_allocated
  request(:get_total_bandwidth_allocated, BigDecimal)
end

#get_virtual_guestsObject



213
214
215
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 213

def get_virtual_guests
  request(:get_virtual_guests, Array[Softlayer::Virtual::Guest])
end

#new_get_bandwidth_image(network_type = nil, snapshot_range = nil, draw = nil, date_specified = nil) ⇒ Object



217
218
219
220
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 217

def new_get_bandwidth_image(network_type = nil, snapshot_range = nil, draw = nil, date_specified = nil)
  message = {network_type: network_type, snapshot_range: snapshot_range, draw: draw, date_specified: date_specified}
  request(:new_get_bandwidth_image, Softlayer::Container::Bandwidth::GraphOutputs, message)
end

#request_vdr_cancellationObject



227
228
229
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 227

def request_vdr_cancellation
  request(:request_vdr_cancellation, Boolean)
end

#request_vdr_content_updates(hardware_to_add = nil, hardware_to_remove = nil, clouds_to_add = nil, clouds_to_remove = nil, optional_allotment_id = nil, adc_to_add = nil, adc_to_remove = nil) ⇒ Object



231
232
233
234
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 231

def request_vdr_content_updates(hardware_to_add = nil, hardware_to_remove = nil, clouds_to_add = nil, clouds_to_remove = nil, optional_allotment_id = nil, adc_to_add = nil, adc_to_remove = nil)
  message = {hardware_to_add: hardware_to_add, hardware_to_remove: hardware_to_remove, clouds_to_add: clouds_to_add, clouds_to_remove: clouds_to_remove, optional_allotment_id: optional_allotment_id, adc_to_add: adc_to_add, adc_to_remove: adc_to_remove}
  request(:request_vdr_content_updates, Boolean, message)
end

#set_vdr_content(hardware = nil, bare_metal_servers = nil, virtual_server_instance = nil, adc = nil, optional_allotment_id = nil) ⇒ Object



236
237
238
239
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 236

def set_vdr_content(hardware = nil, bare_metal_servers = nil, virtual_server_instance = nil, adc = nil, optional_allotment_id = nil)
  message = {hardware: hardware, bare_metal_servers: bare_metal_servers, virtual_server_instance: virtual_server_instance, adc: adc, optional_allotment_id: optional_allotment_id}
  request(:set_vdr_content, Boolean, message)
end

#void_pending_server_move(id = nil, type = nil) ⇒ Object



246
247
248
249
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 246

def void_pending_server_move(id = nil, type = nil)
  message = {id: id, type: type}
  request(:void_pending_server_move, Boolean, message)
end

#void_pending_vdr_cancellationObject



251
252
253
# File 'lib/softlayer/network/bandwidth/version1/allotment.rb', line 251

def void_pending_vdr_cancellation
  request(:void_pending_vdr_cancellation, Boolean)
end