v16.4.0
v16.4.0
This commit is contained in:
1 parent
4c05d94552
commit
2c7f0d29df
159 files changed
+2249
-216
No files matched your search
@@ -19,9 +19,12 @@ type InfoStoragePolicyWithID struct {
|
||||
// Status of the storage policy
|
||||
Status string `json:"status"`
|
||||
|
||||
// Max IOPS for the sotrage policy
|
||||
// Max IOPS for the storage policy
|
||||
LimitIOPS uint64 `json:"limit_iops"`
|
||||
|
||||
// ID of the replication profile
|
||||
ReplicationProfileID uint64 `json:"replication_profile_id"`
|
||||
|
||||
// Which accounts and resource groups use the storage policy
|
||||
Usage Usage `json:"usage"`
|
||||
}
|
||||
@@ -53,9 +56,12 @@ type ItemStoragePolicy struct {
|
||||
// Status of the storage policy
|
||||
Status string `json:"status"`
|
||||
|
||||
// Max IOPS for the sotrage policy
|
||||
// Max IOPS for the storage policy
|
||||
LimitIOPS uint64 `json:"limit_iops"`
|
||||
|
||||
// ID of the replication profile
|
||||
ReplicationProfileID uint64 `json:"replication_profile_id"`
|
||||
|
||||
// Storage policy ID
|
||||
StoragePolicyID uint64 `json:"storage_policy_id"`
|
||||
|
||||
@@ -85,6 +91,9 @@ type InfoStoragePolicy struct {
|
||||
// Max IOPS for the storage policy
|
||||
LimitIOPS uint64 `json:"limit_iops"`
|
||||
|
||||
// ID of the replication profile
|
||||
ReplicationProfileID uint64 `json:"replication_profile_id"`
|
||||
|
||||
// Storage policy ID
|
||||
StoragePolicyID uint64 `json:"storage_policy_id"`
|
||||
|
||||
@@ -115,3 +124,72 @@ type Usage struct {
|
||||
// List of resource groups
|
||||
Resgroups []uint64 `json:"resgroups"`
|
||||
}
|
||||
|
||||
type ListReplicationProfiles struct {
|
||||
// List
|
||||
Data []ItemReplicationProfile `json:"data"`
|
||||
|
||||
// Entry Count
|
||||
EntryCount uint64 `json:"entryCount"`
|
||||
}
|
||||
|
||||
type ItemReplicationProfile struct {
|
||||
// ID of the replication profile
|
||||
ID uint64 `json:"id"`
|
||||
|
||||
// GUID
|
||||
GUID uint64 `json:"guid"`
|
||||
|
||||
// Name of the replication profile
|
||||
Name string `json:"name"`
|
||||
|
||||
// Replication types
|
||||
ReplicationType []string `json:"replication_type"`
|
||||
|
||||
// Max copy rate
|
||||
MAXCopyRate uint64 `json:"max_copy_rate"`
|
||||
|
||||
// List of schedules
|
||||
Schedules ListSchedules `json:"schedules"`
|
||||
}
|
||||
|
||||
type InfoReplicationProfile struct {
|
||||
// ID of the replication profile
|
||||
ID uint64 `json:"id"`
|
||||
|
||||
// GUID
|
||||
GUID uint64 `json:"guid"`
|
||||
|
||||
// Name of the replication profile
|
||||
Name string `json:"name"`
|
||||
|
||||
// Replication types
|
||||
ReplicationType []string `json:"replication_type"`
|
||||
|
||||
// Max copy rate
|
||||
MAXCopyRate uint64 `json:"max_copy_rate"`
|
||||
|
||||
// List of schedules
|
||||
Schedules ListSchedules `json:"schedules"`
|
||||
}
|
||||
|
||||
type ListSchedules []Schedule
|
||||
|
||||
type Schedule struct {
|
||||
// Type of the schedule
|
||||
Type string `json:"type"`
|
||||
|
||||
// Name of the schedule
|
||||
Name string `json:"name"`
|
||||
|
||||
// Min interval
|
||||
MINInterval uint64 `json:"min_interval"`
|
||||
|
||||
// Calendar of the schedule
|
||||
Calendar Calendar `json:"calendar"`
|
||||
}
|
||||
|
||||
type Calendar struct {
|
||||
// Weekly schedule
|
||||
Weekly map[string][]string `json:"weekly"`
|
||||
}
|
||||
Reference in new issue
Block a user