本文整理汇总了PHP中Amazon_EC2_Model类的典型用法代码示例。如果您正苦于以下问题:PHP Amazon_EC2_Model类的具体用法?PHP Amazon_EC2_Model怎么用?PHP Amazon_EC2_Model使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Amazon_EC2_Model类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
/**
* Construct new Amazon_EC2_Model_AuthorizeSecurityGroupIngressRequest
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
* <ul>
*
* <li>GroupName: string</li>
* <li>SourceSecurityGroupName: string</li>
* <li>SourceSecurityGroupOwnerId: string</li>
* <li>IpProtocol: string</li>
* <li>FromPort: int</li>
* <li>ToPort: int</li>
* <li>CidrIp: string</li>
*
* </ul>
*/
public function __construct($data = null)
{
$this->_fields = array('GroupName' => array('FieldValue' => null, 'FieldType' => 'string'), 'SourceSecurityGroupName' => array('FieldValue' => null, 'FieldType' => 'string'), 'SourceSecurityGroupOwnerId' => array('FieldValue' => null, 'FieldType' => 'string'), 'IpProtocol' => array('FieldValue' => null, 'FieldType' => 'string'), 'FromPort' => array('FieldValue' => null, 'FieldType' => 'int'), 'ToPort' => array('FieldValue' => null, 'FieldType' => 'int'), 'CidrIp' => array('FieldValue' => null, 'FieldType' => 'string'));
parent::__construct($data);
}
示例2: __construct
/**
* Construct new Amazon_EC2_Model_DescribeImagesRequest
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
* <ul>
*
* <li>ImageId: string</li>
* <li>Owner: string</li>
* <li>ExecutableBy: string</li>
*
* </ul>
*/
public function __construct($data = null)
{
$this->_fields = array('ImageId' => array('FieldValue' => array(), 'FieldType' => array('string')), 'Owner' => array('FieldValue' => array(), 'FieldType' => array('string')), 'ExecutableBy' => array('FieldValue' => array(), 'FieldType' => array('string')));
parent::__construct($data);
}
示例3: __construct
/**
* Construct new Amazon_EC2_Model_VpnConnection
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
* <ul>
*
* <li>VpnConnectionId: string</li>
* <li>VpnConnectionState: string</li>
* <li>CustomerGatewayConfiguration: string</li>
* <li>Type: string</li>
* <li>CustomerGatewayId: string</li>
* <li>VpnGatewayId: string</li>
*
* </ul>
*/
public function __construct($data = null)
{
$this->_fields = array('VpnConnectionId' => array('FieldValue' => null, 'FieldType' => 'string'), 'VpnConnectionState' => array('FieldValue' => null, 'FieldType' => 'string'), 'CustomerGatewayConfiguration' => array('FieldValue' => null, 'FieldType' => 'string'), 'Type' => array('FieldValue' => null, 'FieldType' => 'string'), 'CustomerGatewayId' => array('FieldValue' => null, 'FieldType' => 'string'), 'VpnGatewayId' => array('FieldValue' => null, 'FieldType' => 'string'));
parent::__construct($data);
}
示例4: __construct
/**
* Construct new Amazon_EC2_Model_DhcpOptions
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
* <ul>
*
* <li>DhcpOptionsId: string</li>
* <li>Configuration: Amazon_EC2_Model_DhcpConfiguration</li>
*
* </ul>
*/
public function __construct($data = null)
{
$this->_fields = array('DhcpOptionsId' => array('FieldValue' => null, 'FieldType' => 'string'), 'Configuration' => array('FieldValue' => array(), 'FieldType' => array('Amazon_EC2_Model_DhcpConfiguration')));
parent::__construct($data);
}
示例5: __construct
/**
* Construct new Amazon_EC2_Model_DeleteSecurityGroupResponse
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
* <ul>
*
* <li>ResponseMetadata: Amazon_EC2_Model_ResponseMetadata</li>
*
* </ul>
*/
public function __construct($data = null)
{
$this->_fields = array('ResponseMetadata' => array('FieldValue' => null, 'FieldType' => 'Amazon_EC2_Model_ResponseMetadata'));
parent::__construct($data);
}
示例6: __construct
/**
* Construct new Amazon_EC2_Model_DetachVolumeRequest
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
* <ul>
*
* <li>VolumeId: string</li>
* <li>InstanceId: string</li>
* <li>Device: string</li>
* <li>Force: bool</li>
*
* </ul>
*/
public function __construct($data = null)
{
$this->_fields = array('VolumeId' => array('FieldValue' => null, 'FieldType' => 'string'), 'InstanceId' => array('FieldValue' => null, 'FieldType' => 'string'), 'Device' => array('FieldValue' => null, 'FieldType' => 'string'), 'Force' => array('FieldValue' => null, 'FieldType' => 'bool'));
parent::__construct($data);
}
示例7: __construct
/**
* Construct new Amazon_EC2_Model_CreateVpnGatewayRequest
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
* <ul>
*
* <li>Type: string</li>
* <li>AvailabilityZone: string</li>
*
* </ul>
*/
public function __construct($data = null)
{
$this->_fields = array('Type' => array('FieldValue' => null, 'FieldType' => 'string'), 'AvailabilityZone' => array('FieldValue' => null, 'FieldType' => 'string'));
parent::__construct($data);
}
示例8: __construct
/**
* Construct new Amazon_EC2_Model_Error
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
* <ul>
*
* <li>Type: string</li>
* <li>Code: string</li>
* <li>Message: string</li>
* <li>Detail: Amazon_EC2_Model_Object</li>
*
* </ul>
*/
public function __construct($data = null)
{
$this->_fields = array('Type' => array('FieldValue' => null, 'FieldType' => 'string'), 'Code' => array('FieldValue' => null, 'FieldType' => 'string'), 'Message' => array('FieldValue' => null, 'FieldType' => 'string'), 'Detail' => array('FieldValue' => null, 'FieldType' => 'Amazon_EC2_Model_Object'));
parent::__construct($data);
}
示例9: __construct
/**
* Construct new Amazon_EC2_Model_ReleaseAddressRequest
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
* <ul>
*
* <li>PublicIp: string</li>
*
* </ul>
*/
public function __construct($data = null)
{
$this->_fields = array('PublicIp' => array('FieldValue' => null, 'FieldType' => 'string'));
parent::__construct($data);
}
示例10: __construct
/**
* Construct new Amazon_EC2_Model_DescribeSpotDatafeedSubscriptionResponse
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
* <ul>
*
* <li>ResponseMetadata: Amazon_EC2_Model_ResponseMetadata</li>
* <li>DescribeSpotDatafeedSubscriptionResult: Amazon_EC2_Model_DescribeSpotDatafeedSubscriptionResult</li>
*
* </ul>
*/
public function __construct($data = null)
{
$this->_fields = array('ResponseMetadata' => array('FieldValue' => null, 'FieldType' => 'Amazon_EC2_Model_ResponseMetadata'), 'DescribeSpotDatafeedSubscriptionResult' => array('FieldValue' => null, 'FieldType' => 'Amazon_EC2_Model_DescribeSpotDatafeedSubscriptionResult'));
parent::__construct($data);
}
示例11: __construct
/**
* Construct new Amazon_EC2_Model_UnmonitorInstancesResult
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
* <ul>
*
* <li>InstanceMonitoring: Amazon_EC2_Model_InstanceMonitoring</li>
*
* </ul>
*/
public function __construct($data = null)
{
$this->_fields = array('InstanceMonitoring' => array('FieldValue' => array(), 'FieldType' => array('Amazon_EC2_Model_InstanceMonitoring')));
parent::__construct($data);
}
示例12: __construct
/**
* Construct new Amazon_EC2_Model_DescribeAvailabilityZonesResult
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
* <ul>
*
* <li>AvailabilityZone: Amazon_EC2_Model_AvailabilityZone</li>
*
* </ul>
*/
public function __construct($data = null)
{
$this->_fields = array('AvailabilityZone' => array('FieldValue' => array(), 'FieldType' => array('Amazon_EC2_Model_AvailabilityZone')));
parent::__construct($data);
}
示例13: __construct
/**
* Construct new Amazon_EC2_Model_DescribeReservedInstancesResult
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
* <ul>
*
* <li>ReservedInstances: Amazon_EC2_Model_ReservedInstances</li>
*
* </ul>
*/
public function __construct($data = null)
{
$this->_fields = array('ReservedInstances' => array('FieldValue' => array(), 'FieldType' => array('Amazon_EC2_Model_ReservedInstances')));
parent::__construct($data);
}
示例14: __construct
/**
* Construct new Amazon_EC2_Model_DescribeAvailabilityZonesResponse
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
* <ul>
*
* <li>ResponseMetadata: Amazon_EC2_Model_ResponseMetadata</li>
* <li>DescribeAvailabilityZonesResult: Amazon_EC2_Model_DescribeAvailabilityZonesResult</li>
*
* </ul>
*/
public function __construct($data = null)
{
$this->_fields = array('ResponseMetadata' => array('FieldValue' => null, 'FieldType' => 'Amazon_EC2_Model_ResponseMetadata'), 'DescribeAvailabilityZonesResult' => array('FieldValue' => null, 'FieldType' => 'Amazon_EC2_Model_DescribeAvailabilityZonesResult'));
parent::__construct($data);
}
示例15: __construct
/**
* Construct new Amazon_EC2_Model_KeyPair
*
* @param mixed $data DOMElement or Associative Array to construct from.
*
* Valid properties:
* <ul>
*
* <li>KeyName: string</li>
* <li>KeyFingerprint: string</li>
* <li>KeyMaterial: string</li>
*
* </ul>
*/
public function __construct($data = null)
{
$this->_fields = array('KeyName' => array('FieldValue' => null, 'FieldType' => 'string'), 'KeyFingerprint' => array('FieldValue' => null, 'FieldType' => 'string'), 'KeyMaterial' => array('FieldValue' => null, 'FieldType' => 'string'));
parent::__construct($data);
}