SupportTicketNoSubCommunicationCollection.CreateOrUpdateAsync Method

Definition

Adds a new customer communication to an Azure support ticket.

  • Request Path: /providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}
  • Operation Id: CommunicationsNoSubscription_Create
  • Default Api Version: 2024-04-01
  • Resource: SupportTicketNoSubCommunicationResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Support.SupportTicketNoSubCommunicationResource>> 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.SupportTicketNoSubCommunicationResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Support.SupportTicketCommunicationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Support.SupportTicketNoSubCommunicationResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, communicationName As String, data As SupportTicketCommunicationData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of SupportTicketNoSubCommunicationResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

communicationName
String

Communication name.

data
SupportTicketCommunicationData

Communication object.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

communicationName is an empty string, and was expected to be non-empty.

communicationName or data is null.

Applies to