SupportTickets Interface

public interface SupportTickets

Resource collection API of SupportTickets.

Method Summary

Modifier and Type Method and Description
abstract CheckNameAvailabilityOutput checkNameAvailability(CheckNameAvailabilityInput checkNameAvailabilityInput)

Check the availability of a resource name.

abstract Response<CheckNameAvailabilityOutput> checkNameAvailabilityWithResponse(CheckNameAvailabilityInput checkNameAvailabilityInput, Context context)

Check the availability of a resource name.

abstract Blank define(String name)

Begins definition for a new SupportTicketDetails resource.

abstract SupportTicketDetails get(String supportTicketName)

Get ticket details for an Azure subscription.

abstract SupportTicketDetails getById(String id)

Get ticket details for an Azure subscription.

abstract Response<SupportTicketDetails> getByIdWithResponse(String id, Context context)

Get ticket details for an Azure subscription.

abstract Response<SupportTicketDetails> getWithResponse(String supportTicketName, Context context)

Get ticket details for an Azure subscription.

abstract PagedIterable<SupportTicketDetails> list()

Lists all the support tickets for an Azure subscription.

abstract PagedIterable<SupportTicketDetails> list(Integer top, String filter, Context context)

Lists all the support tickets for an Azure subscription.

Method Details

checkNameAvailability

public abstract CheckNameAvailabilityOutput checkNameAvailability(CheckNameAvailabilityInput checkNameAvailabilityInput)

Check the availability of a resource name. This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription.

Parameters:

checkNameAvailabilityInput - Input to check.

Returns:

output of check name availability API.

checkNameAvailabilityWithResponse

public abstract Response<CheckNameAvailabilityOutput> checkNameAvailabilityWithResponse(CheckNameAvailabilityInput checkNameAvailabilityInput, Context context)

Check the availability of a resource name. This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription.

Parameters:

checkNameAvailabilityInput - Input to check.
context - The context to associate with this operation.

Returns:

output of check name availability API along with Response<T>.

define

public abstract SupportTicketDetails.DefinitionStages.Blank define(String name)

Begins definition for a new SupportTicketDetails resource.

Parameters:

name - resource name.

Returns:

the first stage of the new SupportTicketDetails definition.

get

public abstract SupportTicketDetails get(String supportTicketName)

Get ticket details for an Azure subscription. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.

Parameters:

supportTicketName - Support ticket name.

Returns:

ticket details for an Azure subscription.

getById

public abstract SupportTicketDetails getById(String id)

Get ticket details for an Azure subscription. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.

Parameters:

id - the resource ID.

Returns:

ticket details for an Azure subscription along with Response<T>.

getByIdWithResponse

public abstract Response<SupportTicketDetails> getByIdWithResponse(String id, Context context)

Get ticket details for an Azure subscription. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

ticket details for an Azure subscription along with Response<T>.

getWithResponse

public abstract Response<SupportTicketDetails> getWithResponse(String supportTicketName, Context context)

Get ticket details for an Azure subscription. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.

Parameters:

supportTicketName - Support ticket name.
context - The context to associate with this operation.

Returns:

ticket details for an Azure subscription along with Response<T>.

list

public abstract PagedIterable<SupportTicketDetails> list()

Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_, _CreatedDate_, _ServiceId_, and _ProblemClassificationId_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.

Returns:

object that represents a collection of SupportTicket resources as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<SupportTicketDetails> list(Integer top, String filter, Context context)

Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_, _CreatedDate_, _ServiceId_, and _ProblemClassificationId_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.

Parameters:

top - The number of values to return in the collection. Default is 25 and max is 100.
filter - The filter to apply on the operation. We support 'odata v4.0' filter semantics. Learn more. Status, ServiceId, and ProblemClassificationId filters can only be used with Equals ('eq') operator. For CreatedDate filter, the supported operators are Greater Than ('gt') and Greater Than or Equals ('ge'). When using both filters, combine them using the logical 'AND'.
context - The context to associate with this operation.

Returns:

object that represents a collection of SupportTicket resources as paginated response with PagedIterable<T>.

Applies to