Class: Softlayer::Network::ContentDelivery::Account

Inherits:
Entity
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

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

#accountObject

Returns the value of attribute account.



12
13
14
# File 'lib/softlayer/network/content_delivery/account.rb', line 12

def 
  @account
end

#account_idObject

Returns the value of attribute account_id.



7
8
9
# File 'lib/softlayer/network/content_delivery/account.rb', line 7

def 
  @account_id
end

#associated_cdn_account_idObject

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
end

#authentication_ip_address_countObject

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_addressesObject

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_itemObject

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_nameObject

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
end

#cdn_account_noteObject

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
end

#cdn_solution_nameObject

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_dateObject

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_flagObject

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

#idObject

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_flagObject

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_flagObject

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_flagObject

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

#statusObject

Returns the value of attribute status.



23
24
25
# File 'lib/softlayer/network/content_delivery/account.rb', line 23

def status
  @status
end

#status_idObject

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_flagObject

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(message)
  request(:authenticate_resource_request, Boolean, message)
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(message)
  request(:create_directory, Boolean, message)
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(message)
  request(:create_ftp_user, Boolean, message)
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(message)
  request(:create_origin_pull_mapping, Boolean, message)
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(message)
  request(:create_origin_pull_rule, Boolean, message)
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(message)
  request(:create_token_authentication_directory, Boolean, message)
end

#delete_ftp_userObject



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(message)
  request(:delete_origin_pull_rule, Boolean, message)
end

#disable_loggingObject



67
68
69
# File 'lib/softlayer/network/content_delivery/account.rb', line 67

def disable_logging
  request(:disable_logging, Boolean)
end

#enable_loggingObject



71
72
73
# File 'lib/softlayer/network/content_delivery/account.rb', line 71

def enable_logging
  request(:enable_logging, Boolean)
end

#get_accountObject



75
76
77
# File 'lib/softlayer/network/content_delivery/account.rb', line 75

def 
  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(message)
  request(:get_all_pops_bandwidth_data, Array[Softlayer::Container::Network::ContentDelivery::Bandwidth::PointsOfPresence::Summary], message)
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(message)
  request(:get_all_pops_bandwidth_image, Softlayer::Container::Bandwidth::GraphOutputsExtended, message)
end

#get_associated_cdn_account_idObject



93
94
95
# File 'lib/softlayer/network/content_delivery/account.rb', line 93

def 
  request(:get_associated_cdn_account_id, String)
end

#get_authentication_ip_addressesObject



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_endpointsObject



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(message)
  request(:get_bandwidth_data, Array[Softlayer::Container::Network::ContentDelivery::Bandwidth::Summary], message)
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(message)
  request(:get_bandwidth_data_with_types, Array[Softlayer::Container::Network::ContentDelivery::Report::Usage], message)
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(message)
  request(:get_bandwidth_image, Softlayer::Container::Bandwidth::GraphOutputsExtended, message)
end

#get_billing_itemObject



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_nameObject



129
130
131
# File 'lib/softlayer/network/content_delivery/account.rb', line 129

def 
  request(:get_cdn_account_name, String)
end

#get_cdn_account_noteObject



133
134
135
# File 'lib/softlayer/network/content_delivery/account.rb', line 133

def 
  request(:get_cdn_account_note, String)
end

#get_cdn_solution_nameObject



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(message)
  request(:get_customer_origins, Array[Softlayer::Container::Network::ContentDelivery::OriginPull::Mapping], message)
end

#get_dependant_service_flagObject



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(message)
  request(:get_directory_information, Array[Softlayer::Container::Network::Directory::Listing], message)
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(message)
  request(:get_disk_space_usage_data_by_date, Array[Softlayer::Metric::Tracking::Object::Data], message)
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(message)
  request(:get_disk_space_usage_image_by_date, Softlayer::Container::Bandwidth::GraphOutputs, message)
end

#get_ftp_attributesObject



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_flagObject



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_flagObject



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_urlsObject



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_objectObject



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_informationObject



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_urlsObject



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_urlObject



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_namesObject



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_flagObject



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_credentialsObject



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_statusObject



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_directoriesObject



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_flagObject



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_attributesObject



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(message)
  request(:load_content, Boolean, message)
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(message)
  request(:manage_http_compression, Boolean, message)
end

#purge_cache(message) ⇒ Object

object_urls



239
240
241
# File 'lib/softlayer/network/content_delivery/account.rb', line 239

def purge_cache(message)
  request(:purge_cache, Array[Softlayer::Container::Network::ContentDelivery::PurgeService::Response], message)
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(message)
  request(:remove_authentication_directory, Boolean, message)
end

#remove_file(message) ⇒ Object

source



250
251
252
# File 'lib/softlayer/network/content_delivery/account.rb', line 250

def remove_file(message)
  request(:remove_file, Boolean, message)
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(message)
  request(:set_authentication_service_endpoint, Boolean, message)
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(message)
  request(:set_ftp_password, Boolean, message)
end

#update_note(message) ⇒ Object

note



266
267
268
# File 'lib/softlayer/network/content_delivery/account.rb', line 266

def update_note(message)
  request(:update_note, Boolean, message)
end

#upload_stream(message) ⇒ Object

source target



272
273
274
# File 'lib/softlayer/network/content_delivery/account.rb', line 272

def upload_stream(message)
  request(:upload_stream, Boolean, message)
end