pub struct LinuxConfiguration {
pub disable_password_authentication: Option<bool>,
pub provision_vm_agent: Option<bool>,
pub ssh: Option<SshConfiguration>,
}Expand description
Linux-specific OS configuration.
Azure API: compute.v1.LinuxConfiguration
Reference: https://learn.microsoft.com/en-us/rest/api/compute//LinuxConfiguration
Fields§
§disable_password_authentication: Option<bool>Disable password auth (use SSH keys)
provision_vm_agent: Option<bool>Whether to provision the VM agent
ssh: Option<SshConfiguration>SSH configuration
Trait Implementations§
Source§impl Clone for LinuxConfiguration
impl Clone for LinuxConfiguration
Source§fn clone(&self) -> LinuxConfiguration
fn clone(&self) -> LinuxConfiguration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LinuxConfiguration
impl Debug for LinuxConfiguration
Source§impl Default for LinuxConfiguration
impl Default for LinuxConfiguration
Source§fn default() -> LinuxConfiguration
fn default() -> LinuxConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LinuxConfiguration
impl<'de> Deserialize<'de> for LinuxConfiguration
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
Auto Trait Implementations§
impl Freeze for LinuxConfiguration
impl RefUnwindSafe for LinuxConfiguration
impl Send for LinuxConfiguration
impl Sync for LinuxConfiguration
impl Unpin for LinuxConfiguration
impl UnsafeUnpin for LinuxConfiguration
impl UnwindSafe for LinuxConfiguration
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