Table of Contents

Class SslConfiguration

Namespace
Cloudflare.NET.Zones.CustomHostnames.Models
Assembly
Cloudflare.NET.dll

Represents the SSL configuration for creating or updating a custom hostname.

public record SslConfiguration : IEquatable<SslConfiguration>
Inheritance
SslConfiguration
Implements
Inherited Members

Constructors

SslConfiguration(DcvMethod, CertificateType, SslSettings?, BundleMethod?, bool?, CertificateAuthority?)

Represents the SSL configuration for creating or updating a custom hostname.

public SslConfiguration(DcvMethod Method, CertificateType Type, SslSettings? Settings = null, BundleMethod? BundleMethod = null, bool? Wildcard = null, CertificateAuthority? CertificateAuthority = null)

Parameters

Method DcvMethod

The domain control validation method (http, txt, or email).

Type CertificateType

The type of certificate (dv for Domain Validation).

Settings SslSettings

Optional TLS settings.

BundleMethod BundleMethod?

How the certificate chain should be bundled.

Wildcard bool?

Whether the certificate should cover wildcard subdomains.

CertificateAuthority CertificateAuthority?

The preferred Certificate Authority.

Properties

BundleMethod

How the certificate chain should be bundled.

[JsonPropertyName("bundle_method")]
public BundleMethod? BundleMethod { get; init; }

Property Value

BundleMethod?

CertificateAuthority

The preferred Certificate Authority.

[JsonPropertyName("certificate_authority")]
public CertificateAuthority? CertificateAuthority { get; init; }

Property Value

CertificateAuthority?

Method

The domain control validation method (http, txt, or email).

[JsonPropertyName("method")]
public DcvMethod Method { get; init; }

Property Value

DcvMethod

Settings

Optional TLS settings.

[JsonPropertyName("settings")]
public SslSettings? Settings { get; init; }

Property Value

SslSettings

Type

The type of certificate (dv for Domain Validation).

[JsonPropertyName("type")]
public CertificateType Type { get; init; }

Property Value

CertificateType

Wildcard

Whether the certificate should cover wildcard subdomains.

[JsonPropertyName("wildcard")]
public bool? Wildcard { get; init; }

Property Value

bool?