PHP 클래스 Scalr\Service\Aws\Ec2\DataType\ReservedInstanceData

부터: 14.01.2013
저자: Vitaliy Demidov ([email protected])
상속: extends Scalr\Service\Aws\Ec2\AbstractEc2DataType
파일 보기 프로젝트 열기: scalr/scalr 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$availabilityZone string The Availability Zone in which the Reserved Instance can be used.
$currencyCode string Valid values: As specified in ISO 4217 (e.g., USD, JPY)
$duration numeric The duration of the Reserved Instance, in seconds.
$end DateTime The time when the Reserved Instance expires.
$fixedPrice float The purchase price of the Reserved Instance
$instanceCount integer The number of Reserved Instances purchased.
$instanceTenancy string The tenancy of the reserved instance.
$instanceType string The instance type on which the Reserved Instance can be used.
$offeringType string The Reserved Instance offering type.
$productDescription string The Reserved Instance description Linux/UNIX | Linux/UNIX (Amazon VPC) | Windows| Windows (Amazon VPC)
$reservedInstancesId string The Id of reserved instance
$start DateTime The date and time the Reserved Instance started.
$state string payment-pending | active | payment-failed | retired
$usagePrice float The usage price of the Reserved Instance, per hour.

보호된 프로퍼티들

프로퍼티 타입 설명
$_properties array List of the public properties which is managed by magic getter and setters internally.

공개 메소드들

메소드 설명
createTags ( Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetData | array $tagList ) : boolean CreateTags action
deleteTags ( Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetData | array $tagList ) : boolean DeleteTags action
throwExceptionIfNotInitialized ( )

메소드 상세

createTags() 공개 메소드

Adds or overwrites one or more tags for the specified EC2 resource or resources. Each resource can have a maximum of 10 tags. Each tag consists of a key and optional value. Tag keys must be unique per resource.
public createTags ( Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetData | array $tagList ) : boolean
$tagList Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetData | array The key/value pair list of the Tags.
리턴 boolean Returns true on success or throws an exception otherwise

deleteTags() 공개 메소드

Deletes a specific set of tags from a specific set of resources. This call is designed to follow a DescribeTags call. You first determine what tags a resource has, and then you call DeleteTags with the resource ID and the specific tags you want to delete.
public deleteTags ( Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetData | array $tagList ) : boolean
$tagList Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetData | array The key/value pair list of the Tags.
리턴 boolean Returns true on success or throws an exception otherwise

throwExceptionIfNotInitialized() 공개 메소드

프로퍼티 상세

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

List of the public properties which is managed by magic getter and setters internally.
protected array $_properties
리턴 array

$availabilityZone 공개적으로 프로퍼티

The Availability Zone in which the Reserved Instance can be used.
public string $availabilityZone
리턴 string

$currencyCode 공개적으로 프로퍼티

Valid values: As specified in ISO 4217 (e.g., USD, JPY)
public string $currencyCode
리턴 string

$duration 공개적으로 프로퍼티

The duration of the Reserved Instance, in seconds.
public numeric $duration
리턴 numeric

$end 공개적으로 프로퍼티

The time when the Reserved Instance expires.
public DateTime $end
리턴 DateTime

$fixedPrice 공개적으로 프로퍼티

The purchase price of the Reserved Instance
public float $fixedPrice
리턴 float

$instanceCount 공개적으로 프로퍼티

The number of Reserved Instances purchased.
public int $instanceCount
리턴 integer

$instanceTenancy 공개적으로 프로퍼티

The tenancy of the reserved instance.
public string $instanceTenancy
리턴 string

$instanceType 공개적으로 프로퍼티

The instance type on which the Reserved Instance can be used.
public string $instanceType
리턴 string

$offeringType 공개적으로 프로퍼티

The Reserved Instance offering type.
public string $offeringType
리턴 string

$productDescription 공개적으로 프로퍼티

The Reserved Instance description Linux/UNIX | Linux/UNIX (Amazon VPC) | Windows| Windows (Amazon VPC)
public string $productDescription
리턴 string

$reservedInstancesId 공개적으로 프로퍼티

The Id of reserved instance
public string $reservedInstancesId
리턴 string

$start 공개적으로 프로퍼티

The date and time the Reserved Instance started.
public DateTime $start
리턴 DateTime

$state 공개적으로 프로퍼티

payment-pending | active | payment-failed | retired
public string $state
리턴 string

$usagePrice 공개적으로 프로퍼티

The usage price of the Reserved Instance, per hour.
public float $usagePrice
리턴 float