category | Zend |
---|---|
package | Zend_Service_SqlAzure |
subpackage | Management |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__construct(string $subscriptionId, string $certificatePath, string $certificatePassphrase, \Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract $retryPolicy = null
)
string
Subscription ID
string
Management certificate path (.PEM)
string
Management certificate passphrase
\Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract
Retry policy to use when making requests
createFirewallRule(string $serverName, string $ruleName, string $startIpAddress, string $endIpAddress) : \Zend_Service_SqlAzure_Management_FirewallRuleInstance
string
Server name.
string
Firewall rule name.
string
Start IP address.
string
End IP address.
\Zend_Service_SqlAzure_Management_Exception |
---|
\Zend_Service_SqlAzure_Management_FirewallRuleInstance
createFirewallRuleForMicrosoftServices(string $serverName, boolean $allowAccess)
string
Server name.
boolean
Allow access from other Microsoft Services?
\Zend_Service_SqlAzure_Management_Exception |
---|
createQueryStringFromArray($queryString) : string
string
Assembled query stringcreateServer(string $administratorLogin, string $administratorPassword, string $location) : \Zend_Service_SqlAzure_Management_ServerInstance
string
Administrator login.
string
Administrator password.
string
Location of the server.
\Zend_Service_SqlAzure_Management_Exception |
---|
\Zend_Service_SqlAzure_Management_ServerInstance
Server information.deleteFirewallRule(string $serverName, string $ruleName)
string
Server name.
string
Rule name.
\Zend_Service_SqlAzure_Management_Exception |
---|
dropServer(string $serverName)
string
Server to drop.
\Zend_Service_SqlAzure_Management_Exception |
---|
getBaseUrl() : string
string
getHttpClientChannel() : \Zend_Http_Client_Adapter_Interface
\Zend_Http_Client_Adapter_Interface
getLastRequestId() : string
string
getSubscriptionId() : string
string
listFirewallRules(string $serverName) : Array
string
Server name.
\Zend_Service_SqlAzure_Management_Exception |
---|
Array
of Zend_Service_SqlAzure_Management_FirewallRuleInstance.listServers() : array
\Zend_Service_SqlAzure_Management_Exception |
---|
array
An array of Zend_Service_SqlAzure_Management_ServerInstance.setAdministratorPassword(string $serverName, string $administratorPassword)
string
Server to set password for.
string
Administrator password.
\Zend_Service_SqlAzure_Management_Exception |
---|
setHttpClientChannel(\Zend_Http_Client_Adapter_Interface|string $adapterInstance = 'Zend_Http_Client_Adapter_Socket'
)
\Zend_Http_Client_Adapter_Interface
string
Adapter instance or adapter class name.
urlencode(string $value) : string
string
Value to encode
string
Encoded value_getErrorMessage(\Zend_Http_Response $response, string $alternativeError = 'Unknown error.'
) : string
\Zend_Http_Response
Repsonse
string
Alternative error message
string
_parseResponse(\Zend_Http_Response $response = null
) : object
\Zend_Http_Response
Response from HTTP call
\Zend_Service_WindowsAzure_Exception |
---|
object
_performRequest(string $path= '/'
, string $queryString= ''
, string $httpVerb= \Zend_Http_Client::GET
, array $headers= array()
, mixed $rawData= null
) : \Zend_Http_Response
string
Path
string
Query string
string
HTTP verb the request will use
array
x-ms headers to add
mixed
Optional RAW HTTP data to be sent over the wire
\Zend_Http_Response
$_apiVersion : string
'1.0'
$_certificatePassphrase : string
''
$_certificatePath : string
''
$_httpClientChannel : \Zend_Http_Client
null
$_lastRequestId : string
null
$_retryPolicy : \Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract
null
$_subscriptionId : string
''
OP_FIREWALLRULES = "firewallrules"
OP_OPERATIONS = "operations"
OP_SERVERS = "servers"
URL_MANAGEMENT = "https://management.database.windows.net:8443"