PHP Class LibCloud\Compute\Model\Node

Datei anzeigen Open project: linkorb/libcloud-php Class Usage Examples

Protected Properties

Property Type Description
$extra array Node extra parameters
$id integer Node id
$image NodeImage
$name string Node name
$private_ips array Node private ips
$provider string Node provider name
$public_ips array Node public ips
$size NodeSize
$state integer Node state. one of the NodeState constants

Public Methods

Method Description
__construct ( $id, $name, $state, $public_ips, $private_ips, $provider, $size, $image, $extra = [] )
getExtra ( ) : array
getId ( ) : integer
getImage ( ) : NodeImage
getName ( ) : string
getPrivateIps ( ) : array
getProvider ( ) : string
getPublicIps ( ) : array
getSize ( ) : NodeSize
getState ( ) : integer
setExtra ( array $extra )
setId ( integer $id )
setImage ( NodeImage $image )
setName ( string $name )
setPrivateIps ( array $private_ips )
setProvider ( string $provider )
setPublicIps ( array $public_ips )
setSize ( NodeSize $size )
setState ( integer $state )

Method Details

__construct() public method

public __construct ( $id, $name, $state, $public_ips, $private_ips, $provider, $size, $image, $extra = [] )

getExtra() public method

public getExtra ( ) : array
return array

getId() public method

public getId ( ) : integer
return integer

getImage() public method

public getImage ( ) : NodeImage
return NodeImage

getName() public method

public getName ( ) : string
return string

getPrivateIps() public method

public getPrivateIps ( ) : array
return array

getProvider() public method

public getProvider ( ) : string
return string

getPublicIps() public method

public getPublicIps ( ) : array
return array

getSize() public method

public getSize ( ) : NodeSize
return NodeSize

getState() public method

public getState ( ) : integer
return integer

setExtra() public method

public setExtra ( array $extra )
$extra array

setId() public method

public setId ( integer $id )
$id integer

setImage() public method

public setImage ( NodeImage $image )
$image NodeImage

setName() public method

public setName ( string $name )
$name string

setPrivateIps() public method

public setPrivateIps ( array $private_ips )
$private_ips array

setProvider() public method

public setProvider ( string $provider )
$provider string

setPublicIps() public method

public setPublicIps ( array $public_ips )
$public_ips array

setSize() public method

public setSize ( NodeSize $size )
$size NodeSize

setState() public method

public setState ( integer $state )
$state integer

Property Details

$extra protected_oe property

Node extra parameters
protected array $extra
return array

$id protected_oe property

Node id
protected int $id
return integer

$image protected_oe property

protected NodeImage,LibCloud\Compute\Model $image
return NodeImage

$name protected_oe property

Node name
protected string $name
return string

$private_ips protected_oe property

Node private ips
protected array $private_ips
return array

$provider protected_oe property

Node provider name
protected string $provider
return string

$public_ips protected_oe property

Node public ips
protected array $public_ips
return array

$size protected_oe property

protected NodeSize,LibCloud\Compute\Model $size
return NodeSize

$state protected_oe property

Node state. one of the NodeState constants
protected int $state
return integer