Compartilhar via


EventGridModelFactory.IotHubDeviceDeletedEventData Método

Definição

Inicializa uma nova instância de IotHubDeviceDeletedEventData.

public static Azure.Messaging.EventGrid.SystemEvents.IotHubDeviceDeletedEventData IotHubDeviceDeletedEventData (string deviceId = default, string hubName = default, Azure.Messaging.EventGrid.SystemEvents.DeviceTwinInfo twin = default);
static member IotHubDeviceDeletedEventData : string * string * Azure.Messaging.EventGrid.SystemEvents.DeviceTwinInfo -> Azure.Messaging.EventGrid.SystemEvents.IotHubDeviceDeletedEventData
Public Shared Function IotHubDeviceDeletedEventData (Optional deviceId As String = Nothing, Optional hubName As String = Nothing, Optional twin As DeviceTwinInfo = Nothing) As IotHubDeviceDeletedEventData

Parâmetros

deviceId
String

O identificador exclusivo do dispositivo. Essa cadeia de caracteres que diferencia maiúsculas de minúsculas pode ter até 128 caracteres e dá suporte a caracteres alfanuméricos ASCII de 7 bits mais os seguintes caracteres especiais: - : . + % _ # * ? ! ( ) , = @ ; $ '.

hubName
String

Nome do Hub IoT em que o dispositivo foi criado ou excluído.

twin
DeviceTwinInfo

Informações sobre o dispositivo gêmeo, que é a representação de nuvem dos metadados do dispositivo de aplicativo.

Retornos

Uma nova IotHubDeviceDeletedEventData instância para zombar.

Aplica-se a