Share via


ManagedInstanceLongTermRetentionPolicy Class

Definition

A long term retention policy.

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

Constructors

ManagedInstanceLongTermRetentionPolicy()

Initializes a new instance of the ManagedInstanceLongTermRetentionPolicy class.

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

Initializes a new instance of the ManagedInstanceLongTermRetentionPolicy 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