PHP Class Cloudflare\Zone\Plan

Zone Plan
Author: James Bell ([email protected])
Inheritance: extends CloudFlare\Api
Show file Open project: jamesryanbell/cloudflare

Public Methods

Method Description
available ( string $zone_identifier ) Available plans (permission needed: #billing:read) List all plans the zone can subscribe to.
change ( string $zone_identifier, string $identifier ) Change plan (permission needed: #billing:edit) Change the plan level for the zone. This will cancel any previous subscriptions and subscribe the zone to the new plan.
details ( string $zone_identifier, string $identifier ) Available plans (permission needed: #billing:read)

Method Details

available() public method

Available plans (permission needed: #billing:read) List all plans the zone can subscribe to.
public available ( string $zone_identifier )
$zone_identifier string

change() public method

Change plan (permission needed: #billing:edit) Change the plan level for the zone. This will cancel any previous subscriptions and subscribe the zone to the new plan.
public change ( string $zone_identifier, string $identifier )
$zone_identifier string
$identifier string API item identifier tag

details() public method

Available plans (permission needed: #billing:read)
public details ( string $zone_identifier, string $identifier )
$zone_identifier string
$identifier string API item identifier tag