v1.16.0
This commit is contained in:
@@ -78,35 +78,47 @@ func (s *StatusCode) UnmarshalJSON(b []byte) error {
|
||||
|
||||
type BriefResources struct {
|
||||
Accounts Accounts `json:"Accounts,omitempty"`
|
||||
CSs CSs `json:"CSs,omitempty"`
|
||||
Computes Computes `json:"Computes,omitempty"`
|
||||
RGs RGs `json:"RGs,omitempty"`
|
||||
VMs VMs `json:"VMs,omitempty"`
|
||||
}
|
||||
|
||||
type Accounts struct {
|
||||
Disabled uint64 `json:"DISABLED,omitempty"`
|
||||
Enabled uint64 `json:"ENABLED,omitempty"`
|
||||
}
|
||||
|
||||
type CSs struct {
|
||||
Disabled uint64 `json:"DISABLED,omitempty"`
|
||||
Enabled uint64 `json:"ENABLED,omitempty"`
|
||||
Destroying uint64 `json:"DESTROYING,omitempty"`
|
||||
Confirmed uint64 `json:"CONFIRMED,omitempty"`
|
||||
Disabled uint64 `json:"DISABLED,omitempty"`
|
||||
Deleted uint64 `json:"DELETED,omitempty"`
|
||||
}
|
||||
|
||||
type Computes struct {
|
||||
Started uint64 `json:"Started,omitempty"`
|
||||
Stopped uint64 `json:"Stopped,omitempty"`
|
||||
Starting uint64 `json:"STARTING,omitempty"`
|
||||
Started uint64 `json:"STARTED,omitempty"`
|
||||
Stopping uint64 `json:"STOPPING,omitempty"`
|
||||
Stopped uint64 `json:"STOPPED,omitempty"`
|
||||
Paused uint64 `json:"PAUSED,omitempty"`
|
||||
Pausing uint64 `json:"PAUSING,omitempty"`
|
||||
Merge uint64 `json:"MERGE,omitempty"`
|
||||
Migrating uint64 `json:"MIGRATING,omitempty"`
|
||||
MigratingIn uint64 `json:"MIGRATING_IN,omitempty"`
|
||||
MigratingOut uint64 `json:"MIGRATING_OUT,omitempty"`
|
||||
Down uint64 `json:"DOWN,omitempty"`
|
||||
Scheduled uint64 `json:"SCHEDULED,omitempty"`
|
||||
BackupStopped uint64 `json:"BACKUP_STOPPED,omitempty"`
|
||||
BackupRunning uint64 `json:"BACKUP_RUNNING,omitempty"`
|
||||
SnapСreate uint64 `json:"SNAPCREATE,omitempty"`
|
||||
Cloning uint64 `json:"CLONING,omitempty"`
|
||||
Rollback uint64 `json:"ROLLBACK,omitempty"`
|
||||
}
|
||||
|
||||
type RGs struct {
|
||||
Disabled uint64 `json:"DISABLED,omitempty"`
|
||||
Enabled uint64 `json:"ENABLED,omitempty"`
|
||||
}
|
||||
|
||||
type VMs struct {
|
||||
Halted uint64 `json:"Halted,omitempty"`
|
||||
Running uint64 `json:"Running,omitempty"`
|
||||
Modeled uint64 `json:"MODELED,omitempty"`
|
||||
Created uint64 `json:"CREATED,omitempty"`
|
||||
Deleted uint64 `json:"DELETED,omitempty"`
|
||||
Deleting uint64 `json:"DELETING,omitempty"`
|
||||
Destroying uint64 `json:"DESTROYING,omitempty"`
|
||||
Disabled uint64 `json:"DISABLED,omitempty"`
|
||||
Disabling uint64 `json:"DISABLING,omitempty"`
|
||||
Enabling uint64 `json:"ENABLING,omitempty"`
|
||||
Restoring uint64 `json:"RESTORING,omitempty"`
|
||||
}
|
||||
|
||||
type APIsEndpoints struct {
|
||||
|
||||
Reference in New Issue
Block a user