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

Parameter to
  QueryIoInsightInstances
Extends
  DynamicData
Since
  vSAN API 7.2

## Data Object Description

Describe specifications for ioinsight instance query operation.

Properties

Name | Type | Description
--- | --- | ---
entityRefId* | xsd:string | The 'entityRefId' is a reference id of the target entity, which acts as filter condition for ioinsight instance query. For example, if host entity is provided then the query operation will return all ioinsight instances containing the host. If this attribute is not provided, the query operation will return all ioinsight instances matching state The reference id consists of entity type and ID, which is formated as <entity-type>:<entity-id> Below are the examples:
Entity Type | Entity ID format | EntityRefId Example
--- | --- | ---
Host | Host UUID | 'host:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
VM | VM InstanceUUID | 'vm:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
runName | IOInsight runName | 'runName:xxxxxx'
state* | xsd:string | Indicate the state in which ioinsight instance will be returned. If this attribute is not provided, ioinsight instance state will be skipped during the query operation. See VsanIoInsightInstanceState
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="VsanIoInsightInstanceQuerySpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="state" type="xsd:string" minOccurs="0"/> <element name="entityRefId" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>