# Data Object - VsanDiagnosticsThreshold(vim.cluster.VsanDiagnosticsThreshold)

Parameter to
  VsanSetThresholds
Returned by
  VsanGetThresholds
Extends
  DynamicData
Since
  vSAN API vSAN 7.0U2

## Data Object Description

Define the threshold value for the alarms raised by VsanDiagnosticsSystem.

Properties

Name | Type | Description
--- | --- | ---
entityType | xsd:string | The "entityType" is used to identify the target entity to get/set the threshold value. Current supported entity types and metrics:
Entity Type | Metrics
--- | ---
'vsan-pnic-net' | 'rxCrcErr', 'txCarErr'
'vsan-vnic-net' | 'tcpTxRexmitRate'
metric | xsd:string | The "metric" is used to identify the stats of an entity, e.g.: rxCrcErr (CRC error of physical NIC), txCarErr (Carrier error of physical NIC). Current supported metrics: See entityType
red* | xsd:int | The red value of threshold indicates severe warnings. The unit is permille.
yellow* | xsd:int | The yellow value of threshold indicates light severe warnings. The unit is permille.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VsanDiagnosticsThreshold"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="entityType" type="xsd:string"/> <element name="metric" type="xsd:string"/> <element name="yellow" type="xsd:int" minOccurs="0"/> <element name="red" type="xsd:int" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>