PHP Class Cloudflare\Organizations\Virtual_Dns

Virtual DNS (Organizations) Organizations-level Virtual DNS Management
Author: James Bell ([email protected])
Inheritance: extends CloudFlare\Api
ファイルを表示 Open project: jamesryanbell/cloudflare

Public Methods

Method Description
cluster ( string $organization_identifier, string $identifier ) Get a Virtual DNS Cluster (permission needed: #dns_records:read) List a single configured Virtual DNS clusters for an organization
clusters ( string $organization_identifier ) Get Virtual DNS Clusters (permission needed: #dns_records:read) List configured Virtual DNS clusters for an organization
create ( string $organization_identifier, string $name, array $origin_ips, integer | null $minimum_cache_ttl = null, integer | null $maximum_cache_ttl = null, boolean | null $deprecate_any_request = null ) Create a Virtual DNS Cluster (permission needed: #dns_records:edit) Create a configured Virtual DNS Cluster
delete_cluster ( string $organization_identifier, string $identifier ) Delete a Virtual DNS Cluster (permission needed: #dns_records:edit) Delete a configured Virtual DNS cluster
modify ( string $organization_identifier, string $identifier, string $name, array $origin_ips, integer $minimum_cache_ttl, integer $maximum_cache_ttl, boolean $deprecate_any_request ) Modify a Virtual DNS Cluster Modify a Virtual DNS Cluster configuration (permission needed: #dns_records:edit)

Method Details

cluster() public method

Get a Virtual DNS Cluster (permission needed: #dns_records:read) List a single configured Virtual DNS clusters for an organization
public cluster ( string $organization_identifier, string $identifier )
$organization_identifier string organization_identifier tag
$identifier string identifier tag

clusters() public method

Get Virtual DNS Clusters (permission needed: #dns_records:read) List configured Virtual DNS clusters for an organization
public clusters ( string $organization_identifier )
$organization_identifier string organization_identifier tag

create() public method

Create a Virtual DNS Cluster (permission needed: #dns_records:edit) Create a configured Virtual DNS Cluster
public create ( string $organization_identifier, string $name, array $origin_ips, integer | null $minimum_cache_ttl = null, integer | null $maximum_cache_ttl = null, boolean | null $deprecate_any_request = null )
$organization_identifier string organization_identifier tag
$name string Virtual DNS Cluster Name
$origin_ips array
$minimum_cache_ttl integer | null Minimum DNS Cache TTL
$maximum_cache_ttl integer | null Maximum DNS Cache TTL
$deprecate_any_request boolean | null Deprecate the response to ANY requests

delete_cluster() public method

Delete a Virtual DNS Cluster (permission needed: #dns_records:edit) Delete a configured Virtual DNS cluster
public delete_cluster ( string $organization_identifier, string $identifier )
$organization_identifier string organization_identifier tag
$identifier string identifier tag

modify() public method

Modify a Virtual DNS Cluster Modify a Virtual DNS Cluster configuration (permission needed: #dns_records:edit)
public modify ( string $organization_identifier, string $identifier, string $name, array $origin_ips, integer $minimum_cache_ttl, integer $maximum_cache_ttl, boolean $deprecate_any_request )
$organization_identifier string organization_identifier tag
$identifier string identifier tag
$name string Virtual DNS Cluster Name
$origin_ips array
$minimum_cache_ttl integer Minimum DNS Cache TTL
$maximum_cache_ttl integer Maximum DNS Cache TTL
$deprecate_any_request boolean Deprecate the response to ANY requests