diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CheckNameAvailabilityForSupportTicketCommunication.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CheckNameAvailabilityForSupportTicketCommunication.json
index e4a8e69703d9..6c2f90549a67 100644
--- a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CheckNameAvailabilityForSupportTicketCommunication.json
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CheckNameAvailabilityForSupportTicketCommunication.json
@@ -1,20 +1,20 @@
{
- "parameters": {
- "subscriptionId": "76cb77fa-8b17-4eab-9493-b65dace99813",
- "supportTicketName": "testticket",
- "api-version": "2019-05-01-preview",
- "checkNameAvailabilityInput": {
- "name": "sampleName",
- "type": "Microsoft.Support/communications"
- }
- },
- "responses": {
- "200": {
- "body": {
- "nameAvailable": false,
- "reason": "Name is already in use",
- "message": "Name not available"
- }
- }
+ "parameters": {
+ "subscriptionId": "subid",
+ "supportTicketName": "testticket",
+ "api-version": "2019-05-01-preview",
+ "checkNameAvailabilityInput": {
+ "name": "sampleName",
+ "type": "Microsoft.Support/communications"
}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nameAvailable": false,
+ "reason": "Name is already in use",
+ "message": "Name not available"
+ }
+ }
+ }
}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CheckNameAvailabilityWithSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CheckNameAvailabilityWithSubscription.json
index 63878f518aa4..83463e6ada59 100644
--- a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CheckNameAvailabilityWithSubscription.json
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CheckNameAvailabilityWithSubscription.json
@@ -1,19 +1,19 @@
{
- "parameters": {
- "subscriptionId": "76cb77fa-8b17-4eab-9493-b65dace99813",
- "api-version": "2019-05-01-preview",
- "checkNameAvailabilityInput": {
- "name": "sampleName",
- "type": "Microsoft.Support/supportTickets"
- }
- },
- "responses": {
- "200": {
- "body": {
- "nameAvailable": false,
- "reason": "Name is already in use",
- "message": "Name not available"
- }
- }
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-05-01-preview",
+ "checkNameAvailabilityInput": {
+ "name": "sampleName",
+ "type": "Microsoft.Support/supportTickets"
}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nameAvailable": false,
+ "reason": "Name is already in use",
+ "message": "Name not available"
+ }
+ }
+ }
}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json
new file mode 100644
index 000000000000..a6e58cacb32a
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "supportTicketName": "testticket",
+ "api-version": "2019-05-01-preview",
+ "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": "abc@contoso.com",
+ "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=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2019-05-01-preview"
+ }
+ },
+ "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",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "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": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "my title",
+ "serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
+ "serviceDisplayName": "Service and subscription limits (quotas)",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json
new file mode 100644
index 000000000000..03342384ce24
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "supportTicketName": "testticket",
+ "api-version": "2019-05-01-preview",
+ "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": "abc@contoso.com",
+ "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=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2019-05-01-preview"
+ }
+ },
+ "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",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "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": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "my title",
+ "serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
+ "serviceDisplayName": "Service and subscription limits (quotas)",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json
new file mode 100644
index 000000000000..ee7b85f5802e
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "supportTicketName": "testticket",
+ "api-version": "2019-05-01-preview",
+ "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": "abc@contoso.com",
+ "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=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2019-05-01-preview"
+ }
+ },
+ "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",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "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": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "my title",
+ "serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
+ "serviceDisplayName": "Service and subscription limits (quotas)",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json
new file mode 100644
index 000000000000..28f40e19089a
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "supportTicketName": "testticket",
+ "api-version": "2019-05-01-preview",
+ "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": "abc@contoso.com",
+ "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\":\"Pools\"}"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2019-05-01-preview"
+ }
+ },
+ "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",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "usa",
+ "preferredSupportLanguage": "en-US"
+ },
+ "quotaTicketDetails": {
+ "quotaChangeRequestVersion": "1.0",
+ "quotaChangeRequestSubType": "Account",
+ "quotaChangeRequests": [
+ {
+ "region": "EastUS",
+ "payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"Pools\"}"
+ }
+ ]
+ },
+ "serviceLevelAgreement": {
+ "startTime": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "my title",
+ "serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
+ "serviceDisplayName": "Service and subscription limits (quotas)",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBatchQuotaTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBatchQuotaTicketForSubscription.json
new file mode 100644
index 000000000000..fd47918bd40c
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBatchQuotaTicketForSubscription.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "supportTicketName": "testticket",
+ "api-version": "2019-05-01-preview",
+ "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": "abc@contoso.com",
+ "preferredContactMethod": "email",
+ "preferredTimeZone": "Pacific Standard Time",
+ "preferredSupportLanguage": "en-US",
+ "country": "usa"
+ },
+ "quotaTicketDetails": {
+ "quotaChangeRequestVersion": "1.0",
+ "quotaChangeRequestSubType": "Subscription",
+ "quotaChangeRequests": [
+ {
+ "region": "EastUS",
+ "payload": "{\"NewLimit\":200,\"Type\":\"Account\"}"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2019-05-01-preview"
+ }
+ },
+ "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",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "usa",
+ "preferredSupportLanguage": "en-US"
+ },
+ "quotaTicketDetails": {
+ "quotaChangeRequestVersion": "1.0",
+ "quotaChangeRequestSubType": "Subscription",
+ "quotaChangeRequests": [
+ {
+ "region": "EastUS",
+ "payload": "{\"NewLimit\":200,\"Type\":\"Account\"}"
+ }
+ ]
+ },
+ "serviceLevelAgreement": {
+ "startTime": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "my title",
+ "serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
+ "serviceDisplayName": "Service and subscription limits (quotas)",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBillingSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBillingSupportTicketForSubscription.json
index 3a5ce4fc4efc..d8d1055d4bb9 100644
--- a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBillingSupportTicketForSubscription.json
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateBillingSupportTicketForSubscription.json
@@ -1,14 +1,14 @@
{
"parameters": {
- "subscriptionId": "76cb77fa-8b17-4eab-9493-b65dace99813",
+ "subscriptionId": "subid",
"supportTicketName": "testticket",
"api-version": "2019-05-01-preview",
"createSupportTicketParameters": {
"properties": {
- "serviceId": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc",
+ "serviceId": "/providers/Microsoft.Support/services/billing_service_guid",
"title": "my title",
"description": "my description",
- "problemClassificationId": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/a8d819ba-73bd-10c2-fcd5-7059fc386df3",
+ "problemClassificationId": "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid",
"severity": "moderate",
"contactDetails": {
"firstName": "abc",
@@ -24,20 +24,20 @@
},
"responses": {
"202": {
- "headers": {
- "location": "https://management.azure.com/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/operationResults/1ec71b3f-5d74-4239-be45-897f23f4f52e?api-version=2019-05-01-preview",
- "azure-asyncoperation": "https://management.azure.com/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/operationsStatus/1ec71b3f-5d74-4239-be45-897f23f4f52e?api-version=2019-05-01-preview"
- }
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2019-05-01-preview"
+ }
},
"200": {
"body": {
- "id": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportTickets/testticket",
+ "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/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/8b6c2e08-cd75-c2d1-7a12-e4daf1e16f2e",
+ "problemClassificationId": "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid",
"problemClassificationDisplayName": "Refund request",
"severity": "moderate",
"productionOutage": false,
@@ -58,7 +58,7 @@
},
"supportPlanType": "Premier",
"title": "my title",
- "serviceId": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc",
+ "serviceId": "/providers/Microsoft.Support/services/billing_service_guid",
"serviceDisplayName": "Billing",
"status": "Open",
"createdDate": "2018-03-20T21:36:18Z",
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateCoresQuotaTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateCoresQuotaTicketForSubscription.json
index 8fdb17cc401b..6d59bbde87da 100644
--- a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateCoresQuotaTicketForSubscription.json
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateCoresQuotaTicketForSubscription.json
@@ -1,14 +1,14 @@
{
"parameters": {
- "subscriptionId": "76cb77fa-8b17-4eab-9493-b65dace99813",
+ "subscriptionId": "subid",
"supportTicketName": "testticket",
"api-version": "2019-05-01-preview",
"createSupportTicketParameters": {
"properties": {
- "serviceId": "/providers/Microsoft.Support/services/06bfd9d3-516b-d5c6-5802-169c800dec89",
+ "serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
"title": "my title",
"description": "my description",
- "problemClassificationId": "/providers/Microsoft.Support/services/06bfd9d3-516b-d5c6-5802-169c800dec89/problemClassifications/e12e3d1d-7fa0-af33-c6d0-3c50df9658a3",
+ "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cores_problemClassification_guid",
"severity": "moderate",
"contactDetails": {
"firstName": "abc",
@@ -33,23 +33,23 @@
},
"responses": {
"202": {
- "headers": {
- "location": "https://management.azure.com/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/operationResults/1ec71b3f-5d74-4239-be45-897f23f4f52e?api-version=2019-05-01-preview",
- "azure-asyncoperation": "https://management.azure.com/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/operationsStatus/1ec71b3f-5d74-4239-be45-897f23f4f52e?api-version=2019-05-01-preview"
- }
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2019-05-01-preview"
+ }
},
"200": {
"body": {
- "id": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportTickets/testticket",
+ "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/06bfd9d3-516b-d5c6-5802-169c800dec89/problemClassifications/e12e3d1d-7fa0-af33-c6d0-3c50df9658a3",
+ "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cores_problemClassification_guid",
"problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases",
"severity": "moderate",
- "productionOutage": false,
+ "productionOutage": false,
"require24X7Response": false,
"contactDetails": {
"firstName": "abc",
@@ -76,7 +76,7 @@
},
"supportPlanType": "Premier",
"title": "my title",
- "serviceId": "/providers/Microsoft.Support/services/06bfd9d3-516b-d5c6-5802-169c800dec89",
+ "serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
"serviceDisplayName": "Service and subscription limits (quotas)",
"status": "Open",
"createdDate": "2018-03-20T21:36:18Z",
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json
new file mode 100644
index 000000000000..b0e7d4d8df28
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "supportTicketName": "testticket",
+ "api-version": "2019-05-01-preview",
+ "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/machine_learning_service_problemClassification_guid",
+ "severity": "moderate",
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredContactMethod": "email",
+ "preferredTimeZone": "Pacific Standard Time",
+ "preferredSupportLanguage": "en-US",
+ "country": "usa"
+ },
+ "quotaTicketDetails": {
+ "quotaChangeRequestVersion": "1.0",
+ "quotaChangeRequestSubType": "Account",
+ "quotaChangeRequests": [
+ {
+ "region": "EastUS",
+ "payload": "{\"VMFamily\":\"standardA0_A7Family\",\"NewLimit\":200,\"Type\":\"Dedicated\"}"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2019-05-01-preview"
+ }
+ },
+ "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/machine_learning_service_problemClassification_guid",
+ "problemClassificationDisplayName": "Machine Learning service",
+ "severity": "moderate",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "usa",
+ "preferredSupportLanguage": "en-US"
+ },
+ "quotaTicketDetails": {
+ "quotaChangeRequestVersion": "1.0",
+ "quotaChangeRequestSubType": "Account",
+ "quotaChangeRequests": [
+ {
+ "region": "EastUS",
+ "payload": "{\"VMFamily\":\"standardA0_A7Family\",\"NewLimit\":200,\"Type\":\"Dedicated\"}"
+ }
+ ]
+ },
+ "serviceLevelAgreement": {
+ "startTime": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "my title",
+ "serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
+ "serviceDisplayName": "Service and subscription limits (quotas)",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json
new file mode 100644
index 000000000000..e9f4478570b6
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "supportTicketName": "testticket",
+ "api-version": "2019-05-01-preview",
+ "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/machine_learning_service_problemClassification_guid",
+ "severity": "moderate",
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredContactMethod": "email",
+ "preferredTimeZone": "Pacific Standard Time",
+ "preferredSupportLanguage": "en-US",
+ "country": "usa"
+ },
+ "quotaTicketDetails": {
+ "quotaChangeRequestVersion": "1.0",
+ "quotaChangeRequestSubType": "Account",
+ "quotaChangeRequests": [
+ {
+ "region": "EastUS",
+ "payload": "{\"NewLimit\":200,\"Type\":\"LowPriority\"}"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2019-05-01-preview"
+ }
+ },
+ "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/machine_learning_service_problemClassification_guid",
+ "problemClassificationDisplayName": "Machine Learning service",
+ "severity": "moderate",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "usa",
+ "preferredSupportLanguage": "en-US"
+ },
+ "quotaTicketDetails": {
+ "quotaChangeRequestVersion": "1.0",
+ "quotaChangeRequestSubType": "Account",
+ "quotaChangeRequests": [
+ {
+ "region": "EastUS",
+ "payload": "{\"NewLimit\":200,\"Type\":\"LowPriority\"}"
+ }
+ ]
+ },
+ "serviceLevelAgreement": {
+ "startTime": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "my title",
+ "serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
+ "serviceDisplayName": "Service and subscription limits (quotas)",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json
new file mode 100644
index 000000000000..f70134709c9a
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "supportTicketName": "testticket",
+ "api-version": "2019-05-01-preview",
+ "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/sql_database_problemClassification_guid",
+ "severity": "moderate",
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredContactMethod": "email",
+ "preferredTimeZone": "Pacific Standard Time",
+ "preferredSupportLanguage": "en-US",
+ "country": "usa"
+ },
+ "quotaTicketDetails": {
+ "quotaChangeRequestVersion": "1.0",
+ "quotaChangeRequestSubType": "DTUs",
+ "quotaChangeRequests": [
+ {
+ "region": "EastUS",
+ "payload": "{\"ServerName\":\"testserver\",\"NewLimit\":54000}"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2019-05-01-preview"
+ }
+ },
+ "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/sql_database_problemClassification_guid",
+ "problemClassificationDisplayName": "SQL database",
+ "severity": "moderate",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "usa",
+ "preferredSupportLanguage": "en-US"
+ },
+ "quotaTicketDetails": {
+ "quotaChangeRequestVersion": "1.0",
+ "quotaChangeRequestSubType": "DTUs",
+ "quotaChangeRequests": [
+ {
+ "region": "EastUS",
+ "payload": "{\"ServerName\":\"testserver\",\"NewLimit\":54000}"
+ }
+ ]
+ },
+ "serviceLevelAgreement": {
+ "startTime": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "my title",
+ "serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
+ "serviceDisplayName": "Service and subscription limits (quotas)",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json
new file mode 100644
index 000000000000..b391f86a336a
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "supportTicketName": "testticket",
+ "api-version": "2019-05-01-preview",
+ "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/sql_database_problemClassification_guid",
+ "severity": "moderate",
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredContactMethod": "email",
+ "preferredTimeZone": "Pacific Standard Time",
+ "preferredSupportLanguage": "en-US",
+ "country": "usa"
+ },
+ "quotaTicketDetails": {
+ "quotaChangeRequestVersion": "1.0",
+ "quotaChangeRequestSubType": "Servers",
+ "quotaChangeRequests": [
+ {
+ "region": "EastUS",
+ "payload": "{\"NewLimit\":200}"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2019-05-01-preview"
+ }
+ },
+ "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/sql_database_problemClassification_guid",
+ "problemClassificationDisplayName": "SQL database",
+ "severity": "moderate",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "usa",
+ "preferredSupportLanguage": "en-US"
+ },
+ "quotaTicketDetails": {
+ "quotaChangeRequestVersion": "1.0",
+ "quotaChangeRequestSubType": "Servers",
+ "quotaChangeRequests": [
+ {
+ "region": "EastUS",
+ "payload": "{\"NewLimit\":200}"
+ }
+ ]
+ },
+ "serviceLevelAgreement": {
+ "startTime": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "my title",
+ "serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
+ "serviceDisplayName": "Service and subscription limits (quotas)",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json
new file mode 100644
index 000000000000..e92f0f01433d
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "supportTicketName": "testticket",
+ "api-version": "2019-05-01-preview",
+ "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/sql_datawarehouse_problemClassification_guid",
+ "severity": "moderate",
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredContactMethod": "email",
+ "preferredTimeZone": "Pacific Standard Time",
+ "preferredSupportLanguage": "en-US",
+ "country": "usa"
+ },
+ "quotaTicketDetails": {
+ "quotaChangeRequestVersion": "1.0",
+ "quotaChangeRequestSubType": "DTUs",
+ "quotaChangeRequests": [
+ {
+ "region": "EastUS",
+ "payload": "{\"ServerName\":\"testserver\",\"NewLimit\":54000}"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2019-05-01-preview"
+ }
+ },
+ "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/sql_datawarehouse_problemClassification_guid",
+ "problemClassificationDisplayName": "SQL Data Warehouse",
+ "severity": "moderate",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "usa",
+ "preferredSupportLanguage": "en-US"
+ },
+ "quotaTicketDetails": {
+ "quotaChangeRequestVersion": "1.0",
+ "quotaChangeRequestSubType": "DTUs",
+ "quotaChangeRequests": [
+ {
+ "region": "EastUS",
+ "payload": "{\"ServerName\":\"testserver\",\"NewLimit\":54000}"
+ }
+ ]
+ },
+ "serviceLevelAgreement": {
+ "startTime": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "my title",
+ "serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
+ "serviceDisplayName": "Service and subscription limits (quotas)",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json
new file mode 100644
index 000000000000..f7eb838f0fbf
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "supportTicketName": "testticket",
+ "api-version": "2019-05-01-preview",
+ "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/sql_datawarehouse_problemClassification_guid",
+ "severity": "moderate",
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredContactMethod": "email",
+ "preferredTimeZone": "Pacific Standard Time",
+ "preferredSupportLanguage": "en-US",
+ "country": "usa"
+ },
+ "quotaTicketDetails": {
+ "quotaChangeRequestVersion": "1.0",
+ "quotaChangeRequestSubType": "Servers",
+ "quotaChangeRequests": [
+ {
+ "region": "EastUS",
+ "payload": "{\"NewLimit\":200}"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2019-05-01-preview"
+ }
+ },
+ "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/sql_datawarehouse_problemClassification_guid",
+ "problemClassificationDisplayName": "SQL Data Warehouse",
+ "severity": "moderate",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "usa",
+ "preferredSupportLanguage": "en-US"
+ },
+ "quotaTicketDetails": {
+ "quotaChangeRequestVersion": "1.0",
+ "quotaChangeRequestSubType": "Servers",
+ "quotaChangeRequests": [
+ {
+ "region": "EastUS",
+ "payload": "{\"NewLimit\":200}"
+ }
+ ]
+ },
+ "serviceLevelAgreement": {
+ "startTime": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "my title",
+ "serviceId": "/providers/Microsoft.Support/services/quota_service_guid",
+ "serviceDisplayName": "Service and subscription limits (quotas)",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json
index 72a2cdaf5e59..5a2c8cb37926 100644
--- a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json
@@ -1,14 +1,14 @@
{
"parameters": {
- "subscriptionId": "76cb77fa-8b17-4eab-9493-b65dace99813",
+ "subscriptionId": "subid",
"supportTicketName": "testticket",
"api-version": "2019-05-01-preview",
"createSupportTicketParameters": {
"properties": {
- "serviceId": "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6",
+ "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid",
"title": "my title",
"description": "my description",
- "problemClassificationId": "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6/problemClassifications/eefb3e6a-0243-9fc2-9197-d2798d71a74c",
+ "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid",
"severity": "moderate",
"contactDetails": {
"firstName": "abc",
@@ -24,23 +24,23 @@
},
"responses": {
"202": {
- "headers": {
- "location": "https://management.azure.com/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/operationResults/1ec71b3f-5d74-4239-be45-897f23f4f52e?api-version=2019-05-01-preview",
- "azure-asyncoperation": "https://management.azure.com/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/operationsStatus/1ec71b3f-5d74-4239-be45-897f23f4f52e?api-version=2019-05-01-preview"
- }
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2019-05-01-preview"
+ }
},
"200": {
"body": {
- "id": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportTickets/testticket",
+ "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/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6/problemClassifications/eefb3e6a-0243-9fc2-9197-d2798d71a74c",
+ "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid",
"problemClassificationDisplayName": "Transfer ownership of my subscription",
"severity": "moderate",
- "productionOutage": false,
+ "productionOutage": false,
"require24X7Response": false,
"contactDetails": {
"firstName": "abc",
@@ -58,7 +58,7 @@
},
"supportPlanType": "Premier",
"title": "my title",
- "serviceId": "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6",
+ "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid",
"serviceDisplayName": "Subscription management",
"status": "Open",
"createdDate": "2018-03-20T21:36:18Z",
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSupportTicketCommunication.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSupportTicketCommunication.json
index 7d1ec519f556..0dda09e77656 100644
--- a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSupportTicketCommunication.json
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateSupportTicketCommunication.json
@@ -1,38 +1,38 @@
{
- "parameters": {
- "subscriptionId": "76cb77fa-8b17-4eab-9493-b65dace99813",
- "supportTicketName": "testticket",
- "communicationName": "testcommunication",
- "api-version": "2019-05-01-preview",
- "createCommunicationParameters": {
- "properties": {
- "subject": "This is a test message from a customer!",
- "body": "This is a test message from a customer!"
- }
- }
+ "parameters": {
+ "subscriptionId": "subid",
+ "supportTicketName": "testticket",
+ "communicationName": "testcommunication",
+ "api-version": "2019-05-01-preview",
+ "createCommunicationParameters": {
+ "properties": {
+ "subject": "This is a test message from a customer!",
+ "body": "This is a test message from a customer!",
+ "sender": "user@contoso.com"
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2019-05-01-preview"
+ }
},
- "responses": {
- "202": {
- "headers": {
- "location": "https://management.azure.com/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/operationResults/1ec71b3f-5d74-4239-be45-897f23f4f52e?api-version=2019-05-01-preview",
- "azure-asyncoperation": "https://management.azure.com/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/operationsStatus/1ec71b3f-5d74-4239-be45-897f23f4f52e?api-version=2019-05-01-preview"
- }
- },
- "200": {
- "body": {
- "id": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportTickets/testticket/communications/testcommunication",
- "name": "testcommunication",
- "type": "Microsoft.Support/communications",
- "properties": {
- "subject": "This is a test message from a customer!",
- "body": "This is a test message from a customer!",
- "communicationType": "web",
- "communicationDirection": "outbound",
- "createdDate": "2016-08-24T20:18:19Z",
- "sender": "user@contoso.com"
- }
- }
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket/communications/testcommunication",
+ "name": "testcommunication",
+ "type": "Microsoft.Support/communications",
+ "properties": {
+ "subject": "This is a test message from a customer!",
+ "body": "This is a test message from a customer!",
+ "communicationType": "web",
+ "communicationDirection": "outbound",
+ "createdDate": "2016-08-24T20:18:19Z",
+ "sender": "user@contoso.com"
}
+ }
}
+ }
}
-
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json
index ad98ed2cb82c..655df7e30ff9 100644
--- a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "subscriptionId": "76cb77fa-8b17-4eab-9493-b65dace99813",
+ "subscriptionId": "subid",
"supportTicketName": "testticket",
"api-version": "2019-05-01-preview",
"createSupportTicketParameters": {
@@ -8,7 +8,7 @@
"serviceId": "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc",
"title": "my title",
"description": "my description",
- "problemClassificationId": "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc/problemClassifications/ef8b3865-0c5a-247b-dcaa-d70fd7611a3c",
+ "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid/problemClassifications/problemClassification_guid",
"severity": "moderate",
"contactDetails": {
"firstName": "abc",
@@ -20,30 +20,30 @@
"country": "usa"
},
"technicalTicketDetails": {
- "resourceId": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver"
+ "resourceId": "/subscriptions/subid/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver"
}
}
}
},
"responses": {
"202": {
- "headers": {
- "location": "https://management.azure.com/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/operationResults/1ec71b3f-5d74-4239-be45-897f23f4f52e?api-version=2019-05-01-preview",
- "azure-asyncoperation": "https://management.azure.com/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/operationsStatus/1ec71b3f-5d74-4239-be45-897f23f4f52e?api-version=2019-05-01-preview"
- }
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2019-05-01-preview",
+ "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2019-05-01-preview"
+ }
},
"200": {
"body": {
- "id": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportTickets/testticket",
+ "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/cddd3eb5-1830-b494-44fd-782f691479dc/problemClassifications/ef8b3865-0c5a-247b-dcaa-d70fd7611a3c",
+ "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid/problemClassifications/problemClassification_guid",
"problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH",
"severity": "moderate",
- "productionOutage": false,
+ "productionOutage": false,
"require24X7Response": false,
"contactDetails": {
"firstName": "abc",
@@ -55,7 +55,7 @@
"preferredSupportLanguage": "en-US"
},
"technicalTicketDetails": {
- "resourceId": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver"
+ "resourceId": "/subscriptions/subid/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver"
},
"serviceLevelAgreement": {
"startTime": "2018-03-20T21:36:18Z",
@@ -64,7 +64,7 @@
},
"supportPlanType": "Premier",
"title": "my title",
- "serviceId": "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc",
+ "serviceId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid",
"serviceDisplayName": "Virtual Machine running Linux",
"status": "Open",
"createdDate": "2018-03-20T21:36:18Z",
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json
index eb5c713d1b3e..bfe3c3e109e9 100644
--- a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json
@@ -1,15 +1,15 @@
{
"parameters": {
- "subscriptionId": "0154f7fe-df09-4981-bf82-7ad5c1f596eb",
+ "subscriptionId": "subid",
"supportTicketName": "testticket",
- "communicationName": "8e9cf824-616e-4478-92c4-10b03c677104",
+ "communicationName": "testmessage",
"api-version": "2019-05-01-preview"
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/0154f7fe-df09-4981-bf82-7ad5c1f596eb/providers/Microsoft.Support/supportTickets/testticket/communications/8e9cf824-616e-4478-92c4-10b03c677104",
- "name": "8e9cf824-616e-4478-92c4-10b03c677104",
+ "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage",
+ "name": "testmessage",
"type": "Microsoft.Support/communications",
"properties": {
"subject": "this is a test message",
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetProblemClassification.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetProblemClassification.json
index 3627dca9be1d..76ecbb73b061 100644
--- a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetProblemClassification.json
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetProblemClassification.json
@@ -1,19 +1,19 @@
{
- "parameters": {
- "serviceName": "517f2da6-78fd-0498-4e22-ad26996b1dfc",
- "problemClassificationName": "057f6615-3650-5370-57b2-e1a64af3b03",
- "api-version": "2019-05-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/057f6615-3650-5370-57b2-e1a64af3b037",
- "name": "057f6615-3650-5370-57b2-e1a64af3b037",
- "type": "Microsoft.Support/problemClassifications",
- "properties": {
- "displayName": "/Reservation Management/Exchanges and Refunds"
- }
- }
+ "parameters": {
+ "serviceName": "service_guid",
+ "problemClassificationName": "problemClassification_guid",
+ "api-version": "2019-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid",
+ "name": "problemClassification_guid",
+ "type": "Microsoft.Support/problemClassifications",
+ "properties": {
+ "displayName": "Reservation Management / Exchanges and Refunds"
}
+ }
}
+ }
}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetService.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetService.json
index 97881a9cc71f..3438c26e605e 100644
--- a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetService.json
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetService.json
@@ -1,18 +1,18 @@
{
- "parameters": {
- "serviceName": "517f2da6-78fd-0498-4e22-ad26996b1dfc",
- "api-version": "2019-05-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc",
- "name": "517f2da6-78fd-0498-4e22-ad26996b1dfc",
- "type": "Microsoft.Support/services",
- "properties": {
- "displayName": "Billing"
- }
- }
- }
- }
+ "parameters": {
+ "serviceName": "service_guid",
+ "api-version": "2019-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Support/services/service_guid",
+ "name": "service_guid",
+ "type": "Microsoft.Support/services",
+ "properties": {
+ "displayName": "Billing"
+ }
+ }
+ }
+ }
}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetSubscriptionSupportTicketDetails.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetSubscriptionSupportTicketDetails.json
index d1d9aaa65eef..ac41b1fc8da2 100644
--- a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetSubscriptionSupportTicketDetails.json
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/GetSubscriptionSupportTicketDetails.json
@@ -1,22 +1,22 @@
{
"parameters": {
- "subscriptionId": "76cb77fa-8b17-4eab-9493-b65dace99813",
+ "subscriptionId": "subid",
"supportTicketName": "testticket",
"api-version": "2019-05-01-preview"
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportTickets/testticket",
+ "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket",
"name": "testticket",
"type": "Microsoft.Support/supportTickets",
"properties": {
"supportTicketId": "118032014183770",
"description": "This is a test - please ignore",
- "problemClassificationId": "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6/problemClassifications/6abdbef4-3c18-3ce7-4354-03018676ec14",
+ "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid",
"problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number",
"severity": "minimal",
- "productionOutage": false,
+ "productionOutage": false,
"require24X7Response": false,
"contactDetails": {
"firstName": "abc",
@@ -34,7 +34,7 @@
},
"supportPlanType": "Premier",
"title": "Test - please ignore",
- "serviceId": "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6",
+ "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid",
"serviceDisplayName": "Subscription management",
"status": "Open",
"createdDate": "2018-03-20T21:36:18Z",
@@ -44,4 +44,3 @@
}
}
}
-
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListCommunicationsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListCommunicationsForSubscriptionSupportTicket.json
index 664808cc79fe..8302a53195e3 100644
--- a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListCommunicationsForSubscriptionSupportTicket.json
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListCommunicationsForSubscriptionSupportTicket.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "subscriptionId": "0154f7fe-df09-4981-bf82-7ad5c1f596eb",
+ "subscriptionId": "subid",
"supportTicketName": "testticket",
"api-version": "2019-05-01-preview"
},
@@ -9,8 +9,8 @@
"body": {
"value": [
{
- "id": "/subscriptions/0154f7fe-df09-4981-bf82-7ad5c1f596eb/providers/Microsoft.Support/supportTickets/testticket/communications/8e9cf824-616e-4478-92c4-10b03c677104",
- "name": "8e9cf824-616e-4478-92c4-10b03c677104",
+ "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1",
+ "name": "testmessage1",
"type": "Microsoft.Support/communications",
"properties": {
"subject": "this is a test message",
@@ -22,8 +22,8 @@
}
},
{
- "id": "/subscriptions/0154f7fe-df09-4981-bf82-7ad5c1f596eb/providers/Microsoft.Support/supportTickets/testticket/communications/f21f8082-574c-43b4-ad62-92119a797030",
- "name": "f21f8082-574c-43b4-ad62-92119a797030",
+ "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2",
+ "name": "testmessage2",
"type": "Microsoft.Support/communications",
"properties": {
"subject": "test",
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListOperations.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListOperations.json
index a77c60df40d3..2703ff7bfbf4 100644
--- a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListOperations.json
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListOperations.json
@@ -1,94 +1,94 @@
{
- "parameters": {
- "api-version": "2019-05-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "Microsoft.Support/services/read",
- "display": {
- "description": "Gets all the Azure services available for support",
- "operation": "Reads Services",
- "provider": "Microsoft Support",
- "resource": "Service"
- }
- },
- {
- "name": "Microsoft.Support/problemClassifications/read",
- "display": {
- "description": "Gets all the problem classifications available for a specific Azure service",
- "operation": "Reads Problem Classifications",
- "provider": "Microsoft Support",
- "resource": "Problem Classification"
- }
- },
- {
- "name": "Microsoft.Support/supportTickets/read",
- "display": {
- "description": "Gets all the support tickets",
- "operation": "Reads Support Tickets",
- "provider": "Microsoft Support",
- "resource": "Support Ticket"
- }
- },
- {
- "name": "Microsoft.Support/supportTickets/write",
- "display": {
- "description": "Updates support ticket",
- "operation": "Updates support ticket",
- "provider": "Microsoft Support",
- "resource": "Support Ticket"
- }
- },
- {
- "name": "Microsoft.Support/communications/read",
- "display": {
- "description": "Gets all the communications",
- "operation": "Reads Communications",
- "provider": "Microsoft Support",
- "resource": "Communication"
- }
- },
- {
- "name": "Microsoft.Support/communications/write",
- "display": {
- "description": "Creates a communication",
- "operation": "Creates a communication",
- "provider": "Microsoft Support",
- "resource": "Communication"
- }
- },
- {
- "name": "Microsoft.Support/register/action",
- "display": {
- "description": "Registers Support Resource Provider",
- "operation": "Registers Support Resource Provider",
- "provider": "Registers Support Resource Provider",
- "resource": "Support Registration"
- }
- },
- {
- "name": "Microsoft.Support/createSupportTicket/action",
- "display": {
- "description": "Creates support ticket",
- "operation": "Registers Support Resource Provider",
- "provider": "Microsoft Support",
- "resource": "SupportTicket"
- }
- },
- {
- "name": "Microsoft.Support/addCommunication/action",
- "display": {
- "description": "Add communication to support ticket",
- "operation": "Registers Support Resource Provider",
- "provider": "Microsoft Support",
- "resource": "Communication"
- }
- }
- ]
+ "parameters": {
+ "api-version": "2019-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Support/services/read",
+ "display": {
+ "description": "Gets all the Azure services available for support",
+ "operation": "Reads Services",
+ "provider": "Microsoft Support",
+ "resource": "Service"
}
- }
+ },
+ {
+ "name": "Microsoft.Support/problemClassifications/read",
+ "display": {
+ "description": "Gets all the problem classifications available for a specific Azure service",
+ "operation": "Reads Problem Classifications",
+ "provider": "Microsoft Support",
+ "resource": "Problem Classification"
+ }
+ },
+ {
+ "name": "Microsoft.Support/supportTickets/read",
+ "display": {
+ "description": "Gets all the support tickets",
+ "operation": "Reads Support Tickets",
+ "provider": "Microsoft Support",
+ "resource": "Support Ticket"
+ }
+ },
+ {
+ "name": "Microsoft.Support/supportTickets/write",
+ "display": {
+ "description": "Updates support ticket",
+ "operation": "Updates support ticket",
+ "provider": "Microsoft Support",
+ "resource": "Support Ticket"
+ }
+ },
+ {
+ "name": "Microsoft.Support/communications/read",
+ "display": {
+ "description": "Gets all the communications",
+ "operation": "Reads Communications",
+ "provider": "Microsoft Support",
+ "resource": "Communication"
+ }
+ },
+ {
+ "name": "Microsoft.Support/communications/write",
+ "display": {
+ "description": "Creates a communication",
+ "operation": "Creates a communication",
+ "provider": "Microsoft Support",
+ "resource": "Communication"
+ }
+ },
+ {
+ "name": "Microsoft.Support/register/action",
+ "display": {
+ "description": "Registers Support Resource Provider",
+ "operation": "Registers Support Resource Provider",
+ "provider": "Registers Support Resource Provider",
+ "resource": "Support Registration"
+ }
+ },
+ {
+ "name": "Microsoft.Support/createSupportTicket/action",
+ "display": {
+ "description": "Creates support ticket",
+ "operation": "Registers Support Resource Provider",
+ "provider": "Microsoft Support",
+ "resource": "SupportTicket"
+ }
+ },
+ {
+ "name": "Microsoft.Support/addCommunication/action",
+ "display": {
+ "description": "Add communication to support ticket",
+ "operation": "Registers Support Resource Provider",
+ "provider": "Microsoft Support",
+ "resource": "Communication"
+ }
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListProblemClassifications.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListProblemClassifications.json
index 8e3a0fa80ef7..94202b92b2a8 100644
--- a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListProblemClassifications.json
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListProblemClassifications.json
@@ -1,46 +1,46 @@
{
- "parameters": {
- "serviceName": "517f2da6-78fd-0498-4e22-ad26996b1dfc",
- "api-version": "2019-05-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/057f6615-3650-5370-57b2-e1a64af3b037",
- "name": "057f6615-3650-5370-57b2-e1a64af3b037",
- "type": "Microsoft.Support/problemClassifications",
- "properties": {
- "displayName": "/Reservation Management/Exchanges and Refunds"
- }
- },
- {
- "id": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/0b759e67-2619-49bf-441d-ed952a5f32c5",
- "name": "0b759e67-2619-49bf-441d-ed952a5f32c5",
- "type": "Microsoft.Support/problemClassifications",
- "properties": {
- "displayName": "/Reservation Management/Request Invoices"
- }
- },
- {
- "id": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/10ec0d5a-45cd-a195-1252-0dfcca25263d",
- "name": "10ec0d5a-45cd-a195-1252-0dfcca25263d",
- "type": "Microsoft.Support/problemClassifications",
- "properties": {
- "displayName": "/Reservation Management/Other Iissues or Requests"
- }
- },
- {
- "id": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/43cabb12-33e3-5f97-5b68-9e6ce6412adc",
- "name": "43cabb12-33e3-5f97-5b68-9e6ce6412adc",
- "type": "Microsoft.Support/problemClassifications",
- "properties": {
- "displayName": "/Other General Billing Questions"
- }
- }
- ]
+ "parameters": {
+ "serviceName": "service_guid",
+ "api-version": "2019-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_1",
+ "name": "problemClassification_guid_1",
+ "type": "Microsoft.Support/problemClassifications",
+ "properties": {
+ "displayName": "Reservation Management / Exchanges and Refunds"
}
- }
+ },
+ {
+ "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_2",
+ "name": "problemClassification_guid_2",
+ "type": "Microsoft.Support/problemClassifications",
+ "properties": {
+ "displayName": "Reservation Management / Request Invoices"
+ }
+ },
+ {
+ "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_3",
+ "name": "problemClassification_guid_3",
+ "type": "Microsoft.Support/problemClassifications",
+ "properties": {
+ "displayName": "Reservation Management / Other Iissues or Requests"
+ }
+ },
+ {
+ "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_4",
+ "name": "problemClassification_guid_4",
+ "type": "Microsoft.Support/problemClassifications",
+ "properties": {
+ "displayName": "Other General Billing Questions"
+ }
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListServices.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListServices.json
index f886ef4581cb..bb0b3eec08de 100644
--- a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListServices.json
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListServices.json
@@ -1,45 +1,45 @@
{
- "parameters": {
- "api-version": "2019-05-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc",
- "name": "517f2da6-78fd-0498-4e22-ad26996b1dfc",
- "type": "Microsoft.Support/services",
- "properties": {
- "displayName": "Billing"
- }
- },
- {
- "id": "/providers/Microsoft.Support/services/06bfd9d3-516b-d5c6-5802-169c800dec89",
- "name": "06bfd9d3-516b-d5c6-5802-169c800dec89",
- "type": "Microsoft.Support/services",
- "properties": {
- "displayName": "Service and subscription limits (quotas)"
- }
- },
- {
- "id": "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6",
- "name": "f3dc5421-79ef-1efa-41a5-42bf3cbb52c6",
- "type": "Microsoft.Support/services",
- "properties": {
- "displayName": "Subscription management"
- }
- },
- {
- "id": "/providers/Microsoft.Support/services/0d06686e-fac3-fde3-a8c1-6dfbc8bd3865",
- "name": "0d06686e-fac3-fde3-a8c1-6dfbc8bd3865",
- "type": "Microsoft.Support/services",
- "properties": {
- "displayName": "Data Explorer"
- }
- }
- ]
+ "parameters": {
+ "api-version": "2019-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Support/services/service_guid_1",
+ "name": "service_guid_1",
+ "type": "Microsoft.Support/services",
+ "properties": {
+ "displayName": "Billing"
}
- }
- }
+ },
+ {
+ "id": "/providers/Microsoft.Support/services/service_guid_2",
+ "name": "service_guid_2",
+ "type": "Microsoft.Support/services",
+ "properties": {
+ "displayName": "Service and subscription limits (quotas)"
+ }
+ },
+ {
+ "id": "/providers/Microsoft.Support/services/service_guid_3",
+ "name": "service_guid_3",
+ "type": "Microsoft.Support/services",
+ "properties": {
+ "displayName": "Subscription management"
+ }
+ },
+ {
+ "id": "/providers/Microsoft.Support/services/service_guid_4",
+ "name": "service_guid_4",
+ "type": "Microsoft.Support/services",
+ "properties": {
+ "displayName": "Data Explorer"
+ }
+ }
+ ]
+ }
+ }
+ }
}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListSupportTicketsBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListSupportTicketsBySubscription.json
index dbe8bea85246..762420ab981e 100644
--- a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListSupportTicketsBySubscription.json
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListSupportTicketsBySubscription.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "subscriptionId": "0154f7fe-df09-4981-bf82-7ad5c1f596eb",
+ "subscriptionId": "subid",
"api-version": "2019-05-01-preview"
},
"responses": {
@@ -8,16 +8,16 @@
"body": {
"value": [
{
- "id": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportTickets/testticket",
+ "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/cddd3eb5-1830-b494-44fd-782f691479dc/problemClassifications/ef8b3865-0c5a-247b-dcaa-d70fd7611a3c",
+ "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid",
"problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH",
"severity": "moderate",
- "productionOutage": false,
+ "productionOutage": false,
"require24X7Response": false,
"contactDetails": {
"firstName": "abc",
@@ -29,7 +29,7 @@
"preferredSupportLanguage": "en-US"
},
"technicalTicketDetails": {
- "resourceId": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver"
+ "resourceId": "/subscriptions/subid/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver"
},
"serviceLevelAgreement": {
"startTime": "2018-03-20T21:36:18Z",
@@ -38,7 +38,7 @@
},
"supportPlanType": "Premier",
"title": "my title",
- "serviceId": "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc",
+ "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid",
"serviceDisplayName": "Virtual Machine running Linux",
"status": "Open",
"createdDate": "2018-03-20T21:36:18Z",
@@ -46,16 +46,16 @@
}
},
{
- "id": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportTickets/testticket2",
+ "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket2",
"name": "testticket2",
"type": "Microsoft.Support/supportTickets",
"properties": {
"supportTicketId": "118032014183771",
"description": "This is a test - please ignore",
- "problemClassificationId": "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6/problemClassifications/6abdbef4-3c18-3ce7-4354-03018676ec14",
+ "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid",
"problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number",
"severity": "minimal",
- "productionOutage": false,
+ "productionOutage": false,
"require24X7Response": false,
"contactDetails": {
"firstName": "abc",
@@ -73,7 +73,7 @@
},
"supportPlanType": "Premier",
"title": "Test - please ignore",
- "serviceId" : "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6",
+ "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid",
"serviceDisplayName": "Subscription management",
"status": "Open",
"createdDate": "2018-03-20T21:36:18Z",
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json
new file mode 100644
index 000000000000..71c6d838011e
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json
@@ -0,0 +1,88 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "$filter": "createdDate ge 2019-12-10T22:08:51Z and status eq 'Open'",
+ "api-version": "2019-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "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/virtual_machine_service_guid/problemClassifications/problemClassification_guid",
+ "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH",
+ "severity": "moderate",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "usa",
+ "preferredSupportLanguage": "en-US"
+ },
+ "technicalTicketDetails": {
+ "resourceId": "/subscriptions/subid/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver"
+ },
+ "serviceLevelAgreement": {
+ "startTime": "2019-12-20T21:36:18Z",
+ "expirationTime": "2019-12-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "my title",
+ "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid",
+ "serviceDisplayName": "Virtual Machine running Linux",
+ "status": "Open",
+ "createdDate": "2019-12-20T21:36:18Z",
+ "modifiedDate": "2019-12-20T21:36:23Z"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket2",
+ "name": "testticket2",
+ "type": "Microsoft.Support/supportTickets",
+ "properties": {
+ "supportTicketId": "118032014183771",
+ "description": "This is a test - please ignore",
+ "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid",
+ "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number",
+ "severity": "minimal",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "USA",
+ "preferredSupportLanguage": "en-US"
+ },
+ "serviceLevelAgreement": {
+ "startTime": "2019-12-20T21:36:18Z",
+ "expirationTime": "2019-12-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "Test - please ignore",
+ "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid",
+ "serviceDisplayName": "Subscription management",
+ "status": "Open",
+ "createdDate": "2019-12-20T21:36:18Z",
+ "modifiedDate": "2019-12-20T21:36:23Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json
new file mode 100644
index 000000000000..b4658f7ac84c
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json
@@ -0,0 +1,88 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "$filter": "status eq 'Open'",
+ "api-version": "2019-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "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/virtual_machine_service_guid/problemClassifications/problemClassification_guid",
+ "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH",
+ "severity": "moderate",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "usa",
+ "preferredSupportLanguage": "en-US"
+ },
+ "technicalTicketDetails": {
+ "resourceId": "/subscriptions/subid/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver"
+ },
+ "serviceLevelAgreement": {
+ "startTime": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "my title",
+ "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid",
+ "serviceDisplayName": "Virtual Machine running Linux",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket2",
+ "name": "testticket2",
+ "type": "Microsoft.Support/supportTickets",
+ "properties": {
+ "supportTicketId": "118032014183771",
+ "description": "This is a test - please ignore",
+ "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid",
+ "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number",
+ "severity": "minimal",
+ "productionOutage": false,
+ "require24X7Response": false,
+ "contactDetails": {
+ "firstName": "abc",
+ "lastName": "xyz",
+ "preferredContactMethod": "email",
+ "primaryEmailAddress": "abc@contoso.com",
+ "preferredTimeZone": "Pacific Standard Time",
+ "country": "USA",
+ "preferredSupportLanguage": "en-US"
+ },
+ "serviceLevelAgreement": {
+ "startTime": "2018-03-20T21:36:18Z",
+ "expirationTime": "2018-03-21T17:36:18Z",
+ "slaMinutes": 240
+ },
+ "supportPlanType": "Premier",
+ "title": "Test - please ignore",
+ "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid",
+ "serviceDisplayName": "Subscription management",
+ "status": "Open",
+ "createdDate": "2018-03-20T21:36:18Z",
+ "modifiedDate": "2018-03-20T21:36:23Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicket.json
new file mode 100644
index 000000000000..fb0f6506cb86
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicket.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "supportTicketName": "testticket",
+ "$filter": "communicationType eq 'web'",
+ "api-version": "2019-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1",
+ "name": "testmessage1",
+ "type": "Microsoft.Support/communications",
+ "properties": {
+ "subject": "this is a test message",
+ "body": "this is a test message",
+ "communicationType": "web",
+ "communicationDirection": "outbound",
+ "sender": "user@contoso.com",
+ "createdDate": "2016-08-24T20:18:19Z"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2",
+ "name": "testmessage2",
+ "type": "Microsoft.Support/communications",
+ "properties": {
+ "subject": "test",
+ "body": "test",
+ "communicationType": "web",
+ "communicationDirection": "outbound",
+ "sender": "user@contoso.com",
+ "createdDate": "2016-08-29T10:53:19Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json
new file mode 100644
index 000000000000..4df10454017d
--- /dev/null
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "supportTicketName": "testticket",
+ "$filter": "communicationType eq 'web' and createdDate ge 2019-12-10T22:08:51Z",
+ "api-version": "2019-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1",
+ "name": "testmessage1",
+ "type": "Microsoft.Support/communications",
+ "properties": {
+ "subject": "this is a test message",
+ "body": "this is a test message",
+ "communicationType": "web",
+ "communicationDirection": "outbound",
+ "sender": "user@contoso.com",
+ "createdDate": "2019-06-24T20:18:19Z"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2",
+ "name": "testmessage2",
+ "type": "Microsoft.Support/communications",
+ "properties": {
+ "subject": "test",
+ "body": "test",
+ "communicationType": "web",
+ "communicationDirection": "outbound",
+ "sender": "user@contoso.com",
+ "createdDate": "2019-08-29T10:53:19Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/UpdateSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/UpdateSupportTicketForSubscription.json
index fc4ec20aaebe..f2bca05332fe 100644
--- a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/UpdateSupportTicketForSubscription.json
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/examples/UpdateSupportTicketForSubscription.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "subscriptionId": "76cb77fa-8b17-4eab-9493-b65dace99813",
+ "subscriptionId": "subid",
"supportTicketName": "testticket",
"api-version": "2019-05-01-preview",
"updateSupportTicket": {
@@ -24,16 +24,16 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportTickets/testticket",
+ "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket",
"name": "testticket",
"type": "Microsoft.Support/supportTickets",
"properties": {
"supportTicketId": "118032014183770",
"description": "This is a test - please ignore",
- "problemClassificationId": "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6/problemClassifications/6abdbef4-3c18-3ce7-4354-03018676ec14",
+ "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid",
"problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number",
"severity": "critical",
- "productionOutage": false,
+ "productionOutage": false,
"require24X7Response": false,
"contactDetails": {
"firstName": "abc",
@@ -51,7 +51,7 @@
},
"supportPlanType": "Premier",
"title": "Test - please ignore",
- "serviceId": "/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6",
+ "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid",
"serviceDisplayName": "Subscription management",
"status": "Open",
"createdDate": "2018-03-20T21:36:18Z",
@@ -61,4 +61,3 @@
}
}
}
-
diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/support.json
index 9359a4ea1afb..7f5478e7d80c 100644
--- a/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/support.json
+++ b/specification/support/resource-manager/Microsoft.Support/preview/2019-05-01-preview/support.json
@@ -1,1464 +1,1512 @@
{
- "swagger": "2.0",
- "info": {
- "version": "2019-05-01-preview",
- "title": "Microsoft.Support",
- "description": "Microsoft Azure Support Resource Provider."
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "flow": "implicit",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- },
- "type": "oauth2",
- "description": "Azure Active Directory OAuth2 Flow"
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-05-01-preview",
+ "title": "Microsoft.Support",
+ "description": "Microsoft Azure Support Resource Provider."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ },
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow"
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.Support/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "description": "This lists all the available Microsoft Support REST API operations.",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved list of operations.",
+ "schema": {
+ "$ref": "#/definitions/OperationsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ExceptionResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "x-ms-examples": {
+ "Get all operations": {
+ "$ref": "./examples/ListOperations.json"
+ }
}
+ }
},
- "paths": {
- "/providers/Microsoft.Support/operations": {
- "get": {
- "tags": [
- "Operations"
- ],
- "summary": "Lists all the available operations",
- "description": "This lists all the available Microsoft Support REST API operations.",
- "operationId": "Operations_List",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved list of operations.",
- "schema": {
- "$ref": "#/definitions/OperationsListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ExceptionResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "x-ms-examples": {
- "ListOperations": {
- "$ref": "./examples/ListOperations.json"
- }
- }
+ "/providers/Microsoft.Support/services": {
+ "get": {
+ "tags": [
+ "Services"
+ ],
+ "description": "Lists all the Azure services available for support ticket creation. Here are the Service Ids for **Billing**, **Subscription Management**, and **Service and subscription limits (Quotas)** issues:
| Issue type | Service Id |
| Billing | '/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc' |
| Subscription Management | '/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6' |
| Quota | '/providers/Microsoft.Support/services/06bfd9d3-516b-d5c6-5802-169c800dec89' |