PHP Класс Scalr\Service\Aws\Ec2\DataType\ReservedInstanceData

С версии: 14.01.2013
Автор: Vitaliy Demidov ([email protected])
Наследование: extends Scalr\Service\Aws\Ec2\AbstractEc2DataType
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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.

Защищенные свойства (Protected)

Свойство Тип Описание
$_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