Skip to content

Commit 11ed070

Browse files
Add two enums Support Channel and ChatConversationStatus to enable Persistent chat (Azure#43591)
* Add two enums Support Channel and ChatConversationStatus to enable Persistent Chat * Add suppression for promoted preview swagger * Address ARM review feedback: PascalCase operationIds, remove None from ChatConversationStatus
1 parent 310e90b commit 11ed070

180 files changed

Lines changed: 15001 additions & 30 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

specification/support/resource-manager/Microsoft.Support/Support/ProblemClassification.tsp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ namespace Microsoft.Support;
1515

1616
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "For backward compatibility"
1717
@tag("ProblemClassifications")
18-
@added(Versions.v2025_06_01_preview)
18+
@added(Versions.v2026_06_01)
1919
interface ClassifyProblems {
2020
/**
2121
* Classify the right problem classifications (categories) available for a specific Azure service.
2222
*/
2323
#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations"
24-
@operationId("ProblemClassifications_classifyProblems")
24+
@operationId("ProblemClassifications_ClassifyProblems")
2525
@autoRoute
2626
classifyProblems is ArmProviderActionSync<
2727
Request = ProblemClassificationsClassificationInput,
@@ -42,13 +42,13 @@ interface ClassifyProblems {
4242

4343
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "For backward compatibility"
4444
@tag("ProblemClassifications")
45-
@added(Versions.v2025_06_01_preview)
45+
@added(Versions.v2026_06_01)
4646
interface ClassifyProblemsNoSubscription {
4747
/**
4848
* Classify the right problem classifications (categories) available for a specific Azure service.
4949
*/
5050
#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations"
51-
@operationId("ProblemClassificationsNoSubscription_classifyProblems")
51+
@operationId("ProblemClassificationsNoSubscription_ClassifyProblems")
5252
@autoRoute
5353
classifyProblems is ArmProviderActionSync<
5454
Request = ProblemClassificationsClassificationInput,

specification/support/resource-manager/Microsoft.Support/Support/ServiceClassification.tsp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ namespace Microsoft.Support;
1414

1515
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "For backward compatibility"
1616
@tag("ServiceClassifications")
17-
@added(Versions.v2025_06_01_preview)
17+
@added(Versions.v2026_06_01)
1818
interface ClassifyServices {
1919
/**
2020
* Classify the list of right Azure services.
2121
*/
2222
#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations"
23-
@operationId("ServiceClassifications_classifyServices")
23+
@operationId("ServiceClassifications_ClassifyServices")
2424
@autoRoute
2525
classifyServices is ArmProviderActionSync<
2626
Request = ServiceClassificationRequest,
@@ -31,13 +31,13 @@ interface ClassifyServices {
3131

3232
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "For backward compatibility"
3333
@tag("ServiceClassifications")
34-
@added(Versions.v2025_06_01_preview)
34+
@added(Versions.v2026_06_01)
3535
interface ClassifyServicesNoSubscription {
3636
/**
3737
* Classify the list of right Azure services.
3838
*/
3939
#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations"
40-
@operationId("ServiceClassificationsNoSubscription_classifyServices")
40+
@operationId("ServiceClassificationsNoSubscription_ClassifyServices")
4141
@autoRoute
4242
classifyServices is ArmProviderActionSync<
4343
Request = ServiceClassificationRequest,

specification/support/resource-manager/Microsoft.Support/Support/SupportTicketDetails.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ interface SupportTickets {
127127
*/
128128
#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations"
129129
@operationId("LookUpResourceId_Post")
130-
@added(Versions.v2025_06_01_preview)
130+
@added(Versions.v2026_06_01)
131131
lookUpResourceId is ArmProviderActionSync<
132132
Request = LookUpResourceIdRequest,
133133
Response = LookUpResourceIdResponse
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-06-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-06-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-06-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-06-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: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parameters": {
3+
"problemServiceName": "serviceId1",
4+
"api-version": "2026-06-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+
}
28+
]
29+
}
30+
}
31+
},
32+
"operationId": "ProblemClassificationsNoSubscription_ClassifyProblems",
33+
"title": "Classify list of problemClassifications for a specified Azure service"
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"problemServiceName": "serviceId1",
5+
"api-version": "2026-06-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+
}
30+
]
31+
}
32+
}
33+
},
34+
"operationId": "ProblemClassifications_ClassifyProblems",
35+
"title": "Classify list of problemClassifications for a specified Azure service for a subscription"
36+
}
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-06-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+
}

0 commit comments

Comments
 (0)