github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/qos_base_rate_shaper.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 // A shaper configuration entry that specifies type and metrics 9 type QosBaseRateShaper struct { 10 Enabled bool `json:"enabled"` 11 12 ResourceType string `json:"resource_type,omitempty"` 13 14 // Average bandwidth in Mb/s 15 AverageBandwidthMbps int32 `json:"average_bandwidth_mbps,omitempty"` 16 17 // Average bandwidth in Kb/s for broadcast traffic 18 AverageBandwidthKbps int32 `json:"average_bandwidth_kbps,omitempty"` 19 20 // Burst size in bytes 21 BurstSizeBytes int32 `json:"burst_size_bytes,omitempty"` 22 23 // Average bandwidth in Mb/s 24 PeakBandwidthMbps int32 `json:"peak_bandwidth_mbps,omitempty"` 25 26 // Average bandwidth in Kb/s for broadcast traffic 27 PeakBandwidthKbps int32 `json:"peak_bandwidth_kbps,omitempty"` 28 }