Skip to content

Commit a9aeac6

Browse files
padminib16Copilot
andauthored
Support: add new stable API version 2027-07-01 (#44079)
* Support: add new stable API version 2026-06-15 Introduces the 2026-06-15 stable API version for Microsoft.Support, including ProblemClassifications_ClassifyProblems. Follows the new-api-version pattern from PR #43591 (which introduced 2026-06-01): - main.tsp: add v2026_06_15 to the Versions enum (armCommonTypesVersion v5) - examples/2026-06-15: copy of 2026-06-01 examples with api-version bumped - stable/2026-06-15/support.json: regenerated via tsp compile - readme.md: add package-2026-06-15 tag and set it as the default Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Support: add optional articleId to ClassifyProblems response (2026-06-15) Adds an optional, read-only string property 'articleId' to ProblemClassificationsClassificationResult, gated with @added(Versions.v2026_06_15) so it is the only API difference between 2026-06-15 and the prior 2026-06-01 version. - models.tsp: add articleId?: string (@visibility Read, @added v2026_06_15) - examples/2026-06-15: demonstrate articleId in both ClassifyProblems responses - stable/2026-06-15/support.json (+ examples): regenerated via tsp compile Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Support: make ClassifyProblems response articleId nullable (2026-06-15) Allow articleId to be explicitly null in addition to being optional/empty, per requirement. Adds x-nullable to the generated schema. - models.tsp: articleId?: string -> articleId?: string | null, with a #suppress for @azure-tools/typespec-azure-core/no-nullable and justification - stable/2026-06-15/support.json: regenerated (articleId now x-nullable: true) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Support: clarify articleId availability in description (2026-06-15) Note that articleId is only populated when Alchemy responds. - models.tsp: extend articleId doc comment - stable/2026-06-15/support.json: regenerated description Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Support: refine articleId description for public docs (2026-06-15) Replace internal service reference with customer-observable behavior: articleId is populated only when a related article is available. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Support: rename new API version 2026-06-15 -> 2026-07-01 Renames the in-progress stable API version from 2026-06-15 to 2026-07-01 across all references: - main.tsp: Versions enum member v2026_06_15 -> v2026_07_01 (value "2026-07-01") - models.tsp: articleId @added(Versions.v2026_07_01) - readme.md: package-2026-07-01 tag (default) + input-file path - examples/2026-07-01: renamed from examples/2026-06-15, api-version bumped - stable/2026-07-01/support.json (+ examples): regenerated via tsp compile Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Support: make ClassifyProblems articleId optional-only (drop nullable) Per ARM API best practices (and @azure-tools/typespec-azure-core/no-nullable), the service omits articleId when no article is available rather than returning an explicit null, so the property no longer needs to be nullable. - models.tsp: articleId?: string | null -> articleId?: string; remove the no-nullable suppression; update description (omitted instead of null/omitted) - stable/2026-07-01/support.json: regenerated (x-nullable removed) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 6160a0a commit a9aeac6

176 files changed

Lines changed: 14953 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"api-version": "2026-07-01",
4+
"checkNameAvailabilityInput": {
5+
"name": "sampleName",
6+
"type": "Microsoft.Support/supportTickets"
7+
}
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"message": "Name not available",
13+
"nameAvailable": false,
14+
"reason": "Name is already in use"
15+
}
16+
}
17+
},
18+
"operationId": "SupportTicketsNoSubscription_CheckNameAvailability",
19+
"title": "Checks whether name is available for SupportTicket resource"
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"api-version": "2026-07-01",
4+
"checkNameAvailabilityInput": {
5+
"name": "sampleName",
6+
"type": "Microsoft.Support/communications"
7+
},
8+
"supportTicketName": "testticket"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"message": "Name not available",
14+
"nameAvailable": false,
15+
"reason": "Name is already in use"
16+
}
17+
}
18+
},
19+
"operationId": "CommunicationsNoSubscription_CheckNameAvailability",
20+
"title": "Checks whether name is available for Communication resource"
21+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"parameters": {
3+
"api-version": "2026-07-01",
4+
"checkNameAvailabilityInput": {
5+
"name": "sampleName",
6+
"type": "Microsoft.Support/communications"
7+
},
8+
"subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1",
9+
"supportTicketName": "testticket"
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"message": "Name not available",
15+
"nameAvailable": false,
16+
"reason": "Name is already in use"
17+
}
18+
}
19+
},
20+
"operationId": "Communications_CheckNameAvailability",
21+
"title": "Checks whether name is available for Communication resource for a subscription support ticket"
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"api-version": "2026-07-01",
4+
"checkNameAvailabilityInput": {
5+
"name": "sampleName",
6+
"type": "Microsoft.Support/supportTickets"
7+
},
8+
"subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"message": "Name not available",
14+
"nameAvailable": false,
15+
"reason": "Name is already in use"
16+
}
17+
}
18+
},
19+
"operationId": "SupportTickets_CheckNameAvailability",
20+
"title": "Checks whether name is available for a subscription support ticket resource"
21+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parameters": {
3+
"problemServiceName": "serviceId1",
4+
"api-version": "2026-07-01",
5+
"problemClassificationsClassificationInput": {
6+
"issueSummary": "Can not connect to Windows VM"
7+
}
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"problemClassificationResults": [
13+
{
14+
"problemId": "problemId1",
15+
"title": "Problem classification title",
16+
"description": "Problem classification description",
17+
"serviceId": "serviceId1",
18+
"problemClassificationId": "problemClassificationId1",
19+
"relatedService": {
20+
"serviceId": "/providers/Microsoft.Support/services/40ef020e-8ae7-8d57-b538-9153c47cee69",
21+
"displayName": "SQL Server in VM - Linux",
22+
"resourceTypes": [
23+
"MICROSOFT.CLASSICCOMPUTE/VIRTUALMACHINES",
24+
"MICROSOFT.COMPUTE/VIRTUALMACHINES"
25+
]
26+
},
27+
"articleId": "articleId1"
28+
}
29+
]
30+
}
31+
}
32+
},
33+
"operationId": "ProblemClassificationsNoSubscription_ClassifyProblems",
34+
"title": "Classify list of problemClassifications for a specified Azure service"
35+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"problemServiceName": "serviceId1",
5+
"api-version": "2026-07-01",
6+
"problemClassificationsClassificationInput": {
7+
"issueSummary": "Can not connect to Windows VM",
8+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/vmname"
9+
}
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"problemClassificationResults": [
15+
{
16+
"problemId": "problemId1",
17+
"title": "Problem classification title",
18+
"description": "Problem classification description",
19+
"serviceId": "serviceId1",
20+
"problemClassificationId": "problemClassificationId1",
21+
"relatedService": {
22+
"serviceId": "/providers/Microsoft.Support/services/40ef020e-8ae7-8d57-b538-9153c47cee69",
23+
"displayName": "SQL Server in VM - Linux",
24+
"resourceTypes": [
25+
"MICROSOFT.CLASSICCOMPUTE/VIRTUALMACHINES",
26+
"MICROSOFT.COMPUTE/VIRTUALMACHINES"
27+
]
28+
},
29+
"articleId": "articleId1"
30+
}
31+
]
32+
}
33+
}
34+
},
35+
"operationId": "ProblemClassifications_ClassifyProblems",
36+
"title": "Classify list of problemClassifications for a specified Azure service for a subscription"
37+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"api-version": "2026-07-01",
5+
"serviceClassificationRequest": {
6+
"issueSummary": "Can not connect to Windows VM",
7+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/vmname"
8+
}
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"serviceClassificationResults": [
14+
{
15+
"serviceId": "/providers/Microsoft.Support/services/5c41904f-1bcf-76e4-7a54-5fc07468f3cc",
16+
"displayName": "Azure Update Manager",
17+
"resourceTypes": [
18+
"Microsoft.HybridCompute/machines",
19+
"Microsoft.Maintenance/maintenanceConfigurations",
20+
"Microsoft.Maintenance/configurationAssignments",
21+
"MICROSOFT.AUTOMATION/AUTOMATIONACCOUNTS",
22+
"MICROSOFT.COMPUTE/VIRTUALMACHINES"
23+
]
24+
},
25+
{
26+
"serviceId": "/providers/Microsoft.Support/services/40ef020e-8ae7-8d57-b538-9153c47cee69",
27+
"displayName": "SQL Server in VM - Linux",
28+
"resourceTypes": [
29+
"MICROSOFT.CLASSICCOMPUTE/VIRTUALMACHINES",
30+
"MICROSOFT.COMPUTE/VIRTUALMACHINES"
31+
]
32+
}
33+
]
34+
}
35+
}
36+
},
37+
"operationId": "ServiceClassificationsNoSubscription_ClassifyServices",
38+
"title": "Classify list of Azure services"
39+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"api-version": "2026-07-01",
5+
"serviceClassificationRequest": {
6+
"issueSummary": "Can not connect to Windows VM",
7+
"resourceId": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/vmname"
8+
}
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"serviceClassificationResults": [
14+
{
15+
"serviceId": "/providers/Microsoft.Support/services/5c41904f-1bcf-76e4-7a54-5fc07468f3cc",
16+
"displayName": "Azure Update Manager",
17+
"resourceTypes": [
18+
"Microsoft.HybridCompute/machines",
19+
"Microsoft.Maintenance/maintenanceConfigurations",
20+
"Microsoft.Maintenance/configurationAssignments",
21+
"MICROSOFT.AUTOMATION/AUTOMATIONACCOUNTS",
22+
"MICROSOFT.COMPUTE/VIRTUALMACHINES"
23+
]
24+
},
25+
{
26+
"serviceId": "/providers/Microsoft.Support/services/40ef020e-8ae7-8d57-b538-9153c47cee69",
27+
"displayName": "SQL Server in VM - Linux",
28+
"resourceTypes": [
29+
"MICROSOFT.CLASSICCOMPUTE/VIRTUALMACHINES",
30+
"MICROSOFT.COMPUTE/VIRTUALMACHINES"
31+
]
32+
}
33+
]
34+
}
35+
}
36+
},
37+
"operationId": "ServiceClassifications_ClassifyServices",
38+
"title": "Classify list of Azure services for a subscription"
39+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
{
2+
"parameters": {
3+
"api-version": "2026-07-01",
4+
"createSupportTicketParameters": {
5+
"properties": {
6+
"description": "my description",
7+
"advancedDiagnosticConsent": "Yes",
8+
"contactDetails": {
9+
"country": "usa",
10+
"firstName": "abc",
11+
"lastName": "xyz",
12+
"preferredContactMethod": "email",
13+
"preferredSupportLanguage": "en-US",
14+
"preferredTimeZone": "Pacific Standard Time",
15+
"primaryEmailAddress": "abc@contoso.com"
16+
},
17+
"problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid",
18+
"quotaTicketDetails": {
19+
"quotaChangeRequestSubType": "Account",
20+
"quotaChangeRequestVersion": "1.0",
21+
"quotaChangeRequests": [
22+
{
23+
"payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"Jobs\"}",
24+
"region": "EastUS"
25+
}
26+
]
27+
},
28+
"serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
29+
"severity": "moderate",
30+
"supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=",
31+
"title": "my title"
32+
}
33+
},
34+
"subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1",
35+
"supportTicketName": "testticket"
36+
},
37+
"responses": {
38+
"200": {
39+
"body": {
40+
"name": "testticket",
41+
"type": "Microsoft.Support/supportTickets",
42+
"id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket",
43+
"properties": {
44+
"description": "my description",
45+
"advancedDiagnosticConsent": "Yes",
46+
"contactDetails": {
47+
"country": "usa",
48+
"firstName": "abc",
49+
"lastName": "xyz",
50+
"preferredContactMethod": "email",
51+
"preferredSupportLanguage": "en-US",
52+
"preferredTimeZone": "Pacific Standard Time",
53+
"primaryEmailAddress": "abc@contoso.com"
54+
},
55+
"createdDate": "2020-03-20T21:36:18Z",
56+
"fileWorkspaceName": "testticket",
57+
"modifiedDate": "2020-03-20T21:36:23Z",
58+
"problemClassificationDisplayName": "Batch",
59+
"problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid",
60+
"quotaTicketDetails": {
61+
"quotaChangeRequestSubType": "Account",
62+
"quotaChangeRequestVersion": "1.0",
63+
"quotaChangeRequests": [
64+
{
65+
"payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"Jobs\"}",
66+
"region": "EastUS"
67+
}
68+
]
69+
},
70+
"require24X7Response": false,
71+
"serviceDisplayName": "Service and subscription limits (quotas)",
72+
"serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
73+
"serviceLevelAgreement": {
74+
"expirationTime": "2020-03-21T17:36:18Z",
75+
"slaMinutes": 240,
76+
"startTime": "2020-03-20T21:36:18Z"
77+
},
78+
"severity": "moderate",
79+
"status": "Open",
80+
"supportEngineer": {
81+
"emailAddress": null
82+
},
83+
"supportPlanDisplayName": "Premier",
84+
"supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=",
85+
"supportPlanType": "Premier",
86+
"supportTicketId": "119120321001170",
87+
"title": "my title"
88+
}
89+
}
90+
},
91+
"202": {
92+
"headers": {
93+
"azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2026-07-01",
94+
"location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2026-07-01"
95+
}
96+
}
97+
},
98+
"operationId": "SupportTickets_Create",
99+
"title": "Create a ticket to request Quota increase for Active Jobs and Job Schedules for a Batch account"
100+
}

0 commit comments

Comments
 (0)