PHP Class Cloudflare\User\LoadBalancers\Origins

CTM Origin User-level Cloud Traffic Manager Origin
Author: James Bell ([email protected])
Inheritance: extends CloudFlare\Api
Mostra file Open project: jamesryanbell/cloudflare

Public Methods

Method Description
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

Method Details

create() public method

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() public method

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

details() public method

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

origins() public method

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

update() public method

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.