SoftLayer_Network_ContentDelivery_Account


SoftLayer_Network_ContentDelivery_Account

Description

SoftLayer_Network_ContentDelivery_Account controls a single CDN user account and that account’s content hosted on SoftLayer’s CDN hosting infrastructure. Individual customer accounts can have more than one CDN account.

Every CDN account has the capability to configure and upload content to SoftLayer’s CDN infrastructure. When a user requests content from the CDN they retrieve data from the node in closest physical proximity to them, assuring failover in the case of single node failure and the lowest network latency possible.

CDN supports three distinct types of content, streaming Flash, streaming Windows Media and traditional HTTP. Each of these types of service are automatically set depending on the folder you upload your content to. Each of these types of content are accessed from different URLs. URL examples can be found on the [https://manage.softlayer.com customer portal].

CDN supports directory creation, [[SoftLayer_Network_ContentDelivery_Account::getBandwidthData|bandwidth reporting]], and an [[SoftLayer_Network_ContentDelivery_Account::createOriginPullRule|Origin Pull]] rule if you wish to manage your content directly on one of your servers. Files uploaded to CDN are accessed by users in directories relative to your account’s root directory. For instance, if the file “/images/header.jpg” exists in your CDN space then it can be accessed at the URL “http://.http.cdn.softlayer.net/00/images/header.jpg

CDN accounts support FTP transfers in addition to API-based uploads. To access a CDN account’s FTP space on the SoftLayer private network, log into “‘ftp.cdnlayer.service.softlayer.com”’ with an FTP client using your CDN account name and a password set either in the SoftLayer [https://manage.softlayer.com customer portal] or by via the [[SoftLayer_Network_ContentDelivery_Account::setFtpPassword|setFtpPassword]] method

CDN supports the content authentication service. CDN’s content authentication service is the technology that allows only authorized user to access your content. It performs a token based authentication before delivering content. An authentication token can be obtained from the SoftLayer customer portal or API and it needs to be appended to the CDN URL. When an end-user requests a file, CDN server will check the validity of the token passed via HTTP GET string with a remote web service provided by SoftLayer. Then the content will be delivered if the value returned from the web service is good otherwise the connection will be rejected. The token authentication web service call is made in real time and it will hold the incoming connection until receiving a value returned from the website.

There are several scenarios where this authentication capability could be useful. Websites can prevent other rogue websites from linking to their videos. Content owners can prevent users from passing around HTTP links, thus forcing them to login to view contents. See [[SoftLayer_Network_ContentDelivery_Authentication_Token|SoftLayer_Network_ContentDelivery_Authentication_Token]] and [[SoftLayer_Network_ContentDelivery_Authentication_Address|SoftLayer_Network_ContentDelivery_Authentication_Address]] for more details on the content authentication service.

Methods

authenticateResourceRequest
Validates an authentication token
createDirectory
Creates a directory on the CDN FTP server
createFtpUser
Create a CDN FTP user record
createOriginPullMapping
Sets up an Origin Pull domain rule
createOriginPullRule
Sets up an Origin Pull domain rule
createTokenAuthenticationDirectory
Adds a token authentication directory
deleteFtpUser
Deletes a CDN FTP user record
deleteOriginPullRule
Removes an Origin Pull domain rule
disableLogging
Disables CDN access log
enableLogging
Enables CDN access log
getAccount
Retrieve the customer account that a CDN account belongs to.
getAllPopsBandwidthData
Returns bandwidth data for each POP
getAllPopsBandwidthImage
Returns an object with bandwidth graph data for each POP
getAssociatedCdnAccountId
Retrieve the CDN account id that this CDN account is associated with.
getAuthenticationIpAddresses
Retrieve the IP addresses that are used for the content authentication service.
getAuthenticationServiceEndpoints
Returns all token validation web service endpoints
getBandwidthData
Returns bandwidth data for a time range
getBandwidthDataWithTypes
Returns bandwidth data for a time range, separated by types and regions
getBandwidthImage
Returns an object with bandwidth graph data
getBillingItem
Retrieve the current billing item for a CDN account.
getCdnAccountName
Retrieve the name of a CDN account.
getCdnAccountNote
Retrieve a brief note on a CDN account.
getCdnSolutionName
Retrieve the solution type of a CDN account.
getCustomerOrigins
Returns customer origins
getDependantServiceFlag
Retrieve indicates if CDN account is dependent on other service. If set, this CDN account is limited to these services: createOriginPullMapping, deleteOriginPullRule, getOriginPullMappingInformation, getCdnUrls, purgeCache, loadContent, manageHttpCompression
getDirectoryInformation
Returns a directory list
getDiskSpaceUsageDataByDate
Returns a CDN FTP disk space usage
getDiskSpaceUsageImageByDate
Returns an object with FTP disk usage graph data
getFtpAttributes
Returns CDN FTP login credentials
getLegacyCdnFlag
Retrieve indicates if it is a legacy CDN or not
getLogEnabledFlag
Retrieve indicates if CDN logging is enabled.
getMediaUrls
Returns CDN supported URLs
getObject
Retrieve a SoftLayer_Network_ContentDelivery_Account record.
getOriginPullMappingInformation
Gets Origin Pull domain information
getOriginPullSupportedMediaUrls
Returns media URLs that support Origin Pull mapping
getOriginPullUrl
Gets Origin Pull domain information
getPopNames
Returns all CDN POPs (Points of Presence).
getProviderPortalAccessFlag
Retrieve indicates if customer is allowed to access the CDN provider's management portal.
getProviderPortalCredentials
Returns login credentials to the CDN provider portal
getStatus
Retrieve a CDN account's status presented in a more detailed data type.
getTokenAuthenticationDirectories
Returns token authentication directories
getTokenAuthenticationEnabledFlag
Retrieve indicates if the token authentication service is enabled or not.
getVendorFtpAttributes
Returns login credentials to CDN FTP server
loadContent
Loads content to all CDN nodes
manageHttpCompression
Enable or disable CDN edge compression
purgeCache
Purges content on POP
removeAuthenticationDirectory
Deletes a token authentication directory
removeFile
Removes a file or a directory on the CDN FTP server
setAuthenticationServiceEndpoint
Sets the token validation web service endpoint
setFtpPassword
Updates a CDN FTP user password
updateNote
Updates CDN account note
uploadStream
Uploads binary data to the CDN FTP server

/reference/services/SoftLayer_Network_ContentDelivery_Account/