Asynchronous Operation commands
category | Zend |
---|---|
package | Zend_Service_WindowsAzure_CommandLine |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
command-handler | getasynchronousoperation |
command-handler-description | Windows Azure Asynchronous Operation commands |
command-handler-header | Windows Azure SDK for PHP |
command-handler-header | Copyright (c) 2009 - 2011, RealDolmen (http://www.realdolmen.com) |
command-handler-footer | Note: Parameters that are common across all commands can be stored |
command-handler-footer | in two dedicated environment variables. |
command-handler-footer | - SubscriptionId: The Windows Azure Subscription Id to operate on. |
command-handler-footer | - Certificate The Windows Azure .cer Management Certificate. |
command-handler-footer | |
command-handler-footer | All commands support the --ConfigurationFile or -F parameter. |
command-handler-footer | The parameter file is a simple INI file carrying one parameter |
command-handler-footer | value per line. It accepts the same parameters as one can |
command-handler-footer | use from the command line command. |
inherited_from | \Zend_Service_Console_Command |
bootstrap(array $argv)
array
PHP argument values.
getHandler() : array
array
getInfoCommand($subscriptionId, $certificate, $certificatePassphrase, $requestId)
command-name | GetInfo |
---|---|
command-description | Get information for a specific asynchronous request. |
command-parameter-for | $subscriptionId Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env --SubscriptionId|-sid Required. This is the Windows Azure Subscription Id to operate on. |
command-parameter-for | $certificate Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env --Certificate|-cert Required. This is the .pem certificate that user has uploaded to Windows Azure subscription as Management Certificate. |
command-parameter-for | $certificatePassphrase Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Prompt --Passphrase|-p Required. The certificate passphrase. If not specified, a prompt will be displayed. |
command-parameter-for | $requestId Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile --RequestId|-r Required. The value returned by a call that starts an asynchronous operation to monitor. |
command-example | Get information for a specific asynchronous operation: |
command-example | GetInfo -sid:" |
helpCommand()
command-name | |
---|---|
command-name | -h |
command-name | -help |
command-description | Displays the current help information. |
phpstderr(mixed $errno, mixed $errstr, mixed $errfile, mixed $errline)
mixed
mixed
mixed
mixed
phpstdex(\Exception $exception)
\Exception
setHandler(array $handler) : \Zend_Service_Console_Command
array
\Zend_Service_Console_Command
stderr(string $errorMessage, string $newLine = true
)
string
string
waitForCommand($subscriptionId, $certificate, $certificatePassphrase, $requestId, $interval = 250
)
command-name | WaitFor |
---|---|
command-description | Wait for a specific asynchronous request to complete. |
command-parameter-for | $subscriptionId Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env --SubscriptionId|-sid Required. This is the Windows Azure Subscription Id to operate on. |
command-parameter-for | $certificate Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env --Certificate|-cert Required. This is the .pem certificate that user has uploaded to Windows Azure subscription as Management Certificate. |
command-parameter-for | $certificatePassphrase Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Prompt --Passphrase|-p Required. The certificate passphrase. If not specified, a prompt will be displayed. |
command-parameter-for | $requestId Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile --RequestId|-r Required. The value returned by a call that starts an asynchronous operation to monitor. |
command-parameter-for | $interval Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile --Interval|-i Optional. The interval between two status checks (in milliseconds). |
command-example | Wait for a specific asynchronous operation: |
command-example | WaitFor -sid:" |
_buildModel() : array
array
_displayObjectInformation(object $object, array $propertiesToDump = array()
)
object
Object
array
Property names to display
_findValueForDocComment(string $docCommentName, \unknown_type $docComment) : array
string
Comment name
\unknown_type
Comment object
array
$_handler : array