你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IoTHubEventSourceCommonProperties 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.
Properties of the IoTHub event source.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IoTHubEventSourceCommonPropertiesTypeConverter))]
public class IoTHubEventSourceCommonProperties : Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IIoTHubEventSourceCommonProperties, Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IoTHubEventSourceCommonPropertiesTypeConverter))>]
type IoTHubEventSourceCommonProperties = class
interface IIoTHubEventSourceCommonProperties
interface IJsonSerializable
interface IAzureEventSourceProperties
interface IEventSourceCommonProperties
interface IResourceProperties
interface IValidates
Public Class IoTHubEventSourceCommonProperties
Implements IIoTHubEventSourceCommonProperties, IValidates
- Inheritance
-
IoTHubEventSourceCommonProperties
- Attributes
- Implements
Constructors
IoTHubEventSourceCommonProperties() |
Creates an new IoTHubEventSourceCommonProperties 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. |
ProvisioningState |
Provisioning state of 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. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of IoTHubEventSourceCommonProperties. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of IoTHubEventSourceCommonProperties. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IIoTHubEventSourceCommonProperties. |
FromJsonString(String) |
Creates a new instance of IoTHubEventSourceCommonProperties, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of IoTHubEventSourceCommonProperties into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |