import v2.0.0.0_RC3 | 2012-07-01

https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
2019-07-17 22:31:04 +02:00
parent 38c146901c
commit 2f397f01f7
2677 changed files with 296182 additions and 45159 deletions

View File

@ -17,7 +17,7 @@
* @subpackage Ec2
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: CloudWatch.php 16971 2009-07-22 18:05:45Z mikaelkael $
* @version $Id: CloudWatch.php 19067 2009-11-19 22:13:54Z sidhighwind $
*/
require_once 'Zend/Service/Amazon/Ec2/Abstract.php';
@ -274,8 +274,12 @@ class Zend_Service_Amazon_Ec2_CloudWatch extends Zend_Service_Amazon_Ec2_Abstrac
$x = 1;
foreach($options['Dimensions'] as $dimKey=>$dimVal) {
if(!in_array($dimKey, $this->_validDimensionsKeys, true)) continue;
$options[$dimKey . '.member.' . $x++] = $dimVal;
$options['Dimensions.member.' . $x . '.Name'] = $dimKey;
$options['Dimensions.member.' . $x . '.Value'] = $dimVal;
$x++;
}
unset($options['Dimensions']);
}
$params = array_merge($params, $options);
@ -310,8 +314,8 @@ class Zend_Service_Amazon_Ec2_CloudWatch extends Zend_Service_Amazon_Ec2_Abstrac
* Return the Metrics that are aviable for your current monitored instances
*
* @param string $nextToken The NextToken parameter is an optional parameter
* that allows you to retrieve the next set of results
* for your ListMetrics query.
* that allows you to retrieve the next set of results
* for your ListMetrics query.
* @return array
*/
public function listMetrics($nextToken = null)