github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/dne_key_policy_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 DneKeyPolicyStats 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  	// The number of bytes decrypted by the key policy. If key policy action is integrity only, it indicates the number of bytes which passed integrity check.
    22  	BytesDecrypted int64 `json:"bytes_decrypted,omitempty"`
    23  
    24  	// The number of bytes dropped for the key policy.
    25  	BytesDropped int64 `json:"bytes_dropped,omitempty"`
    26  
    27  	// The number of bytes encrypted by the key policy. If key policy action is integrity only, it indicates the number of bytes with the addition of integrity check.
    28  	BytesEncrypted int64 `json:"bytes_encrypted,omitempty"`
    29  
    30  	// Key policy identifier of the DNE key policy. This is a globally unique number.
    31  	KeyPolicyIdentifier string `json:"key_policy_identifier,omitempty"`
    32  
    33  	// The number of packets decrypted by the key policy. If key policy action is integrity only, it indicates the number of packets which passed integrity check.
    34  	PacketsDecrypted int64 `json:"packets_decrypted,omitempty"`
    35  
    36  	// The number of dropped packets for the key policy.
    37  	PacketsDropped int64 `json:"packets_dropped,omitempty"`
    38  
    39  	// The number of packets encrypted by the key policy. If key policy action is integrity only, it indicates the number of packets with the addition of integrity check.
    40  	PacketsEncrypted int64 `json:"packets_encrypted,omitempty"`
    41  }