Share via


TenantSupportTicketCollection.CreateOrUpdate Method

Definition

Creates a new support ticket for Billing, and Subscription Management issues. Learn the prerequisites required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the Manage support ticket page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>

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

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.

supportTicketName
String

Support ticket name.

data
SupportTicketData

Support ticket request payload.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

supportTicketName or data is null.

Applies to