EventGridModelFactory.EventGridMqttClientCreatedOrUpdatedEventData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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
Parameters
- clientAuthenticationName
- String
Unique identifier for the MQTT client that the client presents to the service for authentication. This case-sensitive string can be up to 128 characters long, and supports UTF-8 characters.
- clientName
- String
Name of the client resource in the Event Grid namespace.
- namespaceName
- String
Name of the Event Grid namespace where the MQTT client was created or updated.
- state
- Nullable<EventGridMqttClientState>
Configured state of the client. The value could be Enabled or Disabled.
- createdOn
- Nullable<DateTimeOffset>
Time the client resource is created based on the provider's UTC time.
- updatedOn
- Nullable<DateTimeOffset>
Time the client resource is last updated based on the provider's UTC time. If the client resource was never updated, this value is identical to the value of the 'createdOn' property.
- attributes
- IReadOnlyDictionary<String,String>
The key-value attributes that are assigned to the client resource.
Returns
A new EventGridMqttClientCreatedOrUpdatedEventData instance for mocking.
Applies to
Azure SDK for .NET