Show / Hide Table of Contents

    Class BackupShortTermRetentionPolicy

    A short term retention policy.

    Inheritance
    Object
    Resource
    ProxyResource
    BackupShortTermRetentionPolicy
    Inherited Members
    Resource.Id
    Resource.Name
    Resource.Type
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Sql.dll
    Syntax
    [Microsoft.Rest.Serialization.JsonTransformation]
    public class BackupShortTermRetentionPolicy : Microsoft.Azure.Management.Sql.Models.ProxyResource

    Constructors

    BackupShortTermRetentionPolicy()

    Initializes a new instance of the BackupShortTermRetentionPolicy class.

    Declaration
    public BackupShortTermRetentionPolicy ();

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

    Initializes a new instance of the BackupShortTermRetentionPolicy class.

    Declaration
    public BackupShortTermRetentionPolicy (string id = null, string name = null, string type = null, Nullable<int> retentionDays = null);
    Parameters
    String id

    Resource ID.

    String name

    Resource name.

    String type

    Resource type.

    Nullable<Int32> retentionDays

    The backup retention period in days. This is how many days Point-in-Time Restore will be supported.

    Properties

    RetentionDays

    Gets or sets the backup retention period in days. This is how many days Point-in-Time Restore will be supported.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.retentionDays")]
    public Nullable<int> RetentionDays { get; set; }
    Property Value
    Nullable<Int32>

    Back to top Azure SDK for Net