Skip to main content

tickets_no_subscriptions

Creates, updates, deletes, gets or lists a tickets_no_subscriptions resource.

Overview

Nametickets_no_subscriptions
TypeResource
Idazure.support.tickets_no_subscriptions

Fields

The following fields are returned by SELECT queries:

Successfully retrieved support ticket.

NameDatatypeDescription
idstringId of the resource.
namestringName of the resource.
propertiesobjectProperties of the resource.
typestringType of the resource 'Microsoft.Support/supportTickets'.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsupportTicketNameGets details for a specific support ticket. 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.
listselect$top, $filterLists all the support tickets.

You can also filter the support tickets by <i>Status</i>, <i>CreatedDate</i>, , <i>ServiceId</i>, and <i>ProblemClassificationId</i> using the $filter parameter. Output will be a paged result with <i>nextLink</i>, 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.
createinsertsupportTicketNameCreates a new support ticket for Billing, and Subscription Management issues. Learn the prerequisites required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

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.

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.

updateupdatesupportTicketNameThis API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.
check_name_availabilityexecname, typeCheck 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

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
supportTicketNamestringSupport ticket name.
$filterstringThe filter to apply on the operation. We support 'odata v4.0' filter semantics. <a target='_blank' href='https://docs.microsoft.com/odata/concepts/queryoptions-overview'&gt;Learn more</a>
<i>Status</i> , <i>ServiceId</i>, and <i>ProblemClassificationId</i> filters can only be used with 'eq' operator. For <i>CreatedDate</i> filter, the supported operators are 'gt' and 'ge'. When using both filters, combine them using the logical 'AND'.
$topinteger (int32)The number of values to return in the collection. Default is 25 and max is 100.

SELECT examples

Gets details for a specific support ticket. 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.

SELECT
id,
name,
properties,
type
FROM azure.support.tickets_no_subscriptions
WHERE supportTicketName = '{{ supportTicketName }}' -- required
;

INSERT examples

Creates a new support ticket for Billing, and Subscription Management issues. Learn the prerequisites required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

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.

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.

INSERT INTO azure.support.tickets_no_subscriptions (
data__properties,
supportTicketName
)
SELECT
'{{ properties }}',
'{{ supportTicketName }}'
RETURNING
id,
name,
properties,
type
;

UPDATE examples

This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

UPDATE azure.support.tickets_no_subscriptions
SET
data__severity = '{{ severity }}',
data__status = '{{ status }}',
data__contactDetails = '{{ contactDetails }}',
data__advancedDiagnosticConsent = '{{ advancedDiagnosticConsent }}',
data__secondaryConsent = '{{ secondaryConsent }}'
WHERE
supportTicketName = '{{ supportTicketName }}' --required
RETURNING
id,
name,
properties,
type;

Lifecycle Methods

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.

EXEC azure.support.tickets_no_subscriptions.check_name_availability 
@@json=
'{
"name": "{{ name }}",
"type": "{{ type }}"
}'
;