共用方式為


JsonInputSchemaMapping 類別

這可讓您使用自訂輸入架構發佈至事件方格。 這可用來將自訂輸入 JSON 架構的屬性對應至事件方格事件架構。

必須填入所有必要的參數,才能傳送至 Azure。

繼承
azure.mgmt.eventgrid.models._models_py3.InputSchemaMapping
JsonInputSchemaMapping

建構函式

JsonInputSchemaMapping(*, id: Optional[azure.mgmt.eventgrid.models._models_py3.JsonField] = None, topic: Optional[azure.mgmt.eventgrid.models._models_py3.JsonField] = None, event_time: Optional[azure.mgmt.eventgrid.models._models_py3.JsonField] = None, event_type: Optional[azure.mgmt.eventgrid.models._models_py3.JsonFieldWithDefault] = None, subject: Optional[azure.mgmt.eventgrid.models._models_py3.JsonFieldWithDefault] = None, data_version: Optional[azure.mgmt.eventgrid.models._models_py3.JsonFieldWithDefault] = None, **kwargs)

變數

input_schema_mapping_type
strInputSchemaMappingType

必要。 自訂對應的類型。伺服器填滿的常數。 可能的值為:「Json」。

id
JsonField

Event Grid 事件之 Id 屬性的對應資訊。

topic
JsonField

Event Grid 事件之 Topic 屬性的對應資訊。

event_time
JsonField

Event Grid 事件之 EventTime 屬性的對應資訊。

event_type
JsonFieldWithDefault

Event Grid 事件之 EventType 屬性的對應資訊。

subject
JsonFieldWithDefault

Event Grid 事件之 Subject 屬性的對應資訊。

data_version
JsonFieldWithDefault

Event Grid 事件之 DataVersion 屬性的對應資訊。