Class Snapshot
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public class Snapshot
Properties
The snapshot creation DurationInMilliseconds.
Declaration
[JsonProperty("durationInMilliseconds", Required = Required.Always)]
public long DurationInMilliseconds { get; set; }
Property Value
Declaration
[JsonProperty("endTime", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public DateTime EndTime { get; set; }
Property Value
The snapshot EndTimeInMilliseconds.
Declaration
[JsonProperty("endTimeInMilliseconds", Required = Required.Always)]
public long EndTimeInMilliseconds { get; set; }
Property Value
Declaration
[JsonProperty("entityId", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string EntityId { get; set; }
Property Value
Declaration
[JsonProperty("entityType", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
[JsonConverter(typeof(StringEnumConverter))]
public BackupEntityType EntityType { get; set; }
Property Value
The snapshot elastic search shard failures.
Declaration
[JsonProperty("failures", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ICollection<SnapshotShardFailure> Failures { get; set; }
Property Value
Declaration
[JsonProperty("indices", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ICollection<string> Indices { get; set; }
Property Value
Declaration
[JsonProperty("name", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string Name { get; set; }
Property Value
The repository expiration.
Declaration
[JsonProperty("repositoryExpiry", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public DateTime? RepositoryExpiry { get; set; }
Property Value
Is the repository already archived?
Declaration
[JsonProperty("repositoryIsArchived", Required = Required.Always)]
public bool RepositoryIsArchived { get; set; }
Property Value
Declaration
[JsonProperty("repositoryName", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string RepositoryName { get; set; }
Property Value
The repository start time.
Declaration
[JsonProperty("repositoryStartTime", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public DateTime? RepositoryStartTime { get; set; }
Property Value
Declaration
[JsonProperty("restoreDate", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public DateTime RestoreDate { get; set; }
Property Value
Declaration
[JsonProperty("startTime", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public DateTime? StartTime { get; set; }
Property Value
The snapshot StartTimeInMilliseconds.
Declaration
[JsonProperty("startTimeInMilliseconds", Required = Required.Always)]
public long StartTimeInMilliseconds { get; set; }
Property Value
Declaration
[JsonProperty("state", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string State { get; set; }
Property Value
Methods
Declaration
public static Snapshot FromJson(string data)
Parameters
Returns