Свойство | Тип | Описание | |
---|---|---|---|
$ec2 | |||
$versiondate | string |
Метод | Описание | |
---|---|---|
__construct ( |
Constructor | |
allocateAddress ( string $domain = null ) : Scalr\Service\Aws\Ec2\DataType\AddressData | AllocateAddress action | |
associateAddress ( Scalr\Service\Aws\Ec2\DataType\AssociateAddressRequestData $request ) : boolean | string | AssociateAddress action | |
associateRouteTable ( string $routeTableId, string $subnetId ) : string | AssociateRouteTable action | |
attachInternetGateway ( string $internetGatewayId, string $vpcId ) : boolean | AttachInternetGateway action | |
attachNetworkInterface ( string $networkInterfaceId, string $instanceId, integer $deviceIndex ) : string | AttachNetworkInterface action | |
attachVolume ( string $volumeId, string $instanceId, string $device ) : |
AttachVolume action | |
authorizeSecurityGroupEgress ( Scalr\Service\Aws\Ec2\DataType\IpPermissionList $ipPermissions, string $groupId ) : boolean | AuthorizeSecurityGroupEgress action | |
authorizeSecurityGroupIngress ( Scalr\Service\Aws\Ec2\DataType\IpPermissionList $ipPermissions, string $groupId = null, string $groupName = null ) : boolean | AuthorizeSecurityGroupIngress action | |
copyImage ( string $srcRegion, string $srcImageId, string $name = null, string $description = null, string $clientToken = null, string $destRegion = null ) : string | CopyImage action | |
copySnapshot ( string $srcRegion, string $srcSnapshotId, string $description = null, string $destRegion = null, string $presignedUrl = null ) : string | CopySnapshot action | |
createImage ( Scalr\Service\Aws\Ec2\DataType\CreateImageRequestData $request ) : string | CreateImage action | |
createInternetGateway ( ) : Scalr\Service\Aws\Ec2\DataType\InternetGatewayData | CreateInternetGateway action | |
createKeyPair ( string $keyName ) : Scalr\Service\Aws\Ec2\DataType\KeyPairData | CreateKeyPair action | |
createNetworkInterface ( Scalr\Service\Aws\Ec2\DataType\CreateNetworkInterfaceRequestData $request ) : Scalr\Service\Aws\Ec2\DataType\NetworkInterfaceData | CreateNetworkInterface action | |
createPlacementGroup ( string $groupName, string $strategy = 'cluster' ) : boolean | CreatePlacementGroup action | |
createRoute ( string $routeTableId, string $destinationCidrBlock, string $gatewayId = null, string $instanceId = null, string $networkInterfaceId = null, string $vpcPeeringConnectionId = null ) : boolean | CreateRoute action | |
createRouteTable ( string $vpcId ) : Scalr\Service\Aws\Ec2\DataType\RouteTableData | CreateRouteTable action | |
createSecurityGroup ( string $groupName, string $groupDescription, string $vpcId = null ) : string | CreateSecurityGroup action | |
createSnapshot ( string $volumeId, string $description = null ) : |
CreateSnapshot action | |
createSubnet ( string $vpcId, string $cidrBlock, string $availabilityZone = null ) : Scalr\Service\Aws\Ec2\DataType\SubnetData | CreateSubnet action | |
createTags ( |
CreateTags action | |
createVolume ( |
CreateVolume action | |
createVpc ( string $cidrBlock, string $instanceTenancy = null ) : Scalr\Service\Aws\Ec2\DataType\VpcData | CreateVpc action | |
deleteInternetGateway ( string $internetGatewayId ) : boolean | DeleteInternetGateway action | |
deleteKeyPair ( string $keyName ) : boolean | DeleteKeyPair action | |
deleteNetworkInterface ( string $networkInterfaceId ) : boolean | DeleteNetworkInterface action | |
deletePlacementGroup ( string $groupName ) : boolean | DeletePlacementGroup action | |
deleteRoute ( string $routeTableId, string $destinationCidrBlock ) : boolean | DeleteRoute action | |
deleteRouteTable ( string $routeTableId ) : boolean | DeleteRouteTable action | |
deleteSecurityGroup ( string $groupId = null, string $groupName = null ) : boolean | DeleteSecurityGroup action | |
deleteSnapshot ( string $snapshotId ) : boolean | DeleteSnapshot action | |
deleteSubnet ( string $subnetId ) : boolean | DeleteSubnet action | |
deleteTags ( |
DeleteTags action | |
deleteVolume ( string $volumeId ) : boolean | DeleteVolume action | |
deleteVpc ( string $vpcId ) : boolean | DeleteVpc action | |
deregisterImage ( string $imageId ) : boolean | DeregisterImage action | |
describeAccountAttributes ( |
DescribeAccountAttributes | |
describeAddresses ( |
DescribeAddresses action | |
describeAvailabilityZones ( |
DescribeAvailabilityZones action | |
describeImages ( |
DescribeImages action | |
describeInstanceAttribute ( string $instanceId, Scalr\Service\Aws\Ec2\DataType\InstanceAttributeType $attribute ) : mixed | DescribeInstanceAttribute action | |
describeInstanceStatus ( |
DescribeInstanceStatus action | |
describeInstances ( |
DescribeInstances action | |
describeInternetGateways ( |
DescribeInternetGateways | |
describeKeyPairs ( |
DescribeKeyPairs action | |
describeNetworkInterfaceAttribute ( string $networkInterfaceId, Scalr\Service\Aws\Ec2\DataType\NetworkInterfaceAttributeType $attribute ) : mixed | DescribeNetworkInterfaceAttribute action | |
describeNetworkInterfaces ( |
DescribeNetworkInterfaces action | |
describePlacementGroups ( |
DescribePlacementGroups action | |
describeRegions ( ) : Scalr\Service\Aws\Ec2\DataType\RegionInfoList | DescribeRegions action | |
describeReservedInstances ( |
DescribeReservedInstances action | |
describeRouteTables ( |
DescribeRouteTables action | |
describeSecurityGroups ( |
DescribeSecurityGroups action | |
describeSnapshots ( |
DescribeSnapshots action | |
describeSubnets ( |
DescribeSubnets action | |
describeVolumes ( |
DescribeVolumes action | |
describeVpcs ( |
DescribeVpcs action | |
detachInternetGateway ( string $internetGatewayId, string $vpcId ) : boolean | DetachInternetGateway action | |
detachNetworkInterface ( string $attachmentId, boolean $force = null ) : boolean | DetachNetworkInterface | |
detachVolume ( string $volumeId, string $instanceId = null, string $device = null, boolean $force = null ) : |
DetachVolume action | |
disassociateAddress ( string $publicIp = null, string $associationId = null ) : boolean | DisassociateAddress action | |
disassociateRouteTable ( string $associationId ) : boolean | DisassociateRouteTable action | |
getConsoleOutput ( string $instanceId ) : |
GetConsoleOutput action | |
getEntityManager ( ) : Scalr\Service\Aws\EntityManager | Gets an entity manager | |
getInstanceIdListQuery ( |
Type cast the list of the InstanceId into accepted state. | |
getPasswordData ( string $instanceId ) : |
GetPasswordData action | |
modifyInstanceAttribute ( string $instanceId, Scalr\Service\Aws\Ec2\DataType\InstanceAttributeType $attribute, mixed $value ) : boolean | ModifyInstanceAttribute action | |
modifyNetworkInterfaceAttribute ( string $networkInterfaceId, Scalr\Service\Aws\Ec2\DataType\NetworkInterfaceAttributeType $attr, mixed $value ) : boolean | ModifyNetworkInterfaceAttribute action | |
monitorInstances ( |
MonitorInstances action | |
rebootInstances ( |
RebootInstances action | |
registerImage ( Scalr\Service\Aws\Ec2\DataType\RegisterImageData $request ) : string | RegisterImage action | |
releaseAddress ( string $publicIp = null, string $allocationId = null ) : boolean | ReleaseAddress action | |
replaceRoute ( string $routeTableId, string $destinationCidrBlock, string $gatewayId = null, string $instanceId = null, string $networkInterfaceId = null, string $vpcPeeringConnectionId = null ) : boolean | ReplaceRoute action | |
replaceRouteTableAssociation ( string $routeTableId, string $associationId ) : string | ReplaceRouteTableAssociation action | |
resetNetworkInterfaceAttribute ( string $networkInterfaceId, Scalr\Service\Aws\Ec2\DataType\NetworkInterfaceAttributeType $attr ) : boolean | ResetNetworkInterfaceAttribute action | |
revokeSecurityGroupEgress ( Scalr\Service\Aws\Ec2\DataType\IpPermissionList $ipPermissions, string $groupId ) : boolean | RevokeSecurityGroupEgress action | |
revokeSecurityGroupIngress ( Scalr\Service\Aws\Ec2\DataType\IpPermissionList $ipPermissions, string $groupId = null, string $groupName = null ) : boolean | RevokeSecurityGroupIngress action | |
runInstances ( Scalr\Service\Aws\Ec2\DataType\RunInstancesRequestData $request ) : Scalr\Service\Aws\Ec2\DataType\ReservationData | RunInstances action | |
startInstances ( |
StartInstances action | |
stopInstances ( |
StopInstances action | |
terminateInstances ( |
TerminateInstances | |
unmonitorInstances ( |
UnmonitorInstances action |
Метод | Описание | |
---|---|---|
_loadAttachmentSetResponseList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\AttachmentSetResponseList | Loads AttachmentSetResponseList from simple xml object | |
_loadBlockDeviceMappingList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\BlockDeviceMappingList | Loads BlockDeviceMappingList from simple xml object | |
_loadEbsBlockDeviceData ( SimpleXMLElement $sxml ) : |
Loads EbsBlockDeviceData from simple xml object | |
_loadEbsInstanceBlockDeviceMappingResponseData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\EbsInstanceBlockDeviceMappingResponseData | Loads EbsInstanceBlockDeviceMappingResponseData from simple xml object | |
_loadGroupList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\GroupList | Loads GroupList from simple xml object | |
_loadIamInstanceProfileResponseData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\IamInstanceProfileResponseData | Loads IamInstanceProfileResponseData from simple xml object | |
_loadInstanceBlockDeviceMappingResponseList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\InstanceBlockDeviceMappingResponseList | Loads InstanceBlockDeviceMappingResponseList from simple xml object | |
_loadInstanceList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\InstanceList | Loads InstanceList from simple xml object | |
_loadInstanceMonitoringStateData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\InstanceMonitoringStateData | Loads InstanceMonitoringStateData from simple xml object | |
_loadInstanceNetworkInterfaceAssociationData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\InstanceNetworkInterfaceAssociationData | Loads InstanceNetworkInterfaceAssociationData from simple xml object | |
_loadInstanceNetworkInterfaceAttachmentData ( SimpleXMLElement $sxml ) : |
Loads InstanceNetworkInterfaceAttachmentData from simple xml object | |
_loadInstanceNetworkInterfaceSetData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\InstanceNetworkInterfaceSetData | Loads InstanceNetworkInterfaceSetData from simple xml object | |
_loadInstanceNetworkInterfaceSetList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\InstanceNetworkInterfaceSetList | Loads InstanceNetworkInterfaceSetList from simple xml object | |
_loadInstancePrivateIpAddressesSetList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\InstancePrivateIpAddressesSetList | Loads InstancePrivateIpAddressesSetList from simple xml object | |
_loadInstanceStateChangeData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\InstanceStateChangeData | Loads InstanceStateChangeData from simple xml object | |
_loadInstanceStateData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\InstanceStateData | Loads InstanceStateData from simple xml object | |
_loadInstanceStatusDetailsSetList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\InstanceStatusDetailsSetList | Loads InstanceStatusDetailsSetList from simple xml object | |
_loadInstanceStatusEventTypeData ( SimpleXMLElement $sxml ) : |
Loads InstanceStatusEventTypeData from simple xml object | |
_loadInstanceStatusTypeData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\InstanceStatusTypeData | Loads InstanceStatusTypeData from simple xml object | |
_loadInternetGatewayAttachmentData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\InternetGatewayAttachmentData | Loads InternetGatewayAttachmentData from simple xml object | |
_loadInternetGatewayAttachmentList ( SimpleXMLElement $sxml, string $internetGatewayId = null ) : Scalr\Service\Aws\Ec2\DataType\InternetGatewayAttachmentList | Loads InternetGatewayAttachmentList from simple xml object | |
_loadInternetGatewayData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\InternetGatewayData | Loads InternetGatewayData from simple xml object | |
_loadIpPermissionList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\IpPermissionList | Loads IpPermissionList from simple xml object | |
_loadIpRangeList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\IpRangeList | Loads IpRangeList from simple xml object | |
_loadListByName ( string $name, SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\Ec2ListDataType | Loads lists from simple xml object | |
_loadMonitorInstancesResponseSetData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\MonitorInstancesResponseSetData | Loads MonitorInstancesResponseSetData from simple xml object | |
_loadNetworkInterfaceAssociationData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\NetworkInterfaceAssociationData | Loads NetworkInterfaceAssociationData from simple xml object | |
_loadNetworkInterfaceAttachmentData ( SimpleXMLElement $v ) : |
Loads NetworkInterfaceAttachmentData from simple xml object | |
_loadNetworkInterfaceData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\NetworkInterfaceData | Loads NetworkInterfaceData from simple xml object | |
_loadNetworkInterfacePrivateIpAddressesSetData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\NetworkInterfacePrivateIpAddressesSetData | Loads NetworkInterfacePrivateIpAddressesSetData from simple xml object | |
_loadPlacementGroupData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\PlacementGroupData | Loads PlacementGroupData from simple xml object | |
_loadPlacementResponseData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\PlacementResponseData | Loads PlacementResponseData from simple xml object | |
_loadProductCodeSetList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\ProductCodeSetList | Loads ProductCodeSetList from simple xml object | |
_loadPropagatingVgwData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\PropagatingVgwData | Loads PropagatingVgwData from simple xml object | |
_loadRecurringChargesSetList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\RecurringChargesSetList | Loads RecurringChargesSetList from simple xml object | |
_loadResourceTagSetList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Loads ResourceTagSetList from simple xml object | |
_loadRouteData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\RouteData | Loads RouteData from simple xml object | |
_loadRouteList ( SimpleXMLElement $sxml, string $routeTableId = null ) : Scalr\Service\Aws\Ec2\DataType\RouteList | Loads RouteList from simple xml object | |
_loadRouteTableAssociationData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\RouteTableAssociationData | Loads RouteTableAssociationData from simple xml object | |
_loadRouteTableData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\RouteTableData | Loads RouteTableData from simple xml object | |
_loadSnapshotData ( SimpleXMLElement $v ) : |
Loads SnapshotData from simple xml object | |
_loadStateReasonData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\StateReasonData | Loads StateReasonData from simple xml object | |
_loadSubnetData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\SubnetData | Loads SubnetData from simple xml object | |
_loadUserIdGroupPairList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\UserIdGroupPairList | Loads UserIdGroupPairList from simple xml object | |
_loadVolumeData ( SimpleXMLElement $v ) : |
Loads VolumeData from simple xml object | |
_loadVpcData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\VpcData | Loads VpcData from simple xml object |
public __construct ( |
||
$ec2 | Ec2 instance | |
$client | Scalr\Service\Aws\Client\ClientInterface | Client Interface |
protected _loadAttachmentSetResponseList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\AttachmentSetResponseList | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\AttachmentSetResponseList | Returns AttachmentSetResponseList |
protected _loadBlockDeviceMappingList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\BlockDeviceMappingList | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\BlockDeviceMappingList | Returns BlockDeviceMappingList |
protected _loadEbsBlockDeviceData ( SimpleXMLElement $sxml ) : |
||
$sxml | SimpleXMLElement | |
Результат | Returns EbsBlockDeviceData |
protected _loadEbsInstanceBlockDeviceMappingResponseData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\EbsInstanceBlockDeviceMappingResponseData | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\EbsInstanceBlockDeviceMappingResponseData | Returns EbsInstanceBlockDeviceMappingResponseData |
protected _loadGroupList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\GroupList | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\GroupList | Returns GroupList |
protected _loadIamInstanceProfileResponseData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\IamInstanceProfileResponseData | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\IamInstanceProfileResponseData | Returns IamInstanceProfileResponseData |
protected _loadInstanceBlockDeviceMappingResponseList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\InstanceBlockDeviceMappingResponseList | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\InstanceBlockDeviceMappingResponseList | Returns InstanceBlockDeviceMappingResponseList |
protected _loadInstanceList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\InstanceList | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\InstanceList | Returns InstanceList |
protected _loadInstanceMonitoringStateData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\InstanceMonitoringStateData | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\InstanceMonitoringStateData | Returns InstanceMonitoringStateData |
protected _loadInstanceNetworkInterfaceAssociationData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\InstanceNetworkInterfaceAssociationData | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\InstanceNetworkInterfaceAssociationData | Returns InstanceNetworkInterfaceAssociationData |
protected _loadInstanceNetworkInterfaceAttachmentData ( SimpleXMLElement $sxml ) : |
||
$sxml | SimpleXMLElement | |
Результат | Returns InstanceNetworkInterfaceAttachmentData |
protected _loadInstanceNetworkInterfaceSetData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\InstanceNetworkInterfaceSetData | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\InstanceNetworkInterfaceSetData | Returns InstanceNetworkInterfaceSetData |
protected _loadInstanceNetworkInterfaceSetList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\InstanceNetworkInterfaceSetList | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\InstanceNetworkInterfaceSetList | Returns InstanceNetworkInterfaceSetList |
protected _loadInstancePrivateIpAddressesSetList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\InstancePrivateIpAddressesSetList | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\InstancePrivateIpAddressesSetList | Returns InstancePrivateIpAddressesSetList |
protected _loadInstanceStateChangeData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\InstanceStateChangeData | ||
$v | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\InstanceStateChangeData | Returns InstanceStateChangeData |
protected _loadInstanceStateData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\InstanceStateData | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\InstanceStateData | Returns InstanceStateData |
protected _loadInstanceStatusDetailsSetList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\InstanceStatusDetailsSetList | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\InstanceStatusDetailsSetList | Returns InstanceStatusDetailsSetList |
protected _loadInstanceStatusEventTypeData ( SimpleXMLElement $sxml ) : |
||
$sxml | SimpleXMLElement | |
Результат | Returns InstanceStatusEventTypeData |
protected _loadInstanceStatusTypeData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\InstanceStatusTypeData | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\InstanceStatusTypeData | Returns InstanceStatusTypeData |
protected _loadInternetGatewayAttachmentData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\InternetGatewayAttachmentData | ||
$v | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\InternetGatewayAttachmentData | Returns InternetGatewayAttachmentData |
protected _loadInternetGatewayAttachmentList ( SimpleXMLElement $sxml, string $internetGatewayId = null ) : Scalr\Service\Aws\Ec2\DataType\InternetGatewayAttachmentList | ||
$sxml | SimpleXMLElement | |
$internetGatewayId | string | The ID of the Internet Gateway |
Результат | Scalr\Service\Aws\Ec2\DataType\InternetGatewayAttachmentList | Returns InternetGatewayAttachmentList |
protected _loadInternetGatewayData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\InternetGatewayData | ||
$v | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\InternetGatewayData | Returns InternetGatewayData |
protected _loadIpPermissionList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\IpPermissionList | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\IpPermissionList | Returns IpPermissionList |
protected _loadIpRangeList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\IpRangeList | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\IpRangeList | Returns IpRangeList |
protected _loadListByName ( string $name, SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\Ec2ListDataType | ||
$name | string | The name of the ListDataType extended object without suffix "List" |
$sxml | SimpleXMLElement | The simplexmlelement object |
Результат | Scalr\Service\Aws\Ec2\Ec2ListDataType | Returns loaded object |
protected _loadMonitorInstancesResponseSetData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\MonitorInstancesResponseSetData | ||
$v | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\MonitorInstancesResponseSetData | Returns MonitorInstancesResponseSetData |
protected _loadNetworkInterfaceAssociationData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\NetworkInterfaceAssociationData | ||
$v | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\NetworkInterfaceAssociationData | Returns NetworkInterfaceAssociationData |
protected _loadNetworkInterfaceAttachmentData ( SimpleXMLElement $v ) : |
||
$v | SimpleXMLElement | |
Результат | Returns NetworkInterfaceAttachmentData |
protected _loadNetworkInterfaceData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\NetworkInterfaceData | ||
$v | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\NetworkInterfaceData | Returns NetworkInterfaceData |
protected _loadNetworkInterfacePrivateIpAddressesSetData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\NetworkInterfacePrivateIpAddressesSetData | ||
$v | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\NetworkInterfacePrivateIpAddressesSetData | Returns NetworkInterfacePrivateIpAddressesSetData |
protected _loadPlacementGroupData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\PlacementGroupData | ||
$v | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\PlacementGroupData | Returns PlacementGroupData |
protected _loadPlacementResponseData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\PlacementResponseData | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\PlacementResponseData | Returns PlacementResponseData |
protected _loadProductCodeSetList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\ProductCodeSetList | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\ProductCodeSetList | Returns ProductCodeSetList |
protected _loadPropagatingVgwData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\PropagatingVgwData | ||
$v | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\PropagatingVgwData | Returns PropagatingVgwData |
protected _loadRecurringChargesSetList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\RecurringChargesSetList | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\RecurringChargesSetList | Returns RecurringChargesSetList |
protected _loadResourceTagSetList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Returns ResourceTagSetList |
protected _loadRouteData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\RouteData | ||
$v | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\RouteData | Returns RouteData |
protected _loadRouteList ( SimpleXMLElement $sxml, string $routeTableId = null ) : Scalr\Service\Aws\Ec2\DataType\RouteList | ||
$sxml | SimpleXMLElement | |
$routeTableId | string | optional The ID of the Route table |
Результат | Scalr\Service\Aws\Ec2\DataType\RouteList | Returns RouteList |
protected _loadRouteTableAssociationData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\RouteTableAssociationData | ||
$v | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\RouteTableAssociationData | Returns RouteTableAssociationData |
protected _loadRouteTableData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\RouteTableData | ||
$v | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\RouteTableData | Returns RouteTableData |
protected _loadSnapshotData ( SimpleXMLElement $v ) : |
||
$v | SimpleXMLElement | |
Результат | Returns SnapshotData |
protected _loadStateReasonData ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\StateReasonData | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\StateReasonData | Returns StateReasonData |
protected _loadSubnetData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\SubnetData | ||
$v | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\SubnetData | Returns SubnetData |
protected _loadUserIdGroupPairList ( SimpleXMLElement $sxml ) : Scalr\Service\Aws\Ec2\DataType\UserIdGroupPairList | ||
$sxml | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\UserIdGroupPairList | Returns UserIdGroupPairList |
protected _loadVolumeData ( SimpleXMLElement $v ) : |
||
$v | SimpleXMLElement | |
Результат | Returns VolumeData |
protected _loadVpcData ( SimpleXMLElement $v ) : Scalr\Service\Aws\Ec2\DataType\VpcData | ||
$v | SimpleXMLElement | |
Результат | Scalr\Service\Aws\Ec2\DataType\VpcData | Returns VpcData |
public allocateAddress ( string $domain = null ) : Scalr\Service\Aws\Ec2\DataType\AddressData | ||
$domain | string | optional Set to vpc to allocate the address for use with instances in a VPC. Valid values: vpc. Condition: Required when allocating an address for use with instances in a VPC |
Результат | Scalr\Service\Aws\Ec2\DataType\AddressData | Returns AddressData on success |
public associateAddress ( Scalr\Service\Aws\Ec2\DataType\AssociateAddressRequestData $request ) : boolean | string | ||
$request | Scalr\Service\Aws\Ec2\DataType\AssociateAddressRequestData | |
Результат | boolean | string | Returns associationId (for VPC Elastic IP addresses) or boolean TRUE (for others) on success. |
public attachNetworkInterface ( string $networkInterfaceId, string $instanceId, integer $deviceIndex ) : string | ||
$networkInterfaceId | string | The ID of the network interface |
$instanceId | string | The ID of the instance to attach to the network interface |
$deviceIndex | integer | The index of the device for the network interface attachment. |
Результат | string | Returns Attachment ID on success or throws an exception |
public attachVolume ( string $volumeId, string $instanceId, string $device ) : |
||
$volumeId | string | The ID of the Amazon EBS volume. The volume and instance must be within the same Availability Zone |
$instanceId | string | The ID of the Instance. The instance must be running. |
$device | string | The device name as exposed to the instance |
Результат | Returns AttachmentSetResponseData on success |
public authorizeSecurityGroupEgress ( Scalr\Service\Aws\Ec2\DataType\IpPermissionList $ipPermissions, string $groupId ) : boolean | ||
$ipPermissions | Scalr\Service\Aws\Ec2\DataType\IpPermissionList | Ip permission list object |
$groupId | string | optional The ID of the security group to modify. |
Результат | boolean | Returns true on success |
public authorizeSecurityGroupIngress ( Scalr\Service\Aws\Ec2\DataType\IpPermissionList $ipPermissions, string $groupId = null, string $groupName = null ) : boolean | ||
$ipPermissions | Scalr\Service\Aws\Ec2\DataType\IpPermissionList | Ip permission list object |
$groupId | string | optional The ID of the EC2 or VPC security group to modify. The group must belong to your account. |
$groupName | string | optional The name of the EC2 security group to modify. It can be used instead of group ID for EC2 security groups. |
Результат | boolean | Returns true on success |
public copyImage ( string $srcRegion, string $srcImageId, string $name = null, string $description = null, string $clientToken = null, string $destRegion = null ) : string | ||
$srcRegion | string | The ID of the AWS region that contains the AMI to be copied. |
$srcImageId | string | The ID of the Amazon EC2 AMI to copy. |
$name | string | optional The name of the new Amazon EC2 AMI. |
$description | string | optional A description of the new EC2 AMI in the destination region. |
$clientToken | string | optional Unique, case-sensitive identifier you provide to ensure idempotency of the request |
$destRegion | string | optional The ID of the destination region. |
Результат | string | Returns ID of the created image on success. |
public copySnapshot ( string $srcRegion, string $srcSnapshotId, string $description = null, string $destRegion = null, string $presignedUrl = null ) : string | ||
$srcRegion | string | The ID of the AWS region that contains the snapshot to be copied. |
$srcSnapshotId | string | The ID of the Amazon EBS snapshot to copy. |
$description | string | optional A description of the new Amazon EBS snapshot. |
$destRegion | string | optional The ID of the destination region. |
$presignedUrl | string | optional The pre-signed URL that facilitates copying an encrypted snapshot. The PresignedUrl should use the snapshot source endpoint, the CopySnapshot action, and include the SourceRegion, SourceSnapshotId, and DestinationRegion parameters. |
Результат | string | Returns ID of the created snapshot on success. |
public createImage ( Scalr\Service\Aws\Ec2\DataType\CreateImageRequestData $request ) : string | ||
$request | Scalr\Service\Aws\Ec2\DataType\CreateImageRequestData | Request object |
Результат | string | Returns ID of the created image on success |
public createInternetGateway ( ) : Scalr\Service\Aws\Ec2\DataType\InternetGatewayData | ||
Результат | Scalr\Service\Aws\Ec2\DataType\InternetGatewayData | Returns InternetGatewayData on success |
public createKeyPair ( string $keyName ) : Scalr\Service\Aws\Ec2\DataType\KeyPairData | ||
$keyName | string | A unique name for the key pair. |
Результат | Scalr\Service\Aws\Ec2\DataType\KeyPairData | Returns KeyPairData on success |
public createNetworkInterface ( Scalr\Service\Aws\Ec2\DataType\CreateNetworkInterfaceRequestData $request ) : Scalr\Service\Aws\Ec2\DataType\NetworkInterfaceData | ||
$request | Scalr\Service\Aws\Ec2\DataType\CreateNetworkInterfaceRequestData | Create Request |
Результат | Scalr\Service\Aws\Ec2\DataType\NetworkInterfaceData | Returns created Network Interface |
public createRoute ( string $routeTableId, string $destinationCidrBlock, string $gatewayId = null, string $instanceId = null, string $networkInterfaceId = null, string $vpcPeeringConnectionId = null ) : boolean | ||
$routeTableId | string | The ID of the route table where the route will be added. |
$destinationCidrBlock | string | The CIDR address block used for the destination match. |
$gatewayId | string | optional The ID of a gataway attached to your VPC. |
$instanceId | string | optional The ID of a NAT instance in your VPC. |
$networkInterfaceId | string | optional Allows the routing of network interface IDs. Exactly one interface must be attached when specifying an instance ID or it fails. |
$vpcPeeringConnectionId | string | optional The ID of a VPC peering connection. |
Результат | boolean | Returns TRUE on success |
public createRouteTable ( string $vpcId ) : Scalr\Service\Aws\Ec2\DataType\RouteTableData | ||
$vpcId | string | The ID of the VPC |
Результат | Scalr\Service\Aws\Ec2\DataType\RouteTableData | Returns the RouteTableData object on success |
public createSecurityGroup ( string $groupName, string $groupDescription, string $vpcId = null ) : string | ||
$groupName | string | The name of the security group. |
$groupDescription | string | A description of the security group. This is information only. |
$vpcId | string | optional The ID of the VPC. (Required for VPC security groups) |
Результат | string | Returns security group ID on success or throws an exception |
public createSnapshot ( string $volumeId, string $description = null ) : |
||
$volumeId | string | The ID of the Amazon EBS volume. |
$description | string | optional A description of the Amazon EBS snapshot. (Up to 255 characters) |
Результат | Returns the SnapshotData on success |
public createSubnet ( string $vpcId, string $cidrBlock, string $availabilityZone = null ) : Scalr\Service\Aws\Ec2\DataType\SubnetData | ||
$vpcId | string | The ID of the VPC. |
$cidrBlock | string | The CIDR block for the subnet to cover (for example, 10.0.0.0/24). |
$availabilityZone | string | optional The Availability Zone for the subnet. By default AWS selects a zone for you (recommended) |
Результат | Scalr\Service\Aws\Ec2\DataType\SubnetData | Returns the SubnetData on success. |
public createTags ( |
||
$resourceIdList | The ID of a resource to tag. For example, ami-1a2b3c4d. You can specify multiple resources to assign the tags to. | |
$tagList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | The key/value pair list of the Tags. |
Результат | boolean | Returns true on success or throws an exception otherwise |
public createVolume ( |
||
$request | Request that specifies parameters of the volume. | |
Результат | Returns the VolumeData on success |
public createVpc ( string $cidrBlock, string $instanceTenancy = null ) : Scalr\Service\Aws\Ec2\DataType\VpcData | ||
$cidrBlock | string | The CIDR block you want the VPC to cover (for example, 10.0.0.0/16). |
$instanceTenancy | string | optional The supported tenancy options for instances launched into the VPC. A value of default means that instances can be launched with any tenancy; a value of dedicated means all instances are launched as dedicated tenancy instances regardless of the tenancy assigned to the instance at launch. Setting the instance tenancy to dedicated runs your instance on single-tenant hardware. |
Результат | Scalr\Service\Aws\Ec2\DataType\VpcData | Returns VpcData |
public deleteInternetGateway ( string $internetGatewayId ) : boolean | ||
$internetGatewayId | string | The ID of the Internet Gateway |
Результат | boolean | Returns TRUE on success |
public deleteKeyPair ( string $keyName ) : boolean | ||
$keyName | string | A unique key name for the key pair. |
Результат | boolean | Returns true on success |
public deleteNetworkInterface ( string $networkInterfaceId ) : boolean | ||
$networkInterfaceId | string | The ID of the network interface |
Результат | boolean | Returns true on success or throws an exception |
public deletePlacementGroup ( string $groupName ) : boolean | ||
$groupName | string | The name of the placement group. |
Результат | boolean | Returns true on success |
public deleteRouteTable ( string $routeTableId ) : boolean | ||
$routeTableId | string | The ID of the Route Table |
Результат | boolean | Returns TRUE on success |
public deleteSnapshot ( string $snapshotId ) : boolean | ||
$snapshotId | string | The ID of the Amazon EBS snapshot. |
Результат | boolean | Returns TRUE on success |
public deleteSubnet ( string $subnetId ) : boolean | ||
$subnetId | string | The ID of the subnet. |
Результат | boolean | Returns TRUE on success. |
public deleteTags ( |
||
$resourceIdList | The ID of a resource to tag. For example, ami-1a2b3c4d. You can specify multiple resources to assign the tags to. | |
$tagList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | The key/value pair list of the Tags. |
Результат | boolean | Returns true on success or throws an exception otherwise |
public deleteVolume ( string $volumeId ) : boolean | ||
$volumeId | string | The ID of the volume. |
Результат | boolean | Returns true on success or throws an exception otherwise |
public deregisterImage ( string $imageId ) : boolean | ||
$imageId | string | The ID of the AMI |
Результат | boolean | Returns true on success |
public describeAccountAttributes ( |
||
$attributeName | List of the The following table lists the supported account attributes | |
Результат | Scalr\Service\Aws\Ec2\DataType\AccountAttributeSetList | Returns list of the names and values of the requested attributes |
public describeAddresses ( |
||
$publicIpList | optional One or more EC2 Elastic IP addresses | |
$allocationIdList | optional One or more allocation IDs corresponding to the address or addresses to describe (VPC addresses only). | |
$filter | Scalr\Service\Aws\Ec2\DataType\AddressFilterList | optional The filter list. |
Результат | Scalr\Service\Aws\Ec2\DataType\AddressList | Returns AddressList on success |
public describeAvailabilityZones ( |
||
$zoneName | optional Zone Name List to filter. | |
$filter | Scalr\Service\Aws\Ec2\DataType\AvailabilityZoneFilterList | optional Filter to apply. |
Результат | Scalr\Service\Aws\Ec2\DataType\AvailabilityZoneList | Returns the list of Availability Zones |
public describeImages ( |
||
$imageIdList | optional One or more AMI IDs. | |
$ownerList | optional The AMIs owned by the specified owner. Multiple owner values can be specified. The IDs amazon, aws-marketplace, and self can be used to include AMIs owned by Amazon, AWS Marketplace, or AMIs owned by you, respectively. Valid values: amazon | aws-marketplace | self | AWS account ID | all | |
$filter | Scalr\Service\Aws\Ec2\DataType\ImageFilterList | optional Filter list |
$executableByList | optional The AMIs for which the specified user ID has explicit launch permissions. The user ID can be an AWS account ID, self to return AMIs for which the sender of the request has explicit launch permissions, or all to return AMIs with public launch permissions. | |
Результат | Scalr\Service\Aws\Ec2\DataType\ImageList | Returns the list of Images on success or throws an exception otherwise |
public describeInstanceAttribute ( string $instanceId, Scalr\Service\Aws\Ec2\DataType\InstanceAttributeType $attribute ) : mixed | ||
$instanceId | string | The ID of the Instance. |
$attribute | Scalr\Service\Aws\Ec2\DataType\InstanceAttributeType | The attribute. |
Результат | mixed | Returns attribute value. It may be scalar value or stdClass object depends on attribute. |
public describeInstanceStatus ( |
||
$instanceIdList | optional The list of the instance IDs | |
$includeAllInstances | boolean | optional When true, returns the health status for all instances (for example, running, stopped, pending, shutting down).When false, returns only the health status for running instances. |
$filter | Scalr\Service\Aws\Ec2\DataType\InstanceStatusFilterList | optional A Filter |
$nextToken | string | The next paginated set of results to return |
$maxResults | integer | The maximum number of paginated instance items per response. |
Результат | Scalr\Service\Aws\Ec2\DataType\InstanceStatusList | Returns the list of the InstanceStatusData objects |
public describeInstances ( |
||
$instanceIdList | optional One or more instance IDs | |
$filter | Scalr\Service\Aws\Ec2\DataType\InstanceFilterList | optional A Filter list |
$nextToken | string | The next paginated set of results to return |
$maxResults | integer | The maximum number of paginated instance items per response. |
Результат | Scalr\Service\Aws\Ec2\DataType\ReservationList | Returns List of the reservations on success |
public describeInternetGateways ( |
||
$internetGatewayIdList | optional The list of Internet gateway identifiers. | |
$filter | Scalr\Service\Aws\Ec2\DataType\InternetGatewayFilterList | optional The filter list. |
Результат | Scalr\Service\Aws\Ec2\DataType\InternetGatewayList | Returns InternetGatewayList on success |
public describeKeyPairs ( |
||
$keyNameList | The list of the names | |
$filter | array | Array of the key => value properties. |
Результат | Scalr\Service\Aws\Ec2\DataType\KeyPairList | Returns KeyPairList on success |
public describeNetworkInterfaceAttribute ( string $networkInterfaceId, Scalr\Service\Aws\Ec2\DataType\NetworkInterfaceAttributeType $attribute ) : mixed | ||
$networkInterfaceId | string | The ID of the network interface. |
$attribute | Scalr\Service\Aws\Ec2\DataType\NetworkInterfaceAttributeType | The attribute. |
Результат | mixed | Returns attribute value. It can be string, boolean, NetworkInterfaceAttachmentData or GroupList depends on attribute value you provided. |
public describeNetworkInterfaces ( |
||
$networkInterfaceIdList | optional One or more network interface IDs | |
$filter | Scalr\Service\Aws\Ec2\DataType\NetworkInterfaceFilterList | optional Filter list |
Результат | Scalr\Service\Aws\Ec2\DataType\NetworkInterfaceList | Returns the list of the Network Interfaces |
public describePlacementGroups ( |
||
$groupNameList | optional One or more placement group names. | |
$filter | Scalr\Service\Aws\Ec2\DataType\PlacementGroupFilterList | optional The list of the filters. |
Результат | Scalr\Service\Aws\Ec2\DataType\PlacementGroupList | Returns the list of the PlacementGroupData objects on success |
public describeRegions ( ) : Scalr\Service\Aws\Ec2\DataType\RegionInfoList | ||
Результат | Scalr\Service\Aws\Ec2\DataType\RegionInfoList | Returns the list of the RegionInfoData objects on success |
public describeReservedInstances ( |
||
$reservedInstanceIdList | optional One or more instance IDs | |
$filter | Scalr\Service\Aws\Ec2\DataType\ReservedInstanceFilterList | optional A Filter list |
$offefingType | Scalr\Service\Aws\Ec2\DataType\OfferingType | |
Результат | Scalr\Service\Aws\Ec2\DataType\ReservedInstanceList | Returns reserved list of the reserved instances |
public describeRouteTables ( |
||
$routeTableIdList | optional The list of Route Table IDs | |
$filter | Scalr\Service\Aws\Ec2\DataType\RouteTableFilterList | optional The filter list |
Результат | Scalr\Service\Aws\Ec2\DataType\RouteTableList | Returns the list of the RouteTableData objects on success |
public describeSecurityGroups ( |
||
$groupName | optional One or more security group names. | |
$groupId | optional One or more security group IDs. | |
$filter | Scalr\Service\Aws\Ec2\DataType\SecurityGroupFilterList | optional The name/value pairs list for the filter. |
Результат | Scalr\Service\Aws\Ec2\DataType\SecurityGroupList | Returns SecurityGroupList |
public describeSnapshots ( |
||
$snapshotIdList | optional One or more snapshot IDs. By default it describes snapshots for which you have launch permissions. | |
$ownerList | optional Returns the snapshots owned by the specified owner. Multiple owners can be specified. Valid values: self | amazon | AWS Account ID | |
$filter | Scalr\Service\Aws\Ec2\DataType\SnapshotFilterList | optional The list of filters. |
$restorableByList | optional One or more AWS accounts IDs that can create volumes from the snapshot. | |
Результат | Scalr\Service\Aws\Ec2\DataType\SnapshotList | Returns the list of snapshots on success |
public describeSubnets ( |
||
$subnetIdList | optional A subnet ID list. | |
$filter | Scalr\Service\Aws\Ec2\DataType\SubnetFilterList | optional The list of the filters. |
Результат | Scalr\Service\Aws\Ec2\DataType\SubnetList | Returns the list of found subnets on success. |
public describeVolumes ( |
||
$volumeIdList | optional The list of Volume ID | |
$filter | Scalr\Service\Aws\Ec2\DataType\VolumeFilterList | optional The filter list |
Результат | Scalr\Service\Aws\Ec2\DataType\VolumeList | Returns the list of the volumes |
public describeVpcs ( |
||
$vpcIdList | optional The list of the VpcID | |
$filter | Scalr\Service\Aws\Ec2\DataType\VpcFilterList | optional The filter list |
Результат | Scalr\Service\Aws\Ec2\DataType\VpcList | Returns the list of the Vpcs |
public detachVolume ( string $volumeId, string $instanceId = null, string $device = null, boolean $force = null ) : |
||
$volumeId | string | The ID of the EBS volume. |
$instanceId | string | optional The ID of the Instance. |
$device | string | optional The device name. |
$force | boolean | optional Forces detachment if the previous detachment attempt did not occur cleanly (logging into an instance, unmounting the volume, and detaching normally). This option can lead to data loss or a corrupted file system. Use this option only as a last resort to detach a volume from a failed instance. The instance won't have an opportunity to flush file system caches or file system metadata. If you use this option, you must perform file system check and repair procedures. |
Результат | Returns AttachmentSetResponseData on success |
public disassociateAddress ( string $publicIp = null, string $associationId = null ) : boolean | ||
$publicIp | string | optional The EC2 Elastic IP address. Condition: Required for EC2 Elastic IP addresses |
$associationId | string | optional The association ID corresponding to the VPC Elastic IP Conditional address. Condition: Required for VPC Elastic IP addresses |
Результат | boolean | Returns true on success |
public disassociateRouteTable ( string $associationId ) : boolean | ||
$associationId | string | The association ID representing the current association between the route table and subnet. |
Результат | boolean | Returns TRUE on success |
public getConsoleOutput ( string $instanceId ) : |
||
$instanceId | string | The ID of the EC2 instance. |
Результат | Returns object which represents console output. |
public getEntityManager ( ) : Scalr\Service\Aws\EntityManager | ||
Результат | Scalr\Service\Aws\EntityManager |
public getInstanceIdListQuery ( |
||
$instanceIdList | The list of the Instance ID | |
$name | string | optional URL parameter name |
Результат | array | Returns array of the query parameters for the request |
public getPasswordData ( string $instanceId ) : |
||
$instanceId | string | A Windows instance ID. |
Результат | Returns object which represents console output. |
public modifyInstanceAttribute ( string $instanceId, Scalr\Service\Aws\Ec2\DataType\InstanceAttributeType $attribute, mixed $value ) : boolean | ||
$instanceId | string | The ID of the Instance. |
$attribute | Scalr\Service\Aws\Ec2\DataType\InstanceAttributeType | The attribute name. |
$value | mixed | The attribute value can be string, boolean, array or object depends on attribute name. |
Результат | boolean | Returns TRUE on success |
public modifyNetworkInterfaceAttribute ( string $networkInterfaceId, Scalr\Service\Aws\Ec2\DataType\NetworkInterfaceAttributeType $attr, mixed $value ) : boolean | ||
$networkInterfaceId | string | The ID of the network interface. |
$attr | Scalr\Service\Aws\Ec2\DataType\NetworkInterfaceAttributeType | The attribute name. |
$value | mixed | The attribute value. |
Результат | boolean | Returns TRUE on success |
public monitorInstances ( |
||
$instanceIdList | One or more instance IDs | |
Результат | Scalr\Service\Aws\Ec2\DataType\MonitorInstancesResponseSetList | Returns the MonitorInstancesResponseSetList |
public rebootInstances ( |
||
$instanceIdList | The list of the Instance IDs | |
Результат | boolean | Returns true on success or throws an exception otherwise |
public registerImage ( Scalr\Service\Aws\Ec2\DataType\RegisterImageData $request ) : string | ||
$request | Scalr\Service\Aws\Ec2\DataType\RegisterImageData | Register Image request |
Результат | string | Returns the ID of the newly registered AMI |
public releaseAddress ( string $publicIp = null, string $allocationId = null ) : boolean | ||
$publicIp | string | optional The EC2 Elastic IP address |
$allocationId | string | optional The allocation ID that AWS provided when you allocated the address for use with Amazon VPC. |
Результат | boolean | Returns true on success |
public replaceRoute ( string $routeTableId, string $destinationCidrBlock, string $gatewayId = null, string $instanceId = null, string $networkInterfaceId = null, string $vpcPeeringConnectionId = null ) : boolean | ||
$routeTableId | string | The ID of the route table where the route will be added. |
$destinationCidrBlock | string | The CIDR address block used for the destination match. |
$gatewayId | string | optional The ID of a gataway attached to your VPC. |
$instanceId | string | optional The ID of a NAT instance in your VPC. |
$networkInterfaceId | string | optional Allows the routing of network interface IDs. Exactly one interface must be attached when specifying an instance ID or it fails. |
$vpcPeeringConnectionId | string | optional The ID of a VPC peering connection. |
Результат | boolean | Returns TRUE on success |
public replaceRouteTableAssociation ( string $routeTableId, string $associationId ) : string | ||
$routeTableId | string | The ID of the new route table to associate with the subnet. |
$associationId | string | The ID representing the current association between the original route table and the subnet. |
Результат | string | Returns the ID of the new association on success |
public resetNetworkInterfaceAttribute ( string $networkInterfaceId, Scalr\Service\Aws\Ec2\DataType\NetworkInterfaceAttributeType $attr ) : boolean | ||
$networkInterfaceId | string | The ID of the network interface. |
$attr | Scalr\Service\Aws\Ec2\DataType\NetworkInterfaceAttributeType | The attribute name. |
Результат | boolean | Returns TRUE on success |
public revokeSecurityGroupEgress ( Scalr\Service\Aws\Ec2\DataType\IpPermissionList $ipPermissions, string $groupId ) : boolean | ||
$ipPermissions | Scalr\Service\Aws\Ec2\DataType\IpPermissionList | Ip permission list object |
$groupId | string | optional The ID of the security group to modify. |
Результат | boolean | Returns true on success |
public revokeSecurityGroupIngress ( Scalr\Service\Aws\Ec2\DataType\IpPermissionList $ipPermissions, string $groupId = null, string $groupName = null ) : boolean | ||
$ipPermissions | Scalr\Service\Aws\Ec2\DataType\IpPermissionList | Ip permission list object |
$groupId | string | optional The ID of the EC2 or VPC security group to modify. The group must belong to your account. |
$groupName | string | optional The name of the EC2 security group to modify. It can be used instead of group ID for EC2 security groups. |
Результат | boolean | Returns true on success |
public runInstances ( Scalr\Service\Aws\Ec2\DataType\RunInstancesRequestData $request ) : Scalr\Service\Aws\Ec2\DataType\ReservationData | ||
$request | Scalr\Service\Aws\Ec2\DataType\RunInstancesRequestData | Request data |
Результат | Scalr\Service\Aws\Ec2\DataType\ReservationData | Returns the ReservationData object |
public startInstances ( |
||
$instanceIdList | One or more instance IDs. | |
Результат | Scalr\Service\Aws\Ec2\DataType\InstanceStateChangeList | Return the InstanceStateChangeList |
public stopInstances ( |
||
$instanceIdList | One or more instance IDs. | |
$force | boolean | optional Forces the instance to stop. The instance will not have an opportunity to flush file system caches or file system metadata. If you use this option, you must perform file system check and repair procedures. This option is not recommended for Windows instances. |
Результат | Scalr\Service\Aws\Ec2\DataType\InstanceStateChangeList | Return the InstanceStateChangeList |
public terminateInstances ( |
||
$instanceIdList | ||
Результат | Scalr\Service\Aws\Ec2\DataType\InstanceStateChangeList | Returns the InstanceStateChangeList |
public unmonitorInstances ( |
||
$instanceIdList | One or more instance IDs | |
Результат | Scalr\Service\Aws\Ec2\DataType\MonitorInstancesResponseSetList | Returns the MonitorInstancesResponseSetList |