SupportTicketsOperationsExtensions.CreateAsync(ISupportTicketsOperations, String, SupportTicketDetails, CancellationToken) Method

Definition

Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. 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/>Creating a support ticket for on-behalf-of: Include x-ms-authorization-auxiliary header to provide an auxiliary token as per documentation. The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Support.Models.SupportTicketDetails> CreateAsync (this Microsoft.Azure.Management.Support.ISupportTicketsOperations operations, string supportTicketName, Microsoft.Azure.Management.Support.Models.SupportTicketDetails createSupportTicketParameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Support.ISupportTicketsOperations * string * Microsoft.Azure.Management.Support.Models.SupportTicketDetails * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Support.Models.SupportTicketDetails>
<Extension()>
Public Function CreateAsync (operations As ISupportTicketsOperations, supportTicketName As String, createSupportTicketParameters As SupportTicketDetails, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SupportTicketDetails)

Parameters

operations
ISupportTicketsOperations

The operations group for this extension method.

supportTicketName
System.String

Support ticket name.

createSupportTicketParameters
SupportTicketDetails

Support ticket request payload.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<SupportTicketDetails>

Applies to