PHP 클래스 LibCloud\Compute\Model\NodeSize

파일 보기 프로젝트 열기: linkorb/libcloud-php 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$bandwidth integer Amount of bandiwdth included with this size
$disk integer Amount of disk storage (in GB) provided by this image
$extra array Optional provider specific attributes associated with
$id string Size ID
$name string Size name
$price float Price (in US dollars) of running this node for an hour
$provider string Driver this size belongs to
$ram integer Amount of memory (in MB) provided by this size

공개 메소드들

메소드 설명
__construct ( $id, $name = null, $ram = null, $disk = null, $bandwidth = null, $price = null, $provider = null, $extra = [] )
getBandwidth ( ) : integer
getDisk ( ) : integer
getExtra ( ) : array
getId ( ) : string
getName ( ) : string
getPrice ( ) : float
getProvider ( ) : string
getRam ( ) : integer
setBandwidth ( integer $bandwidth )
setDisk ( integer $disk )
setExtra ( array $extra )
setId ( string $id )
setName ( string $name )
setPrice ( float $price )
setProvider ( string $provider )
setRam ( integer $ram )

메소드 상세

__construct() 공개 메소드

public __construct ( $id, $name = null, $ram = null, $disk = null, $bandwidth = null, $price = null, $provider = null, $extra = [] )

getBandwidth() 공개 메소드

public getBandwidth ( ) : integer
리턴 integer

getDisk() 공개 메소드

public getDisk ( ) : integer
리턴 integer

getExtra() 공개 메소드

public getExtra ( ) : array
리턴 array

getId() 공개 메소드

public getId ( ) : string
리턴 string

getName() 공개 메소드

public getName ( ) : string
리턴 string

getPrice() 공개 메소드

public getPrice ( ) : float
리턴 float

getProvider() 공개 메소드

public getProvider ( ) : string
리턴 string

getRam() 공개 메소드

public getRam ( ) : integer
리턴 integer

setBandwidth() 공개 메소드

public setBandwidth ( integer $bandwidth )
$bandwidth integer

setDisk() 공개 메소드

public setDisk ( integer $disk )
$disk integer

setExtra() 공개 메소드

public setExtra ( array $extra )
$extra array

setId() 공개 메소드

public setId ( string $id )
$id string

setName() 공개 메소드

public setName ( string $name )
$name string

setPrice() 공개 메소드

public setPrice ( float $price )
$price float

setProvider() 공개 메소드

public setProvider ( string $provider )
$provider string

setRam() 공개 메소드

public setRam ( integer $ram )
$ram integer

프로퍼티 상세

$bandwidth 보호되어 있는 프로퍼티

Amount of bandiwdth included with this size
protected int $bandwidth
리턴 integer

$disk 보호되어 있는 프로퍼티

Amount of disk storage (in GB) provided by this image
protected int $disk
리턴 integer

$extra 보호되어 있는 프로퍼티

Optional provider specific attributes associated with
protected array $extra
리턴 array

$id 보호되어 있는 프로퍼티

Size ID
protected string $id
리턴 string

$name 보호되어 있는 프로퍼티

Size name
protected string $name
리턴 string

$price 보호되어 있는 프로퍼티

Price (in US dollars) of running this node for an hour
protected float $price
리턴 float

$provider 보호되어 있는 프로퍼티

Driver this size belongs to
protected string $provider
리턴 string

$ram 보호되어 있는 프로퍼티

Amount of memory (in MB) provided by this size
protected int $ram
리턴 integer