PHP 클래스 Cloudflare\User\LoadBalancers\Monitors

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

공개 메소드들

메소드 설명
create ( string $expected, string $type, string $expected_codes, string | null $method = null, string | null $path = null, integer | null $interval = null, integer | null $retries = null, array | null $headers = null, integer | null $probe_timeout = null, string | null $description = null ) Create a monitor Create a configured monitor
delete_monitor ( string $identifier ) Delete a monitor Delete a configured monitor
details ( string $identifier ) Monitor details List a single configured CTM monitor for a user
monitors ( ) List monitors List configured monitors for a user
update ( string $identifier, string | null $expected = null, string | null $type = null, string | null $expected_codes = null, string | null $method = null, string | null $path = null, integer | null $interval = null, integer | null $retries = null, array | null $headers = null, integer | null $probe_timeout = null, string | null $description = null ) Modify a monitor Modify a configured monitor

메소드 상세

create() 공개 메소드

Create a monitor Create a configured monitor
public create ( string $expected, string $type, string $expected_codes, string | null $method = null, string | null $path = null, integer | null $interval = null, integer | null $retries = null, array | null $headers = null, integer | null $probe_timeout = null, string | null $description = null )
$expected string A case-insensitive substring to match in the body of the probe response to declare an origin as up
$type string Monitor type
$expected_codes string The expected HTTP response code or code range for the probe
$method string | null The HTTP method for the probe
$path string | null The endpoint path to probe
$interval integer | null The interval in seconds for each PoP to send a probe request
$retries integer | null The number of retries before declaring the origins to be dead
$headers array | null The HTTP headers to use in the probe
$probe_timeout integer | null Timeout in seconds for each probe request
$description string | null Object description

delete_monitor() 공개 메소드

Delete a monitor Delete a configured monitor
public delete_monitor ( string $identifier )
$identifier string

details() 공개 메소드

Monitor details List a single configured CTM monitor for a user
public details ( string $identifier )
$identifier string

monitors() 공개 메소드

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

update() 공개 메소드

Modify a monitor Modify a configured monitor
public update ( string $identifier, string | null $expected = null, string | null $type = null, string | null $expected_codes = null, string | null $method = null, string | null $path = null, integer | null $interval = null, integer | null $retries = null, array | null $headers = null, integer | null $probe_timeout = null, string | null $description = null )
$identifier string
$expected string | null A case-insensitive substring to match in the body of the probe response to declare an origin as up
$type string | null Monitor type
$expected_codes string | null The expected HTTP response code or code range for the probe
$method string | null The HTTP method for the probe
$path string | null The endpoint path to probe
$interval integer | null The interval in seconds for each PoP to send a probe request
$retries integer | null The number of retries before declaring the origins to be dead
$headers array | null The HTTP headers to use in the probe
$probe_timeout integer | null Timeout in seconds for each probe request
$description string | null Object description