Share via


EventGridModelFactory.EventGridMqttClientCreatedOrUpdatedEventData メソッド

定義

EventGridMqttClientCreatedOrUpdatedEventData の新しいインスタンスを初期化します。

public static Azure.Messaging.EventGrid.SystemEvents.EventGridMqttClientCreatedOrUpdatedEventData EventGridMqttClientCreatedOrUpdatedEventData (string clientAuthenticationName = default, string clientName = default, string namespaceName = default, Azure.Messaging.EventGrid.SystemEvents.EventGridMqttClientState? state = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default, System.Collections.Generic.IReadOnlyDictionary<string,string> attributes = default);
static member EventGridMqttClientCreatedOrUpdatedEventData : string * string * string * Nullable<Azure.Messaging.EventGrid.SystemEvents.EventGridMqttClientState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.Messaging.EventGrid.SystemEvents.EventGridMqttClientCreatedOrUpdatedEventData
Public Shared Function EventGridMqttClientCreatedOrUpdatedEventData (Optional clientAuthenticationName As String = Nothing, Optional clientName As String = Nothing, Optional namespaceName As String = Nothing, Optional state As Nullable(Of EventGridMqttClientState) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional attributes As IReadOnlyDictionary(Of String, String) = Nothing) As EventGridMqttClientCreatedOrUpdatedEventData

パラメーター

clientAuthenticationName
String

クライアントが認証のためにサービスに提示する MQTT クライアントの一意識別子。 この文字列は大文字と小文字が区別され、長さは最大 128 文字で、UTF-8 文字をサポートします。

clientName
String

Event Grid 名前空間内のクライアント リソースの名前。

namespaceName
String

MQTT クライアントが作成または更新された Event Grid 名前空間の名前。

state
Nullable<EventGridMqttClientState>

クライアントの構成済み状態。 値は Enabled または Disabled のいずれかです。

createdOn
Nullable<DateTimeOffset>

プロバイダーの UTC 時刻に基づいてクライアント リソースが作成される時間。

updatedOn
Nullable<DateTimeOffset>

プロバイダーの UTC 時刻に基づいてクライアント リソースが最後に更新された時刻。 クライアント リソースが更新されなかった場合、この値は 'createdOn' プロパティの値と同じになります。

attributes
IReadOnlyDictionary<String,String>

クライアント リソースに割り当てられるキーと値の属性。

戻り値

モック作成用の新しい EventGridMqttClientCreatedOrUpdatedEventData インスタンス。

適用対象