-
Notifications
You must be signed in to change notification settings - Fork 3
/
entities.go
72 lines (66 loc) · 1.76 KB
/
entities.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package backup
type AccountPolicy struct {
ClcAccountAlias string
BackupIntervalHours int64
ExcludedDirectoryPaths []string
Name string
OsType string
Paths []string
PolicyId string
RetentionDays int64
Status string
}
type Region struct {
Messages []string
Name string
RegionLabel string
}
type ServerPolicyDetails struct {
AccountPolicyId string
AccountPolicyStatus string
BackupIntervalHours int64
BackupProvider string
ClcAccountAlias string
EligibleForBackup bool
Name string
OsType string
Paths []string
RetentionDays int64
ServerId string
ServerPolicyId string
ServerPolicyStatus string
StorageRegion string
}
type ServerPolicy struct {
AccountPolicyId string
ClcAccountAlias string
ExpirationDate int64
ServerId string
ServerPolicyId string
Status string
StorageAccountId string
StorageRegion string
UnsubscribedDate int64
}
type StoredData struct {
BytesStored string
GigabytesStored string
}
type RestoreDetails struct {
BackupFinishedDate string
BackupStartedDate string
BytesFailedToTransfer int64
BytesInStorageForItemsRemoved int64
BytesTransferredToStorage int64
FilesFailedTransferToStorage int64
FilesRemovedFromDisk int64
FilesTransferredToStorage int64
NumberOfProtectedFiles int64
PolicyId string
RestorePointCreationStatus string
RestorePointId string
RetentionDays int64
RetentionExpiredDate string
UnchangedBytesInStorage int64
UnchangedFilesNotTransferred int64
}