Custom Properties Not Showing up on Objects in Aria Operations 8.10.x and above
search cancel

Custom Properties Not Showing up on Objects in Aria Operations 8.10.x and above

book

Article ID: 369771

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Setting properties in Aria Operations with timestamps in seconds will result in "200" response and the appearance that API was successful, however Properties will not show up on objects. 

Environment

vRealize Operations 8.10, Aria Operations 8.12 and Above

Cause

Aria Operations requires timestamps to be in milliseconds since 8.10.  Validation cannot be set as it would cause backward compatibility of the API to fail.

Resolution

Convert timestamps in API code to milliseconds by multiplying by 1000

Example:

$contentprop.timestamps = [double]::Parse((Get-Date -UFormat %s))

becomes:

$contentprop.timestamps = [double]::Parse((Get-Date -UFormat %s))*1000