你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IoTHubEventSourceMutableProperties 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 a set of mutable IoTHub event source resource properties.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IoTHubEventSourceMutablePropertiesTypeConverter))]
public class IoTHubEventSourceMutableProperties : Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IIoTHubEventSourceMutableProperties, Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IoTHubEventSourceMutablePropertiesTypeConverter))>]
type IoTHubEventSourceMutableProperties = class
interface IIoTHubEventSourceMutableProperties
interface IJsonSerializable
interface IEventSourceMutableProperties
interface IValidates
Public Class IoTHubEventSourceMutableProperties
Implements IIoTHubEventSourceMutableProperties, IValidates
- Inheritance
-
IoTHubEventSourceMutableProperties
- Attributes
- Implements
Constructors
IoTHubEventSourceMutableProperties() |
Creates an new IoTHubEventSourceMutableProperties instance. |
Properties
LocalTimestamp |
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. |
LocalTimestampFormat |
An enum that represents the format of the local timestamp property that needs to be set. |
LocalTimestampTimeZoneOffset |
An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded. |
SharedAccessKey |
The value of the shared access key that grants the Time Series Insights service read access to the iot hub. This property is not shown in event source responses. |
TimestampPropertyName |
The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used. |
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 IoTHubEventSourceMutableProperties. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of IoTHubEventSourceMutableProperties. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IIoTHubEventSourceMutableProperties. |
FromJsonString(String) |
Creates a new instance of IoTHubEventSourceMutableProperties, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of IoTHubEventSourceMutableProperties into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |