Class: Softlayer::Network::ContentDelivery::Account
- Defined in:
- lib/softlayer/network/content_delivery/account.rb,
lib/softlayer/network/content_delivery/account/status.rb
Defined Under Namespace
Classes: Representer, Status
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_ContentDelivery_Account'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#associated_cdn_account_id ⇒ Object
Returns the value of attribute associated_cdn_account_id.
-
#authentication_ip_address_count ⇒ Object
Returns the value of attribute authentication_ip_address_count.
-
#authentication_ip_addresses ⇒ Object
Returns the value of attribute authentication_ip_addresses.
-
#billing_item ⇒ Object
Returns the value of attribute billing_item.
-
#cdn_account_name ⇒ Object
Returns the value of attribute cdn_account_name.
-
#cdn_account_note ⇒ Object
Returns the value of attribute cdn_account_note.
-
#cdn_solution_name ⇒ Object
Returns the value of attribute cdn_solution_name.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#dependant_service_flag ⇒ Object
Returns the value of attribute dependant_service_flag.
-
#id ⇒ Object
Returns the value of attribute id.
-
#legacy_cdn_flag ⇒ Object
Returns the value of attribute legacy_cdn_flag.
-
#log_enabled_flag ⇒ Object
Returns the value of attribute log_enabled_flag.
-
#provider_portal_access_flag ⇒ Object
Returns the value of attribute provider_portal_access_flag.
-
#status ⇒ Object
Returns the value of attribute status.
-
#status_id ⇒ Object
Returns the value of attribute status_id.
-
#token_authentication_enabled_flag ⇒ Object
Returns the value of attribute token_authentication_enabled_flag.
Class Method Summary collapse
Instance Method Summary collapse
-
#create_directory(message) ⇒ Object
directory_name.
-
#create_ftp_user(message) ⇒ Object
new_password.
-
#create_origin_pull_mapping(message) ⇒ Object
mapping_object.
-
#create_origin_pull_rule(message) ⇒ Object
origin_domain cname_record.
-
#create_token_authentication_directory(message) ⇒ Object
directory media_type.
- #delete_ftp_user ⇒ Object
-
#delete_origin_pull_rule(message) ⇒ Object
origin_mapping_id.
- #disable_logging ⇒ Object
- #enable_logging ⇒ Object
- #get_account ⇒ Object
-
#get_all_pops_bandwidth_data(message) ⇒ Object
begin_date_time end_date_time.
-
#get_all_pops_bandwidth_image(message) ⇒ Object
title begin_date_time end_date_time unit.
- #get_associated_cdn_account_id ⇒ Object
- #get_authentication_ip_addresses ⇒ Object
- #get_authentication_service_endpoints ⇒ Object
-
#get_bandwidth_data(message) ⇒ Object
begin_date_time end_date_time.
-
#get_bandwidth_data_with_types(message) ⇒ Object
begin_date_time end_date_time period.
-
#get_bandwidth_image(message) ⇒ Object
title begin_date_time end_date_time.
- #get_billing_item ⇒ Object
- #get_cdn_account_name ⇒ Object
- #get_cdn_account_note ⇒ Object
- #get_cdn_solution_name ⇒ Object
-
#get_customer_origins(message) ⇒ Object
media_type.
- #get_dependant_service_flag ⇒ Object
-
#get_directory_information(message) ⇒ Object
directory_name.
-
#get_disk_space_usage_data_by_date(message) ⇒ Object
begin_date_time end_date_time.
-
#get_disk_space_usage_image_by_date(message) ⇒ Object
begin_date_time end_date_time.
- #get_ftp_attributes ⇒ Object
- #get_legacy_cdn_flag ⇒ Object
- #get_log_enabled_flag ⇒ Object
- #get_media_urls ⇒ Object
- #get_object ⇒ Object
- #get_origin_pull_mapping_information ⇒ Object
- #get_origin_pull_supported_media_urls ⇒ Object
- #get_origin_pull_url ⇒ Object
- #get_pop_names ⇒ Object
- #get_provider_portal_access_flag ⇒ Object
- #get_provider_portal_credentials ⇒ Object
- #get_status ⇒ Object
- #get_token_authentication_directories ⇒ Object
- #get_token_authentication_enabled_flag ⇒ Object
- #get_vendor_ftp_attributes ⇒ Object
-
#load_content(message) ⇒ Object
object_urls.
-
#manage_http_compression(message) ⇒ Object
enable_flag mime_types.
-
#purge_cache(message) ⇒ Object
object_urls.
-
#remove_authentication_directory(message) ⇒ Object
directory media_type.
-
#remove_file(message) ⇒ Object
source.
-
#set_authentication_service_endpoint(message) ⇒ Object
webservice_endpoint protocol.
-
#set_ftp_password(message) ⇒ Object
new_password.
-
#update_note(message) ⇒ Object
note.
-
#upload_stream(message) ⇒ Object
source target.
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer
Methods included from Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
12 13 14 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 12 def account @account end |
#account_id ⇒ Object
Returns the value of attribute account_id.
7 8 9 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 7 def account_id @account_id end |
#associated_cdn_account_id ⇒ Object
Returns the value of attribute associated_cdn_account_id.
13 14 15 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 13 def associated_cdn_account_id @associated_cdn_account_id end |
#authentication_ip_address_count ⇒ Object
Returns the value of attribute authentication_ip_address_count.
11 12 13 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 11 def authentication_ip_address_count @authentication_ip_address_count end |
#authentication_ip_addresses ⇒ Object
Returns the value of attribute authentication_ip_addresses.
14 15 16 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 14 def authentication_ip_addresses @authentication_ip_addresses end |
#billing_item ⇒ Object
Returns the value of attribute billing_item.
15 16 17 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 15 def billing_item @billing_item end |
#cdn_account_name ⇒ Object
Returns the value of attribute cdn_account_name.
16 17 18 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 16 def cdn_account_name @cdn_account_name end |
#cdn_account_note ⇒ Object
Returns the value of attribute cdn_account_note.
17 18 19 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 17 def cdn_account_note @cdn_account_note end |
#cdn_solution_name ⇒ Object
Returns the value of attribute cdn_solution_name.
18 19 20 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 18 def cdn_solution_name @cdn_solution_name end |
#create_date ⇒ Object
Returns the value of attribute create_date.
8 9 10 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 8 def create_date @create_date end |
#dependant_service_flag ⇒ Object
Returns the value of attribute dependant_service_flag.
19 20 21 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 19 def dependant_service_flag @dependant_service_flag end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 9 def id @id end |
#legacy_cdn_flag ⇒ Object
Returns the value of attribute legacy_cdn_flag.
20 21 22 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 20 def legacy_cdn_flag @legacy_cdn_flag end |
#log_enabled_flag ⇒ Object
Returns the value of attribute log_enabled_flag.
21 22 23 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 21 def log_enabled_flag @log_enabled_flag end |
#provider_portal_access_flag ⇒ Object
Returns the value of attribute provider_portal_access_flag.
22 23 24 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 22 def provider_portal_access_flag @provider_portal_access_flag end |
#status ⇒ Object
Returns the value of attribute status.
23 24 25 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 23 def status @status end |
#status_id ⇒ Object
Returns the value of attribute status_id.
10 11 12 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 10 def status_id @status_id end |
#token_authentication_enabled_flag ⇒ Object
Returns the value of attribute token_authentication_enabled_flag.
24 25 26 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 24 def token_authentication_enabled_flag @token_authentication_enabled_flag end |
Class Method Details
.authenticate_resource_request(message) ⇒ Object
parameter
27 28 29 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 27 def self.authenticate_resource_request() request(:authenticate_resource_request, Boolean, ) end |
Instance Method Details
#create_directory(message) ⇒ Object
directory_name
32 33 34 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 32 def create_directory() request(:create_directory, Boolean, ) end |
#create_ftp_user(message) ⇒ Object
new_password
37 38 39 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 37 def create_ftp_user() request(:create_ftp_user, Boolean, ) end |
#create_origin_pull_mapping(message) ⇒ Object
mapping_object
42 43 44 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 42 def create_origin_pull_mapping() request(:create_origin_pull_mapping, Boolean, ) end |
#create_origin_pull_rule(message) ⇒ Object
origin_domain cname_record
48 49 50 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 48 def create_origin_pull_rule() request(:create_origin_pull_rule, Boolean, ) end |
#create_token_authentication_directory(message) ⇒ Object
directory media_type
54 55 56 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 54 def create_token_authentication_directory() request(:create_token_authentication_directory, Boolean, ) end |
#delete_ftp_user ⇒ Object
58 59 60 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 58 def delete_ftp_user request(:delete_ftp_user, Boolean) end |
#delete_origin_pull_rule(message) ⇒ Object
origin_mapping_id
63 64 65 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 63 def delete_origin_pull_rule() request(:delete_origin_pull_rule, Boolean, ) end |
#disable_logging ⇒ Object
67 68 69 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 67 def disable_logging request(:disable_logging, Boolean) end |
#enable_logging ⇒ Object
71 72 73 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 71 def enable_logging request(:enable_logging, Boolean) end |
#get_account ⇒ Object
75 76 77 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 75 def get_account request(:get_account, Softlayer::Account) end |
#get_all_pops_bandwidth_data(message) ⇒ Object
begin_date_time end_date_time
81 82 83 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 81 def get_all_pops_bandwidth_data() request(:get_all_pops_bandwidth_data, Array[Softlayer::Container::Network::ContentDelivery::Bandwidth::PointsOfPresence::Summary], ) end |
#get_all_pops_bandwidth_image(message) ⇒ Object
title begin_date_time end_date_time unit
89 90 91 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 89 def get_all_pops_bandwidth_image() request(:get_all_pops_bandwidth_image, Softlayer::Container::Bandwidth::GraphOutputsExtended, ) end |
#get_associated_cdn_account_id ⇒ Object
93 94 95 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 93 def get_associated_cdn_account_id request(:get_associated_cdn_account_id, String) end |
#get_authentication_ip_addresses ⇒ Object
97 98 99 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 97 def get_authentication_ip_addresses request(:get_authentication_ip_addresses, Array[Softlayer::Network::ContentDelivery::Authentication::Address]) end |
#get_authentication_service_endpoints ⇒ Object
101 102 103 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 101 def get_authentication_service_endpoints request(:get_authentication_service_endpoints, Array[Softlayer::Container::Network::ContentDelivery::Authentication::ServiceEndpoint]) end |
#get_bandwidth_data(message) ⇒ Object
begin_date_time end_date_time
107 108 109 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 107 def get_bandwidth_data() request(:get_bandwidth_data, Array[Softlayer::Container::Network::ContentDelivery::Bandwidth::Summary], ) end |
#get_bandwidth_data_with_types(message) ⇒ Object
begin_date_time end_date_time period
114 115 116 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 114 def get_bandwidth_data_with_types() request(:get_bandwidth_data_with_types, Array[Softlayer::Container::Network::ContentDelivery::Report::Usage], ) end |
#get_bandwidth_image(message) ⇒ Object
title begin_date_time end_date_time
121 122 123 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 121 def get_bandwidth_image() request(:get_bandwidth_image, Softlayer::Container::Bandwidth::GraphOutputsExtended, ) end |
#get_billing_item ⇒ Object
125 126 127 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 125 def get_billing_item request(:get_billing_item, Softlayer::Billing::Item) end |
#get_cdn_account_name ⇒ Object
129 130 131 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 129 def get_cdn_account_name request(:get_cdn_account_name, String) end |
#get_cdn_account_note ⇒ Object
133 134 135 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 133 def get_cdn_account_note request(:get_cdn_account_note, String) end |
#get_cdn_solution_name ⇒ Object
137 138 139 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 137 def get_cdn_solution_name request(:get_cdn_solution_name, String) end |
#get_customer_origins(message) ⇒ Object
media_type
142 143 144 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 142 def get_customer_origins() request(:get_customer_origins, Array[Softlayer::Container::Network::ContentDelivery::OriginPull::Mapping], ) end |
#get_dependant_service_flag ⇒ Object
146 147 148 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 146 def get_dependant_service_flag request(:get_dependant_service_flag, Boolean) end |
#get_directory_information(message) ⇒ Object
directory_name
151 152 153 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 151 def get_directory_information() request(:get_directory_information, Array[Softlayer::Container::Network::Directory::Listing], ) end |
#get_disk_space_usage_data_by_date(message) ⇒ Object
begin_date_time end_date_time
157 158 159 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 157 def get_disk_space_usage_data_by_date() request(:get_disk_space_usage_data_by_date, Array[Softlayer::Metric::Tracking::Object::Data], ) end |
#get_disk_space_usage_image_by_date(message) ⇒ Object
begin_date_time end_date_time
163 164 165 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 163 def get_disk_space_usage_image_by_date() request(:get_disk_space_usage_image_by_date, Softlayer::Container::Bandwidth::GraphOutputs, ) end |
#get_ftp_attributes ⇒ Object
167 168 169 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 167 def get_ftp_attributes request(:get_ftp_attributes, Softlayer::Container::Network::Authentication::Data) end |
#get_legacy_cdn_flag ⇒ Object
171 172 173 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 171 def get_legacy_cdn_flag request(:get_legacy_cdn_flag, Boolean) end |
#get_log_enabled_flag ⇒ Object
175 176 177 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 175 def get_log_enabled_flag request(:get_log_enabled_flag, String) end |
#get_media_urls ⇒ Object
179 180 181 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 179 def get_media_urls request(:get_media_urls, Array[Softlayer::Container::Network::ContentDelivery::SupportedProtocol]) end |
#get_object ⇒ Object
183 184 185 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 183 def get_object request(:get_object, Softlayer::Network::ContentDelivery::Account) end |
#get_origin_pull_mapping_information ⇒ Object
187 188 189 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 187 def get_origin_pull_mapping_information request(:get_origin_pull_mapping_information, Array[Softlayer::Container::Network::ContentDelivery::OriginPull::Mapping]) end |
#get_origin_pull_supported_media_urls ⇒ Object
191 192 193 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 191 def get_origin_pull_supported_media_urls request(:get_origin_pull_supported_media_urls, Array[Softlayer::Container::Network::ContentDelivery::SupportedProtocol]) end |
#get_origin_pull_url ⇒ Object
195 196 197 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 195 def get_origin_pull_url request(:get_origin_pull_url, String) end |
#get_pop_names ⇒ Object
199 200 201 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 199 def get_pop_names request(:get_pop_names, Array[Softlayer::Container::Network::ContentDelivery::PointsOfPresence]) end |
#get_provider_portal_access_flag ⇒ Object
203 204 205 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 203 def get_provider_portal_access_flag request(:get_provider_portal_access_flag, Boolean) end |
#get_provider_portal_credentials ⇒ Object
207 208 209 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 207 def get_provider_portal_credentials request(:get_provider_portal_credentials, Softlayer::Container::Network::Authentication::Data) end |
#get_status ⇒ Object
211 212 213 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 211 def get_status request(:get_status, Softlayer::Network::ContentDelivery::Account::Status) end |
#get_token_authentication_directories ⇒ Object
215 216 217 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 215 def get_token_authentication_directories request(:get_token_authentication_directories, Array[Softlayer::Container::Network::Directory::Listing]) end |
#get_token_authentication_enabled_flag ⇒ Object
219 220 221 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 219 def get_token_authentication_enabled_flag request(:get_token_authentication_enabled_flag, Boolean) end |
#get_vendor_ftp_attributes ⇒ Object
223 224 225 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 223 def get_vendor_ftp_attributes request(:get_vendor_ftp_attributes, Softlayer::Container::Network::Authentication::Data) end |
#load_content(message) ⇒ Object
object_urls
228 229 230 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 228 def load_content() request(:load_content, Boolean, ) end |
#manage_http_compression(message) ⇒ Object
enable_flag mime_types
234 235 236 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 234 def manage_http_compression() request(:manage_http_compression, Boolean, ) end |
#purge_cache(message) ⇒ Object
object_urls
239 240 241 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 239 def purge_cache() request(:purge_cache, Array[Softlayer::Container::Network::ContentDelivery::PurgeService::Response], ) end |
#remove_authentication_directory(message) ⇒ Object
directory media_type
245 246 247 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 245 def remove_authentication_directory() request(:remove_authentication_directory, Boolean, ) end |
#remove_file(message) ⇒ Object
source
250 251 252 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 250 def remove_file() request(:remove_file, Boolean, ) end |
#set_authentication_service_endpoint(message) ⇒ Object
webservice_endpoint protocol
256 257 258 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 256 def set_authentication_service_endpoint() request(:set_authentication_service_endpoint, Boolean, ) end |
#set_ftp_password(message) ⇒ Object
new_password
261 262 263 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 261 def set_ftp_password() request(:set_ftp_password, Boolean, ) end |
#update_note(message) ⇒ Object
note
266 267 268 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 266 def update_note() request(:update_note, Boolean, ) end |
#upload_stream(message) ⇒ Object
source target
272 273 274 |
# File 'lib/softlayer/network/content_delivery/account.rb', line 272 def upload_stream() request(:upload_stream, Boolean, ) end |