Udostępnij za pośrednictwem


SupportTicketCommunicationResource.UpdateAsync 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 System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Support.SupportTicketCommunicationResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Support.SupportTicketCommunicationData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Support.SupportTicketCommunicationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Support.SupportTicketCommunicationResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Support.SupportTicketCommunicationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Support.SupportTicketCommunicationResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As SupportTicketCommunicationData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.

data
SupportTicketCommunicationData

Communication object.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to