Freigeben über


SupportTicketCommunicationCollection.CreateOrUpdateAsync Methode

Definition

Fügt einem Azure-Support Ticket eine neue Kundenkommunikation hinzu.

  • Anforderungspfad/Abonnements/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}
  • Vorgangs-IdCommunications_Create
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Support.SupportTicketCommunicationResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string communicationName, Azure.ResourceManager.Support.SupportTicketCommunicationData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Support.SupportTicketCommunicationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Support.SupportTicketCommunicationResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Support.SupportTicketCommunicationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Support.SupportTicketCommunicationResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, communicationName As String, data As SupportTicketCommunicationData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of SupportTicketCommunicationResource))

Parameter

waitUntil
WaitUntil

Completed , wenn die Methode auf die Rückgabe warten soll, bis der zeitintensive Vorgang für den Dienst abgeschlossen ist; Started , wenn sie nach dem Starten des Vorgangs zurückgegeben werden soll. Weitere Informationen zu Vorgängen mit langer Ausführungszeit finden Sie unter Beispiele für Azure.Core-Long-Running-Vorgänge.

communicationName
String

Kommunikationsname.

data
SupportTicketCommunicationData

Kommunikationsobjekt.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

communicationName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

communicationName oder data ist NULL.

Gilt für: