forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Microsoft.Support RP: Swagger and examples for stable version (Azure#…
…8551) * updated version, example and schema changes * fixing examples and updating readme files * Update support.json by gangan Removed html tags (kept some <br/> but can remove them as well) moved all of the links to md style. * Update support.json Added CSP and Sev 1 description * Updates from swagger json review * Updates from examples review * prettier check * updating custom words and running prettier * fixing path in readme.go.md Co-authored-by: Bhavin Shah <[email protected]> Co-authored-by: Ganga Narayanan <[email protected]> Co-authored-by: Nilay Chheda <[email protected]>
- Loading branch information
Showing
41 changed files
with
3,979 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1725,4 +1725,5 @@ disconnectactivesessions | |
bsls | ||
sessionids | ||
Dsms | ||
cloudManifestFiles | ||
cloudManifestFiles | ||
highestcriticalimpact |
20 changes: 20 additions & 0 deletions
20
...upport/stable/2020-04-01/examples/CheckNameAvailabilityForSupportTicketCommunication.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"supportTicketName": "testticket", | ||
"api-version": "2020-04-01", | ||
"checkNameAvailabilityInput": { | ||
"name": "sampleName", | ||
"type": "Microsoft.Support/communications" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": false, | ||
"reason": "Name is already in use", | ||
"message": "Name not available" | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...r/Microsoft.Support/stable/2020-04-01/examples/CheckNameAvailabilityWithSubscription.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"api-version": "2020-04-01", | ||
"checkNameAvailabilityInput": { | ||
"name": "sampleName", | ||
"type": "Microsoft.Support/supportTickets" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": false, | ||
"reason": "Name is already in use", | ||
"message": "Name not available" | ||
} | ||
} | ||
} | ||
} |
92 changes: 92 additions & 0 deletions
92
...table/2020-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"supportTicketName": "testticket", | ||
"api-version": "2020-04-01", | ||
"createSupportTicketParameters": { | ||
"properties": { | ||
"serviceId": "/providers/Microsoft.Support/services/quota_service_guid", | ||
"title": "my title", | ||
"description": "my description", | ||
"problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", | ||
"severity": "moderate", | ||
"contactDetails": { | ||
"firstName": "abc", | ||
"lastName": "xyz", | ||
"primaryEmailAddress": "[email protected]", | ||
"preferredContactMethod": "email", | ||
"preferredTimeZone": "Pacific Standard Time", | ||
"preferredSupportLanguage": "en-US", | ||
"country": "usa" | ||
}, | ||
"quotaTicketDetails": { | ||
"quotaChangeRequestVersion": "1.0", | ||
"quotaChangeRequestSubType": "Account", | ||
"quotaChangeRequests": [ | ||
{ | ||
"region": "EastUS", | ||
"payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"Jobs\"}" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", | ||
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket", | ||
"name": "testticket", | ||
"type": "Microsoft.Support/supportTickets", | ||
"properties": { | ||
"supportTicketId": "119120321001170", | ||
"description": "my description", | ||
"problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", | ||
"problemClassificationDisplayName": "Batch", | ||
"severity": "moderate", | ||
"require24X7Response": false, | ||
"contactDetails": { | ||
"firstName": "abc", | ||
"lastName": "xyz", | ||
"preferredContactMethod": "email", | ||
"primaryEmailAddress": "[email protected]", | ||
"preferredTimeZone": "Pacific Standard Time", | ||
"country": "usa", | ||
"preferredSupportLanguage": "en-US" | ||
}, | ||
"quotaTicketDetails": { | ||
"quotaChangeRequestVersion": "1.0", | ||
"quotaChangeRequestSubType": "Account", | ||
"quotaChangeRequests": [ | ||
{ | ||
"region": "EastUS", | ||
"payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"Jobs\"}" | ||
} | ||
] | ||
}, | ||
"serviceLevelAgreement": { | ||
"startTime": "2020-03-20T21:36:18Z", | ||
"expirationTime": "2020-03-21T17:36:18Z", | ||
"slaMinutes": 240 | ||
}, | ||
"supportEngineer": { | ||
"emailAddress": null | ||
}, | ||
"supportPlanType": "Premier", | ||
"title": "my title", | ||
"serviceId": "/providers/Microsoft.Support/services/quota_service_guid", | ||
"serviceDisplayName": "Service and subscription limits (quotas)", | ||
"status": "Open", | ||
"createdDate": "2020-03-20T21:36:18Z", | ||
"modifiedDate": "2020-03-20T21:36:23Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
92 changes: 92 additions & 0 deletions
92
...e/2020-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"supportTicketName": "testticket", | ||
"api-version": "2020-04-01", | ||
"createSupportTicketParameters": { | ||
"properties": { | ||
"serviceId": "/providers/Microsoft.Support/services/quota_service_guid", | ||
"title": "my title", | ||
"description": "my description", | ||
"problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", | ||
"severity": "moderate", | ||
"contactDetails": { | ||
"firstName": "abc", | ||
"lastName": "xyz", | ||
"primaryEmailAddress": "[email protected]", | ||
"preferredContactMethod": "email", | ||
"preferredTimeZone": "Pacific Standard Time", | ||
"preferredSupportLanguage": "en-US", | ||
"country": "usa" | ||
}, | ||
"quotaTicketDetails": { | ||
"quotaChangeRequestVersion": "1.0", | ||
"quotaChangeRequestSubType": "Account", | ||
"quotaChangeRequests": [ | ||
{ | ||
"region": "EastUS", | ||
"payload": "{\"AccountName\":\"test\",\"VMFamily\":\"standardA0_A7Family\",\"NewLimit\":200,\"Type\":\"Dedicated\"}" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", | ||
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket", | ||
"name": "testticket", | ||
"type": "Microsoft.Support/supportTickets", | ||
"properties": { | ||
"supportTicketId": "119120321001170", | ||
"description": "my description", | ||
"problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", | ||
"problemClassificationDisplayName": "Batch", | ||
"severity": "moderate", | ||
"require24X7Response": false, | ||
"contactDetails": { | ||
"firstName": "abc", | ||
"lastName": "xyz", | ||
"preferredContactMethod": "email", | ||
"primaryEmailAddress": "[email protected]", | ||
"preferredTimeZone": "Pacific Standard Time", | ||
"country": "usa", | ||
"preferredSupportLanguage": "en-US" | ||
}, | ||
"quotaTicketDetails": { | ||
"quotaChangeRequestVersion": "1.0", | ||
"quotaChangeRequestSubType": "Account", | ||
"quotaChangeRequests": [ | ||
{ | ||
"region": "EastUS", | ||
"payload": "{\"AccountName\":\"test\",\"VMFamily\":\"standardA0_A7Family\",\"NewLimit\":200,\"Type\":\"Dedicated\"}" | ||
} | ||
] | ||
}, | ||
"serviceLevelAgreement": { | ||
"startTime": "2020-03-20T21:36:18Z", | ||
"expirationTime": "2020-03-21T17:36:18Z", | ||
"slaMinutes": 240 | ||
}, | ||
"supportEngineer": { | ||
"emailAddress": null | ||
}, | ||
"supportPlanType": "Premier", | ||
"title": "my title", | ||
"serviceId": "/providers/Microsoft.Support/services/quota_service_guid", | ||
"serviceDisplayName": "Service and subscription limits (quotas)", | ||
"status": "Open", | ||
"createdDate": "2020-03-20T21:36:18Z", | ||
"modifiedDate": "2020-03-20T21:36:23Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
92 changes: 92 additions & 0 deletions
92
...2020-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"supportTicketName": "testticket", | ||
"api-version": "2020-04-01", | ||
"createSupportTicketParameters": { | ||
"properties": { | ||
"serviceId": "/providers/Microsoft.Support/services/quota_service_guid", | ||
"title": "my title", | ||
"description": "my description", | ||
"problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", | ||
"severity": "moderate", | ||
"contactDetails": { | ||
"firstName": "abc", | ||
"lastName": "xyz", | ||
"primaryEmailAddress": "[email protected]", | ||
"preferredContactMethod": "email", | ||
"preferredTimeZone": "Pacific Standard Time", | ||
"preferredSupportLanguage": "en-US", | ||
"country": "usa" | ||
}, | ||
"quotaTicketDetails": { | ||
"quotaChangeRequestVersion": "1.0", | ||
"quotaChangeRequestSubType": "Account", | ||
"quotaChangeRequests": [ | ||
{ | ||
"region": "EastUS", | ||
"payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"LowPriority\"}" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", | ||
"azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket", | ||
"name": "testticket", | ||
"type": "Microsoft.Support/supportTickets", | ||
"properties": { | ||
"supportTicketId": "119120321001170", | ||
"description": "my description", | ||
"problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", | ||
"problemClassificationDisplayName": "Batch", | ||
"severity": "moderate", | ||
"require24X7Response": false, | ||
"contactDetails": { | ||
"firstName": "abc", | ||
"lastName": "xyz", | ||
"preferredContactMethod": "email", | ||
"primaryEmailAddress": "[email protected]", | ||
"preferredTimeZone": "Pacific Standard Time", | ||
"country": "usa", | ||
"preferredSupportLanguage": "en-US" | ||
}, | ||
"quotaTicketDetails": { | ||
"quotaChangeRequestVersion": "1.0", | ||
"quotaChangeRequestSubType": "Account", | ||
"quotaChangeRequests": [ | ||
{ | ||
"region": "EastUS", | ||
"payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"LowPriority\"}" | ||
} | ||
] | ||
}, | ||
"serviceLevelAgreement": { | ||
"startTime": "2020-03-20T21:36:18Z", | ||
"expirationTime": "2020-03-21T17:36:18Z", | ||
"slaMinutes": 240 | ||
}, | ||
"supportEngineer": { | ||
"emailAddress": null | ||
}, | ||
"supportPlanType": "Premier", | ||
"title": "my title", | ||
"serviceId": "/providers/Microsoft.Support/services/quota_service_guid", | ||
"serviceDisplayName": "Service and subscription limits (quotas)", | ||
"status": "Open", | ||
"createdDate": "2020-03-20T21:36:18Z", | ||
"modifiedDate": "2020-03-20T21:36:23Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.