softlayer 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +22 -14
- data/lib/softlayer/account/address.rb +6 -6
- data/lib/softlayer/account/affiliation.rb +6 -6
- data/lib/softlayer/account/authentication/saml.rb +4 -4
- data/lib/softlayer/account/contact.rb +4 -4
- data/lib/softlayer/account/historical/report.rb +28 -16
- data/lib/softlayer/account/lockdown/request.rb +9 -8
- data/lib/softlayer/account/media/data/transfer/request.rb +2 -2
- data/lib/softlayer/account/media.rb +4 -4
- data/lib/softlayer/account/note/type.rb +4 -4
- data/lib/softlayer/account/note.rb +4 -4
- data/lib/softlayer/account/partner/referral/prospect.rb +3 -2
- data/lib/softlayer/account/password.rb +2 -2
- data/lib/softlayer/account/regional/registry/detail/property.rb +8 -8
- data/lib/softlayer/account/regional/registry/detail.rb +4 -4
- data/lib/softlayer/account/reports/request.rb +10 -8
- data/lib/softlayer/account/shipment/item.rb +2 -2
- data/lib/softlayer/account/shipment/tracking/data.rb +6 -6
- data/lib/softlayer/account/shipment.rb +4 -4
- data/lib/softlayer/account.rb +100 -74
- data/lib/softlayer/auxiliary/network/status.rb +2 -2
- data/lib/softlayer/auxiliary/press/release.rb +3 -2
- data/lib/softlayer/auxiliary/shipping/courier/type.rb +2 -2
- data/lib/softlayer/billing/currency/exchange_rate.rb +9 -6
- data/lib/softlayer/billing/currency.rb +3 -2
- data/lib/softlayer/billing/invoice/next.rb +6 -6
- data/lib/softlayer/billing/invoice.rb +2 -2
- data/lib/softlayer/billing/item/cancellation/request.rb +11 -10
- data/lib/softlayer/billing/item.rb +10 -6
- data/lib/softlayer/billing/order/cart.rb +20 -18
- data/lib/softlayer/billing/order/quote.rb +14 -12
- data/lib/softlayer/billing/order.rb +3 -2
- data/lib/softlayer/brand.rb +9 -8
- data/lib/softlayer/catalyst/enrollment.rb +4 -4
- data/lib/softlayer/configuration/template.rb +6 -6
- data/lib/softlayer/dns/domain/registration.rb +23 -20
- data/lib/softlayer/dns/domain/resource_record/mx_type.rb +10 -10
- data/lib/softlayer/dns/domain/resource_record/srv_type.rb +10 -10
- data/lib/softlayer/dns/domain/resource_record.rb +10 -10
- data/lib/softlayer/dns/domain.rb +39 -22
- data/lib/softlayer/dns/secondary.rb +8 -8
- data/lib/softlayer/event/log.rb +2 -2
- data/lib/softlayer/flexible_credit/program.rb +4 -4
- data/lib/softlayer/generator/class_file.rb +10 -14
- data/lib/softlayer/hardware/component/partition/operating_system.rb +2 -2
- data/lib/softlayer/hardware/router.rb +64 -52
- data/lib/softlayer/hardware/security_module.rb +64 -52
- data/lib/softlayer/hardware/server.rb +138 -106
- data/lib/softlayer/hardware.rb +64 -52
- data/lib/softlayer/layout/profile/containers.rb +4 -4
- data/lib/softlayer/layout/profile/customer.rb +8 -8
- data/lib/softlayer/layout/profile.rb +8 -8
- data/lib/softlayer/marketplace/partner.rb +8 -8
- data/lib/softlayer/metric/tracking/object.rb +37 -18
- data/lib/softlayer/model/filter.rb +1 -1
- data/lib/softlayer/model.rb +23 -0
- data/lib/softlayer/monitoring/agent/configuration/template/group/reference.rb +8 -8
- data/lib/softlayer/monitoring/agent/configuration/template/group.rb +6 -6
- data/lib/softlayer/monitoring/agent.rb +24 -18
- data/lib/softlayer/monitoring/robot.rb +2 -2
- data/lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb +3 -2
- data/lib/softlayer/network/application/delivery/controller/load_balancer/service.rb +3 -2
- data/lib/softlayer/network/application/delivery/controller/load_balancer/virtual_ip_address.rb +2 -2
- data/lib/softlayer/network/application/delivery/controller.rb +28 -22
- data/lib/softlayer/network/backbone/location/dependent.rb +2 -2
- data/lib/softlayer/network/backbone.rb +2 -2
- data/lib/softlayer/network/bandwidth/version1/allotment.rb +51 -30
- data/lib/softlayer/network/component.rb +6 -6
- data/lib/softlayer/network/content_delivery/account.rb +67 -50
- data/lib/softlayer/network/content_delivery/authentication/address.rb +7 -6
- data/lib/softlayer/network/content_delivery/authentication/token.rb +20 -14
- data/lib/softlayer/network/customer/subnet.rb +2 -2
- data/lib/softlayer/network/firewall/update/request/rule.rb +6 -4
- data/lib/softlayer/network/firewall/update/request.rb +5 -4
- data/lib/softlayer/network/gateway/member.rb +4 -4
- data/lib/softlayer/network/gateway/vlan.rb +6 -6
- data/lib/softlayer/network/gateway.rb +8 -8
- data/lib/softlayer/network/load_balancer/global/account.rb +2 -2
- data/lib/softlayer/network/load_balancer/service.rb +3 -2
- data/lib/softlayer/network/load_balancer/virtual_ip_address.rb +2 -2
- data/lib/softlayer/network/media/transcode/account.rb +9 -8
- data/lib/softlayer/network/media/transcode/job.rb +2 -2
- data/lib/softlayer/network/message/delivery/email/sendgrid.rb +17 -16
- data/lib/softlayer/network/message/delivery.rb +2 -2
- data/lib/softlayer/network/message/queue/node.rb +9 -8
- data/lib/softlayer/network/monitor/version1/query/host.rb +12 -12
- data/lib/softlayer/network/monitor.rb +6 -4
- data/lib/softlayer/network/security/scanner/request.rb +2 -2
- data/lib/softlayer/network/service/vpn/overrides.rb +4 -4
- data/lib/softlayer/network/storage/allowed/host/hardware.rb +6 -6
- data/lib/softlayer/network/storage/allowed/host/ip_address.rb +6 -6
- data/lib/softlayer/network/storage/allowed/host/subnet.rb +6 -6
- data/lib/softlayer/network/storage/allowed/host/virtual_guest.rb +6 -6
- data/lib/softlayer/network/storage/allowed/host.rb +6 -6
- data/lib/softlayer/network/storage/backup/evault.rb +163 -144
- data/lib/softlayer/network/storage/group/iscsi.rb +12 -12
- data/lib/softlayer/network/storage/group/nfs.rb +12 -12
- data/lib/softlayer/network/storage/group.rb +12 -12
- data/lib/softlayer/network/storage/hub/swift/share.rb +6 -4
- data/lib/softlayer/network/storage/iscsi.rb +154 -138
- data/lib/softlayer/network/storage/schedule.rb +4 -4
- data/lib/softlayer/network/storage.rb +154 -138
- data/lib/softlayer/network/subnet/ip_address/global.rb +2 -2
- data/lib/softlayer/network/subnet/ip_address.rb +18 -18
- data/lib/softlayer/network/subnet/registration/details.rb +2 -2
- data/lib/softlayer/network/subnet/registration.rb +7 -6
- data/lib/softlayer/network/subnet/rwhois/data.rb +2 -2
- data/lib/softlayer/network/subnet.rb +16 -16
- data/lib/softlayer/network/tipping_point_reporting.rb +19 -8
- data/lib/softlayer/network/tunnel/module/context.rb +24 -24
- data/lib/softlayer/network/vlan/firewall.rb +4 -4
- data/lib/softlayer/network/vlan.rb +12 -12
- data/lib/softlayer/network.rb +9 -8
- data/lib/softlayer/notification/mobile.rb +4 -2
- data/lib/softlayer/notification/occurrence/event.rb +2 -2
- data/lib/softlayer/notification/user/subscriber/billing.rb +4 -4
- data/lib/softlayer/notification/user/subscriber/mobile.rb +7 -6
- data/lib/softlayer/notification/user/subscriber/preference.rb +4 -4
- data/lib/softlayer/notification/user/subscriber.rb +4 -4
- data/lib/softlayer/product/item/category.rb +4 -4
- data/lib/softlayer/product/item/policy/assignment.rb +2 -2
- data/lib/softlayer/product/item/price.rb +3 -2
- data/lib/softlayer/product/order.rb +41 -26
- data/lib/softlayer/product/package/server/option.rb +2 -2
- data/lib/softlayer/product/package.rb +15 -12
- data/lib/softlayer/product/upgrade/request.rb +3 -2
- data/lib/softlayer/provisioning/hook.rb +4 -4
- data/lib/softlayer/provisioning/maintenance/classification.rb +2 -2
- data/lib/softlayer/provisioning/maintenance/window.rb +22 -14
- data/lib/softlayer/resource/group.rb +2 -2
- data/lib/softlayer/resource/metadata.rb +9 -8
- data/lib/softlayer/scale/asset/hardware.rb +2 -2
- data/lib/softlayer/scale/asset/virtual/guest.rb +2 -2
- data/lib/softlayer/scale/group.rb +8 -8
- data/lib/softlayer/scale/load_balancer.rb +4 -4
- data/lib/softlayer/scale/network/vlan.rb +2 -2
- data/lib/softlayer/scale/policy/action/scale.rb +4 -4
- data/lib/softlayer/scale/policy/action.rb +2 -2
- data/lib/softlayer/scale/policy/trigger/one_time.rb +4 -4
- data/lib/softlayer/scale/policy/trigger/repeating.rb +6 -6
- data/lib/softlayer/scale/policy/trigger/resource_use/watch.rb +4 -4
- data/lib/softlayer/scale/policy/trigger/resource_use.rb +4 -4
- data/lib/softlayer/scale/policy/trigger.rb +4 -4
- data/lib/softlayer/scale/policy.rb +4 -4
- data/lib/softlayer/search.rb +4 -4
- data/lib/softlayer/security/certificate/request.rb +11 -8
- data/lib/softlayer/security/certificate.rb +6 -6
- data/lib/softlayer/security/ssh/key.rb +4 -4
- data/lib/softlayer/software/component/antivirus_spyware.rb +2 -2
- data/lib/softlayer/software/component/host_ips.rb +8 -2
- data/lib/softlayer/software/component/password.rb +10 -10
- data/lib/softlayer/survey.rb +4 -4
- data/lib/softlayer/tag.rb +8 -6
- data/lib/softlayer/ticket/update/employee.rb +2 -2
- data/lib/softlayer/ticket.rb +74 -46
- data/lib/softlayer/user/customer/api_authentication.rb +2 -2
- data/lib/softlayer/user/customer/external/binding/phone.rb +14 -14
- data/lib/softlayer/user/customer/external/binding/totp.rb +4 -4
- data/lib/softlayer/user/customer/external/binding/verisign.rb +9 -8
- data/lib/softlayer/user/customer/external/binding.rb +4 -4
- data/lib/softlayer/user/customer/mobile_device.rb +4 -4
- data/lib/softlayer/user/customer/notification/hardware.rb +8 -8
- data/lib/softlayer/user/customer/notification/virtual/guest.rb +8 -8
- data/lib/softlayer/user/customer.rb +128 -104
- data/lib/softlayer/user/external/binding.rb +2 -2
- data/lib/softlayer/user/permission/group.rb +28 -24
- data/lib/softlayer/user/permission/role.rb +12 -12
- data/lib/softlayer/utility/network.rb +11 -10
- data/lib/softlayer/version.rb +1 -1
- data/lib/softlayer/virtual/disk/image.rb +2 -2
- data/lib/softlayer/virtual/guest/block/device/template/group.rb +23 -20
- data/lib/softlayer/virtual/guest/boot/parameter.rb +4 -4
- data/lib/softlayer/virtual/guest.rb +131 -100
- data/lib/softlayer/virtual/host.rb +19 -16
- data/lib/softlayer/virtual/storage/repository.rb +9 -6
- data/lib/softlayer.rb +74 -0
- metadata +2 -2
data/lib/softlayer/account.rb
CHANGED
|
@@ -456,18 +456,19 @@ module Softlayer
|
|
|
456
456
|
attr_accessor :virtual_storage_archive_repositories
|
|
457
457
|
attr_accessor :virtual_storage_public_repositories
|
|
458
458
|
|
|
459
|
-
|
|
460
|
-
|
|
459
|
+
# account_id
|
|
460
|
+
# hash_code
|
|
461
|
+
def self.activate_partner(message)
|
|
461
462
|
request(:activate_partner, Softlayer::Account, message)
|
|
462
463
|
end
|
|
463
464
|
|
|
464
|
-
|
|
465
|
-
|
|
465
|
+
# ach_information
|
|
466
|
+
def self.add_ach_information(message)
|
|
466
467
|
request(:add_ach_information, Boolean, message)
|
|
467
468
|
end
|
|
468
469
|
|
|
469
|
-
|
|
470
|
-
|
|
470
|
+
# payment_option
|
|
471
|
+
def self.add_referral_partner_payment_option(message)
|
|
471
472
|
request(:add_referral_partner_payment_option, Boolean, message)
|
|
472
473
|
end
|
|
473
474
|
|
|
@@ -475,13 +476,15 @@ module Softlayer
|
|
|
475
476
|
request(:are_vdr_updates_blocked_for_billing, Boolean)
|
|
476
477
|
end
|
|
477
478
|
|
|
478
|
-
|
|
479
|
-
|
|
479
|
+
# token
|
|
480
|
+
# payer_id
|
|
481
|
+
def self.cancel_pay_pal_transaction(message)
|
|
480
482
|
request(:cancel_pay_pal_transaction, Boolean, message)
|
|
481
483
|
end
|
|
482
484
|
|
|
483
|
-
|
|
484
|
-
|
|
485
|
+
# token
|
|
486
|
+
# payer_id
|
|
487
|
+
def self.complete_pay_pal_transaction(message)
|
|
485
488
|
request(:complete_pay_pal_transaction, String, message)
|
|
486
489
|
end
|
|
487
490
|
|
|
@@ -497,8 +500,10 @@ module Softlayer
|
|
|
497
500
|
request(:get_abuse_emails, Array[Softlayer::Account::AbuseEmail])
|
|
498
501
|
end
|
|
499
502
|
|
|
500
|
-
|
|
501
|
-
|
|
503
|
+
# start_date
|
|
504
|
+
# end_date
|
|
505
|
+
# backup_status
|
|
506
|
+
def self.get_account_backup_history(message)
|
|
502
507
|
request(:get_account_backup_history, Array[Softlayer::Container::Network::Storage::Evault::WebCc::JobDetails], message)
|
|
503
508
|
end
|
|
504
509
|
|
|
@@ -518,8 +523,8 @@ module Softlayer
|
|
|
518
523
|
request(:get_account_status, Softlayer::Account::Status)
|
|
519
524
|
end
|
|
520
525
|
|
|
521
|
-
|
|
522
|
-
|
|
526
|
+
# key_name
|
|
527
|
+
def self.get_account_trait_value(message)
|
|
523
528
|
request(:get_account_trait_value, String, message)
|
|
524
529
|
end
|
|
525
530
|
|
|
@@ -567,8 +572,8 @@ module Softlayer
|
|
|
567
572
|
request(:get_active_packages, Array[Softlayer::Product::Package])
|
|
568
573
|
end
|
|
569
574
|
|
|
570
|
-
|
|
571
|
-
|
|
575
|
+
# attribute_key_name
|
|
576
|
+
def self.get_active_packages_by_attribute(message)
|
|
572
577
|
request(:get_active_packages_by_attribute, Array[Softlayer::Product::Package], message)
|
|
573
578
|
end
|
|
574
579
|
|
|
@@ -596,8 +601,9 @@ module Softlayer
|
|
|
596
601
|
request(:get_affiliate_id, String)
|
|
597
602
|
end
|
|
598
603
|
|
|
599
|
-
|
|
600
|
-
|
|
604
|
+
# start_date
|
|
605
|
+
# end_date
|
|
606
|
+
def self.get_aggregated_uptime_graph(message)
|
|
601
607
|
request(:get_aggregated_uptime_graph, Softlayer::Container::Graph, message)
|
|
602
608
|
end
|
|
603
609
|
|
|
@@ -637,8 +643,8 @@ module Softlayer
|
|
|
637
643
|
request(:get_application_delivery_controllers, Array[Softlayer::Network::Application::Delivery::Controller])
|
|
638
644
|
end
|
|
639
645
|
|
|
640
|
-
|
|
641
|
-
|
|
646
|
+
# attribute_type
|
|
647
|
+
def self.get_attribute_by_type(message)
|
|
642
648
|
request(:get_attribute_by_type, Softlayer::Account::Attribute, message)
|
|
643
649
|
end
|
|
644
650
|
|
|
@@ -654,13 +660,15 @@ module Softlayer
|
|
|
654
660
|
request(:get_available_public_network_vlans, Array[Softlayer::Network::Vlan])
|
|
655
661
|
end
|
|
656
662
|
|
|
657
|
-
|
|
658
|
-
|
|
663
|
+
# start_date_time
|
|
664
|
+
# end_date_time
|
|
665
|
+
def self.get_average_archive_usage_metric_data_by_date(message)
|
|
659
666
|
request(:get_average_archive_usage_metric_data_by_date, Float, message)
|
|
660
667
|
end
|
|
661
668
|
|
|
662
|
-
|
|
663
|
-
|
|
669
|
+
# start_date_time
|
|
670
|
+
# end_date_time
|
|
671
|
+
def self.get_average_public_usage_metric_data_by_date(message)
|
|
664
672
|
request(:get_average_public_usage_metric_data_by_date, Float, message)
|
|
665
673
|
end
|
|
666
674
|
|
|
@@ -728,13 +736,13 @@ module Softlayer
|
|
|
728
736
|
request(:get_closed_tickets, Array[Softlayer::Ticket])
|
|
729
737
|
end
|
|
730
738
|
|
|
731
|
-
|
|
732
|
-
|
|
739
|
+
# detailed_graph
|
|
740
|
+
def self.get_current_backup_statistics_graph(message)
|
|
733
741
|
request(:get_current_backup_statistics_graph, Softlayer::Container::Account::Graph::Outputs, message)
|
|
734
742
|
end
|
|
735
743
|
|
|
736
|
-
|
|
737
|
-
|
|
744
|
+
# detailed_graph
|
|
745
|
+
def self.get_current_ticket_statistics_graph(message)
|
|
738
746
|
request(:get_current_ticket_statistics_graph, Softlayer::Container::Account::Graph::Outputs, message)
|
|
739
747
|
end
|
|
740
748
|
|
|
@@ -750,23 +758,27 @@ module Softlayer
|
|
|
750
758
|
request(:get_disable_payment_processing_flag, Boolean)
|
|
751
759
|
end
|
|
752
760
|
|
|
753
|
-
|
|
754
|
-
|
|
761
|
+
# start_date_time
|
|
762
|
+
# end_date_time
|
|
763
|
+
def self.get_disk_usage_metric_data_by_date(message)
|
|
755
764
|
request(:get_disk_usage_metric_data_by_date, Array[Softlayer::Metric::Tracking::Object::Data], message)
|
|
756
765
|
end
|
|
757
766
|
|
|
758
|
-
|
|
759
|
-
|
|
767
|
+
# start_date_time
|
|
768
|
+
# end_date_time
|
|
769
|
+
def self.get_disk_usage_metric_data_from_legacy_by_date(message)
|
|
760
770
|
request(:get_disk_usage_metric_data_from_legacy_by_date, Array[Softlayer::Metric::Tracking::Object::Data], message)
|
|
761
771
|
end
|
|
762
772
|
|
|
763
|
-
|
|
764
|
-
|
|
773
|
+
# start_date_time
|
|
774
|
+
# end_date_time
|
|
775
|
+
def self.get_disk_usage_metric_data_from_metric_tracking_object_system_by_date(message)
|
|
765
776
|
request(:get_disk_usage_metric_data_from_metric_tracking_object_system_by_date, Array[Softlayer::Metric::Tracking::Object::Data], message)
|
|
766
777
|
end
|
|
767
778
|
|
|
768
|
-
|
|
769
|
-
|
|
779
|
+
# start_date_time
|
|
780
|
+
# end_date_time
|
|
781
|
+
def self.get_disk_usage_metric_image_by_date(message)
|
|
770
782
|
request(:get_disk_usage_metric_image_by_date, Softlayer::Container::Account::Graph::Outputs, message)
|
|
771
783
|
end
|
|
772
784
|
|
|
@@ -798,8 +810,11 @@ module Softlayer
|
|
|
798
810
|
request(:get_evault_network_storage, Array[Softlayer::Network::Storage])
|
|
799
811
|
end
|
|
800
812
|
|
|
801
|
-
|
|
802
|
-
|
|
813
|
+
# pdf_type
|
|
814
|
+
# historical_type
|
|
815
|
+
# start_date
|
|
816
|
+
# end_date
|
|
817
|
+
def self.get_executive_summary_pdf(message)
|
|
803
818
|
request(:get_executive_summary_pdf, Softlayer::Base64Binary, message)
|
|
804
819
|
end
|
|
805
820
|
|
|
@@ -815,8 +830,8 @@ module Softlayer
|
|
|
815
830
|
request(:get_flexible_credit_enrollments, Array[Softlayer::FlexibleCredit::Enrollment])
|
|
816
831
|
end
|
|
817
832
|
|
|
818
|
-
|
|
819
|
-
|
|
833
|
+
# for_next_bill_cycle
|
|
834
|
+
def self.get_flexible_credit_program_info(message)
|
|
820
835
|
request(:get_flexible_credit_program_info, Softlayer::Container::Account::Discount::Program, message)
|
|
821
836
|
end
|
|
822
837
|
|
|
@@ -904,23 +919,27 @@ module Softlayer
|
|
|
904
919
|
request(:get_has_r1soft_bare_metal_restore_plugin_flag, Boolean)
|
|
905
920
|
end
|
|
906
921
|
|
|
907
|
-
|
|
908
|
-
|
|
922
|
+
# start_date
|
|
923
|
+
# end_date
|
|
924
|
+
def self.get_historical_backup_graph(message)
|
|
909
925
|
request(:get_historical_backup_graph, Softlayer::Container::Account::Graph::Outputs, message)
|
|
910
926
|
end
|
|
911
927
|
|
|
912
|
-
|
|
913
|
-
|
|
928
|
+
# start_date
|
|
929
|
+
# end_date
|
|
930
|
+
def self.get_historical_bandwidth_graph(message)
|
|
914
931
|
request(:get_historical_bandwidth_graph, Softlayer::Container::Account::Graph::Outputs, message)
|
|
915
932
|
end
|
|
916
933
|
|
|
917
|
-
|
|
918
|
-
|
|
934
|
+
# start_date
|
|
935
|
+
# end_date
|
|
936
|
+
def self.get_historical_ticket_graph(message)
|
|
919
937
|
request(:get_historical_ticket_graph, Softlayer::Container::Account::Graph::Outputs, message)
|
|
920
938
|
end
|
|
921
939
|
|
|
922
|
-
|
|
923
|
-
|
|
940
|
+
# start_date
|
|
941
|
+
# end_date
|
|
942
|
+
def self.get_historical_uptime_graph(message)
|
|
924
943
|
request(:get_historical_uptime_graph, Softlayer::Container::Account::Graph::Outputs, message)
|
|
925
944
|
end
|
|
926
945
|
|
|
@@ -956,8 +975,9 @@ module Softlayer
|
|
|
956
975
|
request(:get_iscsi_network_storage, Array[Softlayer::Network::Storage])
|
|
957
976
|
end
|
|
958
977
|
|
|
959
|
-
|
|
960
|
-
|
|
978
|
+
# number_of_hosts
|
|
979
|
+
# location_id
|
|
980
|
+
def self.get_largest_allowed_subnet_cidr(message)
|
|
961
981
|
request(:get_largest_allowed_subnet_cidr, Integer, message)
|
|
962
982
|
end
|
|
963
983
|
|
|
@@ -1117,8 +1137,8 @@ module Softlayer
|
|
|
1117
1137
|
request(:get_next_billing_public_allotment_hardware_bandwidth_details, Array[Softlayer::Network::Bandwidth::Version1::Allotment])
|
|
1118
1138
|
end
|
|
1119
1139
|
|
|
1120
|
-
|
|
1121
|
-
|
|
1140
|
+
# document_create_date
|
|
1141
|
+
def self.get_next_invoice_excel(message)
|
|
1122
1142
|
request(:get_next_invoice_excel, Softlayer::Base64Binary, message)
|
|
1123
1143
|
end
|
|
1124
1144
|
|
|
@@ -1126,13 +1146,13 @@ module Softlayer
|
|
|
1126
1146
|
request(:get_next_invoice_incubator_exempt_total, Float)
|
|
1127
1147
|
end
|
|
1128
1148
|
|
|
1129
|
-
|
|
1130
|
-
|
|
1149
|
+
# document_create_date
|
|
1150
|
+
def self.get_next_invoice_pdf(message)
|
|
1131
1151
|
request(:get_next_invoice_pdf, Softlayer::Base64Binary, message)
|
|
1132
1152
|
end
|
|
1133
1153
|
|
|
1134
|
-
|
|
1135
|
-
|
|
1154
|
+
# document_create_date
|
|
1155
|
+
def self.get_next_invoice_pdf_detailed(message)
|
|
1136
1156
|
request(:get_next_invoice_pdf_detailed, Softlayer::Base64Binary, message)
|
|
1137
1157
|
end
|
|
1138
1158
|
|
|
@@ -1480,8 +1500,8 @@ module Softlayer
|
|
|
1480
1500
|
request(:get_tags, Array[Softlayer::Tag])
|
|
1481
1501
|
end
|
|
1482
1502
|
|
|
1483
|
-
|
|
1484
|
-
|
|
1503
|
+
# for_next_bill_cycle
|
|
1504
|
+
def self.get_tech_incubator_program_info(message)
|
|
1485
1505
|
request(:get_tech_incubator_program_info, Softlayer::Container::Account::Discount::Program, message)
|
|
1486
1506
|
end
|
|
1487
1507
|
|
|
@@ -1593,8 +1613,8 @@ module Softlayer
|
|
|
1593
1613
|
request(:get_windows_update_status, Array[Softlayer::Container::Utility::Microsoft::Windows::UpdateServices::Status])
|
|
1594
1614
|
end
|
|
1595
1615
|
|
|
1596
|
-
|
|
1597
|
-
|
|
1616
|
+
# attribute_type
|
|
1617
|
+
def self.has_attribute(message)
|
|
1598
1618
|
request(:has_attribute, Boolean, message)
|
|
1599
1619
|
end
|
|
1600
1620
|
|
|
@@ -1610,23 +1630,28 @@ module Softlayer
|
|
|
1610
1630
|
request(:remove_alternate_credit_card, Boolean)
|
|
1611
1631
|
end
|
|
1612
1632
|
|
|
1613
|
-
|
|
1614
|
-
|
|
1633
|
+
# request
|
|
1634
|
+
# vat_id
|
|
1635
|
+
# payment_role_name
|
|
1636
|
+
# only_change_nickname_flag
|
|
1637
|
+
def self.request_credit_card_change(message)
|
|
1615
1638
|
request(:request_credit_card_change, Softlayer::Billing::Payment::Card::ChangeRequest, message)
|
|
1616
1639
|
end
|
|
1617
1640
|
|
|
1618
|
-
|
|
1619
|
-
|
|
1641
|
+
# request
|
|
1642
|
+
def self.request_manual_payment(message)
|
|
1620
1643
|
request(:request_manual_payment, Softlayer::Billing::Payment::Card::ManualPayment, message)
|
|
1621
1644
|
end
|
|
1622
1645
|
|
|
1623
|
-
|
|
1624
|
-
|
|
1646
|
+
# amount
|
|
1647
|
+
# pay_with_alternate_card_flag
|
|
1648
|
+
# note
|
|
1649
|
+
def self.request_manual_payment_using_credit_card_on_file(message)
|
|
1625
1650
|
request(:request_manual_payment_using_credit_card_on_file, Softlayer::Billing::Payment::Card::ManualPayment, message)
|
|
1626
1651
|
end
|
|
1627
1652
|
|
|
1628
|
-
|
|
1629
|
-
|
|
1653
|
+
# enabled
|
|
1654
|
+
def self.set_vlan_span(message)
|
|
1630
1655
|
request(:set_vlan_span, Boolean, message)
|
|
1631
1656
|
end
|
|
1632
1657
|
|
|
@@ -1634,18 +1659,19 @@ module Softlayer
|
|
|
1634
1659
|
request(:swap_credit_cards, Boolean)
|
|
1635
1660
|
end
|
|
1636
1661
|
|
|
1637
|
-
|
|
1638
|
-
|
|
1662
|
+
# object_id
|
|
1663
|
+
# object_type
|
|
1664
|
+
def self.update_vpn_users_for_resource(message)
|
|
1639
1665
|
request(:update_vpn_users_for_resource, Boolean, message)
|
|
1640
1666
|
end
|
|
1641
1667
|
|
|
1642
|
-
|
|
1643
|
-
|
|
1668
|
+
# account
|
|
1669
|
+
def self.validate(message)
|
|
1644
1670
|
request(:validate, Array[String], message)
|
|
1645
1671
|
end
|
|
1646
1672
|
|
|
1647
|
-
|
|
1648
|
-
|
|
1673
|
+
# amount
|
|
1674
|
+
def self.validate_manual_payment_amount(message)
|
|
1649
1675
|
request(:validate_manual_payment_amount, Boolean, message)
|
|
1650
1676
|
end
|
|
1651
1677
|
|
|
@@ -4,8 +4,8 @@ module Softlayer
|
|
|
4
4
|
class Status < Softlayer::Entity
|
|
5
5
|
SERVICE = 'SoftLayer_Auxiliary_Network_Status'
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
# target
|
|
8
|
+
def self.get_network_status(message)
|
|
9
9
|
request(:get_network_status, Array[Softlayer::Container::Auxiliary::Network::Status::Reading], message)
|
|
10
10
|
end
|
|
11
11
|
|
|
@@ -49,8 +49,9 @@ module Softlayer
|
|
|
49
49
|
request(:get_rendered_press_release, Array[Softlayer::Auxiliary::Press::Release])
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
# result_limit
|
|
53
|
+
# year
|
|
54
|
+
def self.get_rendered_press_releases(message)
|
|
54
55
|
request(:get_rendered_press_releases, Array[Softlayer::Auxiliary::Press::Release], message)
|
|
55
56
|
end
|
|
56
57
|
|
|
@@ -19,8 +19,8 @@ module Softlayer
|
|
|
19
19
|
request(:get_object, Softlayer::Auxiliary::Shipping::Courier::Type)
|
|
20
20
|
end
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
# key_name
|
|
23
|
+
def self.get_type_by_key_name(message)
|
|
24
24
|
request(:get_type_by_key_name, Softlayer::Auxiliary::Shipping::Courier::Type, message)
|
|
25
25
|
end
|
|
26
26
|
|
|
@@ -10,8 +10,8 @@ module Softlayer
|
|
|
10
10
|
attr_accessor :funding_currency
|
|
11
11
|
attr_accessor :local_currency
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
# string_date
|
|
14
|
+
def get_all_currency_exchange_rates(message)
|
|
15
15
|
request(:get_all_currency_exchange_rates, Array[Softlayer::Billing::Currency::ExchangeRate], message)
|
|
16
16
|
end
|
|
17
17
|
|
|
@@ -19,8 +19,10 @@ module Softlayer
|
|
|
19
19
|
request(:get_currencies, Array[Softlayer::Billing::Currency])
|
|
20
20
|
end
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
# to
|
|
23
|
+
# from
|
|
24
|
+
# effective_date
|
|
25
|
+
def self.get_exchange_rate(message)
|
|
24
26
|
request(:get_exchange_rate, Softlayer::Billing::Currency::ExchangeRate, message)
|
|
25
27
|
end
|
|
26
28
|
|
|
@@ -36,8 +38,9 @@ module Softlayer
|
|
|
36
38
|
request(:get_object, Softlayer::Billing::Currency::ExchangeRate)
|
|
37
39
|
end
|
|
38
40
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
# price
|
|
42
|
+
# format_options
|
|
43
|
+
def get_price(message)
|
|
41
44
|
request(:get_price, String, message)
|
|
42
45
|
end
|
|
43
46
|
|
|
@@ -15,8 +15,9 @@ module Softlayer
|
|
|
15
15
|
request(:get_object, Softlayer::Billing::Currency)
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
# price
|
|
19
|
+
# format_options
|
|
20
|
+
def get_price(message)
|
|
20
21
|
request(:get_price, String, message)
|
|
21
22
|
end
|
|
22
23
|
|
|
@@ -4,18 +4,18 @@ module Softlayer
|
|
|
4
4
|
class Next < Softlayer::Entity
|
|
5
5
|
SERVICE = 'SoftLayer_Billing_Invoice_Next'
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
# document_create_date
|
|
8
|
+
def get_excel(message)
|
|
9
9
|
request(:get_excel, Softlayer::Base64Binary, message)
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
# document_create_date
|
|
13
|
+
def get_pdf(message)
|
|
14
14
|
request(:get_pdf, Softlayer::Base64Binary, message)
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
# document_create_date
|
|
18
|
+
def get_pdf_detailed(message)
|
|
19
19
|
request(:get_pdf_detailed, Softlayer::Base64Binary, message)
|
|
20
20
|
end
|
|
21
21
|
|
|
@@ -21,8 +21,8 @@ module Softlayer
|
|
|
21
21
|
attr_accessor :ticket
|
|
22
22
|
attr_accessor :user
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
# template_object
|
|
25
|
+
def self.create_object(message)
|
|
26
26
|
request(:create_object, Softlayer::Billing::Item::Cancellation::Request, message)
|
|
27
27
|
end
|
|
28
28
|
|
|
@@ -34,8 +34,9 @@ module Softlayer
|
|
|
34
34
|
request(:get_all_cancellation_requests, Array[Softlayer::Billing::Item::Cancellation::Request])
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
# account_id
|
|
38
|
+
# category_code
|
|
39
|
+
def self.get_cancellation_cutoff_date(message)
|
|
39
40
|
request(:get_cancellation_cutoff_date, DateTime, message)
|
|
40
41
|
end
|
|
41
42
|
|
|
@@ -59,18 +60,18 @@ module Softlayer
|
|
|
59
60
|
request(:get_user, Softlayer::User::Customer)
|
|
60
61
|
end
|
|
61
62
|
|
|
62
|
-
|
|
63
|
-
|
|
63
|
+
# item_id
|
|
64
|
+
def remove_cancellation_item(message)
|
|
64
65
|
request(:remove_cancellation_item, Boolean, message)
|
|
65
66
|
end
|
|
66
67
|
|
|
67
|
-
|
|
68
|
-
|
|
68
|
+
# billing_item_id
|
|
69
|
+
def self.validate_billing_item_for_cancellation(message)
|
|
69
70
|
request(:validate_billing_item_for_cancellation, Boolean, message)
|
|
70
71
|
end
|
|
71
72
|
|
|
72
|
-
|
|
73
|
-
|
|
73
|
+
# close_related_ticket_flag
|
|
74
|
+
def void(message)
|
|
74
75
|
request(:void, Boolean, message)
|
|
75
76
|
end
|
|
76
77
|
|
|
@@ -118,8 +118,11 @@ module Softlayer
|
|
|
118
118
|
attr_accessor :upgrade_item
|
|
119
119
|
attr_accessor :upgrade_items
|
|
120
120
|
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
# cancel_immediately
|
|
122
|
+
# cancel_associated_billing_items
|
|
123
|
+
# reason
|
|
124
|
+
# customer_note
|
|
125
|
+
def cancel_item(message)
|
|
123
126
|
request(:cancel_item, Boolean, message)
|
|
124
127
|
end
|
|
125
128
|
|
|
@@ -323,8 +326,9 @@ module Softlayer
|
|
|
323
326
|
request(:get_provision_transaction, Softlayer::Provisioning::Version1::Transaction)
|
|
324
327
|
end
|
|
325
328
|
|
|
326
|
-
|
|
327
|
-
|
|
329
|
+
# category_code
|
|
330
|
+
# include_zero_recurring_fee
|
|
331
|
+
def self.get_service_billing_items_by_category(message)
|
|
328
332
|
request(:get_service_billing_items_by_category, Array[Softlayer::Billing::Item], message)
|
|
329
333
|
end
|
|
330
334
|
|
|
@@ -344,8 +348,8 @@ module Softlayer
|
|
|
344
348
|
request(:remove_association_id, Boolean)
|
|
345
349
|
end
|
|
346
350
|
|
|
347
|
-
|
|
348
|
-
|
|
351
|
+
# associated_id
|
|
352
|
+
def set_association_id(message)
|
|
349
353
|
request(:set_association_id, Boolean, message)
|
|
350
354
|
end
|
|
351
355
|
|
|
@@ -4,13 +4,14 @@ module Softlayer
|
|
|
4
4
|
class Cart < Softlayer::Billing::Order::Quote
|
|
5
5
|
SERVICE = 'SoftLayer_Billing_Order_Cart'
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
# quote_key
|
|
8
|
+
# quote_id
|
|
9
|
+
def self.claim(message)
|
|
9
10
|
request(:claim, Softlayer::Billing::Order::Cart, message)
|
|
10
11
|
end
|
|
11
12
|
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
# order_data
|
|
14
|
+
def self.create_cart(message)
|
|
14
15
|
request(:create_cart, Integer, message)
|
|
15
16
|
end
|
|
16
17
|
|
|
@@ -26,8 +27,8 @@ module Softlayer
|
|
|
26
27
|
request(:get_account, Softlayer::Account)
|
|
27
28
|
end
|
|
28
29
|
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
# cart_key
|
|
31
|
+
def self.get_cart_by_cart_key(message)
|
|
31
32
|
request(:get_cart_by_cart_key, Softlayer::Billing::Order::Cart, message)
|
|
32
33
|
end
|
|
33
34
|
|
|
@@ -47,23 +48,24 @@ module Softlayer
|
|
|
47
48
|
request(:get_pdf, Softlayer::Base64Binary)
|
|
48
49
|
end
|
|
49
50
|
|
|
50
|
-
|
|
51
|
-
|
|
51
|
+
# quote_key
|
|
52
|
+
def self.get_quote_by_quote_key(message)
|
|
52
53
|
request(:get_quote_by_quote_key, Softlayer::Billing::Order::Cart, message)
|
|
53
54
|
end
|
|
54
55
|
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
# order_data
|
|
57
|
+
# order_being_placed_flag
|
|
58
|
+
def get_recalculated_order_container(message)
|
|
57
59
|
request(:get_recalculated_order_container, Softlayer::Container::Product::Order, message)
|
|
58
60
|
end
|
|
59
61
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
+
# order_data
|
|
63
|
+
def place_order(message)
|
|
62
64
|
request(:place_order, Softlayer::Container::Product::Order::Receipt, message)
|
|
63
65
|
end
|
|
64
66
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
+
# order_data
|
|
68
|
+
def place_quote(message)
|
|
67
69
|
request(:place_quote, Softlayer::Container::Product::Order, message)
|
|
68
70
|
end
|
|
69
71
|
|
|
@@ -71,13 +73,13 @@ module Softlayer
|
|
|
71
73
|
request(:save_quote, Softlayer::Billing::Order::Cart)
|
|
72
74
|
end
|
|
73
75
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
+
# order_data
|
|
77
|
+
def update_cart(message)
|
|
76
78
|
request(:update_cart, Integer, message)
|
|
77
79
|
end
|
|
78
80
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
+
# order_data
|
|
82
|
+
def verify_order(message)
|
|
81
83
|
request(:verify_order, Softlayer::Container::Product::Order, message)
|
|
82
84
|
end
|
|
83
85
|
|