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

     1  /*
     2   * NSX-T Manager API
     3   *
     4   * VMware NSX-T Manager REST API
     5   *
     6   * API version: 3.0.0.0.0
     7   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     8   */
     9  
    10  package containerinventory
    11  
    12  import (
    13  	"github.com/vmware/go-vmware-nsxt/common"
    14  )
    15  
    16  // Details of container cluster node i.e. container host.
    17  type ContainerClusterNode struct {
    18  	// The server will populate this field when returing the resource. Ignored on PUT and POST.
    19  	Links []common.ResourceLink `json:"_links,omitempty"`
    20  	// Schema for this resource
    21  	Schema string `json:"_schema,omitempty"`
    22  	// Link to this resource
    23  	Self *common.SelfResourceLink `json:"_self,omitempty"`
    24  	// Timestamp of last modification
    25  	LastSyncTime int64 `json:"_last_sync_time,omitempty"`
    26  	// Description of this resource
    27  	Description string `json:"description,omitempty"`
    28  	// Defaults to ID if not set
    29  	DisplayName string `json:"display_name,omitempty"`
    30  	// The type of this resource.
    31  	ResourceType string `json:"resource_type"`
    32  	// Opaque identifiers meaningful to the API user
    33  	Tags []common.Tag `json:"tags,omitempty"`
    34  	// Specifies Container Network Interface agent status of container cluster node.
    35  	CniAgentStatus string `json:"cni_agent_status,omitempty"`
    36  	// External identifier of the container cluster.
    37  	ContainerClusterId string `json:"container_cluster_id,omitempty"`
    38  	// External identifier of the container cluster node in K8S/PAS. 
    39  	ExternalId string `json:"external_id"`
    40  	// List of IP addresses of container cluster node.
    41  	IpAddresses []string `json:"ip_addresses,omitempty"`
    42  	// List of network errors related to container cluster node.
    43  	NetworkErrors []common.NetworkError `json:"network_errors,omitempty"`
    44  	// Network status of container cluster node.
    45  	NetworkStatus string `json:"network_status,omitempty"`
    46  	// Array of additional specific properties of container cluster node in key-value format. 
    47  	OriginProperties []common.KeyValuePair `json:"origin_properties,omitempty"`
    48  	// Specifies identifier of container cluster node given by infrastructure provider of container cluster. e.g. in case of vSpehere, it will be instance uuid of worker node virtual machine.
    49  	ProviderId string `json:"provider_id,omitempty"`
    50  }