SupportTicketCommunicationCollection.CreateOrUpdate Method

Definition

Adds a new customer communication to an Azure support ticket.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}
  • Operation Id: Communications_Create
  • Default Api Version: 2024-04-01
  • Resource: SupportTicketCommunicationResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Support.SupportTicketCommunicationResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string communicationName, Azure.ResourceManager.Support.SupportTicketCommunicationData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Support.SupportTicketCommunicationData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Support.SupportTicketCommunicationResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Support.SupportTicketCommunicationData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Support.SupportTicketCommunicationResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, communicationName As String, data As SupportTicketCommunicationData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of SupportTicketCommunicationResource)

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