PHP 클래스 Cloudflare\User\LoadBalancers\Pools

CTM Pool User-level Cloud Traffic Manager Pool
저자: James Bell ([email protected])
상속: extends CloudFlare\Api
파일 보기 프로젝트 열기: jamesryanbell/cloudflare

공개 메소드들

메소드 설명
create ( string $name, array $origins, string | null $description = null, boolean | null $enabled = null, string | null $monitor = null, string | null $notifier = null ) Create a pool Create a new pool
delete_pool ( string $identifier ) Delete a pool Delete a configured pool
details ( string $identifier ) Pool details Fetch a single configured pool
pools ( ) List pools List configured pools
update ( string $identifier, string | null $name = null, array | null $origins = null, string | null $description = null, boolean | null $enabled = null, string | null $monitor = null, string | null $notifier = null ) Modify a pool Modify a configured pool

메소드 상세

create() 공개 메소드

Create a pool Create a new pool
public create ( string $name, array $origins, string | null $description = null, boolean | null $enabled = null, string | null $monitor = null, string | null $notifier = null )
$name string Object name
$origins array A list of origins contained in the pool. Traffic destined to the pool is balanced across all available origins contained in the pool (as long as the pool is considered available).
$description string | null Object description
$enabled boolean | null Whether this pool is enabled or not.
$monitor string | null ID of the monitor object to use for monitoring the health status of origins inside this pool.
$notifier string | null ID of the notifier object to use for notifications relating to the health status of origins inside this pool.

delete_pool() 공개 메소드

Delete a pool Delete a configured pool
public delete_pool ( string $identifier )
$identifier string

details() 공개 메소드

Pool details Fetch a single configured pool
public details ( string $identifier )
$identifier string

pools() 공개 메소드

List pools List configured pools
public pools ( )

update() 공개 메소드

Modify a pool Modify a configured pool
public update ( string $identifier, string | null $name = null, array | null $origins = null, string | null $description = null, boolean | null $enabled = null, string | null $monitor = null, string | null $notifier = null )
$identifier string
$name string | null Object name
$origins array | null A list of origins contained in the pool. Traffic destined to the pool is balanced across all available origins contained in the pool (as long as the pool is considered available).
$description string | null Object description
$enabled boolean | null Whether this pool is enabled or not.
$monitor string | null ID of the monitor object to use for monitoring the health status of origins inside this pool.
$notifier string | null ID of the notifier object to use for notifications relating to the health status of origins inside this pool.