[comment]: # translation:outdated

[comment]: # ({c9539601-c9539601})
# > Karbantartási objektum

A következő objektumok közvetlenül kapcsolódnak a "karbantartás" API-hoz.

[comment]: # ({/c9539601-c9539601})

[comment]: # ({41395208-6c1a70bc})
### Maintenance

A karbantartási objektum a következő tulajdonságokkal rendelkezik.

|Property|[Type](/manual/api/reference_commentary#data_types)|Description|
|--|--|------|
|maintenanceid|string|*(readonly)* ID of the maintenance.|
|**name**<br>(required)|string|Name of the maintenance.|
|**active\_since**<br>(required)|timestamp|Time when the maintenance becomes active.<br><br>The given value will be rounded down to minutes.|
|**active\_till**<br>(required)|timestamp|Time when the maintenance stops being active.<br><br>The given value will be rounded down to minutes.|
|description|string|Description of the maintenance.|
|maintenance\_type|integer|Type of maintenance.<br><br>Possible values:<br>0 - *(default)* with data collection;<br>1 - without data collection.|
|tags\_evaltype|integer|Problem tag evaluation method.<br><br>Possible values:<br>0 - *(default)* And/Or;<br>2 - Or.|

Vegye figyelembe, hogy egyes módszereknél (frissítés, törlés) a kötelező/választható paraméterkombináció eltérő.

[comment]: # ({/41395208-6c1a70bc})

[comment]: # ({new-506f52aa})
### Time period

The time period object is used to define periods when the maintenance
must come into effect. It has the following properties.

|Property|[Type](/manual/api/reference_commentary#data_types)|Description|
|--|--|------|
|period|integer|Duration of the maintenance period in seconds.<br><br>The given value will be rounded down to minutes.<br><br>Default: 3600.|
|timeperiod\_type|integer|Type of time period.<br><br>Possible values:<br>0 - *(default)* one time only;<br>2 - daily;<br>3 - weekly;<br>4 - monthly.|
|start\_date|timestamp|Date when the maintenance period must come into effect.<br><br>Used only for one time periods.<br><br>The given value will be rounded down to minutes.<br><br>Default: current date.|
|start\_time|integer|Time of day when the maintenance starts in seconds.<br><br>Used for daily, weekly and monthly periods.<br><br>The given value will be rounded down to minutes.<br><br>Default: 0.|
|every|integer|Used for daily, weekly and monthly periods.<br><br>For daily and weekly periods `every` defines day or week intervals at which the maintenance must come into effect.<br><br>Default: 1.<br><br>For monthly periods, if `dayofweek` property contains at least one selected day of week, the `every` property defines the week of the month when the maintenance must come into effect.<br><br>Possible values:<br>1 - *(default)* first week;<br>2 - second week;<br>3 - third week;<br>4 - fourth week;<br>5 - last week.|
|dayofweek|integer|Days of the week when the maintenance must come into effect.<br><br>Days are stored in binary form with each bit representing the corresponding day. For example, 4 equals 100 in binary and means, that maintenance will be enabled on Wednesday.<br><br>Used for weekly and monthly time periods. Required only for weekly time periods.<br><br>At least one `dayofweek` or `day` must be specified for monthly time periods.|
|day|integer|Day of the month when the maintenance must come into effect.<br><br>Used only for monthly time periods.<br><br>At least one `dayofweek` or `day` must be specified for monthly time periods.|
|month|integer|Months when the maintenance must come into effect.<br><br>Months are stored in binary form with each bit representing the corresponding month. For example, 5 equals 101 in binary and means, that maintenance will be enabled in January and March.<br><br>Required only for monthly time periods.|


[comment]: # ({/new-506f52aa})

[comment]: # ({9b9022ef-2913a3ae})
### Problem tag

A problémacímke objektum annak meghatározására szolgál, hogy mely problémáknak kell lenniük
a karbantartás életbe lépésekor elnyomják. A következővel rendelkezik
tulajdonságait.

|Property|[Type](/manual/api/reference_commentary#data_types)|Description|
|--|--|------|
|**tag**<br>(required)|string|Problem tag name.|
|operator|integer|Condition operator.<br><br>Possible values:<br>0 - Equals;<br>2 - *(default)* Contains.|
|value|string|Problem tag value.|

Címkék csak adatgyűjtéssel (`"maintenance_type":0`) adható meg karbantartási időszakokhoz.

[comment]: # ({/9b9022ef-2913a3ae})
