Class DataQuotas
Provides the storage quotas for the data stored in the database.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Data
Assembly: Nevatech.Vsb.Repository.dll
Syntax
[DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
public sealed class DataQuotas : IValidator
Constructors
DataQuotas()
Initializes new instance with default values.
Declaration
public DataQuotas()
Properties
ActivitiesDays
Gets or sets the number of days to keep system activity history.
Declaration
[DataMember(Name = "activitiesDays")]
public int ActivitiesDays { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
AlertsDays
Gets or sets the number of days to keep alert history.
Declaration
[DataMember(Name = "alertsDays", EmitDefaultValue = false)]
public int AlertsDays { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ChangesMonths
Gets or sets the number of months to keep change auditing history.
Declaration
[DataMember(Name = "changesMonths", EmitDefaultValue = false)]
public int ChangesMonths { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
DaysBasedMetricsYears
Gets or sets the number of years to keep Service Agreement readings and violations defined with the days-based time interval.
Declaration
[DataMember(Name = "daysBasedMetricsYears")]
public int DaysBasedMetricsYears { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ErrorMessage
Gets validation error messages.
Declaration
public string ErrorMessage { get; }
Property Value
| Type | Description |
|---|---|
| string |
HoursBasedMetricsMonths
Gets or sets the number of months to keep Service Agreement readings and violations defined with the hours-based time interval.
Declaration
[DataMember(Name = "hoursBasedMetricsMonths")]
public int HoursBasedMetricsMonths { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
MinutesBasedMetricsDays
Gets or sets the number of days to keep Service Agreement readings and violations defined with the minutes-based time interval.
Declaration
[DataMember(Name = "minutesBasedMetricsDays")]
public int MinutesBasedMetricsDays { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
RecordsDays
Gets or sets the number of days to keep recorded messages.
Declaration
[DataMember(Name = "recordsDays")]
public int RecordsDays { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
SecondsBasedMetricsDays
Gets or sets the number of days to keep Service Agreement readings and violations defined with the seconds-based time interval.
Declaration
[DataMember(Name = "secondsBasedMetricsDays")]
public int SecondsBasedMetricsDays { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
TransactionsDays
Gets or sets the number of days to keep monitoring transaction history.
Declaration
[DataMember(Name = "transactionsDays")]
public int TransactionsDays { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Validate()
Validates the instance and returns True, if it is correctly populated, or False, if it is not.
Declaration
public bool Validate()
Returns
| Type | Description |
|---|---|
| bool | True, if instance state is valid, False, otherwise. |