Service/WindowsAzure/CommandLine/GetAsynchronousOperation.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Service_Console  
Subpackage
Exception  
Version
$Id$  

\Zend_Service_WindowsAzure_CommandLine_GetAsynchronousOperation

Package: Zend_Service_WindowsAzure_CommandLine
Asynchronous Operation commands
Parent(s)
\Zend_Service_Console_Command
Category
Zend  
Command-handler
getasynchronousoperation  
Command-handler-description
Windows Azure Asynchronous Operation commands  
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.  
Command-handler-header
Windows Azure SDK for PHP  
Command-handler-header
Copyright (c) 2009 - 2011, RealDolmen (http://www.realdolmen.com)  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Methods

methodpublicgetInfoCommand( $subscriptionId,  $certificate,  $certificatePassphrase,  $requestId) : void

Get information for a specific asynchronous request.

Parameters
NameTypeDescription
$subscriptionId
$certificate
$certificatePassphrase
$requestId
Details
Command-description
Get information for a specific asynchronous request.  
Command-example
Get information for a specific asynchronous operation:  
Command-example
GetInfo -sid:"" -cert:"mycert.pem" -r:"dab87a4b70e94a36805f5af2d20fc593"  
Command-name
GetInfo  
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.  
methodpublicwaitForCommand( $subscriptionId,  $certificate,  $certificatePassphrase,  $requestId,  $interval = 250) : void

Wait for a specific asynchronous request to complete.

Parameters
NameTypeDescription
$subscriptionId
$certificate
$certificatePassphrase
$requestId
$interval
Details
Command-description
Wait for a specific asynchronous request to complete.  
Command-example
Wait for a specific asynchronous operation:  
Command-example
WaitFor -sid:"" -cert:"mycert.pem" -r:"dab87a4b70e94a36805f5af2d20fc593"  
Command-name
WaitFor  
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).  
Documentation was generated by phpDocumentor 2.2.0 .