LocalTimestamp Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.LocalTimestampTypeConverter))]
public class LocalTimestamp : Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.ILocalTimestamp
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.LocalTimestampTypeConverter))>]
type LocalTimestamp = class
interface ILocalTimestamp
interface IJsonSerializable
Public Class LocalTimestamp
Implements ILocalTimestamp
- Inheritance
-
LocalTimestamp
- Attributes
- Implements
Constructors
LocalTimestamp() |
Creates an new LocalTimestamp instance. |
Properties
Format |
An enum that represents the format of the local timestamp property that needs to be set. |
TimeZoneOffsetPropertyName |
The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00) |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of LocalTimestamp. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of LocalTimestamp. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.ILocalTimestamp. |
FromJsonString(String) |
Creates a new instance of LocalTimestamp, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of LocalTimestamp into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |