# Data Object - KeyValue(vim.KeyValue)

Property of
  BaseConfigInfo, CnsEntityMetadata, CnsQueryFilter, CnsVsanFileShareBackingDetails, DatastoreVVolContainerFailoverPair, ExtendedFault, ExtensionResourceInfo, GatewayToHostTrustVerifyFault, GuestStackInfo, HostGatewaySpec, HostProxySwitch, HostProxySwitchHostLagConfig, HostSnmpConfigSpec, HttpNfcLeaseSourceFile, LicenseManagerLicenseInfo, NetDhcpConfigInfoDhcpOptions, NetDhcpConfigSpecDhcpOptionsSpec, OvfConsumerFault, OvfCreateImportSpecParams, OvfManagerCommonParams, OvfParseDescriptorResult, VAppCloneSpec, VirtualMachineDefinedProfileSpec, VirtualMachineIndependentFilterSpec, VsanClusterHealthAction, VsanFileShareConfig, VsanFileShareRuntimeInfo, VsanHclCommonDeviceInfo, VsanHclControllerInfo, VsanObjectIdentity, VsanObjectInformation, VslmCloneSpec, VslmCreateSpec, VVolVmConfigFileUpdateResult
Parameter to
  AddLicense, HostUpdateVStorageObjectMetadata_Task, HostUpdateVStorageObjectMetadataEx_Task, HttpNfcLeaseSetManifestChecksumType, UpdateLicense, VCenterUpdateVStorageObjectMetadataEx_Task
Returned by
  HostRetrieveVStorageObjectMetadata
Extends
  DynamicData
Since
  VI API 2.5

## Data Object Description

Non-localized key/value pair

Properties

Name | Type | Description
--- | --- | ---
key | xsd:string | Key.
value | xsd:string | Value.
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="KeyValue"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="key" type="xsd:string"/> <element name="value" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>