Exemple #1
0
 /**
  * Creates a new Microsoft_WindowsAzure_Storage_Table instance
  *
  * @param string $host Storage host name
  * @param string $accountName Account name for Windows Azure
  * @param string $accountKey Account key for Windows Azure
  * @param boolean $usePathStyleUri Use path-style URI's
  * @param Microsoft_WindowsAzure_RetryPolicy $retryPolicy Retry policy to use when making requests
  */
 public function __construct($host = Microsoft_WindowsAzure_Storage::URL_DEV_TABLE, $accountName = Microsoft_WindowsAzure_Credentials::DEVSTORE_ACCOUNT, $accountKey = Microsoft_WindowsAzure_Credentials::DEVSTORE_KEY, $usePathStyleUri = false, Microsoft_WindowsAzure_RetryPolicy $retryPolicy = null)
 {
     parent::__construct($host, $accountName, $accountKey, $usePathStyleUri, $retryPolicy);
     // Always use SharedKeyLite authentication
     $this->_credentials = new Microsoft_WindowsAzure_SharedKeyLiteCredentials($accountName, $accountKey, $this->_usePathStyleUri);
     // API version
     $this->_apiVersion = '2009-04-14';
 }