/
sync_rule_extended.go
32 lines (24 loc) · 1.05 KB
/
sync_rule_extended.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* Isilon SDK
*
* Isilon SDK - Language bindings for the OneFS API
*
* API version: 5
* Contact: sdk@isilon.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package isi_sdk_8_1_0
type SyncRuleExtended struct {
// User-entered description of this performance rule.
Description string `json:"description"`
// Whether this performance rule is currently in effect during its specified intervals.
Enabled bool `json:"enabled"`
// Amount the specified system resource type is limited by this rule. Units are kb/s for bandwidth, files/s for file-count, processing percentage used for cpu, or percentage of maximum available workers.
Limit int32 `json:"limit"`
// A schedule defining when during a week this performance rule is in effect. If unspecified or null, the schedule will always be in effect.
Schedule *SyncRuleSchedule `json:"schedule,omitempty"`
// The system ID given to this performance rule.
Id string `json:"id"`
// The type of system resource this rule limits.
Type_ string `json:"type"`
}