--- a/web/lib/Zend/Service/WindowsAzure/CommandLine/Certificate.php Thu May 07 15:10:09 2015 +0200
+++ b/web/lib/Zend/Service/WindowsAzure/CommandLine/Certificate.php Thu May 07 15:16:02 2015 +0200
@@ -16,28 +16,38 @@
* @package Zend_Service_Console
* @subpackage Exception
* @version $Id$
- * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
+/**
+* @see Zend_Service_Console_Command
+*/
+require_once 'Zend/Service/Console/Command.php';
+
+
+/**
+ * @see Zend_Service_WindowsAzure_Management_Client
+ */
+require_once 'Zend/Service/WindowsAzure/Management/Client.php';
/**
* Certificate commands
- *
+ *
* @category Zend
* @package Zend_Service_WindowsAzure_CommandLine
- * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- *
+ *
* @command-handler certificate
* @command-handler-description Windows Azure Certificate 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 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
* @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
@@ -45,10 +55,10 @@
*/
class Zend_Service_WindowsAzure_CommandLine_Certificate
extends Zend_Service_Console_Command
-{
+{
/**
* List certificates for a specified hosted service in a specified subscription.
- *
+ *
* @command-name List
* @command-description List certificates for a specified hosted service in a specified subscription.
* @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.
@@ -70,10 +80,10 @@
$this->_displayObjectInformation($object, array('Thumbprint', 'CertificateUrl', 'ThumbprintAlgorithm'));
}
}
-
+
/**
* Add a certificate for a specified hosted service in a specified subscription.
- *
+ *
* @command-name Add
* @command-description Add a certificate for a specified hosted service in a specified subscription.
* @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.
@@ -95,10 +105,10 @@
}
echo $client->getLastRequestId();
}
-
+
/**
* Gets a certificate from a specified hosted service in a specified subscription.
- *
+ *
* @command-name Get
* @command-description Gets a certificate from a specified hosted service in a specified subscription.
* @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.
@@ -117,10 +127,10 @@
$this->_displayObjectInformation($result, array('Thumbprint', 'CertificateUrl', 'ThumbprintAlgorithm'));
}
-
+
/**
* Gets a certificate property from a specified hosted service in a specified subscription.
- *
+ *
* @command-name GetProperty
* @command-description Gets a certificate property from a specified hosted service in a specified subscription.
* @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.
@@ -140,10 +150,10 @@
printf("%s\r\n", $result->$property);
}
-
+
/**
* Deletes a certificate from a specified hosted service in a specified subscription.
- *
+ *
* @command-name Delete
* @command-description Deletes a certificate from a specified hosted service in a specified subscription.
* @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.
@@ -167,4 +177,4 @@
}
}
-Zend_Service_Console_Command::bootstrap($_SERVER['argv']);
\ No newline at end of file
+Zend_Service_Console_Command::bootstrap($_SERVER['argv']);