Skip to content

Commit 99b27b1

Browse files
[Hub Generated] Publish private branch 'release-support-Microsoft.Support-2022-09-01-preview' (#25630)
* First set of changes * Changes for adding examples * Minor change * Changes as per comments * Change to update swagger * Changes for handling lintdiff errors * Minor change * Changes as per PR comments * More changes * More changes * Adds base for updating Microsoft.Support from version stable/2020-04-01 to version 2022-09-01-preview * Updates readme * Updates API version in new specs and examples * Changes for new preview api version * Changes as per PR comments * Minor change * Changes for adding File attachment related paths, definitions and examples * Changes as per review comments * Changes as per PR comments * More cahnges as per PR comments * Changes as per PR comments from ARM team * Changes for adding a new property as part of support ticket details model and updates for file properties * Fixed duplicate operation Ids * Fixing intendation * Addressed all the errors by adding suppression rules and fixing the errors * Changes for addressing PR comments * Minor changes * Addressed comments * Minor change * Fixed minor typo comments * Minor fix * Fixed prettier checks * Changes as per checks * Fixed PR comments * Minor change and prettier check updates * More cahges to address the errors from checks * Changes as per checks * Fixed few prettier checks * More changes to fix model validation errors * Minor fix * Changes as per comments * Adding a suppression for workspace getlist * Some model changes and associated updates to the examples * Changes to fix errors from checks * Changes to fix errors from checks * Minor fixes in examples * Changes for addressing comments * Changes to address check failures * Changes to address multi level nesting comment * Fixing prettier check and minor fix * Changes as per new comments * Changes to remove suppression at file level * Changes for removing supression rules at file level * Changes to apply suppression rule to the definition wherever applicable * Removing couple of suppression rules as they are taken care for new api * Changes to suppress TopLevelResourcesListBySubscription for fileworkspaces * Reverting the suppression rule change * Changing suppression code --------- Co-authored-by: Vijaya Munukutla <[email protected]>
1 parent bce66ff commit 99b27b1

File tree

81 files changed

+8189
-2
lines changed

Some content is hidden

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

81 files changed

+8189
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-09-01-preview",
4+
"checkNameAvailabilityInput": {
5+
"name": "sampleName",
6+
"type": "Microsoft.Support/supportTickets"
7+
}
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"nameAvailable": false,
13+
"reason": "Name is already in use",
14+
"message": "Name not available"
15+
}
16+
}
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"supportTicketName": "testticket",
4+
"api-version": "2022-09-01-preview",
5+
"checkNameAvailabilityInput": {
6+
"name": "sampleName",
7+
"type": "Microsoft.Support/communications"
8+
}
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"nameAvailable": false,
14+
"reason": "Name is already in use",
15+
"message": "Name not available"
16+
}
17+
}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"supportTicketName": "testticket",
5+
"api-version": "2022-09-01-preview",
6+
"checkNameAvailabilityInput": {
7+
"name": "sampleName",
8+
"type": "Microsoft.Support/communications"
9+
}
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"nameAvailable": false,
15+
"reason": "Name is already in use",
16+
"message": "Name not available"
17+
}
18+
}
19+
}
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"api-version": "2022-09-01-preview",
5+
"checkNameAvailabilityInput": {
6+
"name": "sampleName",
7+
"type": "Microsoft.Support/supportTickets"
8+
}
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"nameAvailable": false,
14+
"reason": "Name is already in use",
15+
"message": "Name not available"
16+
}
17+
}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"supportTicketName": "testticket",
5+
"api-version": "2022-09-01-preview",
6+
"createSupportTicketParameters": {
7+
"properties": {
8+
"serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
9+
"title": "my title",
10+
"description": "my description",
11+
"problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid",
12+
"severity": "moderate",
13+
"advancedDiagnosticConsent": "Yes",
14+
"supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=",
15+
"contactDetails": {
16+
"firstName": "abc",
17+
"lastName": "xyz",
18+
"primaryEmailAddress": "[email protected]",
19+
"preferredContactMethod": "email",
20+
"preferredTimeZone": "Pacific Standard Time",
21+
"preferredSupportLanguage": "en-US",
22+
"country": "usa"
23+
},
24+
"quotaTicketDetails": {
25+
"quotaChangeRequestVersion": "1.0",
26+
"quotaChangeRequestSubType": "Account",
27+
"quotaChangeRequests": [
28+
{
29+
"region": "EastUS",
30+
"payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"Jobs\"}"
31+
}
32+
]
33+
}
34+
}
35+
}
36+
},
37+
"responses": {
38+
"202": {
39+
"headers": {
40+
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview",
41+
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview"
42+
}
43+
},
44+
"200": {
45+
"body": {
46+
"id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket",
47+
"name": "testticket",
48+
"type": "Microsoft.Support/supportTickets",
49+
"properties": {
50+
"supportTicketId": "119120321001170",
51+
"description": "my description",
52+
"problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid",
53+
"problemClassificationDisplayName": "Batch",
54+
"severity": "moderate",
55+
"require24X7Response": false,
56+
"advancedDiagnosticConsent": "Yes",
57+
"supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=",
58+
"fileWorkspaceName": "testticket",
59+
"contactDetails": {
60+
"firstName": "abc",
61+
"lastName": "xyz",
62+
"preferredContactMethod": "email",
63+
"primaryEmailAddress": "[email protected]",
64+
"preferredTimeZone": "Pacific Standard Time",
65+
"country": "usa",
66+
"preferredSupportLanguage": "en-US"
67+
},
68+
"quotaTicketDetails": {
69+
"quotaChangeRequestVersion": "1.0",
70+
"quotaChangeRequestSubType": "Account",
71+
"quotaChangeRequests": [
72+
{
73+
"region": "EastUS",
74+
"payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"Jobs\"}"
75+
}
76+
]
77+
},
78+
"serviceLevelAgreement": {
79+
"startTime": "2020-03-20T21:36:18Z",
80+
"expirationTime": "2020-03-21T17:36:18Z",
81+
"slaMinutes": 240
82+
},
83+
"supportEngineer": {
84+
"emailAddress": null
85+
},
86+
"supportPlanType": "Premier",
87+
"supportPlanDisplayName": "Premier",
88+
"title": "my title",
89+
"serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
90+
"serviceDisplayName": "Service and subscription limits (quotas)",
91+
"status": "Open",
92+
"createdDate": "2020-03-20T21:36:18Z",
93+
"modifiedDate": "2020-03-20T21:36:23Z"
94+
}
95+
}
96+
}
97+
}
98+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"supportTicketName": "testticket",
5+
"api-version": "2022-09-01-preview",
6+
"createSupportTicketParameters": {
7+
"properties": {
8+
"serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
9+
"title": "my title",
10+
"description": "my description",
11+
"problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid",
12+
"severity": "moderate",
13+
"advancedDiagnosticConsent": "Yes",
14+
"supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=",
15+
"contactDetails": {
16+
"firstName": "abc",
17+
"lastName": "xyz",
18+
"primaryEmailAddress": "[email protected]",
19+
"preferredContactMethod": "email",
20+
"preferredTimeZone": "Pacific Standard Time",
21+
"preferredSupportLanguage": "en-US",
22+
"country": "usa"
23+
},
24+
"quotaTicketDetails": {
25+
"quotaChangeRequestVersion": "1.0",
26+
"quotaChangeRequestSubType": "Account",
27+
"quotaChangeRequests": [
28+
{
29+
"region": "EastUS",
30+
"payload": "{\"AccountName\":\"test\",\"VMFamily\":\"standardA0_A7Family\",\"NewLimit\":200,\"Type\":\"Dedicated\"}"
31+
}
32+
]
33+
}
34+
}
35+
}
36+
},
37+
"responses": {
38+
"202": {
39+
"headers": {
40+
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview",
41+
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview"
42+
}
43+
},
44+
"200": {
45+
"body": {
46+
"id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket",
47+
"name": "testticket",
48+
"type": "Microsoft.Support/supportTickets",
49+
"properties": {
50+
"supportTicketId": "119120321001170",
51+
"description": "my description",
52+
"problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid",
53+
"problemClassificationDisplayName": "Batch",
54+
"severity": "moderate",
55+
"require24X7Response": false,
56+
"advancedDiagnosticConsent": "Yes",
57+
"supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=",
58+
"fileWorkspaceName": "testticket",
59+
"contactDetails": {
60+
"firstName": "abc",
61+
"lastName": "xyz",
62+
"preferredContactMethod": "email",
63+
"primaryEmailAddress": "[email protected]",
64+
"preferredTimeZone": "Pacific Standard Time",
65+
"country": "usa",
66+
"preferredSupportLanguage": "en-US"
67+
},
68+
"quotaTicketDetails": {
69+
"quotaChangeRequestVersion": "1.0",
70+
"quotaChangeRequestSubType": "Account",
71+
"quotaChangeRequests": [
72+
{
73+
"region": "EastUS",
74+
"payload": "{\"AccountName\":\"test\",\"VMFamily\":\"standardA0_A7Family\",\"NewLimit\":200,\"Type\":\"Dedicated\"}"
75+
}
76+
]
77+
},
78+
"serviceLevelAgreement": {
79+
"startTime": "2020-03-20T21:36:18Z",
80+
"expirationTime": "2020-03-21T17:36:18Z",
81+
"slaMinutes": 240
82+
},
83+
"supportEngineer": {
84+
"emailAddress": null
85+
},
86+
"supportPlanType": "Premier",
87+
"supportPlanDisplayName": "Premier",
88+
"title": "my title",
89+
"serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
90+
"serviceDisplayName": "Service and subscription limits (quotas)",
91+
"status": "Open",
92+
"createdDate": "2020-03-20T21:36:18Z",
93+
"modifiedDate": "2020-03-20T21:36:23Z"
94+
}
95+
}
96+
}
97+
}
98+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"supportTicketName": "testticket",
5+
"api-version": "2022-09-01-preview",
6+
"createSupportTicketParameters": {
7+
"properties": {
8+
"serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
9+
"title": "my title",
10+
"description": "my description",
11+
"problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid",
12+
"severity": "moderate",
13+
"advancedDiagnosticConsent": "Yes",
14+
"supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=",
15+
"contactDetails": {
16+
"firstName": "abc",
17+
"lastName": "xyz",
18+
"primaryEmailAddress": "[email protected]",
19+
"preferredContactMethod": "email",
20+
"preferredTimeZone": "Pacific Standard Time",
21+
"preferredSupportLanguage": "en-US",
22+
"country": "usa"
23+
},
24+
"quotaTicketDetails": {
25+
"quotaChangeRequestVersion": "1.0",
26+
"quotaChangeRequestSubType": "Account",
27+
"quotaChangeRequests": [
28+
{
29+
"region": "EastUS",
30+
"payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"LowPriority\"}"
31+
}
32+
]
33+
}
34+
}
35+
}
36+
},
37+
"responses": {
38+
"202": {
39+
"headers": {
40+
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview",
41+
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview"
42+
}
43+
},
44+
"200": {
45+
"body": {
46+
"id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket",
47+
"name": "testticket",
48+
"type": "Microsoft.Support/supportTickets",
49+
"properties": {
50+
"supportTicketId": "119120321001170",
51+
"description": "my description",
52+
"problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid",
53+
"problemClassificationDisplayName": "Batch",
54+
"severity": "moderate",
55+
"require24X7Response": false,
56+
"advancedDiagnosticConsent": "Yes",
57+
"supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=",
58+
"fileWorkspaceName": "testticket",
59+
"contactDetails": {
60+
"firstName": "abc",
61+
"lastName": "xyz",
62+
"preferredContactMethod": "email",
63+
"primaryEmailAddress": "[email protected]",
64+
"preferredTimeZone": "Pacific Standard Time",
65+
"country": "usa",
66+
"preferredSupportLanguage": "en-US"
67+
},
68+
"quotaTicketDetails": {
69+
"quotaChangeRequestVersion": "1.0",
70+
"quotaChangeRequestSubType": "Account",
71+
"quotaChangeRequests": [
72+
{
73+
"region": "EastUS",
74+
"payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"LowPriority\"}"
75+
}
76+
]
77+
},
78+
"serviceLevelAgreement": {
79+
"startTime": "2020-03-20T21:36:18Z",
80+
"expirationTime": "2020-03-21T17:36:18Z",
81+
"slaMinutes": 240
82+
},
83+
"supportEngineer": {
84+
"emailAddress": null
85+
},
86+
"supportPlanType": "Premier",
87+
"supportPlanDisplayName": "Premier",
88+
"title": "my title",
89+
"serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
90+
"serviceDisplayName": "Service and subscription limits (quotas)",
91+
"status": "Open",
92+
"createdDate": "2020-03-20T21:36:18Z",
93+
"modifiedDate": "2020-03-20T21:36:23Z"
94+
}
95+
}
96+
}
97+
}
98+
}

0 commit comments

Comments
 (0)