你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IoTHubEventSourceCreateOrUpdateParameters Class

Definition

Parameters supplied to the Create or Update Event Source operation for an IoTHub event source.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IoTHubEventSourceCreateOrUpdateParametersTypeConverter))]
public class IoTHubEventSourceCreateOrUpdateParameters : Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IIoTHubEventSourceCreateOrUpdateParameters, Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IoTHubEventSourceCreateOrUpdateParametersTypeConverter))>]
type IoTHubEventSourceCreateOrUpdateParameters = class
    interface IIoTHubEventSourceCreateOrUpdateParameters
    interface IJsonSerializable
    interface IEventSourceCreateOrUpdateParameters
    interface ICreateOrUpdateTrackedResourceProperties
    interface IValidates
Public Class IoTHubEventSourceCreateOrUpdateParameters
Implements IIoTHubEventSourceCreateOrUpdateParameters, IValidates
Inheritance
IoTHubEventSourceCreateOrUpdateParameters
Attributes
Implements

Constructors

IoTHubEventSourceCreateOrUpdateParameters()

Creates an new IoTHubEventSourceCreateOrUpdateParameters instance.

Properties

ConsumerGroupName

The name of the iot hub's consumer group that holds the partitions from which events will be read.

CreationTime

The time the resource was created.

EventSourceResourceId

The resource id of the event source in Azure Resource Manager.

IotHubName

The name of the iot hub.

KeyName

The name of the Shared Access Policy key that grants the Time Series Insights service access to the iot hub. This shared access policy key must grant 'service connect' permissions to the iot hub.

Kind

The kind of the event source.

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.

Location

The location of the resource.

Property

Properties of the IoTHub event source that are required on create or update requests.

ProvisioningState

Provisioning state of the resource.

SharedAccessKey

The value of the Shared Access Policy key that grants the Time Series Insights service read access to the iot hub. This property is not shown in event source responses.

Tag

Key-value pairs of additional properties for the resource.

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 IoTHubEventSourceCreateOrUpdateParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of IoTHubEventSourceCreateOrUpdateParameters.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IIoTHubEventSourceCreateOrUpdateParameters.

FromJsonString(String)

Creates a new instance of IoTHubEventSourceCreateOrUpdateParameters, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of IoTHubEventSourceCreateOrUpdateParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to