pub struct InstancesSetSecurityPolicyRequest {
pub network_interfaces: Option<Vec<String>>,
pub security_policy: Option<String>,
}
Expand description
There is no detailed description.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- set security policy instances (request)
Fields§
§network_interfaces: Option<Vec<String>>
The network interfaces that the security policy will be applied to. Network interfaces use the nicN naming format. You can only set a security policy for network interfaces with an access config.
security_policy: Option<String>
A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
Trait Implementations§
source§impl Clone for InstancesSetSecurityPolicyRequest
impl Clone for InstancesSetSecurityPolicyRequest
source§fn clone(&self) -> InstancesSetSecurityPolicyRequest
fn clone(&self) -> InstancesSetSecurityPolicyRequest
Returns a copy 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 Default for InstancesSetSecurityPolicyRequest
impl Default for InstancesSetSecurityPolicyRequest
source§fn default() -> InstancesSetSecurityPolicyRequest
fn default() -> InstancesSetSecurityPolicyRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InstancesSetSecurityPolicyRequest
impl<'de> Deserialize<'de> for InstancesSetSecurityPolicyRequest
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
impl RequestValue for InstancesSetSecurityPolicyRequest
Auto Trait Implementations§
impl RefUnwindSafe for InstancesSetSecurityPolicyRequest
impl Send for InstancesSetSecurityPolicyRequest
impl Sync for InstancesSetSecurityPolicyRequest
impl Unpin for InstancesSetSecurityPolicyRequest
impl UnwindSafe for InstancesSetSecurityPolicyRequest
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