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

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

Public Properties

Property Type Description
$attachTime DateTime
$attachmentId string The ID of the network interface attachment
$deleteOnTermination boolean
$deviceIndex integer
$instanceId string The ID of the instance.
$instanceOwnerId string
$status string

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 property

public DateTime $attachTime
return DateTime

$attachmentId public property

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

$deleteOnTermination public property

public bool $deleteOnTermination
return boolean

$deviceIndex public property

public int $deviceIndex
return integer

$instanceId public property

The ID of the instance.
public string $instanceId
return string

$instanceOwnerId public property

public string $instanceOwnerId
return string

$status public property

public string $status
return string