C# Class ACMESharp.Providers.CloudFlare.CloudFlareHelper

Helper class to interface with the CloudFlare API endpoint.
See https://api.cloudflare.com/#getting-started-endpoints for more details.
Afficher le fichier Open project: ebekker/ACMESharp Class Usage Examples

Méthodes publiques

Méthode Description
AddOrUpdateDnsRecord ( string name, string value ) : void
CloudFlareHelper ( string authKey, string emailAddress, string domainName ) : System
DeleteDnsRecord ( string name ) : void

Private Methods

Méthode Description
AddDnsRecord ( string zoneId, string name, string value ) : void
CreateRequest ( HttpMethod method, string url ) : HttpRequestMessage
GetDnsRecords ( string zoneId ) : List
GetZoneId ( ) : string
UpdateDnsRecord ( string zoneId, DnsRecord record, string value ) : void

Method Details

AddOrUpdateDnsRecord() public méthode

public AddOrUpdateDnsRecord ( string name, string value ) : void
name string
value string
Résultat void

CloudFlareHelper() public méthode

public CloudFlareHelper ( string authKey, string emailAddress, string domainName ) : System
authKey string
emailAddress string
domainName string
Résultat System

DeleteDnsRecord() public méthode

public DeleteDnsRecord ( string name ) : void
name string
Résultat void