pub struct HostDhcpServiceSpec {
pub virtual_switch: String,
pub default_lease_duration: i32,
pub lease_begin_ip: String,
pub lease_end_ip: String,
pub max_lease_duration: i32,
pub unlimited_lease: bool,
pub ip_subnet_addr: String,
pub ip_subnet_mask: String,
}Expand description
§How to access
HostSystem::config.network?.dhcp?[*].specHostNetworkSystem::network_config.dhcp?[*].specHostNetworkSystem::network_info.dhcp?[*].specHostNetworkSystem::update_network_config(config).dhcp?[*].specHostProfileManager::apply_host_config_task(config_spec).network?.dhcp?[*].specHostProfileManager::generate_config_task_list(config_spec).network?.dhcp?[*].specHostProfileManager::generate_host_profile_task_list_task(config_spec).network?.dhcp?[*].specHostProfile::execute_host_profile().config_spec?.network?.dhcp?[*].specHostProfileManager::generate_config_task_list().config_spec?.network?.dhcp?[*].spec
Fields§
§virtual_switch: StringThe name of the virtual switch to which DHCP service is connected.
default_lease_duration: i32The default DHCP lease duration (minutes).
lease_begin_ip: StringThe start of the IP address range served by the DHCP service.
lease_end_ip: StringThe end of the IP address range served by the DHCP service.
max_lease_duration: i32The maximum DHCP lease duration (minutes).
unlimited_lease: boolA flag to indicate whether or not unlimited DHCP lease durations are allowed.
ip_subnet_addr: StringSubnet served by DHCP service.
ip_subnet_mask: StringSubnet mask of network served by DHCP service.
Trait Implementations§
Source§impl Debug for HostDhcpServiceSpec
impl Debug for HostDhcpServiceSpec
Source§impl Deserialize for HostDhcpServiceSpec
impl Deserialize for HostDhcpServiceSpec
Source§impl VimObjectTrait for HostDhcpServiceSpec
impl VimObjectTrait for HostDhcpServiceSpec
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for HostDhcpServiceSpec
Auto Trait Implementations§
impl Freeze for HostDhcpServiceSpec
impl RefUnwindSafe for HostDhcpServiceSpec
impl Send for HostDhcpServiceSpec
impl Sync for HostDhcpServiceSpec
impl Unpin for HostDhcpServiceSpec
impl UnsafeUnpin for HostDhcpServiceSpec
impl UnwindSafe for HostDhcpServiceSpec
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