ArmNetAppModelFactory.RansomwareProtectionSettings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of RansomwareProtectionSettings.
public static Azure.ResourceManager.NetApp.Models.RansomwareProtectionSettings RansomwareProtectionSettings(Azure.ResourceManager.NetApp.Models.DesiredRansomwareProtectionState? desiredRansomwareProtectionState = default, Azure.ResourceManager.NetApp.Models.ActualRansomwareProtectionState? actualRansomwareProtectionState = default);
static member RansomwareProtectionSettings : Nullable<Azure.ResourceManager.NetApp.Models.DesiredRansomwareProtectionState> * Nullable<Azure.ResourceManager.NetApp.Models.ActualRansomwareProtectionState> -> Azure.ResourceManager.NetApp.Models.RansomwareProtectionSettings
Public Shared Function RansomwareProtectionSettings (Optional desiredRansomwareProtectionState As Nullable(Of DesiredRansomwareProtectionState) = Nothing, Optional actualRansomwareProtectionState As Nullable(Of ActualRansomwareProtectionState) = Nothing) As RansomwareProtectionSettings
Parameters
- desiredRansomwareProtectionState
- Nullable<DesiredRansomwareProtectionState>
The desired value of the Advanced Ransomware Protection feature state available to the volume.
- actualRansomwareProtectionState
- Nullable<ActualRansomwareProtectionState>
The actual state of the Advanced Ransomware Protection feature currently active on the volume.
Returns
A new RansomwareProtectionSettings instance for mocking.