github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/upgrade/upgrade_unit_aggregate_info.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 upgrade
     7  
     8  import (
     9  	"github.com/vmware/go-vmware-nsxt/common"
    10  )
    11  
    12  type UpgradeUnitAggregateInfo struct {
    13  
    14  	// The server will populate this field when returing the resource. Ignored on PUT and POST.
    15  	Links []common.ResourceLink `json:"_links,omitempty"`
    16  
    17  	Schema string `json:"_schema,omitempty"`
    18  
    19  	Self *common.SelfResourceLink `json:"_self,omitempty"`
    20  
    21  	// This is component version e.g. if upgrade unit is of type edge, then this is edge version.
    22  	CurrentVersion string `json:"current_version,omitempty"`
    23  
    24  	// Name of the upgrade unit
    25  	DisplayName string `json:"display_name,omitempty"`
    26  
    27  	// List of errors occurred during upgrade of this upgrade unit
    28  	Errors []string `json:"errors,omitempty"`
    29  
    30  	// Info of the group to which this upgrade unit belongs
    31  	Group *UpgradeUnitGroupInfo `json:"group,omitempty"`
    32  
    33  	// Identifier of the upgrade unit
    34  	Id string `json:"id,omitempty"`
    35  
    36  	// Metadata about upgrade unit
    37  	Metadata []common.KeyValuePair `json:"metadata,omitempty"`
    38  
    39  	// Indicator of upgrade progress in percentage
    40  	PercentComplete float32 `json:"percent_complete,omitempty"`
    41  
    42  	// Status of upgrade unit
    43  	Status string `json:"status,omitempty"`
    44  
    45  	// Upgrade unit type
    46  	Type_ string `json:"type,omitempty"`
    47  
    48  	// List of warnings indicating issues with the upgrade unit that may result in upgrade failure
    49  	Warnings []string `json:"warnings,omitempty"`
    50  }