Class LongTermRetentionBackup
A long term retention backup.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class LongTermRetentionBackup : Microsoft.Azure.Management.Sql.Models.ProxyResource
Constructors
LongTermRetentionBackup()
Initializes a new instance of the LongTermRetentionBackup class.
Declaration
public LongTermRetentionBackup ();
LongTermRetentionBackup(String, String, String, String, Nullable<DateTime>, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>)
Initializes a new instance of the LongTermRetentionBackup class.
Declaration
public LongTermRetentionBackup (string id = null, string name = null, string type = null, string serverName = null, Nullable<DateTime> serverCreateTime = null, string databaseName = null, Nullable<DateTime> databaseDeletionTime = null, Nullable<DateTime> backupTime = null, Nullable<DateTime> backupExpirationTime = null);
Parameters
String
id
Resource ID. |
String
name
Resource name. |
String
type
Resource type. |
String
serverName
The server name that the backup database belong to. |
Nullable<DateTime>
serverCreateTime
The create time of the server. |
String
databaseName
The name of the database the backup belong to |
Nullable<DateTime>
databaseDeletionTime
The delete time of the database |
Nullable<DateTime>
backupTime
The time the backup was taken |
Nullable<DateTime>
backupExpirationTime
The time the long term retention backup will expire. |
Properties
BackupExpirationTime
Gets the time the long term retention backup will expire.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.backupExpirationTime")]
public Nullable<DateTime> BackupExpirationTime { get; }
Property Value
Nullable<DateTime>
|
BackupTime
Gets the time the backup was taken
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.backupTime")]
public Nullable<DateTime> BackupTime { get; }
Property Value
Nullable<DateTime>
|
DatabaseDeletionTime
Gets the delete time of the database
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.databaseDeletionTime")]
public Nullable<DateTime> DatabaseDeletionTime { get; }
Property Value
Nullable<DateTime>
|
DatabaseName
Gets the name of the database the backup belong to
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.databaseName")]
public string DatabaseName { get; }
Property Value
String
|
ServerCreateTime
Gets the create time of the server.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.serverCreateTime")]
public Nullable<DateTime> ServerCreateTime { get; }
Property Value
Nullable<DateTime>
|
ServerName
Gets the server name that the backup database belong to.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.serverName")]
public string ServerName { get; }
Property Value
String
|