PHP 클래스 Cloudflare\Organizations\Railguns

Organization Railgun CloudFlare Railgun for Organizations
저자: James Bell ([email protected])
상속: extends CloudFlare\Api
파일 보기 프로젝트 열기: jamesryanbell/cloudflare

공개 메소드들

메소드 설명
create ( string $organization_identifier, string $name ) Create Railgun (permission needed: #organization:edit)
delete_railgun ( string $organization_identifier, string $identifier ) Delete Railgun (permission needed: #organization:edit) Disable and delete a Railgun. This will immediately disable the Railgun for any connected zones
details ( string $organization_identifier, string $identifier ) Railgun details (permission needed: #organization:read)
enabled ( string $organization_identifier, string $identifier, boolean | null $enabled = null ) Enable or disable a Railgun (permission needed: #organization:edit) Enable or disable a Railgun for all zones connected to it
railguns ( string $organization_identifier, integer | null $page = null, integer | null $per_page = null, string | null $direction = null ) List Railguns (permission needed: #organization:read) List, search, sort and filter your Railguns
zones ( string $organization_identifier, string $identifier ) Get zones connected to a Railgun (permission needed: #organization:read) The zones that are currently using this Railgun

메소드 상세

create() 공개 메소드

Create Railgun (permission needed: #organization:edit)
public create ( string $organization_identifier, string $name )
$organization_identifier string Organization identifier tag
$name string Readable identifier of the railgun

delete_railgun() 공개 메소드

Delete Railgun (permission needed: #organization:edit) Disable and delete a Railgun. This will immediately disable the Railgun for any connected zones
public delete_railgun ( string $organization_identifier, string $identifier )
$organization_identifier string Organization identifier tag
$identifier string API item identifier tag

details() 공개 메소드

Railgun details (permission needed: #organization:read)
public details ( string $organization_identifier, string $identifier )
$organization_identifier string Organization identifier tag
$identifier string API item identifier tag

enabled() 공개 메소드

Enable or disable a Railgun (permission needed: #organization:edit) Enable or disable a Railgun for all zones connected to it
public enabled ( string $organization_identifier, string $identifier, boolean | null $enabled = null )
$organization_identifier string Organization identifier tag
$identifier string API item identifier tag
$enabled boolean | null Flag to determine if the Railgun is accepting connections

railguns() 공개 메소드

List Railguns (permission needed: #organization:read) List, search, sort and filter your Railguns
public railguns ( string $organization_identifier, integer | null $page = null, integer | null $per_page = null, string | null $direction = null )
$organization_identifier string Organization identifier tag
$page integer | null Page number of paginated results
$per_page integer | null Number of items per page
$direction string | null Direction to order Railguns (asc, desc)

zones() 공개 메소드

Get zones connected to a Railgun (permission needed: #organization:read) The zones that are currently using this Railgun
public zones ( string $organization_identifier, string $identifier )
$organization_identifier string Organization identifier tag
$identifier string API item identifier tag