PHP Класс Cloudflare\User\LoadBalancers\Origins

CTM Origin User-level Cloud Traffic Manager Origin
Автор: James Bell ([email protected])
Наследование: extends CloudFlare\Api
Показать файл Открыть проект

Открытые методы

Метод Описание
create ( string $name, string $address, boolean | null $enabled = null, string | null $notifier = null ) Create a origin Create a new origin
delete_origin ( string $identifier ) Delete an origin Delete a configured origin
details ( string $identifier ) Origin details Fetch a single configured CTM origin for a user
origins ( ) List origins List configured origins for a user
update ( string $identifier, string | null $name = null, string | null $address = null, boolean | null $enabled = null, string | null $notifier = null ) Modify an origin Modify a configured origin

Описание методов

create() публичный Метод

Create a origin Create a new origin
public create ( string $name, string $address, boolean | null $enabled = null, string | null $notifier = null )
$name string Object name
$address string Origin server IPv4 or IPv6 address
$enabled boolean | null Whether this origin is enabled or not
$notifier string | null The ID of the notifier object to use for notifications relating to the health status of this origin.

delete_origin() публичный Метод

Delete an origin Delete a configured origin
public delete_origin ( string $identifier )
$identifier string

details() публичный Метод

Origin details Fetch a single configured CTM origin for a user
public details ( string $identifier )
$identifier string

origins() публичный Метод

List origins List configured origins for a user
public origins ( )

update() публичный Метод

Modify an origin Modify a configured origin
public update ( string $identifier, string | null $name = null, string | null $address = null, boolean | null $enabled = null, string | null $notifier = null )
$identifier string
$name string | null Object name
$address string | null Origin server IPv4 or IPv6 address
$enabled boolean | null Whether this origin is enabled or not
$notifier string | null The ID of the notifier object to use for notifications relating to the health status of this origin.