Share via


EventSourceResource Class

Definition

An environment receives data from one or more event sources. Each event source has associated connection info that allows the Time Series Insights ingress pipeline to connect to and pull data from the event source

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.EventSourceResourceTypeConverter))]
public class EventSourceResource : Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IEventSourceResource, Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.EventSourceResourceTypeConverter))>]
type EventSourceResource = class
    interface IEventSourceResource
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class EventSourceResource
Implements IEventSourceResource, IValidates
Inheritance
EventSourceResource
Attributes
Implements

Constructors

EventSourceResource()

Creates an new EventSourceResource instance.

Properties

Id

Resource Id

Kind

The kind of the event source.

Location

Resource location

Name

Resource name

Tag

Resource tags

Type

Resource type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EventSourceResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EventSourceResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IEventSourceResource. Note: the Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IEventSourceResource interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EventSourceResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to