github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/firewall_stats.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 FirewallStats 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  	// Aggregated number of bytes processed by the rule.
    22  	ByteCount int64 `json:"byte_count,omitempty"`
    23  
    24  	// Aggregated number of packets processed by the rule.
    25  	PacketCount int64 `json:"packet_count,omitempty"`
    26  
    27  	// Rule Identifier of the Firewall rule. This is a globally unique number.
    28  	RuleId string `json:"rule_id,omitempty"`
    29  
    30  	// Aggregated number of sessions processed by the rule
    31  	SessionCount int64 `json:"session_count,omitempty"`
    32  }