Share via


JsonInputSchemaMappingProperties Class

Definition

This can be used to map properties of a source schema (or default values, for certain supported properties) to properties of the EventGridEvent schema.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.JsonInputSchemaMappingPropertiesTypeConverter))]
public class JsonInputSchemaMappingProperties : Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IJsonInputSchemaMappingProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.JsonInputSchemaMappingPropertiesTypeConverter))>]
type JsonInputSchemaMappingProperties = class
    interface IJsonInputSchemaMappingProperties
    interface IJsonSerializable
Public Class JsonInputSchemaMappingProperties
Implements IJsonInputSchemaMappingProperties
Inheritance
JsonInputSchemaMappingProperties
Attributes
Implements

Constructors

JsonInputSchemaMappingProperties()

Creates an new JsonInputSchemaMappingProperties instance.

Properties

DataVersionDefaultValue

The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.

DataVersionSourceField

Name of a field in the input event schema that's to be used as the source of a mapping.

EventTimeSourceField

Name of a field in the input event schema that's to be used as the source of a mapping.

EventTypeDefaultValue

The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.

EventTypeSourceField

Name of a field in the input event schema that's to be used as the source of a mapping.

IdSourceField

Name of a field in the input event schema that's to be used as the source of a mapping.

SubjectDefaultValue

The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.

SubjectSourceField

Name of a field in the input event schema that's to be used as the source of a mapping.

TopicSourceField

Name of a field in the input event schema that's to be used as the source of a mapping.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of JsonInputSchemaMappingProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of JsonInputSchemaMappingProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IJsonInputSchemaMappingProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of JsonInputSchemaMappingProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to