Object creation for CloudFlare data transfer objects. Maps from internal business object types to cloudlfare types.

Constructors

Methods

  • Creates an A Record Parameter object. Required when creating or updating an A Record on CloudFlare.

    Parameters

    • zoneId: string

      The zone this parameter object will be associated with

    • param1: DnsaEntry

      The DnsAEntry that represents this CloudFlare entry.

    Returns ARecord | ARecord

    The associated CloudFlare business object

  • Creates a CNAME Record Parameter object. Required when creating or updating an CNAME Record on CloudFlare.

    Parameters

    • zoneId: string

      The zone this parameter object will be associated with

    • param1: DnsCnameEntry

      The DnsCnameEntry that represents this CloudFlare entry.

    Returns CNAMERecord | CNAMERecord

    The associated CloudFlare business object

  • Creates a MX Record Parameter object. Required when creating or updating an MX Record on CloudFlare.

    Parameters

    • zoneId: string

      The zone this parameter object will be associated with

    • param1: DnsMxEntry

      The DnsMxEntry that represents this CloudFlare entry.

    Returns MXRecord | MXRecord

    The associated CloudFlare business object

  • Creates a NS Record Parameter object. Required when creating or updating an NS Record on CloudFlare.

    Parameters

    • zoneId: string

      The zone this parameter object will be associated with

    • param1: DnsNsEntry

      The DnsNsEntry that represents this CloudFlare entry.

    Returns NSRecord | NSRecord

    The associated CloudFlare business object