PHP Class Scalr\Service\Aws\Ec2\DataType\InstanceNetworkInterfaceAttachmentData

Since: 10.01.2013
Author: Vitaliy Demidov ([email protected])
Inheritance: extends Scalr\Service\Aws\Ec2\AbstractEc2DataType
Mostra file Open project: scalr/scalr Class Usage Examples

Public Properties

Property Type Description
$attachTime DateTime The time stamp when the attachment initiated
$attachmentId string The ID of the network interface attachment (attachmentID)
$deleteOnTermination boolean Whether the network interface is deleted when the instance is terminated.
$deviceIndex integer The index of the device on the instance for the network interface attachment.
$status string attaching | attached | detaching | detached

Public Methods

Method Description
detach ( boolean $force = null ) : boolean DetachNetworkInterface

Protected Methods

Method Description
throwExceptionIfNotInitialized ( )

Method Details

detach() public method

Detaches a network interface from an instance
public detach ( boolean $force = null ) : boolean
$force boolean optional Set to TRUE to force a detachment
return boolean Returns TRUE on success or throws an exception

throwExceptionIfNotInitialized() protected method

Property Details

$attachTime public_oe property

The time stamp when the attachment initiated
public DateTime $attachTime
return DateTime

$attachmentId public_oe property

The ID of the network interface attachment (attachmentID)
public string $attachmentId
return string

$deleteOnTermination public_oe property

Whether the network interface is deleted when the instance is terminated.
public bool $deleteOnTermination
return boolean

$deviceIndex public_oe property

The index of the device on the instance for the network interface attachment.
public int $deviceIndex
return integer

$status public_oe property

attaching | attached | detaching | detached
public string $status
return string