Class AssetStatus
java.lang.Object
com.azure.resourcemanager.deviceregistry.models.AssetStatus
Defines the asset status properties.
-
Method Summary
Modifier and TypeMethodDescriptionerrors()
Get the errors property: Array object to transfer and persist errors that originate from the Edge.void
validate()
Validates the instance.version()
Get the version property: A read only incremental counter indicating the number of times the configuration has been modified from the perspective of the current actual (Edge) state of the Asset.
-
Method Details
-
errors
Get the errors property: Array object to transfer and persist errors that originate from the Edge.- Returns:
- the errors value.
-
version
Get the version property: A read only incremental counter indicating the number of times the configuration has been modified from the perspective of the current actual (Edge) state of the Asset. Edge would be the only writer of this value and would sync back up to the cloud. In steady state, this should equal version.- Returns:
- the version value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-