Documentation
¶
Overview ¶
Module storage.v4.common of Nutanix Storage Versioned APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperationType ¶
type OperationType int
const ( OPERATIONTYPE_UNKNOWN OperationType = 0 OPERATIONTYPE_REDACTED OperationType = 1 OPERATIONTYPE_ADD OperationType = 2 OPERATIONTYPE_REMOVE OperationType = 3 OPERATIONTYPE_UPGRADE OperationType = 4 OPERATIONTYPE_REGISTER OperationType = 5 OPERATIONTYPE_START OperationType = 6 OPERATIONTYPE_STOP OperationType = 7 OPERATIONTYPE_DESTROY OperationType = 8 OPERATIONTYPE_DOWNLOAD OperationType = 9 OPERATIONTYPE_CONFIGURE OperationType = 10 OPERATIONTYPE_MIGRATE OperationType = 11 OPERATIONTYPE_ACTIVATE OperationType = 12 OPERATIONTYPE_DEACTIVATE OperationType = 13 OPERATIONTYPE_RESTORE OperationType = 14 OPERATIONTYPE_REPLICATE OperationType = 15 )
func (*OperationType) MarshalJSON ¶
func (e *OperationType) MarshalJSON() ([]byte, error)
func (OperationType) Ref ¶
func (e OperationType) Ref() *OperationType
func (*OperationType) UnmarshalJSON ¶
func (e *OperationType) UnmarshalJSON(b []byte) error
type ProgressStatus ¶
type ProgressStatus int
const ( PROGRESSSTATUS_UNKNOWN ProgressStatus = 0 PROGRESSSTATUS_REDACTED ProgressStatus = 1 PROGRESSSTATUS_QUEUED ProgressStatus = 2 PROGRESSSTATUS_RUNNING ProgressStatus = 3 PROGRESSSTATUS_SUCCEEDED ProgressStatus = 4 PROGRESSSTATUS_ABORTED ProgressStatus = 5 PROGRESSSTATUS_SUSPENDED ProgressStatus = 6 PROGRESSSTATUS_FAILED ProgressStatus = 7 )
func (*ProgressStatus) MarshalJSON ¶
func (e *ProgressStatus) MarshalJSON() ([]byte, error)
func (ProgressStatus) Ref ¶
func (e ProgressStatus) Ref() *ProgressStatus
func (*ProgressStatus) UnmarshalJSON ¶
func (e *ProgressStatus) UnmarshalJSON(b []byte) error
type Task ¶
type Task struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/**
The date-time string (RFC 3339) when the task was completed.
*/
CompletedTime *time.Time `json:"completedTime,omitempty"`
/**
The date-time string (RFC 3339) when the task was created.
*/
CreatedTime *time.Time `json:"createdTime,omitempty"`
/**
A string consisting of the description of the category as defined by the user.
The server does not validate this value nor does it enforce the uniqueness or any other constraints.<br>
It is the responsibility of the user to ensure that any semantic or syntactic constraints are retained when mutating
this field.
*/
Description *string `json:"description,omitempty"`
/**
The short name of this task. It may not be unique for each task.<br>
This field is immutable.
*/
DisplayName *string `json:"displayName,omitempty"`
/**
The extId referencing this task
This field is immutable.
*/
ExtId *string `json:"extId,omitempty"`
/**
The date-time string (RFC 3339) when the task was last updated.
*/
LastUpdatedTime *time.Time `json:"lastUpdatedTime,omitempty"`
OperationType *OperationType `json:"operationType,omitempty"`
/**
The extId referencing the parent task of this task (may be null if this task is a root task).<br>
Each task can have at most one parent.<br>
This field is immutable.
*/
ParentTaskExtId *string `json:"parentTaskExtId,omitempty"`
/**
This will be a float value indicating the percentage completion of the task
*/
PercentageComplete *float32 `json:"percentageComplete,omitempty"`
ProgressStatus *ProgressStatus `json:"progressStatus,omitempty"`
/**
The date-time string (RFC 3339) when the task was started.
*/
StartedTime *time.Time `json:"startedTime,omitempty"`
/**
The list of extIds referencing the sub-tasks of this task (may be empty if there are no sub-tasks).<br>
This field is immutable.
*/
SubtaskExtIds []string `json:"subtaskExtIds,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.