ArmComputeModelFactory.OperationRecoverySettings 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.
public static Azure.ResourceManager.Compute.Models.OperationRecoverySettings OperationRecoverySettings(bool? isRestartRecoveryPolicyEnabled = default, bool? isStartRecoveryPolicyEnabled = default, bool? isReimageRecoveryPolicyEnabled = default);
static member OperationRecoverySettings : Nullable<bool> * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.Compute.Models.OperationRecoverySettings
Public Shared Function OperationRecoverySettings (Optional isRestartRecoveryPolicyEnabled As Nullable(Of Boolean) = Nothing, Optional isStartRecoveryPolicyEnabled As Nullable(Of Boolean) = Nothing, Optional isReimageRecoveryPolicyEnabled As Nullable(Of Boolean) = Nothing) As OperationRecoverySettings
Parameters
Specifies whether restart recovery should be enabled. The default value is false.
Specifies whether start recovery should be enabled. The default value is false.
Specifies whether reimage recovery should be enabled. The default value is false.
Returns
A new OperationRecoverySettings instance for mocking.