Zend Framework  1.12
Public Member Functions | List of all members
Zend_Service_WindowsAzure_CommandLine_GetAsynchronousOperation Class Reference

Public Member Functions

 getInfoCommand ($subscriptionId, $certificate, $certificatePassphrase, $requestId)
 Get information for a specific asynchronous request.
 
 waitForCommand ($subscriptionId, $certificate, $certificatePassphrase, $requestId, $interval=250)
 Wait for a specific asynchronous request to complete.
 

Member Function Documentation

getInfoCommand (   $subscriptionId,
  $certificate,
  $certificatePassphrase,
  $requestId 
)

Get information for a specific asynchronous request.

-name GetInfo -description Get information for a specific asynchronous request. -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. -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. -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. -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. -example Get information for a specific asynchronous operation: -example GetInfo -sid:"<your_subscription_id>" -cert:"mycert.pem" -r:"dab87a4b70e94a36805f5af2d20fc593"

waitForCommand (   $subscriptionId,
  $certificate,
  $certificatePassphrase,
  $requestId,
  $interval = 250 
)

Wait for a specific asynchronous request to complete.

-name WaitFor -description Wait for a specific asynchronous request to complete. -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. -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. -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. -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. -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). -example Wait for a specific asynchronous operation: -example WaitFor -sid:"<your_subscription_id>" -cert:"mycert.pem" -r:"dab87a4b70e94a36805f5af2d20fc593"