EventGridModelFactory.CommunicationIdentifierModel 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 CommunicationIdentifierModel.
public static Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel CommunicationIdentifierModel (Azure.Messaging.EventGrid.SystemEvents.AcsCommunicationIdentifierKind? kind = default, string rawId = default, Azure.Messaging.EventGrid.SystemEvents.CommunicationUserIdentifierModel communicationUser = default, Azure.Messaging.EventGrid.SystemEvents.PhoneNumberIdentifierModel phoneNumber = default, Azure.Messaging.EventGrid.SystemEvents.MicrosoftTeamsUserIdentifierModel microsoftTeamsUser = default, Azure.Messaging.EventGrid.SystemEvents.AcsMicrosoftTeamsAppIdentifier microsoftTeamsApp = default);
static member CommunicationIdentifierModel : Nullable<Azure.Messaging.EventGrid.SystemEvents.AcsCommunicationIdentifierKind> * string * Azure.Messaging.EventGrid.SystemEvents.CommunicationUserIdentifierModel * Azure.Messaging.EventGrid.SystemEvents.PhoneNumberIdentifierModel * Azure.Messaging.EventGrid.SystemEvents.MicrosoftTeamsUserIdentifierModel * Azure.Messaging.EventGrid.SystemEvents.AcsMicrosoftTeamsAppIdentifier -> Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel
Public Shared Function CommunicationIdentifierModel (Optional kind As Nullable(Of AcsCommunicationIdentifierKind) = Nothing, Optional rawId As String = Nothing, Optional communicationUser As CommunicationUserIdentifierModel = Nothing, Optional phoneNumber As PhoneNumberIdentifierModel = Nothing, Optional microsoftTeamsUser As MicrosoftTeamsUserIdentifierModel = Nothing, Optional microsoftTeamsApp As AcsMicrosoftTeamsAppIdentifier = Nothing) As CommunicationIdentifierModel
Parameters
The identifier kind. Only required in responses.
- rawId
- String
Raw Id of the identifier. Optional in requests, required in responses.
- communicationUser
- CommunicationUserIdentifierModel
The communication user.
- phoneNumber
- PhoneNumberIdentifierModel
The phone number.
- microsoftTeamsUser
- MicrosoftTeamsUserIdentifierModel
The Microsoft Teams user.
- microsoftTeamsApp
- AcsMicrosoftTeamsAppIdentifier
The Microsoft Teams application.
Returns
A new CommunicationIdentifierModel instance for mocking.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.