Share via


SupportTicketNoSubCommunicationCollection.CreateOrUpdate 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Support.SupportTicketNoSubCommunicationResource> 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.SupportTicketNoSubCommunicationResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Support.SupportTicketCommunicationData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Support.SupportTicketNoSubCommunicationResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, communicationName As String, data As SupportTicketCommunicationData, Optional cancellationToken As CancellationToken = Nothing) As 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