-
Notifications
You must be signed in to change notification settings - Fork 70
/
upgrade_ops_entry.go
34 lines (24 loc) · 2.39 KB
/
upgrade_ops_entry.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright 2021 VMware, Inc.
// SPDX-License-Identifier: Apache License 2.0
package models
// This file is auto-generated.
// UpgradeOpsEntry upgrade ops entry
// swagger:model UpgradeOpsEntry
type UpgradeOpsEntry struct {
// Name of the system such as cluster name, se group name and se name. Field introduced in 18.2.6. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Name *string `json:"name,omitempty"`
// Describes the system controller or se-group or se. Enum options - NODE_CONTROLLER_CLUSTER, NODE_SE_GROUP, NODE_SE_TYPE. Field introduced in 18.2.6. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
NodeType *string `json:"node_type,omitempty"`
// Cloud that this object belongs to. It is a reference to an object of type Cloud. Field introduced in 18.2.6. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
ObjCloudRef *string `json:"obj_cloud_ref,omitempty"`
// Parameters associated with the upgrade ops request. Field introduced in 18.2.6. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Params *UpgradeOpsParam `json:"params,omitempty"`
// Tenant that this object belongs to. It is a reference to an object of type Tenant. Field introduced in 18.2.6. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
TenantRef *string `json:"tenant_ref,omitempty"`
// Current Upgrade Status info for this node. Field introduced in 18.2.6. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
UpgradeInfo *UpgradeStatusInfo `json:"upgrade_info,omitempty"`
// Identifies the upgrade operations. Enum options - UPGRADE, PATCH, ROLLBACK, ROLLBACKPATCH, SEGROUP_RESUME, EVAL_UPGRADE, EVAL_PATCH, EVAL_ROLLBACK, EVAL_ROLLBACKPATCH, EVAL_SEGROUP_RESUME, EVAL_RESTORE, RESTORE. Field introduced in 18.2.6. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
UpgradeOps *string `json:"upgrade_ops,omitempty"`
// Uuid identifier for the system such as cluster, se group and se. Field introduced in 18.2.6. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
UUID *string `json:"uuid,omitempty"`
}