pub struct CreateMacsecKey {
pub connectivity_association_name_secret_id: String,
pub connectivity_association_key_secret_id: String,
}Expand description
Defines the secret OCIDs held in Vault that represent the MACsec key.
Fields§
§connectivity_association_name_secret_id: StringSecret OCID containing the Connectivity association Key Name (CKN) of this MACsec key.
NOTE: Only the latest secret version will be used.
connectivity_association_key_secret_id: StringSecret OCID containing the Connectivity Association Key (CAK) of this MACsec key.
NOTE: Only the latest secret version will be used.
Implementations§
Source§impl CreateMacsecKey
impl CreateMacsecKey
Sourcepub fn new(required: CreateMacsecKeyRequired) -> Self
pub fn new(required: CreateMacsecKeyRequired) -> Self
Create a new CreateMacsecKey with required fields
Sourcepub fn set_connectivity_association_name_secret_id(self, value: String) -> Self
pub fn set_connectivity_association_name_secret_id(self, value: String) -> Self
Set connectivity_association_name_secret_id
Sourcepub fn set_connectivity_association_key_secret_id(self, value: String) -> Self
pub fn set_connectivity_association_key_secret_id(self, value: String) -> Self
Set connectivity_association_key_secret_id
Trait Implementations§
Source§impl Clone for CreateMacsecKey
impl Clone for CreateMacsecKey
Source§fn clone(&self) -> CreateMacsecKey
fn clone(&self) -> CreateMacsecKey
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 CreateMacsecKey
impl Debug for CreateMacsecKey
Source§impl<'de> Deserialize<'de> for CreateMacsecKey
impl<'de> Deserialize<'de> for CreateMacsecKey
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 CreateMacsecKey
impl RefUnwindSafe for CreateMacsecKey
impl Send for CreateMacsecKey
impl Sync for CreateMacsecKey
impl Unpin for CreateMacsecKey
impl UnsafeUnpin for CreateMacsecKey
impl UnwindSafe for CreateMacsecKey
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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