PHP 클래스 Scalr\Service\Aws\CloudFront\DataType\DistributionData

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

공개 프로퍼티들

프로퍼티 타입 설명
$distributionId string The identifier for the distribution
$domainName string The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net.
$inProgressInvalidationBatches string The number of invalidation batches currently in progress for this distribution Valid Values: 0 | 1 | 2 | 3
$lastModifiedTime DateTime The date and time the distribution was last modified.
$status string Valid Values: Deployed | InProgress

보호된 프로퍼티들

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

공개 메소드들

메소드 설명
delete ( string $eTag = null ) : boolean DELETE Distribution Config action
refresh ( ) : DistributionData GET Distribution action
refreshConfig ( ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData GET Distribution Config action
setConfig ( Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | string $config, string $eTag ) : DistributionData PUT Distribution Config action

보호된 메소드들

메소드 설명
throwExceptionIfNotInitialized ( )

메소드 상세

delete() 공개 메소드

DELETE Distribution Config action
public delete ( string $eTag = null ) : boolean
$eTag string optional ETag that is retrieved from getDistributionConfig request.
리턴 boolean Returns true on success

refresh() 공개 메소드

This method refreshes current object using API request to AWS. NOTE! It refreshes object itself only when EntityManager is enabled. Decision is to use $object = object->refresh() instead;
public refresh ( ) : DistributionData
리턴 DistributionData

refreshConfig() 공개 메소드

Refreshes distribution config data set using API request to Amazon. NOTE! It refreshes object itself only when EntityManager is enabled. Decision is to use $object = object->refreshConfig() instead;
public refreshConfig ( ) : Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData
리턴 Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData

setConfig() 공개 메소드

PUT Distribution Config action
public setConfig ( Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | string $config, string $eTag ) : DistributionData
$config Scalr\Service\Aws\CloudFront\DataType\DistributionConfigData | string Config for distribution. It accepts object or xml document.
$eTag string ETag that is retrieved from getDistributionConfig request.
리턴 DistributionData Returns DistributionData object.

throwExceptionIfNotInitialized() 보호된 메소드

프로퍼티 상세

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

List of external identifier names.
protected array $_externalKeys
리턴 array

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

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

$distributionId 공개적으로 프로퍼티

The identifier for the distribution
public string $distributionId
리턴 string

$domainName 공개적으로 프로퍼티

The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net.
public string $domainName
리턴 string

$inProgressInvalidationBatches 공개적으로 프로퍼티

The number of invalidation batches currently in progress for this distribution Valid Values: 0 | 1 | 2 | 3
public string $inProgressInvalidationBatches
리턴 string

$lastModifiedTime 공개적으로 프로퍼티

The date and time the distribution was last modified.
public DateTime $lastModifiedTime
리턴 DateTime

$status 공개적으로 프로퍼티

Valid Values: Deployed | InProgress
public string $status
리턴 string