次の方法で共有


EventGridAttribute クラス

定義

Event Grid 出力バインドのパラメーターを指定する属性。

[Microsoft.Azure.WebJobs.Description.Binding]
[System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.ReturnValue)]
public sealed class EventGridAttribute : Attribute
[<Microsoft.Azure.WebJobs.Description.Binding>]
[<System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.ReturnValue)>]
type EventGridAttribute = class
    inherit Attribute
Public NotInheritable Class EventGridAttribute
Inherits Attribute
継承
EventGridAttribute
属性
Microsoft.Azure.WebJobs.Description.BindingAttribute AttributeUsageAttribute

コンストラクター

EventGridAttribute()

Event Grid 出力バインドのパラメーターを指定する属性。

プロパティ

Connection

Event Grid トピックの接続情報を含むアプリ設定名を取得または設定します。

TopicEndpointUri

トピック イベント エンドポイント URI を取得または設定します。 たとえば、 https://topic1.westus2-1.eventgrid.azure.net/api/events これは Event Grid トピックの定義にあります。 トピックの URL を取得する方法については、こちらを参照してください。 https://docs.microsoft.com/en-us/azure/event-grid/custom-event-quickstart#send-an-event-to-your-topic

TopicKeySetting

トピック キーの設定を取得または設定します。 トピックのキーの取得については、こちらを参照してください。 https://docs.microsoft.com/en-us/azure/event-grid/custom-event-quickstart#send-an-event-to-your-topic

適用対象

こちらもご覧ください