github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/administration/cluster_restore_status.go (about)

     1  /* Copyright © 2017 VMware, Inc. All Rights Reserved.
     2     SPDX-License-Identifier: BSD-2-Clause
     3  
     4     Generated by: https://github.com/swagger-api/swagger-codegen.git */
     5  
     6  package administration
     7  
     8  import (
     9  	"github.com/vmware/go-vmware-nsxt/common"
    10  )
    11  
    12  type ClusterRestoreStatus struct {
    13  
    14  	// Timestamp when backup was initiated in epoch millisecond
    15  	BackupTimestamp int64 `json:"backup_timestamp,omitempty"`
    16  
    17  	// The list of allowed endpoints, based on the current state of the restore process
    18  	Endpoints []common.ResourceLink `json:"endpoints,omitempty"`
    19  
    20  	// Unique id for backup request
    21  	Id string `json:"id,omitempty"`
    22  
    23  	// Instructions for users to reconcile Restore operations
    24  	Instructions []InstructionInfo `json:"instructions,omitempty"`
    25  
    26  	// Timestamp when restore was completed in epoch millisecond
    27  	RestoreEndTime int64 `json:"restore_end_time,omitempty"`
    28  
    29  	// Timestamp when restore was started in epoch millisecond
    30  	RestoreStartTime int64 `json:"restore_start_time,omitempty"`
    31  
    32  	Status *GlobalRestoreStatus `json:"status,omitempty"`
    33  
    34  	Step *RestoreStep `json:"step,omitempty"`
    35  
    36  	// Total number of steps in the entire restore process
    37  	TotalSteps int64 `json:"total_steps,omitempty"`
    38  }