Partilhar via


ArmSupportModelFactory.SupportTicketCommunicationData Method

Definition

Initializes a new instance of SupportTicketCommunicationData.

public static Azure.ResourceManager.Support.SupportTicketCommunicationData SupportTicketCommunicationData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Support.Models.SupportTicketCommunicationType? communicationType = default, Azure.ResourceManager.Support.Models.SupportTicketCommunicationDirection? communicationDirection = default, string sender = default, string subject = default, string body = default, DateTimeOffset? createdOn = default);
static member SupportTicketCommunicationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Support.Models.SupportTicketCommunicationType> * Nullable<Azure.ResourceManager.Support.Models.SupportTicketCommunicationDirection> * string * string * string * Nullable<DateTimeOffset> -> Azure.ResourceManager.Support.SupportTicketCommunicationData
Public Shared Function SupportTicketCommunicationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional communicationType As Nullable(Of SupportTicketCommunicationType) = Nothing, Optional communicationDirection As Nullable(Of SupportTicketCommunicationDirection) = Nothing, Optional sender As String = Nothing, Optional subject As String = Nothing, Optional body As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing) As SupportTicketCommunicationData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

communicationType
Nullable<SupportTicketCommunicationType>

Communication type.

communicationDirection
Nullable<SupportTicketCommunicationDirection>

Direction of communication.

sender
String

Email address of the sender. This property is required if called by a service principal.

subject
String

Subject of the communication.

body
String

Body of the communication.

createdOn
Nullable<DateTimeOffset>

Time in UTC (ISO 8601 format) when the communication was created.

Returns

A new SupportTicketCommunicationData instance for mocking.

Applies to