LongTermRetentionPolicy Class

Definition

A long term retention policy.

[Microsoft.Rest.Serialization.JsonTransformation]
public class LongTermRetentionPolicy : Microsoft.Azure.Management.Sql.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type LongTermRetentionPolicy = class
    inherit ProxyResource
Public Class LongTermRetentionPolicy
Inherits ProxyResource
Inheritance
System.Object
LongTermRetentionPolicy
Attributes

Constructors

LongTermRetentionPolicy()

Initializes a new instance of the LongTermRetentionPolicy class.

LongTermRetentionPolicy(String, String, String, String, String, String, Nullable<Int32>)

Initializes a new instance of the LongTermRetentionPolicy class.

Properties

Id

Gets resource ID.

(Inherited from Resource)
MonthlyRetention

Gets or sets the monthly retention policy for an LTR backup in an ISO 8601 format.

Name

Gets resource name.

(Inherited from Resource)
Type

Gets resource type.

(Inherited from Resource)
WeeklyRetention

Gets or sets the weekly retention policy for an LTR backup in an ISO 8601 format.

WeekOfYear

Gets or sets the week of year to take the yearly backup in an ISO 8601 format.

YearlyRetention

Gets or sets the yearly retention policy for an LTR backup in an ISO 8601 format.

Applies to