pub struct SolarisAnet { /* private fields */ }
Expand description
SolarisAnet provides the specification for automatic creation of network resources for this container.
Implementations§
Source§impl SolarisAnet
impl SolarisAnet
Sourcepub fn linkname(&self) -> &Option<String>
pub fn linkname(&self) -> &Option<String>
Specify a name for the automatically created VNIC datalink.
Sourcepub fn lower_link(&self) -> &Option<String>
pub fn lower_link(&self) -> &Option<String>
Specify the link over which the VNIC will be created.
Sourcepub fn allowed_address(&self) -> &Option<String>
pub fn allowed_address(&self) -> &Option<String>
The set of IP addresses that the container can use.
Sourcepub fn configure_allowed_address(&self) -> &Option<String>
pub fn configure_allowed_address(&self) -> &Option<String>
Specifies whether allowedAddress limitation is to be applied to the VNIC.
Sourcepub fn link_protection(&self) -> &Option<String>
pub fn link_protection(&self) -> &Option<String>
Enable one or more types of link protection.
Sourcepub fn mac_address(&self) -> &Option<String>
pub fn mac_address(&self) -> &Option<String>
Set the VNIC’s macAddress.
Source§impl SolarisAnet
impl SolarisAnet
Sourcepub fn set_linkname(&mut self, val: Option<String>) -> &mut Self
pub fn set_linkname(&mut self, val: Option<String>) -> &mut Self
Specify a name for the automatically created VNIC datalink.
Sourcepub fn set_lower_link(&mut self, val: Option<String>) -> &mut Self
pub fn set_lower_link(&mut self, val: Option<String>) -> &mut Self
Specify the link over which the VNIC will be created.
Sourcepub fn set_allowed_address(&mut self, val: Option<String>) -> &mut Self
pub fn set_allowed_address(&mut self, val: Option<String>) -> &mut Self
The set of IP addresses that the container can use.
Sourcepub fn set_configure_allowed_address(
&mut self,
val: Option<String>,
) -> &mut Self
pub fn set_configure_allowed_address( &mut self, val: Option<String>, ) -> &mut Self
Specifies whether allowedAddress limitation is to be applied to the VNIC.
Sourcepub fn set_defrouter(&mut self, val: Option<String>) -> &mut Self
pub fn set_defrouter(&mut self, val: Option<String>) -> &mut Self
The value of the optional default router.
Sourcepub fn set_link_protection(&mut self, val: Option<String>) -> &mut Self
pub fn set_link_protection(&mut self, val: Option<String>) -> &mut Self
Enable one or more types of link protection.
Sourcepub fn set_mac_address(&mut self, val: Option<String>) -> &mut Self
pub fn set_mac_address(&mut self, val: Option<String>) -> &mut Self
Set the VNIC’s macAddress.
Trait Implementations§
Source§impl Clone for SolarisAnet
impl Clone for SolarisAnet
Source§fn clone(&self) -> SolarisAnet
fn clone(&self) -> SolarisAnet
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more