github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/discovered_node.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 manager
     7  
     8  import (
     9  	"github.com/vmware/go-vmware-nsxt/common"
    10  )
    11  
    12  type DiscoveredNode 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  	// Timestamp of last modification
    22  	LastSyncTime int64 `json:"_last_sync_time,omitempty"`
    23  
    24  	// Description of this resource
    25  	Description string `json:"description,omitempty"`
    26  
    27  	// Display name of discovered node
    28  	DisplayName string `json:"display_name,omitempty"`
    29  
    30  	// The type of this resource.
    31  	ResourceType string `json:"resource_type,omitempty"`
    32  
    33  	// Opaque identifiers meaningful to the API user
    34  	Tags []common.Tag `json:"tags,omitempty"`
    35  
    36  	// Certificate of the discovered node
    37  	Certificate string `json:"certificate,omitempty"`
    38  
    39  	// Local Id of the discovered node in the Compute Manager
    40  	CmLocalId string `json:"cm_local_id,omitempty"`
    41  
    42  	// External id of the discovered node, ex. a mo-ref from VC
    43  	ExternalId string `json:"external_id,omitempty"`
    44  
    45  	// IP Addresses of the the discovered node.
    46  	IpAddresses []string `json:"ip_addresses,omitempty"`
    47  
    48  	// Discovered Node type like Host
    49  	NodeType string `json:"node_type,omitempty"`
    50  
    51  	// Id of the compute manager from where this node was discovered
    52  	OriginId string `json:"origin_id,omitempty"`
    53  
    54  	// Key-Value map of additional specific properties of discovered node in the Compute Manager
    55  	OriginProperties []common.KeyValuePair `json:"origin_properties,omitempty"`
    56  
    57  	// OS type of the discovered node
    58  	OsType string `json:"os_type,omitempty"`
    59  
    60  	// OS version of the discovered node
    61  	OsVersion string `json:"os_version,omitempty"`
    62  
    63  	// External id of the compute collection to which this node belongs
    64  	ParentComputeCollection string `json:"parent_compute_collection,omitempty"`
    65  }