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
MethodDcvMethodThe domain control validation method (http, txt, or email).
TypeCertificateTypeThe type of certificate (dv for Domain Validation).
SettingsSslSettingsOptional TLS settings.
BundleMethodBundleMethod?How the certificate chain should be bundled.
Wildcardbool?Whether the certificate should cover wildcard subdomains.
CertificateAuthorityCertificateAuthority?The preferred Certificate Authority.
Properties
BundleMethod
How the certificate chain should be bundled.
[JsonPropertyName("bundle_method")]
public BundleMethod? BundleMethod { get; init; }
Property Value
CertificateAuthority
The preferred Certificate Authority.
[JsonPropertyName("certificate_authority")]
public CertificateAuthority? CertificateAuthority { get; init; }
Property Value
Method
The domain control validation method (http, txt, or email).
[JsonPropertyName("method")]
public DcvMethod Method { get; init; }
Property Value
Settings
Optional TLS settings.
[JsonPropertyName("settings")]
public SslSettings? Settings { get; init; }
Property Value
Type
The type of certificate (dv for Domain Validation).
[JsonPropertyName("type")]
public CertificateType Type { get; init; }
Property Value
Wildcard
Whether the certificate should cover wildcard subdomains.
[JsonPropertyName("wildcard")]
public bool? Wildcard { get; init; }
Property Value
- bool?