pub struct ReservedDomainCreate {
pub domain: String,
pub region: String,
pub description: String,
pub metadata: String,
pub certificate_id: Option<String>,
pub certificate_management_policy: Option<ReservedDomainCertPolicy>,
}
Fields§
§domain: String
hostname of the reserved domain
region: String
deprecated: With the launch of the ngrok Global Network domains traffic is now handled globally. This field applied only to endpoints. Note that agents may still connect to specific regions. Optional, null by default. (au, eu, ap, us, jp, in, sa)
description: String
human-readable description of what this reserved domain will be used for
metadata: String
arbitrary user-defined machine-readable data of this reserved domain. Optional, max 4096 bytes.
certificate_id: Option<String>
ID of a user-uploaded TLS certificate to use for connections to targeting this
domain. Optional, mutually exclusive with certificate_management_policy
.
certificate_management_policy: Option<ReservedDomainCertPolicy>
configuration for automatic management of TLS certificates for this domain, or
null if automatic management is disabled. Optional, mutually exclusive with
certificate_id
.
Trait Implementations§
Source§impl Clone for ReservedDomainCreate
impl Clone for ReservedDomainCreate
Source§fn clone(&self) -> ReservedDomainCreate
fn clone(&self) -> ReservedDomainCreate
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more