pub struct TailnetSettings {
pub acls_externally_managed_on: Option<bool>,
pub acls_external_link: Option<String>,
pub devices_approval_on: Option<bool>,
pub devices_auto_updates_on: Option<bool>,
pub devices_key_duration_days: Option<i64>,
pub users_approval_on: Option<bool>,
pub users_role_allowed_to_join_external_tailnets: Option<String>,
pub network_flow_logging_on: Option<bool>,
pub regional_routing_on: Option<bool>,
pub posture_identity_collection_on: Option<bool>,
pub https_enabled: Option<bool>,
pub unknown: Unknown,
}Expand description
The tailnet-wide switches.
Most are nullable in the description, where null means the tailnet’s
plan does not carry the feature — which is not the same answer as
false, and is why they stay Option rather than defaulting.
Fields§
§acls_externally_managed_on: Option<bool>Stops the policy file being edited in the admin console, so that a GitOps or Terraform workflow is the only writer.
acls_external_link: Option<String>Where the admin console points a reader when the above is on.
devices_approval_on: Option<bool>§devices_auto_updates_on: Option<bool>§devices_key_duration_days: Option<i64>How long a device’s key lasts before it must reauthenticate.
users_approval_on: Option<bool>§users_role_allowed_to_join_external_tailnets: Option<String>One of ROLES_ALLOWED_TO_JOIN.
network_flow_logging_on: Option<bool>§regional_routing_on: Option<bool>§posture_identity_collection_on: Option<bool>Whether posture integrations may collect device identity.
https_enabled: Option<bool>Whether devices can be issued HTTPS certificates.
unknown: UnknownEverything the description did not mention, kept so that a control plane ahead of this build still answers usefully.
Implementations§
Trait Implementations§
Source§impl Clone for TailnetSettings
impl Clone for TailnetSettings
Source§impl Debug for TailnetSettings
impl Debug for TailnetSettings
Source§impl<'de> Deserialize<'de> for TailnetSettings
impl<'de> Deserialize<'de> for TailnetSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TailnetSettings
impl PartialEq for TailnetSettings
Source§impl Serialize for TailnetSettings
impl Serialize for TailnetSettings
impl StructuralPartialEq for TailnetSettings
Auto Trait Implementations§
impl Freeze for TailnetSettings
impl RefUnwindSafe for TailnetSettings
impl Send for TailnetSettings
impl Sync for TailnetSettings
impl Unpin for TailnetSettings
impl UnsafeUnpin for TailnetSettings
impl UnwindSafe for TailnetSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more