pub struct ManagedDiskEncryption {
pub key_source: KeySource,
pub key_vault_properties: KeyVaultProperties,
pub rotation_to_latest_key_version_enabled: Option<bool>,
}
Expand description
The object that contains details of encryption used on the workspace.
Fields§
§key_source: KeySource
The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Keyvault
key_vault_properties: KeyVaultProperties
Key Vault input properties for encryption.
rotation_to_latest_key_version_enabled: Option<bool>
Indicate whether the latest key version should be automatically used for Managed Disk Encryption.
Implementations§
source§impl ManagedDiskEncryption
impl ManagedDiskEncryption
pub fn new( key_source: KeySource, key_vault_properties: KeyVaultProperties ) -> Self
Trait Implementations§
source§impl Clone for ManagedDiskEncryption
impl Clone for ManagedDiskEncryption
source§fn clone(&self) -> ManagedDiskEncryption
fn clone(&self) -> ManagedDiskEncryption
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 Debug for ManagedDiskEncryption
impl Debug for ManagedDiskEncryption
source§impl<'de> Deserialize<'de> for ManagedDiskEncryption
impl<'de> Deserialize<'de> for ManagedDiskEncryption
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
source§impl PartialEq for ManagedDiskEncryption
impl PartialEq for ManagedDiskEncryption
source§fn eq(&self, other: &ManagedDiskEncryption) -> bool
fn eq(&self, other: &ManagedDiskEncryption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ManagedDiskEncryption
impl Serialize for ManagedDiskEncryption
impl StructuralPartialEq for ManagedDiskEncryption
Auto Trait Implementations§
impl RefUnwindSafe for ManagedDiskEncryption
impl Send for ManagedDiskEncryption
impl Sync for ManagedDiskEncryption
impl Unpin for ManagedDiskEncryption
impl UnwindSafe for ManagedDiskEncryption
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