Share via


SimpleRetentionPolicy Constructors

Definition

Overloads

SimpleRetentionPolicy()

Initializes a new instance of the SimpleRetentionPolicy class.

SimpleRetentionPolicy(RetentionDuration)

Initializes a new instance of the SimpleRetentionPolicy class.

SimpleRetentionPolicy()

Initializes a new instance of the SimpleRetentionPolicy class.

public SimpleRetentionPolicy ();
Public Sub New ()

Applies to

SimpleRetentionPolicy(RetentionDuration)

Initializes a new instance of the SimpleRetentionPolicy class.

public SimpleRetentionPolicy (Microsoft.Azure.Management.RecoveryServices.Backup.Models.RetentionDuration retentionDuration = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.SimpleRetentionPolicy : Microsoft.Azure.Management.RecoveryServices.Backup.Models.RetentionDuration -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.SimpleRetentionPolicy
Public Sub New (Optional retentionDuration As RetentionDuration = Nothing)

Parameters

retentionDuration
RetentionDuration

Retention duration of the protection policy.

Applies to