Class SnapshotBaseCreateRequest
Inheritance
SnapshotBaseCreateRequest
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public abstract class SnapshotBaseCreateRequest
Properties
Time at which the repository becomes eligible for cleanup
Declaration
[JsonProperty("expires", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public DateTime? Expires { get; set; }
Property Value
The Indices being part of the snapshot.
Declaration
[JsonProperty("indices", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ICollection<string> Indices { get; set; }
Property Value
The snapshot backup reason will be added to the snapshot name.
Declaration
[JsonProperty("reason", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
[JsonConverter(typeof(StringEnumConverter))]
public BackupReason Reason { get; set; }
Property Value
The Repository in which the snapshot will be created.
Declaration
[JsonProperty("repositoryName", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string RepositoryName { get; set; }
Property Value
Snapshot also if the entity is inactive.
Declaration
[JsonProperty("snapshotInactive", Required = Required.Always)]
public bool SnapshotInactive { get; set; }
Property Value
The SnapshotName. Must be unique.
The name usually will be enriched with Reason, ContractVersion and DateTime information.
Declaration
[JsonProperty("snapshotName", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string SnapshotName { get; set; }
Property Value
Timestamp when creating the request (utc). If there is a more recent snapshot in the repository, it will keep/return the latest one,
instead of creating a new one.
Declaration
[JsonProperty("timestamp", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public DateTime Timestamp { get; set; }
Property Value
Methods
Declaration
public static SnapshotBaseCreateRequest FromJson(string data)
Parameters
Returns