github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/administration/node_syslog_exporter_properties.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 NodeSyslogExporterProperties 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  	// Syslog exporter name
    22  	ExporterName string `json:"exporter_name"`
    23  
    24  	// Facilities to export
    25  	Facilities []string `json:"facilities,omitempty"`
    26  
    27  	// Logging level to export
    28  	Level string `json:"level"`
    29  
    30  	// MSGIDs to export
    31  	Msgids []string `json:"msgids,omitempty"`
    32  
    33  	// Port to export to
    34  	Port int64 `json:"port,omitempty"`
    35  
    36  	// Export protocol
    37  	Protocol string `json:"protocol"`
    38  
    39  	// IP address or hostname of server to export to
    40  	Server string `json:"server"`
    41  
    42  	// Structured data to export
    43  	StructuredData []string `json:"structured_data,omitempty"`
    44  
    45  	// CA certificate PEM of TLS server to export to
    46  	TlsCaPem string `json:"tls_ca_pem,omitempty"`
    47  }