你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
EventHubEventSourceCommonProperties 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 EventHub event source.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.EventHubEventSourceCommonPropertiesTypeConverter))]
public class EventHubEventSourceCommonProperties : Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IEventHubEventSourceCommonProperties, Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.EventHubEventSourceCommonPropertiesTypeConverter))>]
type EventHubEventSourceCommonProperties = class
interface IEventHubEventSourceCommonProperties
interface IJsonSerializable
interface IAzureEventSourceProperties
interface IEventSourceCommonProperties
interface IResourceProperties
interface IValidates
Public Class EventHubEventSourceCommonProperties
Implements IEventHubEventSourceCommonProperties, IValidates
- Inheritance
-
EventHubEventSourceCommonProperties
- Attributes
- Implements
Constructors
EventHubEventSourceCommonProperties() |
Creates an new EventHubEventSourceCommonProperties instance. |
Properties
ConsumerGroupName |
The name of the event hub's consumer group that holds the partitions from which events will be read. |
CreationTime |
The time the resource was created. |
EventHubName |
The name of the event hub. |
EventSourceResourceId |
The resource id of the event source in Azure Resource Manager. |
KeyName |
The name of the SAS key that grants the Time Series Insights service access to the event hub. The shared access policies for this key must grant 'Listen' permissions to the event hub. |
ProvisioningState |
Provisioning state of the resource. |
ServiceBusNamespace |
The name of the service bus that contains the event hub. |
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 EventHubEventSourceCommonProperties. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of EventHubEventSourceCommonProperties. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IEventHubEventSourceCommonProperties. |
FromJsonString(String) |
Creates a new instance of EventHubEventSourceCommonProperties, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of EventHubEventSourceCommonProperties into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |