From 5fe1f9559ccf4c8adb2c9082441ae0397d893cac Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Mon, 20 Jun 2022 16:26:00 -0700 Subject: [PATCH 01/58] First set of changes --- .../preview/2022-09-01-preview/support.json | 1931 +++++++++++++++++ 1 file changed, 1931 insertions(+) create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json new file mode 100644 index 000000000000..e842bd73329d --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -0,0 +1,1931 @@ +{ + "swagger": "2.0", + "info": { + "version": "2022-09-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" + } + } + } + }, + "/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 typeService 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'


For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's New support request page.

Always use the service and it's corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids.", + "operationId": "Services_List", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved list of Azure services available for support.", + "schema": { + "$ref": "#/definitions/ServicesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "Gets list of services for which a support ticket can be created": { + "$ref": "./examples/ListServices.json" + } + } + } + }, + "/providers/Microsoft.Support/services/{serviceName}": { + "get": { + "tags": [ + "Services" + ], + "description": "Gets a specific Azure service for support ticket creation.", + "operationId": "Services_Get", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "description": "Name of Azure service", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved Azure service for support ticket creation.", + "schema": { + "$ref": "#/definitions/Service" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "Gets details of Azure service": { + "$ref": "./examples/GetService.json" + } + } + } + }, + "/providers/Microsoft.Support/services/{serviceName}/problemClassifications": { + "get": { + "tags": [ + "ProblemClassifications" + ], + "description": "Lists all the problem classifications (categories) available for a specific Azure service.

Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids.", + "operationId": "ProblemClassifications_List", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "description": "Name of Azure service for which the problem classifications need to be retrieved.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved list of problem classifications for the specified Azure service.", + "schema": { + "$ref": "#/definitions/ProblemClassificationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "Gets list of problemClassifications for a service for which a support ticket can be created": { + "$ref": "./examples/ListProblemClassifications.json" + } + } + } + }, + "/providers/Microsoft.Support/services/{serviceName}/problemClassifications/{problemClassificationName}": { + "get": { + "tags": [ + "ProblemClassifications" + ], + "description": "Gets the details of a specific problem classification for a specific Azure service.", + "operationId": "ProblemClassifications_Get", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "description": "Name of Azure service available for support.", + "required": true, + "type": "string" + }, + { + "name": "problemClassificationName", + "in": "path", + "description": "Name of problem classification.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved problem classification details.", + "schema": { + "$ref": "#/definitions/ProblemClassification" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "Gets details of problemClassification for Azure service": { + "$ref": "./examples/GetProblemClassification.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/checkNameAvailability": { + "post": { + "tags": [ + "SupportTickets" + ], + "description": "Check the availability of a resource name. This API should to be used to check the uniqueness of the name for support ticket creation for the selected subscription.", + "operationId": "SupportTickets_CheckNameAvailability", + "x-ms-examples": { + "Checks whether name is available for SupportTicket resource": { + "$ref": "./examples/CheckNameAvailabilityWithSubscription.json" + } + }, + "parameters": [ + { + "name": "checkNameAvailabilityInput", + "in": "body", + "description": "Input to check.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityOutput" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets": { + "get": { + "tags": [ + "SupportTickets" + ], + "description": "Lists all the support tickets for an Azure subscription.

You can also filter the support tickets by Status or CreatedDate using the $filter parameter. Output will be a paged result with nextLink, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", + "operationId": "SupportTickets_List", + "parameters": [ + { + "name": "$top", + "in": "query", + "description": "The number of values to return in the collection. Default is 25 and max is 100.", + "required": false, + "type": "integer" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. We support 'odata v4.0' filter semantics. Learn more
Status filter can only be used with 'eq' operator. For CreatedDate filter, the supported operators are 'gt' and 'ge'. When using both filters, combine them using the logical 'AND'." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved support tickets.", + "schema": { + "$ref": "#/definitions/SupportTicketsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List support tickets for a subscription": { + "$ref": "./examples/ListSupportTicketsBySubscription.json" + }, + "List support tickets in open state for a subscription": { + "$ref": "./examples/ListSupportTicketsInOpenStateBySubscription.json" + }, + "List support tickets created on or after a certain date and in open state for a subscription": { + "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json" + } + } + } + }, + "/providers/Microsoft.Support/supportTickets": { + "get": { + "tags": [ + "SupportTickets" + ], + "description": "Lists all the support tickets.

You can also filter the support tickets by Status or CreatedDate using the $filter parameter. Output will be a paged result with nextLink, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", + "operationId": "SupportTickets_List", + "parameters": [ + { + "name": "$top", + "in": "query", + "description": "The number of values to return in the collection. Default is 25 and max is 100.", + "required": false, + "type": "integer" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. We support 'odata v4.0' filter semantics. Learn more
Status filter can only be used with 'eq' operator. For CreatedDate filter, the supported operators are 'gt' and 'ge'. When using both filters, combine them using the logical 'AND'." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved support tickets.", + "schema": { + "$ref": "#/definitions/SupportTicketsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List support tickets for a subscription": { + "$ref": "./examples/ListSupportTickets.json" + }, + "List support tickets in open state for a subscription": { + "$ref": "./examples/ListSupportTicketsInOpenState.json" + }, + "List support tickets created on or after a certain date and in open state for a subscription": { + "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}": { + "get": { + "tags": [ + "SupportTickets" + ], + "description": "Gets details for a specific support ticket in an Azure subscription.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", + "operationId": "SupportTickets_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved support ticket.", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "Get details of a subscription ticket": { + "$ref": "./examples/GetSubscriptionSupportTicketDetails.json" + } + } + }, + "patch": { + "tags": [ + "SupportTickets" + ], + "description": "This API allows you to update the severity level or your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.", + "operationId": "SupportTickets_Update", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name", + "required": true, + "type": "string" + }, + { + "name": "updateSupportTicket", + "in": "body", + "description": "UpdateSupportTicket object", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateSupportTicket" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully updated support ticket.", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "UpdateSupportTicketForSubscription": { + "$ref": "./examples/UpdateSupportTicketForSubscription.json" + } + } + }, + "put": { + "tags": [ + "SupportTickets" + ], + "description": "Creates a new support ticket for Quota increase, Technical, Billing, and Subscription Management issues for the specified subscription.

A paid technical support plan is required to create a support ticket using this API. Learn more

Use the Services API to map the right Service Id to the issue type. For example: For billing tickets set *serviceId* to *'/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc'*.
For Technical issues, the Service id will map to the Azure service you want to raise a support ticket for.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.", + "operationId": "SupportTickets_Create", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name.", + "required": true, + "type": "string" + }, + { + "name": "createSupportTicketParameters", + "in": "body", + "description": "Support ticket request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - SupportTicket created successfully", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "202": { + "description": "Accepted, SupportTicket will be created asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create a ticket for Billing related issues": { + "$ref": "./examples/CreateBillingSupportTicketForSubscription.json" + }, + "Create a ticket for Subscription Management related issues": { + "$ref": "./examples/CreateSubMgmtSupportTicketForSubscription.json" + }, + "Create a ticket for Technical issue related to a specific resource": { + "$ref": "./examples/CreateTechnicalSupportTicketForSubscription.json" + }, + "Create a ticket to request Quota increase for Compute VM Cores": { + "$ref": "./examples/CreateCoresQuotaTicketForSubscription.json" + }, + "Create a ticket to request Quota increase for Low-priority cores for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json" + }, + "Create a ticket to request Quota increase for specific VM family cores for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json" + }, + "Create a ticket to request Quota increase for Pools for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json" + }, + "Create a ticket to request Quota increase for Active Jobs and Job Schedules for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json" + }, + "Create a ticket to request Quota increase for number of Batch accounts for a subscription": { + "$ref": "./examples/CreateBatchQuotaTicketForSubscription.json" + }, + "Create a ticket to request Quota increase for DTUs for SQL Database": { + "$ref": "./examples/CreateSqlDatabaseQuotaTicketForDTUs.json" + }, + "Create a ticket to request Quota increase for Servers for SQL Database": { + "$ref": "./examples/CreateSqlDatabaseQuotaTicketForServers.json" + }, + "Create a ticket to request Quota increase for DTUs for SQL Data Warehouse": { + "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json" + }, + "Create a ticket to request Quota increase for Servers for SQL Data Warehouse": { + "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForServers.json" + }, + "Create a ticket to request Quota increase for specific VM family cores for Machine Learning service": { + "$ref": "./examples/CreateMachineLearningQuotaTicketForDedicatedCores.json" + }, + "Create a ticket to request Quota increase for Low-priority cores for Machine Learning service": { + "$ref": "./examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json" + } + } + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}": { + "get": { + "tags": [ + "SupportTickets" + ], + "description": "Gets details for a specific support ticket.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", + "operationId": "SupportTickets_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved support ticket.", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "Get details of a subscription ticket": { + "$ref": "./examples/GetSupportTicketDetails.json" + } + } + }, + "patch": { + "tags": [ + "SupportTickets" + ], + "description": "This API allows you to update the severity level or your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.", + "operationId": "SupportTickets_Update", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name", + "required": true, + "type": "string" + }, + { + "name": "updateSupportTicket", + "in": "body", + "description": "UpdateSupportTicket object", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateSupportTicket" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully updated support ticket.", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "UpdateSupportTicketForSubscription": { + "$ref": "./examples/UpdateSupportTicketForSubscription.json" + } + } + }, + "put": { + "tags": [ + "SupportTickets" + ], + "description": "Creates a new support ticket for Quota increase, Technical, Billing, and Subscription Management issues for the specified subscription.

A paid technical support plan is required to create a support ticket using this API. Learn more

Use the Services API to map the right Service Id to the issue type. For example: For billing tickets set *serviceId* to *'/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc'*.
For Technical issues, the Service id will map to the Azure service you want to raise a support ticket for.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.", + "operationId": "SupportTickets_Create", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name.", + "required": true, + "type": "string" + }, + { + "name": "createSupportTicketParameters", + "in": "body", + "description": "Support ticket request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - SupportTicket created successfully", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "202": { + "description": "Accepted, SupportTicket will be created asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create a ticket for Billing related issues": { + "$ref": "./examples/CreateBillingSupportTicketForSubscription.json" + }, + "Create a ticket for Subscription Management related issues": { + "$ref": "./examples/CreateSubMgmtSupportTicketForSubscription.json" + }, + "Create a ticket for Technical issue related to a specific resource": { + "$ref": "./examples/CreateTechnicalSupportTicketForSubscription.json" + }, + "Create a ticket to request Quota increase for Compute VM Cores": { + "$ref": "./examples/CreateCoresQuotaTicketForSubscription.json" + }, + "Create a ticket to request Quota increase for Low-priority cores for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json" + }, + "Create a ticket to request Quota increase for specific VM family cores for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json" + }, + "Create a ticket to request Quota increase for Pools for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json" + }, + "Create a ticket to request Quota increase for Active Jobs and Job Schedules for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json" + }, + "Create a ticket to request Quota increase for number of Batch accounts for a subscription": { + "$ref": "./examples/CreateBatchQuotaTicketForSubscription.json" + }, + "Create a ticket to request Quota increase for DTUs for SQL Database": { + "$ref": "./examples/CreateSqlDatabaseQuotaTicketForDTUs.json" + }, + "Create a ticket to request Quota increase for Servers for SQL Database": { + "$ref": "./examples/CreateSqlDatabaseQuotaTicketForServers.json" + }, + "Create a ticket to request Quota increase for DTUs for SQL Data Warehouse": { + "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json" + }, + "Create a ticket to request Quota increase for Servers for SQL Data Warehouse": { + "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForServers.json" + }, + "Create a ticket to request Quota increase for specific VM family cores for Machine Learning service": { + "$ref": "./examples/CreateMachineLearningQuotaTicketForDedicatedCores.json" + }, + "Create a ticket to request Quota increase for Low-priority cores for Machine Learning service": { + "$ref": "./examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": { + "post": { + "tags": [ + "Communications" + ], + "description": "Check the availability of a resource name. This API should to be used to check the uniqueness of the name for adding a new communication to the support ticket.", + "operationId": "Communications_CheckNameAvailability", + "x-ms-examples": { + "Checks whether name is available for Communication resource": { + "$ref": "./examples/CheckNameAvailabilityForSupportTicketCommunication.json" + } + }, + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name", + "required": true, + "type": "string" + }, + { + "name": "checkNameAvailabilityInput", + "in": "body", + "description": "Input to check", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityOutput" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": { + "get": { + "tags": [ + "Communications" + ], + "description": "Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by CreatedDate�or CommunicationType using the $filter parameter. The only type of communication supported today is Web. Output will be a paged result with nextLink, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", + "operationId": "Communications_List", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "The number of values to return in the collection. Default is 10 and max is 10.", + "required": false, + "type": "integer" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. You can filter by communicationType and createdDate properties. CommunicationType supports Equals ('eq') operator and createdDate supports Greater Than ('gt') and Greater Than or Equals ('ge') operators. You may combine the CommunicationType and CreatedDate filters by Logical And ('and') operator." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved communications for a support ticket.", + "schema": { + "$ref": "#/definitions/CommunicationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List communications for a subscription support ticket": { + "$ref": "./examples/ListCommunicationsForSubscriptionSupportTicket.json" + }, + "List web communications for a subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicket.json" + }, + "List web communication created on or after a specific date for a subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json" + } + } + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": { + "get": { + "tags": [ + "Communications" + ], + "description": "Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by CreatedDate�or CommunicationType using the $filter parameter. The only type of communication supported today is Web. Output will be a paged result with nextLink, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", + "operationId": "Communications_List", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "The number of values to return in the collection. Default is 10 and max is 10.", + "required": false, + "type": "integer" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. You can filter by communicationType and createdDate properties. CommunicationType supports Equals ('eq') operator and createdDate supports Greater Than ('gt') and Greater Than or Equals ('ge') operators. You may combine the CommunicationType and CreatedDate filters by Logical And ('and') operator." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved communications for a support ticket.", + "schema": { + "$ref": "#/definitions/CommunicationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List communications for a subscription support ticket": { + "$ref": "./examples/ListCommunicationsForSupportTicket.json" + }, + "List web communications for a subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSupportTicket.json" + }, + "List web communication created on or after a specific date for a subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { + "get": { + "tags": [ + "Communications" + ], + "description": "Returns details of a specific communication in a support ticket.", + "operationId": "Communications_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name", + "required": true, + "type": "string" + }, + { + "name": "communicationName", + "in": "path", + "description": "Communication name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved communication details.", + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "Get communication details for a subscription support ticket": { + "$ref": "./examples/GetCommunicationDetailsForSubscriptionSupportTicket.json" + } + } + }, + "put": { + "tags": [ + "Communications" + ], + "description": "Adds a new customer communication to an Azure support ticket. Adding attachments are not currently supported via the API.
To add a file to a support ticket, visit the Manage support ticket page in the Azure portal, select the support ticket, and use the file upload control to add a new file.", + "operationId": "Communications_Create", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name", + "required": true, + "type": "string" + }, + { + "name": "communicationName", + "in": "path", + "description": "Communication name", + "required": true, + "type": "string" + }, + { + "name": "createCommunicationParameters", + "in": "body", + "description": "Communication object", + "required": true, + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Communication created successfully.", + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "202": { + "description": "Accepted, Communication will be created asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "AddCommunicationToSubscriptionTicket": { + "$ref": "./examples/CreateSupportTicketCommunication.json" + } + } + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { + "get": { + "tags": [ + "Communications" + ], + "description": "Returns details of a specific communication in a support ticket.", + "operationId": "Communications_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name", + "required": true, + "type": "string" + }, + { + "name": "communicationName", + "in": "path", + "description": "Communication name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved communication details.", + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "Get communication details for a subscription support ticket": { + "$ref": "./examples/GetCommunicationDetailsForSupportTicket.json" + } + } + }, + "put": { + "tags": [ + "Communications" + ], + "description": "Adds a new customer communication to an Azure support ticket. Adding attachments are not currently supported via the API.
To add a file to a support ticket, visit the Manage support ticket page in the Azure portal, select the support ticket, and use the file upload control to add a new file.", + "operationId": "Communications_Create", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name", + "required": true, + "type": "string" + }, + { + "name": "communicationName", + "in": "path", + "description": "Communication name", + "required": true, + "type": "string" + }, + { + "name": "createCommunicationParameters", + "in": "body", + "description": "Communication object", + "required": true, + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Communication created successfully.", + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "202": { + "description": "Accepted, Communication will be created asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "AddCommunicationToSubscriptionTicket": { + "$ref": "./examples/CreateSupportTicketCommunication.json" + } + } + } + } + }, + "definitions": { + "OperationsListResult": { + "description": "The list of operations supported by Microsoft Support resource provider.", + "properties": { + "value": { + "description": "The list of operations supported by Microsoft Support resource provider.", + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + } + } + } + }, + "Operation": { + "description": "The operation supported by Microsoft Support RP.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string", + "readOnly": true + }, + "display": { + "description": "The object that describes the operation.", + "properties": { + "description": { + "description": "The description of the operation", + "type": "string", + "readOnly": true + }, + "operation": { + "description": "The action that users can perform, based on their permission level", + "type": "string", + "readOnly": true + }, + "provider": { + "description": "Service provider: Microsoft Support", + "type": "string", + "readOnly": true + }, + "resource": { + "description": "Resource on which the operation is performed", + "type": "string", + "readOnly": true + } + } + } + } + }, + "ServicesListResult": { + "description": "Collection of Service resources.", + "type": "object", + "properties": { + "value": { + "description": "List of Service resources", + "type": "array", + "items": { + "$ref": "#/definitions/Service" + } + } + } + }, + "Service": { + "description": "Object that represents a Service resource.", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/services'", + "type": "string", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServiceProperties", + "description": "Properties of the resource" + } + } + }, + "ServiceProperties": { + "description": "Details about Azure service available for support ticket creation", + "type": "object", + "properties": { + "displayName": { + "description": "Localized name of Azure service", + "type": "string" + } + } + }, + "ProblemClassificationsListResult": { + "description": "Collection of ProblemClassification resources", + "type": "object", + "properties": { + "value": { + "description": "List of ProblemClassification resources", + "type": "array", + "items": { + "$ref": "#/definitions/ProblemClassification" + } + } + } + }, + "ProblemClassification": { + "description": "ProblemClassification resource object", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/problemClassification'", + "type": "string", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProblemClassificationProperties", + "description": "Properties of the resource" + } + } + }, + "ProblemClassificationProperties": { + "description": "Details about a problem classification available for an Azure service", + "type": "object", + "properties": { + "displayName": { + "description": "Localized name of problem classification.", + "type": "string" + } + } + }, + "CheckNameAvailabilityInput": { + "description": "Input of CheckNameAvailability API.", + "type": "object", + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "description": "The resource name to validate", + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Support/supportTickets", + "Microsoft.Support/communications" + ], + "x-ms-enum": { + "name": "Type", + "modelAsString": false + }, + "description": "The type of resource" + } + } + }, + "CheckNameAvailabilityOutput": { + "description": "Output of check name availability API.", + "type": "object", + "properties": { + "nameAvailable": { + "description": "Indicates whether the name is available.", + "readOnly": true, + "type": "boolean" + }, + "reason": { + "description": "The reason why the name is not available.", + "readOnly": true, + "type": "string" + }, + "message": { + "description": "The detailed error message describing why the name is not available.", + "readOnly": true, + "type": "string" + } + } + }, + "SupportTicketsListResult": { + "description": "Object that represents a collection of SupportTicket resources.", + "type": "object", + "properties": { + "value": { + "description": "List of SupportTicket resources.", + "type": "array", + "items": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "nextLink": { + "description": "The URI to fetch the next page of SupportTicket resources.", + "type": "string" + } + } + }, + "SupportTicketDetails": { + "x-ms-azure-resource": true, + "description": "Object that represents SupportTicketDetails resource", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/supportTickets'", + "type": "string", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SupportTicketDetailsProperties", + "description": "Properties of the resource" + } + } + }, + "CommunicationsListResult": { + "description": "Collection of Communication resources.", + "type": "object", + "properties": { + "value": { + "description": "List of Communication resources.", + "type": "array", + "items": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "nextLink": { + "description": "The URI to fetch the next page of Communication resources.", + "type": "string" + } + } + }, + "CommunicationDetails": { + "x-ms-azure-resource": true, + "description": "Object that represents Communication resource", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/communications'", + "type": "string", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/CommunicationDetailsProperties", + "description": "Properties of the resource" + } + } + }, + "CommunicationDetailsProperties": { + "description": "Describes the properties of a communication resource.", + "required": [ + "subject", + "body" + ], + "type": "object", + "properties": { + "communicationType": { + "description": "Communication type", + "enum": [ + "web", + "phone" + ], + "type": "string", + "x-ms-enum": { + "name": "CommunicationType", + "modelAsString": true + }, + "readOnly": true + }, + "communicationDirection": { + "description": "Direction of communication", + "enum": [ + "inbound", + "outbound" + ], + "type": "string", + "x-ms-enum": { + "name": "CommunicationDirection", + "modelAsString": true + }, + "readOnly": true + }, + "sender": { + "description": "Email address of the sender", + "type": "string" + }, + "subject": { + "description": "Subject of the communication", + "type": "string" + }, + "body": { + "description": "Body of the communication", + "type": "string" + }, + "createdDate": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the communication was created.", + "type": "string", + "readOnly": true + } + } + }, + "SupportTicketDetailsProperties": { + "description": "Describes the properties of a support ticket.", + "required": [ + "serviceId", + "title", + "description", + "problemClassificationId", + "severity", + "contactDetails" + ], + "type": "object", + "properties": { + "supportTicketId": { + "description": "System generated support ticket id that is unique.", + "type": "string" + }, + "description": { + "description": "Detailed description of the question or issue.", + "type": "string" + }, + "problemClassificationId": { + "description": "Each Azure service has its own set of issue category called problem classification that corresponds to the type of problem you're experiencing. This parameter is the resource id of ProblemClassification resource.", + "type": "string" + }, + "problemClassificationDisplayName": { + "type": "string", + "description": "Localized name of problem classification.", + "readOnly": true + }, + "severity": { + "description": "A value that indicates the urgency of the case, which in turn determines the response time according to the service level agreement of the technical support plan you have with Azure.", + "enum": [ + "minimal", + "moderate", + "critical" + ], + "type": "string", + "x-ms-enum": { + "name": "SeverityLevel", + "modelAsString": true + } + }, + "enrollmentId": { + "description": "Enrollment ID associated with the support ticket.", + "type": "string", + "readOnly": true + }, + "productionOutage": { + "description": "Indicates if this issue is a production outage.", + "type": "boolean", + "readOnly": true + }, + "require24X7Response": { + "description": "Indicates if this requires a 24x7 response from Azure.", + "type": "boolean" + }, + "contactDetails": { + "$ref": "#/definitions/ContactProfile", + "description": "Contact information of the user requesting to create a support ticket." + }, + "serviceLevelAgreement": { + "$ref": "#/definitions/ServiceLevelAgreement", + "description": "Service Level Agreement information for this support ticket." + }, + "supportEngineer": { + "$ref": "#/definitions/SupportEngineer", + "description": "Information about support engineer working on this support ticket." + }, + "supportPlanType": { + "description": "Support plan type associated with the support ticket.", + "type": "string", + "readOnly": true + }, + "title": { + "description": "Title of the support ticket.", + "type": "string" + }, + "problemStartTime": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the problem started.", + "type": "string" + }, + "serviceId": { + "description": "This is the resource id of the Azure service resource associated with the support ticket.", + "type": "string" + }, + "serviceDisplayName": { + "type": "string", + "description": "Localized name of Azure service.", + "readOnly": true + }, + "status": { + "description": "Status of the support ticket.", + "type": "string", + "readOnly": true + }, + "createdDate": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when support ticket was created.", + "type": "string", + "readOnly": true + }, + "modifiedDate": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when support ticket was last modified.", + "type": "string", + "readOnly": true + }, + "technicalTicketDetails": { + "$ref": "#/definitions/TechnicalTicketDetails", + "description": "Additional ticket details associated with a technical support ticket request. " + }, + "quotaTicketDetails": { + "$ref": "#/definitions/QuotaTicketDetails", + "description": "Additional ticket details associated with a quota support ticket request. " + } + } + }, + "ServiceLevelAgreement": { + "description": "Service Level Agreement details for a support ticket.", + "type": "object", + "properties": { + "startTime": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when service level agreement starts.", + "type": "string", + "readOnly": true + }, + "expirationTime": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when service level agreement expires.", + "type": "string", + "readOnly": true + }, + "slaMinutes": { + "description": "Service Level Agreement in minutes", + "type": "integer", + "readOnly": true + } + } + }, + "SupportEngineer": { + "description": "Support engineer information.", + "type": "object", + "properties": { + "emailAddress": { + "description": "Email address of the Azure Support engineer assigned to the support ticket.", + "type": "string", + "readOnly": true + } + } + }, + "ExceptionResponse": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/ServiceError", + "description": "The api error details." + } + }, + "description": "The api error." + }, + "ServiceError": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "The error code." + }, + "message": { + "type": "string", + "description": "The error message." + }, + "target": { + "type": "string", + "description": "The target of the error." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceErrorDetail" + }, + "description": "The list of error details.", + "readOnly": true + } + }, + "description": "The api error details." + }, + "ServiceErrorDetail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "readOnly": true, + "description": "The error code." + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The error message." + }, + "target": { + "type": "string", + "description": "The target of the error." + } + }, + "description": "The error details." + }, + "ContactProfile": { + "description": "Contact information associated with support ticket.", + "required": [ + "firstName", + "lastName", + "preferredContactMethod", + "primaryEmailAddress", + "preferredTimeZone", + "country", + "preferredSupportLanguage" + ], + "type": "object", + "properties": { + "firstName": { + "description": "First name.", + "type": "string" + }, + "lastName": { + "description": "Last name.", + "type": "string" + }, + "preferredContactMethod": { + "description": "Preferred contact method.", + "enum": [ + "email", + "phone" + ], + "type": "string", + "x-ms-enum": { + "name": "PreferredContactMethod", + "modelAsString": true + } + }, + "primaryEmailAddress": { + "description": "Primary email address.", + "type": "string" + }, + "additionalEmailAddresses": { + "description": "Additional email addresses listed will be copied on any correspondence about the support ticket.", + "type": "array", + "items": { + "type": "string" + } + }, + "phoneNumber": { + "description": "Phone number. This is required if preferred contact method is phone.", + "type": "string" + }, + "preferredTimeZone": { + "description": "Time zone of the user. This is the name of the time zone from Microsoft Time Zone Index Values.", + "type": "string" + }, + "country": { + "description": "Country of the user. This is the ISO 3166-1 alpha-3 code.", + "type": "string" + }, + "preferredSupportLanguage": { + "description": "Preferred language of support from Azure. Support languages vary based on the severity you choose for your support ticket. Learn more at Azure Severity and responsiveness. Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German.", + "type": "string" + } + } + }, + "UpdateContactProfile": { + "description": "Contact information associated with the support ticket.", + "type": "object", + "properties": { + "firstName": { + "description": "First name", + "type": "string" + }, + "lastName": { + "description": "Last name", + "type": "string" + }, + "preferredContactMethod": { + "description": "Preferred contact method", + "enum": [ + "email", + "phone" + ], + "type": "string", + "x-ms-enum": { + "name": "PreferredContactMethod", + "modelAsString": true + } + }, + "primaryEmailAddress": { + "description": "Primary email address", + "type": "string" + }, + "additionalEmailAddresses": { + "description": "Email addresses listed will be copied on any correspondence about the support ticket", + "type": "array", + "items": { + "type": "string" + } + }, + "phoneNumber": { + "description": "Phone number. This is required if preferred contact method is phone.", + "type": "string" + }, + "preferredTimeZone": { + "description": "Time zone of the user. This is the name of the time zone from Microsoft Time Zone Index Values.", + "type": "string" + }, + "country": { + "description": "Country of the user. This is the ISO 3166-1 alpha-3 code.", + "type": "string" + }, + "preferredSupportLanguage": { + "description": "Preferred language of support from Azure. Support languages vary based on the severity you choose for your support ticket. Learn more at Azure Severity and responsiveness. Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German.", + "type": "string" + } + } + }, + "TechnicalTicketDetails": { + "description": "Additional information for technical support ticket.", + "type": "object", + "properties": { + "resourceId": { + "description": "This is the resource id of the Azure service resource (For example: A virtual machine resource or an HDInsight resource) for which the support ticket is created.", + "type": "string" + } + } + }, + "QuotaTicketDetails": { + "description": "Additional set of information required for quota increase support ticket for certain quota types, e.g.: Virtual machine cores. Get complete details about Quota payload support request along with examples at Support quota request.", + "type": "object", + "properties": { + "quotaChangeRequestSubType": { + "description": "Required for certain quota types when there is a sub type that you are requesting quota increase for. Example: Batch", + "type": "string" + }, + "quotaChangeRequestVersion": { + "description": "Quota change request version", + "type": "string" + }, + "quotaChangeRequests": { + "description": "This property is required for providing the region and new quota limits.", + "type": "array", + "items": { + "$ref": "#/definitions/QuotaChangeRequest" + } + } + } + }, + "QuotaChangeRequest": { + "description": "This property is required for providing the region and new quota limits", + "type": "object", + "properties": { + "region": { + "description": "Region for which the quota increase request is being made.", + "type": "string" + }, + "payload": { + "description": "Payload of the quota increase request.", + "type": "string" + } + } + }, + "UpdateSupportTicket": { + "description": "Updates severity and contact details in the support ticket.", + "type": "object", + "properties": { + "severity": { + "description": "Severity level", + "enum": [ + "minimal", + "moderate", + "critical" + ], + "type": "string", + "x-ms-enum": { + "name": "SeverityLevel", + "modelAsString": true + } + }, + "contactDetails": { + "$ref": "#/definitions/UpdateContactProfile", + "description": "Contact details to be updated on the support ticket." + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Azure subscription id" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Api version" + } + } +} From af926cf584109455f8562dfe28c25bf23c1f8c82 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Mon, 20 Jun 2022 16:27:28 -0700 Subject: [PATCH 02/58] Changes for adding examples --- ...labilityForSupportTicketCommunication.json | 20 ++++ ...CheckNameAvailabilityWithSubscription.json | 19 ++++ ...tForSpecificBatchAccountForActiveJobs.json | 90 ++++++++++++++++++ ...SpecificBatchAccountForDedicatedCores.json | 90 ++++++++++++++++++ ...ecificBatchAccountForLowPriorityCores.json | 90 ++++++++++++++++++ ...TicketForSpecificBatchAccountForPools.json | 90 ++++++++++++++++++ ...CreateBatchQuotaTicketForSubscription.json | 90 ++++++++++++++++++ ...teBillingSupportTicketForSubscription.json | 70 ++++++++++++++ ...CreateCoresQuotaTicketForSubscription.json | 88 +++++++++++++++++ ...eLearningQuotaTicketForDedicatedCores.json | 90 ++++++++++++++++++ ...earningQuotaTicketForLowPriorityCores.json | 90 ++++++++++++++++++ .../CreateSqlDatabaseQuotaTicketForDTUs.json | 90 ++++++++++++++++++ ...reateSqlDatabaseQuotaTicketForServers.json | 90 ++++++++++++++++++ ...ateSqlDatawarehouseQuotaTicketForDTUs.json | 90 ++++++++++++++++++ ...SqlDatawarehouseQuotaTicketForServers.json | 90 ++++++++++++++++++ ...teSubMgmtSupportTicketForSubscription.json | 70 ++++++++++++++ .../CreateSupportTicketCommunication.json | 38 ++++++++ ...TechnicalSupportTicketForSubscription.json | 76 +++++++++++++++ ...onDetailsForSubscriptionSupportTicket.json | 25 +++++ ...tCommunicationDetailsForSupportTicket.json | 24 +++++ .../examples/GetProblemClassification.json | 19 ++++ .../examples/GetService.json | 18 ++++ .../GetSubscriptionSupportTicketDetails.json | 46 +++++++++ .../examples/GetSupportTicketDetails.json | 45 +++++++++ ...nicationsForSubscriptionSupportTicket.json | 41 ++++++++ .../ListCommunicationsForSupportTicket.json | 40 ++++++++ .../examples/ListOperations.json | 94 +++++++++++++++++++ .../examples/ListProblemClassifications.json | 46 +++++++++ .../examples/ListServices.json | 45 +++++++++ .../examples/ListSupportTickets.json | 86 +++++++++++++++++ .../ListSupportTicketsBySubscription.json | 87 +++++++++++++++++ ...TicketsCreatedOnOrAfterAndInOpenState.json | 84 +++++++++++++++++ ...OnOrAfterAndInOpenStateBySubscription.json | 88 +++++++++++++++++ .../ListSupportTicketsInOpenState.json | 84 +++++++++++++++++ ...pportTicketsInOpenStateBySubscription.json | 88 +++++++++++++++++ ...nicationsForSubscriptionSupportTicket.json | 42 +++++++++ ...criptionSupportTicketCreatedOnOrAfter.json | 42 +++++++++ ...ListWebCommunicationsForSupportTicket.json | 41 ++++++++ ...tionsForSupportTicketCreatedOnOrAfter.json | 41 ++++++++ .../UpdateSupportTicketForSubscription.json | 63 +++++++++++++ 40 files changed, 2560 insertions(+) create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityForSupportTicketCommunication.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityWithSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicketForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateCoresQuotaTicketForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSupportTicketCommunication.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetCommunicationDetailsForSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetProblemClassification.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetService.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSubscriptionSupportTicketDetails.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSupportTicketDetails.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListCommunicationsForSubscriptionSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListCommunicationsForSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListOperations.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListProblemClassifications.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListServices.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsBySubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenState.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSupportTicketForSubscription.json diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityForSupportTicketCommunication.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityForSupportTicketCommunication.json new file mode 100644 index 000000000000..a37616955034 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityForSupportTicketCommunication.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-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/2022-09-01-preview/examples/CheckNameAvailabilityWithSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityWithSubscription.json new file mode 100644 index 000000000000..739f9b41f503 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityWithSubscription.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "subid", + "api-version": "2022-09-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/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json new file mode 100644 index 000000000000..0360ff312a15 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-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/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json new file mode 100644 index 000000000000..68d5c69a3376 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-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/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json new file mode 100644 index 000000000000..20585fbdd065 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-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/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json new file mode 100644 index 000000000000..ea0aa79a3485 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-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/2022-09-01-preview/examples/CreateBatchQuotaTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSubscription.json new file mode 100644 index 000000000000..349d100cd807 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSubscription.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-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/2022-09-01-preview/examples/CreateBillingSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicketForSubscription.json new file mode 100644 index 000000000000..05322692de44 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicketForSubscription.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-01-preview", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/billing_service_guid", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid", + "severity": "moderate", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "primaryEmailAddress": "abc@contoso.com", + "preferredContactMethod": "email", + "preferredTimeZone": "Pacific Standard Time", + "preferredSupportLanguage": "en-US", + "country": "usa" + } + } + } + }, + "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/billing_service_guid/problemClassifications/billing_problemClassification_guid", + "problemClassificationDisplayName": "Refund request", + "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" + }, + "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/billing_service_guid", + "serviceDisplayName": "Billing", + "status": "Open", + "createdDate": "2018-03-20T21:36:18Z", + "modifiedDate": "2018-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateCoresQuotaTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateCoresQuotaTicketForSubscription.json new file mode 100644 index 000000000000..fc090ab5329e --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateCoresQuotaTicketForSubscription.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-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/cores_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", + "quotaChangeRequests": [ + { + "region": "EastUS", + "payload": "{\"SKU\":\"DSv3 Series\",\"NewLimit\":104}" + } + ] + } + } + } + }, + "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/cores_problemClassification_guid", + "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", + "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", + "quotaChangeRequests": [ + { + "region": "EastUS", + "payload": "{\"VmFamily\":\"DSv3 Series\",\"NewLimit\":104}" + } + ] + }, + "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/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json new file mode 100644 index 000000000000..eed2a114d6d1 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-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/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json new file mode 100644 index 000000000000..8bc67ab005e3 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-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/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json new file mode 100644 index 000000000000..713fe9c0a69b --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-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/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json new file mode 100644 index 000000000000..34cc9c7bbd07 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-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/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json new file mode 100644 index 000000000000..a03623194d7b --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-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/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json new file mode 100644 index 000000000000..70fdbba70517 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-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/2022-09-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json new file mode 100644 index 000000000000..fe8195e08a45 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-01-preview", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid", + "severity": "moderate", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "primaryEmailAddress": "abc@contoso.com", + "preferredContactMethod": "email", + "preferredTimeZone": "Pacific Standard Time", + "preferredSupportLanguage": "en-US", + "country": "usa" + } + } + } + }, + "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/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid", + "problemClassificationDisplayName": "Transfer ownership of my subscription", + "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" + }, + "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/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/2022-09-01-preview/examples/CreateSupportTicketCommunication.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSupportTicketCommunication.json new file mode 100644 index 000000000000..d1926d653987 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSupportTicketCommunication.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "communicationName": "testcommunication", + "api-version": "2022-09-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" + } + }, + "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/2022-09-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json new file mode 100644 index 000000000000..7a8775b1b47f --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-01-preview", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid/problemClassifications/problemClassification_guid", + "severity": "moderate", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "primaryEmailAddress": "abc@contoso.com", + "preferredContactMethod": "email", + "preferredTimeZone": "Pacific Standard Time", + "preferredSupportLanguage": "en-US", + "country": "usa" + }, + "technicalTicketDetails": { + "resourceId": "/subscriptions/subid/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + } + } + } + }, + "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/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, + "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_running_linux_service_guid", + "serviceDisplayName": "Virtual Machine running Linux", + "status": "Open", + "createdDate": "2018-03-20T21:36:18Z", + "modifiedDate": "2018-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json new file mode 100644 index 000000000000..50af687c60a3 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "communicationName": "testmessage", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage", + "name": "testmessage", + "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" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetCommunicationDetailsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetCommunicationDetailsForSupportTicket.json new file mode 100644 index 000000000000..425834805f58 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetCommunicationDetailsForSupportTicket.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "supportTicketName": "testticket", + "communicationName": "testmessage", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage", + "name": "testmessage", + "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" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetProblemClassification.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetProblemClassification.json new file mode 100644 index 000000000000..48bedd3610a2 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetProblemClassification.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "serviceName": "service_guid", + "problemClassificationName": "problemClassification_guid", + "api-version": "2022-09-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/2022-09-01-preview/examples/GetService.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetService.json new file mode 100644 index 000000000000..8a2fda83c80a --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetService.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "serviceName": "service_guid", + "api-version": "2022-09-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/2022-09-01-preview/examples/GetSubscriptionSupportTicketDetails.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSubscriptionSupportTicketDetails.json new file mode 100644 index 000000000000..13ff420bd372 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSubscriptionSupportTicketDetails.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "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/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/2022-09-01-preview/examples/GetSupportTicketDetails.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSupportTicketDetails.json new file mode 100644 index 000000000000..ebb6c00379b1 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSupportTicketDetails.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "supportTicketName": "testticket", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/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/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/2022-09-01-preview/examples/ListCommunicationsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListCommunicationsForSubscriptionSupportTicket.json new file mode 100644 index 000000000000..25a7b4b9f5f9 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListCommunicationsForSubscriptionSupportTicket.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-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/2022-09-01-preview/examples/ListCommunicationsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListCommunicationsForSupportTicket.json new file mode 100644 index 000000000000..257df9f2128a --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListCommunicationsForSupportTicket.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "supportTicketName": "testticket", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/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": "/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/2022-09-01-preview/examples/ListOperations.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListOperations.json new file mode 100644 index 000000000000..e9fa1592f5d5 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListOperations.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2022-09-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/2022-09-01-preview/examples/ListProblemClassifications.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListProblemClassifications.json new file mode 100644 index 000000000000..973924e596f2 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListProblemClassifications.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "serviceName": "service_guid", + "api-version": "2022-09-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/2022-09-01-preview/examples/ListServices.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListServices.json new file mode 100644 index 000000000000..f0ebbf47c636 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListServices.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2022-09-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/2022-09-01-preview/examples/ListSupportTickets.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json new file mode 100644 index 000000000000..5b1edd7d599a --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/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": "/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/2022-09-01-preview/examples/ListSupportTicketsBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsBySubscription.json new file mode 100644 index 000000000000..ffa7d3223b67 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsBySubscription.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "subscriptionId": "subid", + "api-version": "2022-09-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/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json new file mode 100644 index 000000000000..535a1f515b8a --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "$filter": "createdDate ge 2019-12-10T22:08:51Z and status eq 'Open'", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/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" + }, + "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": "/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/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json new file mode 100644 index 000000000000..b314e75d9eb6 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-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": "2022-09-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/2022-09-01-preview/examples/ListSupportTicketsInOpenState.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenState.json new file mode 100644 index 000000000000..2299e83750c8 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenState.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "$filter": "status eq 'Open'", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/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" + }, + "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": "/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/2022-09-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json new file mode 100644 index 000000000000..5439bcdccb80 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "subscriptionId": "subid", + "$filter": "status eq 'Open'", + "api-version": "2022-09-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/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicket.json new file mode 100644 index 000000000000..7fbb4b6af26e --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicket.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "$filter": "communicationType eq 'web'", + "api-version": "2022-09-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/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json new file mode 100644 index 000000000000..d115a067e1db --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-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": "2022-09-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/2022-09-01-preview/examples/ListWebCommunicationsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSupportTicket.json new file mode 100644 index 000000000000..33416a9e6aed --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSupportTicket.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "supportTicketName": "testticket", + "$filter": "communicationType eq 'web'", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/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": "/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/2022-09-01-preview/examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json new file mode 100644 index 000000000000..b153483979dd --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "supportTicketName": "testticket", + "$filter": "communicationType eq 'web' and createdDate ge 2019-12-10T22:08:51Z", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/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": "/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/2022-09-01-preview/examples/UpdateSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSupportTicketForSubscription.json new file mode 100644 index 000000000000..651c6ba24863 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSupportTicketForSubscription.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-01-preview", + "updateSupportTicket": { + "severity": "critical", + "contactDetails": { + "firstName": "first name", + "lastName": "last name", + "preferredContactMethod": "email", + "primaryEmailAddress": "test.name@contoso.com", + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "phoneNumber": "123-456-7890", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + } + } + }, + "responses": { + "200": { + "body": { + "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/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "severity": "critical", + "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" + } + } + } + } +} From f02bc771d3a4b3d71716aae5cd6ca74a85276b73 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Mon, 20 Jun 2022 17:32:50 -0700 Subject: [PATCH 03/58] Minor change --- .../Microsoft.Support/preview/2022-09-01-preview/support.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index e842bd73329d..106e246827e5 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -622,7 +622,7 @@ } }, "x-ms-examples": { - "Get details of a subscription ticket": { + "Get details of a ticket": { "$ref": "./examples/GetSupportTicketDetails.json" } } From 9da4111df92c2b17861a2c2ab9c882f152973556 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Tue, 21 Jun 2022 19:07:03 -0700 Subject: [PATCH 04/58] Changes as per comments --- .../preview/2022-09-01-preview/support.json | 225 +----------------- .../support/resource-manager/readme.md | 8 + 2 files changed, 14 insertions(+), 219 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 106e246827e5..3d3986275ac0 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -287,7 +287,7 @@ "SupportTickets" ], "description": "Lists all the support tickets for an Azure subscription.

You can also filter the support tickets by Status or CreatedDate using the $filter parameter. Output will be a paged result with nextLink, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", - "operationId": "SupportTickets_List", + "operationId": "SupportTicketSubscription_List", "parameters": [ { "name": "$top", @@ -402,7 +402,7 @@ "SupportTickets" ], "description": "Gets details for a specific support ticket in an Azure subscription.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", - "operationId": "SupportTickets_Get", + "operationId": "SupportTicketSubscription_Get", "parameters": [ { "name": "supportTicketName", @@ -626,155 +626,6 @@ "$ref": "./examples/GetSupportTicketDetails.json" } } - }, - "patch": { - "tags": [ - "SupportTickets" - ], - "description": "This API allows you to update the severity level or your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.", - "operationId": "SupportTickets_Update", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "description": "Support ticket name", - "required": true, - "type": "string" - }, - { - "name": "updateSupportTicket", - "in": "body", - "description": "UpdateSupportTicket object", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateSupportTicket" - } - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully updated support ticket.", - "schema": { - "$ref": "#/definitions/SupportTicketDetails" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" - } - } - }, - "x-ms-examples": { - "UpdateSupportTicketForSubscription": { - "$ref": "./examples/UpdateSupportTicketForSubscription.json" - } - } - }, - "put": { - "tags": [ - "SupportTickets" - ], - "description": "Creates a new support ticket for Quota increase, Technical, Billing, and Subscription Management issues for the specified subscription.

A paid technical support plan is required to create a support ticket using this API. Learn more

Use the Services API to map the right Service Id to the issue type. For example: For billing tickets set *serviceId* to *'/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc'*.
For Technical issues, the Service id will map to the Azure service you want to raise a support ticket for.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.", - "operationId": "SupportTickets_Create", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "description": "Support ticket name.", - "required": true, - "type": "string" - }, - { - "name": "createSupportTicketParameters", - "in": "body", - "description": "Support ticket request payload.", - "required": true, - "schema": { - "$ref": "#/definitions/SupportTicketDetails" - } - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - SupportTicket created successfully", - "schema": { - "$ref": "#/definitions/SupportTicketDetails" - } - }, - "202": { - "description": "Accepted, SupportTicket will be created asynchronously" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "Create a ticket for Billing related issues": { - "$ref": "./examples/CreateBillingSupportTicketForSubscription.json" - }, - "Create a ticket for Subscription Management related issues": { - "$ref": "./examples/CreateSubMgmtSupportTicketForSubscription.json" - }, - "Create a ticket for Technical issue related to a specific resource": { - "$ref": "./examples/CreateTechnicalSupportTicketForSubscription.json" - }, - "Create a ticket to request Quota increase for Compute VM Cores": { - "$ref": "./examples/CreateCoresQuotaTicketForSubscription.json" - }, - "Create a ticket to request Quota increase for Low-priority cores for a Batch account": { - "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json" - }, - "Create a ticket to request Quota increase for specific VM family cores for a Batch account": { - "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json" - }, - "Create a ticket to request Quota increase for Pools for a Batch account": { - "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json" - }, - "Create a ticket to request Quota increase for Active Jobs and Job Schedules for a Batch account": { - "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json" - }, - "Create a ticket to request Quota increase for number of Batch accounts for a subscription": { - "$ref": "./examples/CreateBatchQuotaTicketForSubscription.json" - }, - "Create a ticket to request Quota increase for DTUs for SQL Database": { - "$ref": "./examples/CreateSqlDatabaseQuotaTicketForDTUs.json" - }, - "Create a ticket to request Quota increase for Servers for SQL Database": { - "$ref": "./examples/CreateSqlDatabaseQuotaTicketForServers.json" - }, - "Create a ticket to request Quota increase for DTUs for SQL Data Warehouse": { - "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json" - }, - "Create a ticket to request Quota increase for Servers for SQL Data Warehouse": { - "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForServers.json" - }, - "Create a ticket to request Quota increase for specific VM family cores for Machine Learning service": { - "$ref": "./examples/CreateMachineLearningQuotaTicketForDedicatedCores.json" - }, - "Create a ticket to request Quota increase for Low-priority cores for Machine Learning service": { - "$ref": "./examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json" - } - } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": { @@ -835,7 +686,7 @@ "Communications" ], "description": "Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by CreatedDate�or CommunicationType using the $filter parameter. The only type of communication supported today is Web. Output will be a paged result with nextLink, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", - "operationId": "Communications_List", + "operationId": "SupportTicketCommunicationsSubscription_List", "parameters": [ { "name": "supportTicketName", @@ -901,7 +752,7 @@ "Communications" ], "description": "Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by CreatedDate�or CommunicationType using the $filter parameter. The only type of communication supported today is Web. Output will be a paged result with nextLink, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", - "operationId": "Communications_List", + "operationId": "SupportTicketCommunicationsNoSubscription_List", "parameters": [ { "name": "supportTicketName", @@ -964,7 +815,7 @@ "Communications" ], "description": "Returns details of a specific communication in a support ticket.", - "operationId": "Communications_Get", + "operationId": "SupportTicketCommunicationSubscription_Get", "parameters": [ { "name": "supportTicketName", @@ -1078,7 +929,7 @@ "Communications" ], "description": "Returns details of a specific communication in a support ticket.", - "operationId": "Communications_Get", + "operationId": "SupportTicketCommunicationNoSubscription_Get", "parameters": [ { "name": "supportTicketName", @@ -1117,70 +968,6 @@ "$ref": "./examples/GetCommunicationDetailsForSupportTicket.json" } } - }, - "put": { - "tags": [ - "Communications" - ], - "description": "Adds a new customer communication to an Azure support ticket. Adding attachments are not currently supported via the API.
To add a file to a support ticket, visit the Manage support ticket page in the Azure portal, select the support ticket, and use the file upload control to add a new file.", - "operationId": "Communications_Create", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "description": "Support ticket name", - "required": true, - "type": "string" - }, - { - "name": "communicationName", - "in": "path", - "description": "Communication name", - "required": true, - "type": "string" - }, - { - "name": "createCommunicationParameters", - "in": "body", - "description": "Communication object", - "required": true, - "schema": { - "$ref": "#/definitions/CommunicationDetails" - } - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - Communication created successfully.", - "schema": { - "$ref": "#/definitions/CommunicationDetails" - } - }, - "202": { - "description": "Accepted, Communication will be created asynchronously" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ExceptionResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "AddCommunicationToSubscriptionTicket": { - "$ref": "./examples/CreateSupportTicketCommunication.json" - } - } } } }, diff --git a/specification/support/resource-manager/readme.md b/specification/support/resource-manager/readme.md index 71f5b67d2412..6ab73f66645d 100644 --- a/specification/support/resource-manager/readme.md +++ b/specification/support/resource-manager/readme.md @@ -56,6 +56,14 @@ input-file: - Microsoft.Support/preview/2019-05-01-preview/support.json ``` +### Tag: package-2022-09-preview + +These settings apply only when `--tag=package-2022-09-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2022-09-preview' +input-file: + - Microsoft.Support/preview/2022-09-01-preview/support.json +``` --- # Code Generation From e4c49adfd5a77c6df23511e77c5e292d41a6687f Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Wed, 22 Jun 2022 12:09:06 -0700 Subject: [PATCH 05/58] Change to update swagger --- .../Microsoft.Support/preview/2022-09-01-preview/support.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 3d3986275ac0..4928f2e33204 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -287,7 +287,7 @@ "SupportTickets" ], "description": "Lists all the support tickets for an Azure subscription.

You can also filter the support tickets by Status or CreatedDate using the $filter parameter. Output will be a paged result with nextLink, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", - "operationId": "SupportTicketSubscription_List", + "operationId": "SupportTickets_List", "parameters": [ { "name": "$top", From 7404e363e84bb03f430d2daf26fc331b218ba520 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Wed, 22 Jun 2022 12:31:24 -0700 Subject: [PATCH 06/58] Changes for handling lintdiff errors --- .../preview/2022-09-01-preview/support.json | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 4928f2e33204..961a53e07bb0 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -294,7 +294,8 @@ "in": "query", "description": "The number of values to return in the collection. Default is 25 and max is 100.", "required": false, - "type": "integer" + "type": "integer", + "format": "int32" }, { "name": "$filter", @@ -353,7 +354,8 @@ "in": "query", "description": "The number of values to return in the collection. Default is 25 and max is 100.", "required": false, - "type": "integer" + "type": "integer", + "format": "int32" }, { "name": "$filter", @@ -700,7 +702,8 @@ "in": "query", "description": "The number of values to return in the collection. Default is 10 and max is 10.", "required": false, - "type": "integer" + "type": "integer", + "format": "int32" }, { "name": "$filter", @@ -766,7 +769,8 @@ "in": "query", "description": "The number of values to return in the collection. Default is 10 and max is 10.", "required": false, - "type": "integer" + "type": "integer", + "format": "int32" }, { "name": "$filter", @@ -980,7 +984,10 @@ "type": "array", "items": { "$ref": "#/definitions/Operation" - } + }, + "x-ms-identifiers": [ + "name" + ] } } }, @@ -1444,6 +1451,7 @@ "slaMinutes": { "description": "Service Level Agreement in minutes", "type": "integer", + "format": "int32", "readOnly": true } } @@ -1489,6 +1497,7 @@ "items": { "$ref": "#/definitions/ServiceErrorDetail" }, + "x-ms-identifiers": [], "description": "The list of error details.", "readOnly": true } @@ -1657,7 +1666,10 @@ "type": "array", "items": { "$ref": "#/definitions/QuotaChangeRequest" - } + }, + "x-ms-identifiers": [ + "region" + ] } } }, From 478d1c3193c9bc6b77e871bd7ee93d9b279a848d Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Wed, 22 Jun 2022 12:38:50 -0700 Subject: [PATCH 07/58] Minor change --- .../Microsoft.Support/preview/2022-09-01-preview/support.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 961a53e07bb0..cc4996d184cb 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -287,7 +287,7 @@ "SupportTickets" ], "description": "Lists all the support tickets for an Azure subscription.

You can also filter the support tickets by Status or CreatedDate using the $filter parameter. Output will be a paged result with nextLink, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", - "operationId": "SupportTickets_List", + "operationId": "SupportTicketSubscription_List", "parameters": [ { "name": "$top", From a436475db0ad235bf0da45880cacc10f1342ebbf Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Wed, 22 Jun 2022 12:58:34 -0700 Subject: [PATCH 08/58] Changes as per PR comments --- .../preview/2022-09-01-preview/support.json | 32 +++++++++++++++---- 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index cc4996d184cb..8fb423df3360 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -287,7 +287,7 @@ "SupportTickets" ], "description": "Lists all the support tickets for an Azure subscription.

You can also filter the support tickets by Status or CreatedDate using the $filter parameter. Output will be a paged result with nextLink, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", - "operationId": "SupportTicketSubscription_List", + "operationId": "SupportTickets_List", "parameters": [ { "name": "$top", @@ -347,7 +347,7 @@ "SupportTickets" ], "description": "Lists all the support tickets.

You can also filter the support tickets by Status or CreatedDate using the $filter parameter. Output will be a paged result with nextLink, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", - "operationId": "SupportTickets_List", + "operationId": "SupportTicketsNoSubscription_List", "parameters": [ { "name": "$top", @@ -404,7 +404,7 @@ "SupportTickets" ], "description": "Gets details for a specific support ticket in an Azure subscription.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", - "operationId": "SupportTicketSubscription_Get", + "operationId": "SupportTickets_Get", "parameters": [ { "name": "supportTicketName", @@ -596,7 +596,7 @@ "SupportTickets" ], "description": "Gets details for a specific support ticket.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", - "operationId": "SupportTickets_Get", + "operationId": "SupportTicketsNoSubscription_Get", "parameters": [ { "name": "supportTicketName", @@ -688,7 +688,7 @@ "Communications" ], "description": "Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by CreatedDate�or CommunicationType using the $filter parameter. The only type of communication supported today is Web. Output will be a paged result with nextLink, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", - "operationId": "SupportTicketCommunicationsSubscription_List", + "operationId": "Communications_List", "parameters": [ { "name": "supportTicketName", @@ -1073,6 +1073,13 @@ "displayName": { "description": "Localized name of Azure service", "type": "string" + }, + "resourceTypes": { + "description": "ARM Resource types.", + "type": "array", + "items": { + "type": "string" + } } } }, @@ -1348,7 +1355,8 @@ "enum": [ "minimal", "moderate", - "critical" + "critical", + "highestcriticalimpact" ], "type": "string", "x-ms-enum": { @@ -1704,6 +1712,18 @@ "modelAsString": true } }, + "status": { + "description": "Status to be updated on the ticket.", + "enum": [ + "open", + "closed" + ], + "type": "string", + "x-ms-enum": { + "name": "Status", + "modelAsString": true + } + }, "contactDetails": { "$ref": "#/definitions/UpdateContactProfile", "description": "Contact details to be updated on the support ticket." From 10ed086859fbd03c578c1bc2ec02986bc1e34e0a Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Wed, 22 Jun 2022 14:52:46 -0700 Subject: [PATCH 09/58] More changes --- .../preview/2022-09-01-preview/support.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 8fb423df3360..925704030295 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -819,7 +819,7 @@ "Communications" ], "description": "Returns details of a specific communication in a support ticket.", - "operationId": "SupportTicketCommunicationSubscription_Get", + "operationId": "Communications_Get", "parameters": [ { "name": "supportTicketName", @@ -1704,7 +1704,8 @@ "enum": [ "minimal", "moderate", - "critical" + "critical", + "highestcriticalimpact" ], "type": "string", "x-ms-enum": { From 98fc7fc4e113e7aba8fb79fdbd8ecb09fedcf229 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Mon, 27 Jun 2022 17:42:36 -0700 Subject: [PATCH 10/58] More changes --- ... => ListSupportTicketsNoSubscription.json} | 11 +- ...tTicketsProblemClassificationIdEquals.json | 79 ++++++ ...ClassificationIdEqualsForSubscription.json | 80 ++++++ .../ListSupportTicketsServiceIdEqualsFor.json | 79 ++++++ ...TicketsServiceIdEqualsForSubscription.json | 80 ++++++ .../preview/2022-09-01-preview/support.json | 235 +++++++++++++++++- 6 files changed, 552 insertions(+), 12 deletions(-) rename specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/{ListSupportTickets.json => ListSupportTicketsNoSubscription.json} (87%) create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEquals.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsFor.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsForSubscription.json diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsNoSubscription.json similarity index 87% rename from specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json rename to specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsNoSubscription.json index 5b1edd7d599a..d19cc26f365a 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsNoSubscription.json @@ -13,7 +13,7 @@ "properties": { "supportTicketId": "119120321001170", "description": "my description", - "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationId": "/providers/Microsoft.Support/services/microsoft_azure_information_protection/problemClassifications/problemClassification_guid", "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", "severity": "moderate", "productionOutage": false, @@ -27,9 +27,6 @@ "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", @@ -37,7 +34,7 @@ }, "supportPlanType": "Premier", "title": "my title", - "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceId": "/providers/Microsoft.Support/services/microsoft_azure_information_protection", "serviceDisplayName": "Virtual Machine running Linux", "status": "Open", "createdDate": "2018-03-20T21:36:18Z", @@ -51,7 +48,7 @@ "properties": { "supportTicketId": "118032014183771", "description": "This is a test - please ignore", - "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationId": "/providers/Microsoft.Support/services/microsoft_azure_information_protection/problemClassifications/problemClassification_guid", "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", "severity": "minimal", "productionOutage": false, @@ -72,7 +69,7 @@ }, "supportPlanType": "Premier", "title": "Test - please ignore", - "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceId": "/providers/Microsoft.Support/services/microsoft_azure_information_protection", "serviceDisplayName": "Subscription management", "status": "Open", "createdDate": "2018-03-20T21:36:18Z", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEquals.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEquals.json new file mode 100644 index 000000000000..f33b8e80120f --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEquals.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "$filter": "ProblemClassificationId eq 'compute_vm_problemClassification_guid'", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Support/supportTickets/testTicket1", + "name": "testTicket1", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "2205060010000072", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/service_guid/problemClassifications/compute_vm_problemClassification_guid", + "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", + "severity": "minimal", + "require24X7Response": false, + "enrollmentId": "", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "usa", + "preferredSupportLanguage": "en-US" + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/service_guid", + "serviceDisplayName": "service_displayName", + "status": "Open", + "createdDate": "2022-05-04T21:52:10Z", + "modifiedDate": "2022-05-12T23:05:19Z" + } + }, + { + "id": "/providers/Microsoft.Support/supportTickets/testTicket2", + "name": "testTicket2", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "2205040010000077", + "description": "This is a test - please ignore", + "problemClassificationId": "/providers/Microsoft.Support/services/service_guid/problemClassifications/compute_vm_problemClassification_guid", + "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", + "severity": "minimal", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/service_guid", + "serviceDisplayName": "service_displayName", + "status": "Open", + "createdDate": "2022-05-04T21:38:42Z", + "modifiedDate": "2022-05-04T21:39:14Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json new file mode 100644 index 000000000000..3cff20effd01 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "subscriptionId": "subid", + "$filter": "ProblemClassificationId eq 'compute_vm_problemClassification_guid'", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testTicket1", + "name": "testTicket1", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "2205060010000072", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/service_guid/problemClassifications/compute_vm_problemClassification_guid", + "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", + "severity": "minimal", + "require24X7Response": false, + "enrollmentId": "", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "usa", + "preferredSupportLanguage": "en-US" + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/service_guid", + "serviceDisplayName": "service_displayName", + "status": "Open", + "createdDate": "2022-05-04T21:52:10Z", + "modifiedDate": "2022-05-12T23:05:19Z" + } + }, + { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testTicket2", + "name": "testTicket2", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "2205040010000077", + "description": "This is a test - please ignore", + "problemClassificationId": "/providers/Microsoft.Support/services/service_guid/problemClassifications/compute_vm_problemClassification_guid", + "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", + "severity": "minimal", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/service_guid", + "serviceDisplayName": "service_displayName", + "status": "Open", + "createdDate": "2022-05-04T21:38:42Z", + "modifiedDate": "2022-05-04T21:39:14Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsFor.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsFor.json new file mode 100644 index 000000000000..d79a405ca9fe --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsFor.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "$filter": "ServiceId eq 'vm_windows_service_guid'", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Support/supportTickets", + "name": "testticket1", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "2205040010000082", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/vm_windows_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationDisplayName": "problemClassification_displayName", + "severity": "minimal", + "require24X7Response": false, + "enrollmentId": "", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "usa", + "preferredSupportLanguage": "en-US" + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", + "serviceDisplayName": "Virtual Machine running Windows", + "status": "Open", + "createdDate": "2022-05-04T21:52:10Z", + "modifiedDate": "2022-05-12T23:05:19Z" + } + }, + { + "id": "/providers/Microsoft.Support/supportTickets", + "name": "testticket2", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "2205040010000080", + "description": "This is a test - please ignore", + "problemClassificationId": "/providers/Microsoft.Support/services/vm_windows_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationDisplayName": "problemClassification_displayName", + "severity": "minimal", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", + "serviceDisplayName": "Virtual Machine running Windows", + "status": "Open", + "createdDate": "2022-05-04T21:38:42Z", + "modifiedDate": "2022-05-04T21:39:14Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsForSubscription.json new file mode 100644 index 000000000000..06c916d70af7 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsForSubscription.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "subscriptionId": "subid", + "$filter": "ServiceId eq 'vm_windows_service_guid'", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets", + "name": "testticket1", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "2205040010000082", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/vm_windows_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationDisplayName": "problemClassification_displayName", + "severity": "minimal", + "require24X7Response": false, + "enrollmentId": "", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "usa", + "preferredSupportLanguage": "en-US" + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", + "serviceDisplayName": "Virtual Machine running Windows", + "status": "Open", + "createdDate": "2022-05-04T21:52:10Z", + "modifiedDate": "2022-05-12T23:05:19Z" + } + }, + { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets", + "name": "testticket2", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "2205040010000080", + "description": "This is a test - please ignore", + "problemClassificationId": "/providers/Microsoft.Support/services/vm_windows_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationDisplayName": "problemClassification_displayName", + "severity": "minimal", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", + "serviceDisplayName": "Virtual Machine running Windows", + "status": "Open", + "createdDate": "2022-05-04T21:38:42Z", + "modifiedDate": "2022-05-04T21:39:14Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 925704030295..5162c9bec858 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -286,7 +286,7 @@ "tags": [ "SupportTickets" ], - "description": "Lists all the support tickets for an Azure subscription.

You can also filter the support tickets by Status or CreatedDate using the $filter parameter. Output will be a paged result with nextLink, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", + "description": "Lists all the support tickets for an Azure subscription.

You can also filter the support tickets by Status, CreatedDate , ServiceId, and ProblemClassificationId using the $filter parameter. Output will be a paged result with nextLink, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", "operationId": "SupportTickets_List", "parameters": [ { @@ -302,7 +302,7 @@ "in": "query", "required": false, "type": "string", - "description": "The filter to apply on the operation. We support 'odata v4.0' filter semantics. Learn more
Status filter can only be used with 'eq' operator. For CreatedDate filter, the supported operators are 'gt' and 'ge'. When using both filters, combine them using the logical 'AND'." + "description": "The filter to apply on the operation. We support 'odata v4.0' filter semantics. Learn more
Status , ServiceId, and ProblemClassificationId filters can only be used with 'eq' operator. For CreatedDate filter, the supported operators are 'gt' and 'ge'. When using both filters, combine them using the logical 'AND'." }, { "$ref": "#/parameters/SubscriptionIdParameter" @@ -337,6 +337,12 @@ }, "List support tickets created on or after a certain date and in open state for a subscription": { "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json" + }, + "List support tickets with a certain service id for a subscription": { + "$ref": "./examples/ListSupportTicketsServiceIdEqualsForSubscription.json" + }, + "List support tickets with a certain problem classification id for a subscription": { + "$ref": "./examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json" } } } @@ -346,7 +352,7 @@ "tags": [ "SupportTickets" ], - "description": "Lists all the support tickets.

You can also filter the support tickets by Status or CreatedDate using the $filter parameter. Output will be a paged result with nextLink, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", + "description": "Lists all the support tickets.

You can also filter the support tickets by Status, CreatedDate, , ServiceId, and ProblemClassificationId using the $filter parameter. Output will be a paged result with nextLink, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", "operationId": "SupportTicketsNoSubscription_List", "parameters": [ { @@ -362,7 +368,7 @@ "in": "query", "required": false, "type": "string", - "description": "The filter to apply on the operation. We support 'odata v4.0' filter semantics. Learn more
Status filter can only be used with 'eq' operator. For CreatedDate filter, the supported operators are 'gt' and 'ge'. When using both filters, combine them using the logical 'AND'." + "description": "The filter to apply on the operation. We support 'odata v4.0' filter semantics. Learn more
Status , ServiceId, and ProblemClassificationId filters can only be used with 'eq' operator. For CreatedDate filter, the supported operators are 'gt' and 'ge'. When using both filters, combine them using the logical 'AND'." }, { "$ref": "#/parameters/ApiVersionParameter" @@ -387,13 +393,19 @@ }, "x-ms-examples": { "List support tickets for a subscription": { - "$ref": "./examples/ListSupportTickets.json" + "$ref": "./examples/ListSupportTicketsNoSubscription.json" }, "List support tickets in open state for a subscription": { "$ref": "./examples/ListSupportTicketsInOpenState.json" }, "List support tickets created on or after a certain date and in open state for a subscription": { "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json" + }, + "List support tickets with a certain service id for a subscription": { + "$ref": "./examples/ListSupportTicketsServiceIdEquals.json" + }, + "List support tickets with a certain problem classification id for a subscription": { + "$ref": "./examples/ListSupportTicketsProblemClassificationIdEquals.json" } } } @@ -628,6 +640,155 @@ "$ref": "./examples/GetSupportTicketDetails.json" } } + }, + "patch": { + "tags": [ + "SupportTickets" + ], + "description": "This API allows you to update the severity level or your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.", + "operationId": "SupportTickets_Update", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name", + "required": true, + "type": "string" + }, + { + "name": "updateSupportTicket", + "in": "body", + "description": "UpdateSupportTicket object", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateSupportTicket" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully updated support ticket.", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "UpdateSupportTicketForSubscription": { + "$ref": "./examples/UpdateSupportTicketForSubscription.json" + } + } + }, + "put": { + "tags": [ + "SupportTickets" + ], + "description": "Creates a new support ticket for Quota increase, Technical, Billing, and Subscription Management issues for the specified subscription.

A paid technical support plan is required to create a support ticket using this API. Learn more

Use the Services API to map the right Service Id to the issue type. For example: For billing tickets set *serviceId* to *'/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc'*.
For Technical issues, the Service id will map to the Azure service you want to raise a support ticket for.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.", + "operationId": "SupportTickets_Create", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name.", + "required": true, + "type": "string" + }, + { + "name": "createSupportTicketParameters", + "in": "body", + "description": "Support ticket request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - SupportTicket created successfully", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "202": { + "description": "Accepted, SupportTicket will be created asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create a ticket for Billing related issues": { + "$ref": "./examples/CreateBillingSupportTicketForSubscription.json" + }, + "Create a ticket for Subscription Management related issues": { + "$ref": "./examples/CreateSubMgmtSupportTicketForSubscription.json" + }, + "Create a ticket for Technical issue related to a specific resource": { + "$ref": "./examples/CreateTechnicalSupportTicketForSubscription.json" + }, + "Create a ticket to request Quota increase for Compute VM Cores": { + "$ref": "./examples/CreateCoresQuotaTicketForSubscription.json" + }, + "Create a ticket to request Quota increase for Low-priority cores for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json" + }, + "Create a ticket to request Quota increase for specific VM family cores for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json" + }, + "Create a ticket to request Quota increase for Pools for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json" + }, + "Create a ticket to request Quota increase for Active Jobs and Job Schedules for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json" + }, + "Create a ticket to request Quota increase for number of Batch accounts for a subscription": { + "$ref": "./examples/CreateBatchQuotaTicketForSubscription.json" + }, + "Create a ticket to request Quota increase for DTUs for SQL Database": { + "$ref": "./examples/CreateSqlDatabaseQuotaTicketForDTUs.json" + }, + "Create a ticket to request Quota increase for Servers for SQL Database": { + "$ref": "./examples/CreateSqlDatabaseQuotaTicketForServers.json" + }, + "Create a ticket to request Quota increase for DTUs for SQL Data Warehouse": { + "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json" + }, + "Create a ticket to request Quota increase for Servers for SQL Data Warehouse": { + "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForServers.json" + }, + "Create a ticket to request Quota increase for specific VM family cores for Machine Learning service": { + "$ref": "./examples/CreateMachineLearningQuotaTicketForDedicatedCores.json" + }, + "Create a ticket to request Quota increase for Low-priority cores for Machine Learning service": { + "$ref": "./examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json" + } + } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": { @@ -972,6 +1133,70 @@ "$ref": "./examples/GetCommunicationDetailsForSupportTicket.json" } } + }, + "put": { + "tags": [ + "Communications" + ], + "description": "Adds a new customer communication to an Azure support ticket. Adding attachments are not currently supported via the API.
To add a file to a support ticket, visit the Manage support ticket page in the Azure portal, select the support ticket, and use the file upload control to add a new file.", + "operationId": "Communications_Create", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name", + "required": true, + "type": "string" + }, + { + "name": "communicationName", + "in": "path", + "description": "Communication name", + "required": true, + "type": "string" + }, + { + "name": "createCommunicationParameters", + "in": "body", + "description": "Communication object", + "required": true, + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Communication created successfully.", + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "202": { + "description": "Accepted, Communication will be created asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "AddCommunicationToSubscriptionTicket": { + "$ref": "./examples/CreateSupportTicketCommunication.json" + } + } } } }, From 0fa33e47a3be5df44a1df2662bad0400f03b3c95 Mon Sep 17 00:00:00 2001 From: raghumunukutla <55466801+raghumunukutla@users.noreply.github.com> Date: Thu, 1 Sep 2022 18:20:28 -0700 Subject: [PATCH 11/58] Adds base for updating Microsoft.Support from version stable/2020-04-01 to version 2022-09-01-preview --- ...labilityForSupportTicketCommunication.json | 20 + ...CheckNameAvailabilityWithSubscription.json | 19 + ...tForSpecificBatchAccountForActiveJobs.json | 92 + ...SpecificBatchAccountForDedicatedCores.json | 92 + ...ecificBatchAccountForLowPriorityCores.json | 92 + ...TicketForSpecificBatchAccountForPools.json | 92 + ...CreateBatchQuotaTicketForSubscription.json | 92 + ...teBillingSupportTicketForSubscription.json | 72 + ...CreateCoresQuotaTicketForSubscription.json | 90 + .../examples/CreateGenericQuotaTicket.json | 72 + ...eLearningQuotaTicketForDedicatedCores.json | 92 + ...earningQuotaTicketForLowPriorityCores.json | 92 + .../CreateSqlDatabaseQuotaTicketForDTUs.json | 92 + ...reateSqlDatabaseQuotaTicketForServers.json | 92 + ...ateSqlDatawarehouseQuotaTicketForDTUs.json | 92 + ...SqlDatawarehouseQuotaTicketForServers.json | 92 + .../CreateSqlManagedInstanceQuotaTicket.json | 100 ++ ...teSubMgmtSupportTicketForSubscription.json | 72 + .../CreateSupportTicketCommunication.json | 38 + ...TechnicalSupportTicketForSubscription.json | 78 + ...onDetailsForSubscriptionSupportTicket.json | 25 + .../examples/GetProblemClassification.json | 19 + .../examples/GetService.json | 22 + .../GetSubscriptionSupportTicketDetails.json | 48 + ...nicationsForSubscriptionSupportTicket.json | 41 + .../examples/ListOperations.json | 94 + .../examples/ListProblemClassifications.json | 46 + .../examples/ListServices.json | 88 + .../ListSupportTicketsBySubscription.json | 91 + ...OnOrAfterAndInOpenStateBySubscription.json | 92 + ...pportTicketsInOpenStateBySubscription.json | 92 + ...ClassificationIdEqualsForSubscription.json | 80 + ...TicketsServiceIdEqualsForSubscription.json | 80 + ...nicationsForSubscriptionSupportTicket.json | 42 + ...criptionSupportTicketCreatedOnOrAfter.json | 42 + ...DetailsOfSupportTicketForSubscription.json | 69 + ...everityOfSupportTicketForSubscription.json | 55 + ...eStatusOfSupportTicketForSubscription.json | 55 + .../preview/2022-09-01-preview/support.json | 1556 +++++++++++++++++ 39 files changed, 4210 insertions(+) create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityForSupportTicketCommunication.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityWithSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicketForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateCoresQuotaTicketForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateGenericQuotaTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlManagedInstanceQuotaTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSupportTicketCommunication.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetProblemClassification.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetService.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSubscriptionSupportTicketDetails.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListCommunicationsForSubscriptionSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListOperations.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListProblemClassifications.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListServices.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsBySubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicketForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicketForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicketForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityForSupportTicketCommunication.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityForSupportTicketCommunication.json new file mode 100644 index 000000000000..6f723ff8d533 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityForSupportTicketCommunication.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "checkNameAvailabilityInput": { + "name": "sampleName", + "type": "Microsoft.Support/communications" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "Name is already in use", + "message": "Name not available" + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityWithSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityWithSubscription.json new file mode 100644 index 000000000000..591543733169 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityWithSubscription.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "subid", + "api-version": "2020-04-01", + "checkNameAvailabilityInput": { + "name": "sampleName", + "type": "Microsoft.Support/supportTickets" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "Name is already in use", + "message": "Name not available" + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json new file mode 100644 index 000000000000..9d8d443605b0 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + "severity": "moderate", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "primaryEmailAddress": "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=2020-04-01", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket", + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "119120321001170", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + "problemClassificationDisplayName": "Batch", + "severity": "moderate", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "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": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceDisplayName": "Service and subscription limits (quotas)", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json new file mode 100644 index 000000000000..aadd4011fb3f --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + "severity": "moderate", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "primaryEmailAddress": "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=2020-04-01", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket", + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "119120321001170", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + "problemClassificationDisplayName": "Batch", + "severity": "moderate", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "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": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceDisplayName": "Service and subscription limits (quotas)", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json new file mode 100644 index 000000000000..251ac30ce14e --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + "severity": "moderate", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "primaryEmailAddress": "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=2020-04-01", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket", + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "119120321001170", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + "problemClassificationDisplayName": "Batch", + "severity": "moderate", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "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": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceDisplayName": "Service and subscription limits (quotas)", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json new file mode 100644 index 000000000000..a40456b4d894 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + "severity": "moderate", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "primaryEmailAddress": "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=2020-04-01", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket", + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "119120321001170", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + "problemClassificationDisplayName": "Batch", + "severity": "moderate", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "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": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceDisplayName": "Service and subscription limits (quotas)", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSubscription.json new file mode 100644 index 000000000000..2995f3fab7fb --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSubscription.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + "severity": "moderate", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "primaryEmailAddress": "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=2020-04-01", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket", + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "119120321001170", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + "problemClassificationDisplayName": "Batch", + "severity": "moderate", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "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": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceDisplayName": "Service and subscription limits (quotas)", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicketForSubscription.json new file mode 100644 index 000000000000..42e1c0b4a0ea --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicketForSubscription.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/billing_service_guid", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid", + "severity": "moderate", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "primaryEmailAddress": "abc@contoso.com", + "preferredContactMethod": "email", + "preferredTimeZone": "Pacific Standard Time", + "preferredSupportLanguage": "en-US", + "country": "usa" + } + } + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket", + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "119120321001170", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid", + "problemClassificationDisplayName": "Refund request", + "severity": "moderate", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "usa", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/billing_service_guid", + "serviceDisplayName": "Billing", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateCoresQuotaTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateCoresQuotaTicketForSubscription.json new file mode 100644 index 000000000000..3df0bfde643a --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateCoresQuotaTicketForSubscription.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cores_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", + "quotaChangeRequests": [ + { + "region": "EastUS", + "payload": "{\"SKU\":\"DSv3 Series\",\"NewLimit\":104}" + } + ] + } + } + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket", + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "119120321001170", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cores_problemClassification_guid", + "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", + "severity": "moderate", + "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", + "quotaChangeRequests": [ + { + "region": "EastUS", + "payload": "{\"VmFamily\":\"DSv3 Series\",\"NewLimit\":104}" + } + ] + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceDisplayName": "Service and subscription limits (quotas)", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateGenericQuotaTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateGenericQuotaTicket.json new file mode 100644 index 000000000000..6235ee70197d --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateGenericQuotaTicket.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "title": "my title", + "description": "Increase the maximum throughput per container limit to 10000 for account foo bar", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cosmosdb_problemClassification_guid", + "severity": "moderate", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "primaryEmailAddress": "abc@contoso.com", + "preferredContactMethod": "email", + "preferredTimeZone": "Pacific Standard Time", + "preferredSupportLanguage": "en-US", + "country": "usa" + } + } + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket", + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "119120321001170", + "description": "Increase the maximum throughput per container limit to 10000 for account foo bar", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cosmosdb_problemClassification_guid", + "problemClassificationDisplayName": "Cosmos DB", + "severity": "moderate", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "usa", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceDisplayName": "Service and subscription limits (quotas)", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json new file mode 100644 index 000000000000..ab253950b6a5 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/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": "BatchAml", + "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=2020-04-01", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket", + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "119120321001170", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid", + "problemClassificationDisplayName": "Machine Learning service", + "severity": "moderate", + "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": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceDisplayName": "Service and subscription limits (quotas)", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json new file mode 100644 index 000000000000..5a77027669a3 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/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": "BatchAml", + "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=2020-04-01", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket", + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "119120321001170", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid", + "problemClassificationDisplayName": "Machine Learning service", + "severity": "moderate", + "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": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceDisplayName": "Service and subscription limits (quotas)", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json new file mode 100644 index 000000000000..cd3f37cbcd41 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/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=2020-04-01", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket", + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "119120321001170", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", + "problemClassificationDisplayName": "SQL database", + "severity": "moderate", + "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": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceDisplayName": "Service and subscription limits (quotas)", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json new file mode 100644 index 000000000000..7e2fe9fe44c0 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/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=2020-04-01", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket", + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "119120321001170", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", + "problemClassificationDisplayName": "SQL database", + "severity": "moderate", + "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": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceDisplayName": "Service and subscription limits (quotas)", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json new file mode 100644 index 000000000000..a6c993df89ae --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/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=2020-04-01", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket", + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "119120321001170", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", + "problemClassificationDisplayName": "SQL Data Warehouse", + "severity": "moderate", + "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": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceDisplayName": "Service and subscription limits (quotas)", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json new file mode 100644 index 000000000000..8ce944490002 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/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=2020-04-01", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket", + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "119120321001170", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", + "problemClassificationDisplayName": "SQL Data Warehouse", + "severity": "moderate", + "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": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceDisplayName": "Service and subscription limits (quotas)", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlManagedInstanceQuotaTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlManagedInstanceQuotaTicket.json new file mode 100644 index 000000000000..8a92e986a09e --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlManagedInstanceQuotaTicket.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_managedinstance_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": "SQLMI", + "quotaChangeRequests": [ + { + "region": "EastUS", + "payload": "{\"NewLimit\":200, \"Metadata\":null, \"Type\":\"vCore\"}" + }, + { + "region": "EastUS", + "payload": "{\"NewLimit\":200, \"Metadata\":null, \"Type\":\"Subnet\"}" + } + ] + } + } + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket", + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "119120321001170", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", + "problemClassificationDisplayName": "SQL Database Managed Instance", + "severity": "moderate", + "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": "SQLMI", + "quotaChangeRequests": [ + { + "region": "EastUS", + "payload": "{\"NewLimit\":200, \"Metadata\":null, \"Type\":\"vCore\"}" + }, + { + "region": "EastUS", + "payload": "{\"NewLimit\":200, \"Metadata\":null, \"Type\":\"Subnet\"}" + } + ] + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceDisplayName": "Service and subscription limits (quotas)", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json new file mode 100644 index 000000000000..b98c942fdbed --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid", + "severity": "moderate", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "primaryEmailAddress": "abc@contoso.com", + "preferredContactMethod": "email", + "preferredTimeZone": "Pacific Standard Time", + "preferredSupportLanguage": "en-US", + "country": "usa" + } + } + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket", + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "119120321001170", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid", + "problemClassificationDisplayName": "Transfer ownership of my subscription", + "severity": "moderate", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "usa", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSupportTicketCommunication.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSupportTicketCommunication.json new file mode 100644 index 000000000000..735de576110c --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSupportTicketCommunication.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "communicationName": "testcommunication", + "api-version": "2020-04-01", + "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=2020-04-01", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket/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": "2020-03-10T20:18:19Z", + "sender": "user@contoso.com" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json new file mode 100644 index 000000000000..efbfc69dd34a --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid/problemClassifications/problemClassification_guid", + "severity": "moderate", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "primaryEmailAddress": "abc@contoso.com", + "preferredContactMethod": "email", + "preferredTimeZone": "Pacific Standard Time", + "preferredSupportLanguage": "en-US", + "country": "usa" + }, + "technicalTicketDetails": { + "resourceId": "/subscriptions/subid/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + } + } + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket", + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "119120321001170", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "severity": "moderate", + "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": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid", + "serviceDisplayName": "Virtual Machine running Linux", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json new file mode 100644 index 000000000000..181ec88b06db --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "communicationName": "testmessage", + "api-version": "2020-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage", + "name": "testmessage", + "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": "2020-03-10T20:18:19Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetProblemClassification.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetProblemClassification.json new file mode 100644 index 000000000000..42698d2887a5 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetProblemClassification.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "serviceName": "service_guid", + "problemClassificationName": "problemClassification_guid", + "api-version": "2020-04-01" + }, + "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/2022-09-01-preview/examples/GetService.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetService.json new file mode 100644 index 000000000000..e05273a62e20 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetService.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "serviceName": "service_guid", + "api-version": "2020-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Support/services/service_guid", + "name": "service_guid", + "type": "Microsoft.Support/services", + "properties": { + "displayName": "Virtual Machine running Windows", + "resourceTypes": [ + "MICROSOFT.CLASSICCOMPUTE/VIRTUALMACHINES", + "MICROSOFT.COMPUTE/VIRTUALMACHINES" + ] + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSubscriptionSupportTicketDetails.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSubscriptionSupportTicketDetails.json new file mode 100644 index 000000000000..76ffec944329 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSubscriptionSupportTicketDetails.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01" + }, + "responses": { + "200": { + "body": { + "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/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "severity": "minimal", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListCommunicationsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListCommunicationsForSubscriptionSupportTicket.json new file mode 100644 index 000000000000..1a516d660901 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListCommunicationsForSubscriptionSupportTicket.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01" + }, + "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": "2020-03-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": "2020-03-29T10:53:19Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListOperations.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListOperations.json new file mode 100644 index 000000000000..fbe7ab3cbc23 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListOperations.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2020-04-01" + }, + "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/2022-09-01-preview/examples/ListProblemClassifications.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListProblemClassifications.json new file mode 100644 index 000000000000..44f2d30b1ba6 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListProblemClassifications.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "serviceName": "service_guid", + "api-version": "2020-04-01" + }, + "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/2022-09-01-preview/examples/ListServices.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListServices.json new file mode 100644 index 000000000000..76add0ddb0ea --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListServices.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "api-version": "2020-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Support/services/service_guid_1", + "name": "service_guid_1", + "type": "Microsoft.Support/services", + "properties": { + "displayName": "Billing", + "resourceTypes": [] + } + }, + { + "id": "/providers/Microsoft.Support/services/service_guid_2", + "name": "service_guid_2", + "type": "Microsoft.Support/services", + "properties": { + "displayName": "Service and subscription limits (quotas)", + "resourceTypes": [] + } + }, + { + "id": "/providers/Microsoft.Support/services/service_guid_3", + "name": "service_guid_3", + "type": "Microsoft.Support/services", + "properties": { + "displayName": "Subscription management", + "resourceTypes": [] + } + }, + { + "id": "/providers/Microsoft.Support/services/service_guid_4", + "name": "service_guid_4", + "type": "Microsoft.Support/services", + "properties": { + "displayName": "Data Explorer", + "resourceTypes": [ + "MICROSOFT.KUSTO/CLUSTERS", + "MICROSOFT.KUSTO/DATABASES" + ] + } + }, + { + "id": "/providers/Microsoft.Support/services/service_guid_5", + "name": "service_guid_5", + "type": "Microsoft.Support/services", + "properties": { + "displayName": "Virtual Machine running Windows", + "resourceTypes": [ + "MICROSOFT.CLASSICCOMPUTE/VIRTUALMACHINES", + "MICROSOFT.COMPUTE/VIRTUALMACHINES" + ] + } + }, + { + "id": "/providers/Microsoft.Support/services/service_guid_6", + "name": "service_guid_6", + "type": "Microsoft.Support/services", + "properties": { + "displayName": "Virtual Machine running Linux", + "resourceTypes": [ + "MICROSOFT.CLASSICCOMPUTE/VIRTUALMACHINES", + "MICROSOFT.COMPUTE/VIRTUALMACHINES" + ] + } + }, + { + "id": "/providers/Microsoft.Support/services/service_guid_7", + "name": "service_guid_7", + "type": "Microsoft.Support/services", + "properties": { + "displayName": "Virtual Network", + "resourceTypes": [ + "MICROSOFT.NETWORK/VIRTUALNETWORKS", + "MICROSOFT.CLASSICNETWORK/VIRTUALNETWORKS" + ] + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsBySubscription.json new file mode 100644 index 000000000000..186c285757d8 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsBySubscription.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "subscriptionId": "subid", + "api-version": "2020-04-01" + }, + "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", + "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": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceDisplayName": "Virtual Machine running Linux", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-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", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json new file mode 100644 index 000000000000..5141f83d9a6e --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "subid", + "$filter": "createdDate ge 2020-03-10T22:08:51Z and status eq 'Open'", + "api-version": "2020-04-01" + }, + "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", + "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": "2020-03-11T21:36:18Z", + "expirationTime": "2020-03-12T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceDisplayName": "Virtual Machine running Linux", + "status": "Open", + "createdDate": "2020-03-11T21:36:18Z", + "modifiedDate": "2020-03-12T21: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", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-11T21:36:18Z", + "expirationTime": "2020-03-12T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Open", + "createdDate": "2020-03-11T21:36:18Z", + "modifiedDate": "2020-03-12T21:36:18Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json new file mode 100644 index 000000000000..30ebc506ac52 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "subid", + "$filter": "status eq 'Open'", + "api-version": "2020-04-01" + }, + "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", + "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": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceDisplayName": "Virtual Machine running Linux", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-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", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json new file mode 100644 index 000000000000..1051e0649893 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "subscriptionId": "subid", + "$filter": "ProblemClassificationId eq 'compute_vm_problemClassification_guid'", + "api-version": "2020-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testTicket1", + "name": "testTicket1", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "2205060010000072", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/service_guid/problemClassifications/compute_vm_problemClassification_guid", + "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", + "severity": "minimal", + "require24X7Response": false, + "enrollmentId": "", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "usa", + "preferredSupportLanguage": "en-US" + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/service_guid", + "serviceDisplayName": "service_displayName", + "status": "Open", + "createdDate": "2022-05-04T21:52:10Z", + "modifiedDate": "2022-05-12T23:05:19Z" + } + }, + { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testTicket2", + "name": "testTicket2", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "2205040010000077", + "description": "This is a test - please ignore", + "problemClassificationId": "/providers/Microsoft.Support/services/service_guid/problemClassifications/compute_vm_problemClassification_guid", + "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", + "severity": "minimal", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/service_guid", + "serviceDisplayName": "service_displayName", + "status": "Open", + "createdDate": "2022-05-04T21:38:42Z", + "modifiedDate": "2022-05-04T21:39:14Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsForSubscription.json new file mode 100644 index 000000000000..4610d87936e3 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsForSubscription.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "subscriptionId": "subid", + "$filter": "ServiceId eq 'vm_windows_service_guid'", + "api-version": "2020-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets", + "name": "testticket1", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "2205040010000082", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/vm_windows_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationDisplayName": "problemClassification_displayName", + "severity": "minimal", + "require24X7Response": false, + "enrollmentId": "", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "usa", + "preferredSupportLanguage": "en-US" + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", + "serviceDisplayName": "Virtual Machine running Windows", + "status": "Open", + "createdDate": "2022-05-04T21:52:10Z", + "modifiedDate": "2022-05-12T23:05:19Z" + } + }, + { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets", + "name": "testticket2", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "2205040010000080", + "description": "This is a test - please ignore", + "problemClassificationId": "/providers/Microsoft.Support/services/vm_windows_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationDisplayName": "problemClassification_displayName", + "severity": "minimal", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", + "serviceDisplayName": "Virtual Machine running Windows", + "status": "Open", + "createdDate": "2022-05-04T21:38:42Z", + "modifiedDate": "2022-05-04T21:39:14Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicket.json new file mode 100644 index 000000000000..9e2b493a969a --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicket.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "$filter": "communicationType eq 'web'", + "api-version": "2020-04-01" + }, + "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": "2020-03-10T20: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": "2020-03-11T10:53:19Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json new file mode 100644 index 000000000000..a8bc674a8c5c --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "$filter": "communicationType eq 'web' and createdDate ge 2020-03-10T22:08:51Z", + "api-version": "2020-04-01" + }, + "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": "2020-03-11T20: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": "2020-03-12T10:53:19Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicketForSubscription.json new file mode 100644 index 000000000000..5f72903136d6 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicketForSubscription.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "updateSupportTicket": { + "contactDetails": { + "firstName": "first name", + "lastName": "last name", + "preferredContactMethod": "email", + "primaryEmailAddress": "test.name@contoso.com", + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "phoneNumber": "123-456-7890", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + } + } + }, + "responses": { + "200": { + "body": { + "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/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "severity": "critical", + "require24X7Response": false, + "contactDetails": { + "firstName": "first name", + "lastName": "last name", + "preferredContactMethod": "email", + "primaryEmailAddress": "test.name@contoso.com", + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "phoneNumber": "123-456-7890", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicketForSubscription.json new file mode 100644 index 000000000000..058f4f1b010c --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicketForSubscription.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "updateSupportTicket": { + "severity": "critical" + } + }, + "responses": { + "200": { + "body": { + "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/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "severity": "critical", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "test.name@contoso.com", + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicketForSubscription.json new file mode 100644 index 000000000000..ff749325b04c --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicketForSubscription.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2020-04-01", + "updateSupportTicket": { + "status": "closed" + } + }, + "responses": { + "200": { + "body": { + "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/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "severity": "critical", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "test.name@contoso.com", + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Closed", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json new file mode 100644 index 000000000000..fe34fd6dd73e --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -0,0 +1,1556 @@ +{ + "swagger": "2.0", + "info": { + "version": "2020-04-01", + "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" + } + } + } + }, + "/providers/Microsoft.Support/services": { + "get": { + "tags": [ + "Services" + ], + "description": "Lists all the Azure services available for support ticket creation. For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids.", + "operationId": "Services_List", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved list of the Azure services available for support.", + "schema": { + "$ref": "#/definitions/ServicesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "Gets list of services for which a support ticket can be created": { + "$ref": "./examples/ListServices.json" + } + } + } + }, + "/providers/Microsoft.Support/services/{serviceName}": { + "get": { + "tags": [ + "Services" + ], + "description": "Gets a specific Azure service for support ticket creation.", + "operationId": "Services_Get", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "description": "Name of the Azure service.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved Azure service for support ticket creation.", + "schema": { + "$ref": "#/definitions/Service" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "Gets details of the Azure service": { + "$ref": "./examples/GetService.json" + } + } + } + }, + "/providers/Microsoft.Support/services/{serviceName}/problemClassifications": { + "get": { + "tags": [ + "ProblemClassifications" + ], + "description": "Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids.", + "operationId": "ProblemClassifications_List", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "description": "Name of the Azure service for which the problem classifications need to be retrieved.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved list of problem classifications for the specified Azure service.", + "schema": { + "$ref": "#/definitions/ProblemClassificationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "Gets list of problemClassifications for a service for which a support ticket can be created": { + "$ref": "./examples/ListProblemClassifications.json" + } + } + } + }, + "/providers/Microsoft.Support/services/{serviceName}/problemClassifications/{problemClassificationName}": { + "get": { + "tags": [ + "ProblemClassifications" + ], + "description": "Get problem classification details for a specific Azure service.", + "operationId": "ProblemClassifications_Get", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "description": "Name of the Azure service available for support.", + "required": true, + "type": "string" + }, + { + "name": "problemClassificationName", + "in": "path", + "description": "Name of problem classification.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved problem classification details.", + "schema": { + "$ref": "#/definitions/ProblemClassification" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "Gets details of problemClassification for Azure service": { + "$ref": "./examples/GetProblemClassification.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/checkNameAvailability": { + "post": { + "tags": [ + "SupportTickets" + ], + "description": "Check the availability of a resource name. This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription.", + "operationId": "SupportTickets_CheckNameAvailability", + "x-ms-examples": { + "Checks whether name is available for SupportTicket resource": { + "$ref": "./examples/CheckNameAvailabilityWithSubscription.json" + } + }, + "parameters": [ + { + "name": "checkNameAvailabilityInput", + "in": "body", + "description": "Input to check.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityOutput" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets": { + "get": { + "tags": [ + "SupportTickets" + ], + "description": "Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_, _CreatedDate_, _ServiceId_, and _ProblemClassificationId_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", + "operationId": "SupportTickets_List", + "parameters": [ + { + "name": "$top", + "in": "query", + "description": "The number of values to return in the collection. Default is 25 and max is 100.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. We support 'odata v4.0' filter semantics. [Learn more](https://docs.microsoft.com/odata/concepts/queryoptions-overview). _Status_, _ServiceId_, and _ProblemClassificationId_ filters can only be used with Equals ('eq') operator. For _CreatedDate_ filter, the supported operators are Greater Than ('gt') and Greater Than or Equals ('ge'). When using both filters, combine them using the logical 'AND'." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved support tickets.", + "schema": { + "$ref": "#/definitions/SupportTicketsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List support tickets for a subscription": { + "$ref": "./examples/ListSupportTicketsBySubscription.json" + }, + "List support tickets in open state for a subscription": { + "$ref": "./examples/ListSupportTicketsInOpenStateBySubscription.json" + }, + "List support tickets created on or after a certain date and in open state for a subscription": { + "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json" + }, + "List support tickets with a certain service id for a subscription": { + "$ref": "./examples/ListSupportTicketsServiceIdEqualsForSubscription.json" + }, + "List support tickets with a certain problem classification id for a subscription": { + "$ref": "./examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}": { + "get": { + "tags": [ + "SupportTickets" + ], + "description": "Get ticket details for an Azure subscription. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", + "operationId": "SupportTickets_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved support ticket.", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "Get details of a subscription ticket": { + "$ref": "./examples/GetSubscriptionSupportTicketDetails.json" + } + } + }, + "patch": { + "tags": [ + "SupportTickets" + ], + "description": "This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer.", + "operationId": "SupportTickets_Update", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name.", + "required": true, + "type": "string" + }, + { + "name": "updateSupportTicket", + "in": "body", + "description": "UpdateSupportTicket object.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateSupportTicket" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully updated support ticket.", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "Update severity of a support ticket": { + "$ref": "./examples/UpdateSeverityOfSupportTicketForSubscription.json" + }, + "Update contact details of a support ticket": { + "$ref": "./examples/UpdateContactDetailsOfSupportTicketForSubscription.json" + }, + "Update status of a support ticket": { + "$ref": "./examples/UpdateStatusOfSupportTicketForSubscription.json" + } + } + }, + "put": { + "tags": [ + "SupportTickets" + ], + "description": "Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.", + "operationId": "SupportTickets_Create", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name.", + "required": true, + "type": "string" + }, + { + "name": "createSupportTicketParameters", + "in": "body", + "description": "Support ticket request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - SupportTicket created successfully.", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "202": { + "description": "Accepted, SupportTicket will be created asynchronously." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create a ticket for Billing related issues": { + "$ref": "./examples/CreateBillingSupportTicketForSubscription.json" + }, + "Create a ticket for Subscription Management related issues": { + "$ref": "./examples/CreateSubMgmtSupportTicketForSubscription.json" + }, + "Create a ticket for Technical issue related to a specific resource": { + "$ref": "./examples/CreateTechnicalSupportTicketForSubscription.json" + }, + "Create a ticket to request Quota increase for Compute VM Cores": { + "$ref": "./examples/CreateCoresQuotaTicketForSubscription.json" + }, + "Create a ticket to request Quota increase for Low-priority cores for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json" + }, + "Create a ticket to request Quota increase for specific VM family cores for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json" + }, + "Create a ticket to request Quota increase for Pools for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json" + }, + "Create a ticket to request Quota increase for Active Jobs and Job Schedules for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json" + }, + "Create a ticket to request Quota increase for Batch accounts for a subscription": { + "$ref": "./examples/CreateBatchQuotaTicketForSubscription.json" + }, + "Create a ticket to request Quota increase for DTUs for SQL Database": { + "$ref": "./examples/CreateSqlDatabaseQuotaTicketForDTUs.json" + }, + "Create a ticket to request Quota increase for Servers for SQL Database": { + "$ref": "./examples/CreateSqlDatabaseQuotaTicketForServers.json" + }, + "Create a ticket to request Quota increase for DTUs for Azure Synapse Analytics": { + "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json" + }, + "Create a ticket to request Quota increase for Servers for Azure Synapse Analytics": { + "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForServers.json" + }, + "Create a ticket to request Quota increase for specific VM family cores for Machine Learning service": { + "$ref": "./examples/CreateMachineLearningQuotaTicketForDedicatedCores.json" + }, + "Create a ticket to request Quota increase for Low-priority cores for Machine Learning service": { + "$ref": "./examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json" + }, + "Create a ticket to request Quota increase for Azure SQL managed instance": { + "$ref": "./examples/CreateSqlManagedInstanceQuotaTicket.json" + }, + "Create a ticket to request Quota increase for services that do not require additional details in the quotaTicketDetails object": { + "$ref": "./examples/CreateGenericQuotaTicket.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": { + "post": { + "tags": [ + "Communications" + ], + "description": "Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket.", + "operationId": "Communications_CheckNameAvailability", + "x-ms-examples": { + "Checks whether name is available for Communication resource": { + "$ref": "./examples/CheckNameAvailabilityForSupportTicketCommunication.json" + } + }, + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name.", + "required": true, + "type": "string" + }, + { + "name": "checkNameAvailabilityInput", + "in": "body", + "description": "Input to check.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityOutput" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": { + "get": { + "tags": [ + "Communications" + ], + "description": "Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", + "operationId": "Communications_List", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name.", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "The number of values to return in the collection. Default is 10 and max is 10.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. You can filter by communicationType and createdDate properties. CommunicationType supports Equals ('eq') operator and createdDate supports Greater Than ('gt') and Greater Than or Equals ('ge') operators. You may combine the CommunicationType and CreatedDate filters by Logical And ('and') operator." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved communications for a support ticket.", + "schema": { + "$ref": "#/definitions/CommunicationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List communications for a subscription support ticket": { + "$ref": "./examples/ListCommunicationsForSubscriptionSupportTicket.json" + }, + "List web communications for a subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicket.json" + }, + "List web communication created on or after a specific date for a subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { + "get": { + "tags": [ + "Communications" + ], + "description": "Returns communication details for a support ticket.", + "operationId": "Communications_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name.", + "required": true, + "type": "string" + }, + { + "name": "communicationName", + "in": "path", + "description": "Communication name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved communication details.", + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "Get communication details for a subscription support ticket": { + "$ref": "./examples/GetCommunicationDetailsForSubscriptionSupportTicket.json" + } + } + }, + "put": { + "tags": [ + "Communications" + ], + "description": "Adds a new customer communication to an Azure support ticket.", + "operationId": "Communications_Create", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name.", + "required": true, + "type": "string" + }, + { + "name": "communicationName", + "in": "path", + "description": "Communication name.", + "required": true, + "type": "string" + }, + { + "name": "createCommunicationParameters", + "in": "body", + "description": "Communication object.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Communication created successfully.", + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "202": { + "description": "Accepted - Communication will be created asynchronously." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "AddCommunicationToSubscriptionTicket": { + "$ref": "./examples/CreateSupportTicketCommunication.json" + } + } + } + } + }, + "definitions": { + "OperationsListResult": { + "description": "The list of operations supported by Microsoft Support resource provider.", + "properties": { + "value": { + "description": "The list of operations supported by Microsoft Support resource provider.", + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "Operation": { + "description": "The operation supported by Microsoft Support resource provider.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}.", + "type": "string", + "readOnly": true + }, + "display": { + "description": "The object that describes the operation.", + "properties": { + "description": { + "description": "The description of the operation.", + "type": "string", + "readOnly": true + }, + "operation": { + "description": "The action that users can perform, based on their permission level.", + "type": "string", + "readOnly": true + }, + "provider": { + "description": "Service provider: Microsoft Support.", + "type": "string", + "readOnly": true + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string", + "readOnly": true + } + } + } + } + }, + "ServicesListResult": { + "description": "Collection of Service resources.", + "type": "object", + "properties": { + "value": { + "description": "List of Service resources.", + "type": "array", + "items": { + "$ref": "#/definitions/Service" + } + } + } + }, + "Service": { + "description": "Object that represents a Service resource.", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/services'.", + "type": "string", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServiceProperties", + "description": "Properties of the resource." + } + } + }, + "ServiceProperties": { + "description": "Details about an Azure service available for support ticket creation.", + "type": "object", + "properties": { + "displayName": { + "description": "Localized name of the Azure service.", + "type": "string" + }, + "resourceTypes": { + "description": "ARM Resource types.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ProblemClassificationsListResult": { + "description": "Collection of ProblemClassification resources.", + "type": "object", + "properties": { + "value": { + "description": "List of ProblemClassification resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ProblemClassification" + } + } + } + }, + "ProblemClassification": { + "description": "ProblemClassification resource object.", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/problemClassification'.", + "type": "string", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProblemClassificationProperties", + "description": "Properties of the resource." + } + } + }, + "ProblemClassificationProperties": { + "description": "Details about a problem classification available for an Azure service.", + "type": "object", + "properties": { + "displayName": { + "description": "Localized name of problem classification.", + "type": "string" + } + } + }, + "CheckNameAvailabilityInput": { + "description": "Input of CheckNameAvailability API.", + "type": "object", + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "description": "The resource name to validate.", + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Support/supportTickets", + "Microsoft.Support/communications" + ], + "x-ms-enum": { + "name": "Type", + "modelAsString": false + }, + "description": "The type of resource." + } + } + }, + "CheckNameAvailabilityOutput": { + "description": "Output of check name availability API.", + "type": "object", + "properties": { + "nameAvailable": { + "description": "Indicates whether the name is available.", + "readOnly": true, + "type": "boolean" + }, + "reason": { + "description": "The reason why the name is not available.", + "readOnly": true, + "type": "string" + }, + "message": { + "description": "The detailed error message describing why the name is not available.", + "readOnly": true, + "type": "string" + } + } + }, + "SupportTicketsListResult": { + "description": "Object that represents a collection of SupportTicket resources.", + "type": "object", + "properties": { + "value": { + "description": "List of SupportTicket resources.", + "type": "array", + "items": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "nextLink": { + "description": "The URI to fetch the next page of SupportTicket resources.", + "type": "string" + } + } + }, + "SupportTicketDetails": { + "x-ms-azure-resource": true, + "description": "Object that represents SupportTicketDetails resource.", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/supportTickets'.", + "type": "string", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SupportTicketDetailsProperties", + "description": "Properties of the resource." + } + } + }, + "CommunicationsListResult": { + "description": "Collection of Communication resources.", + "type": "object", + "properties": { + "value": { + "description": "List of Communication resources.", + "type": "array", + "items": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "nextLink": { + "description": "The URI to fetch the next page of Communication resources.", + "type": "string" + } + } + }, + "CommunicationDetails": { + "x-ms-azure-resource": true, + "description": "Object that represents a Communication resource.", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/communications'.", + "type": "string", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/CommunicationDetailsProperties", + "description": "Properties of the resource." + } + } + }, + "CommunicationDetailsProperties": { + "description": "Describes the properties of a communication resource.", + "required": [ + "subject", + "body" + ], + "type": "object", + "properties": { + "communicationType": { + "description": "Communication type.", + "enum": [ + "web", + "phone" + ], + "type": "string", + "x-ms-enum": { + "name": "CommunicationType", + "modelAsString": true + }, + "readOnly": true + }, + "communicationDirection": { + "description": "Direction of communication.", + "enum": [ + "inbound", + "outbound" + ], + "type": "string", + "x-ms-enum": { + "name": "CommunicationDirection", + "modelAsString": true + }, + "readOnly": true + }, + "sender": { + "description": "Email address of the sender. This property is required if called by a service principal.", + "type": "string" + }, + "subject": { + "description": "Subject of the communication.", + "type": "string" + }, + "body": { + "description": "Body of the communication.", + "type": "string" + }, + "createdDate": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the communication was created.", + "type": "string", + "readOnly": true + } + } + }, + "SupportTicketDetailsProperties": { + "description": "Describes the properties of a support ticket.", + "required": [ + "serviceId", + "title", + "description", + "problemClassificationId", + "severity", + "contactDetails" + ], + "type": "object", + "properties": { + "supportTicketId": { + "description": "System generated support ticket Id that is unique.", + "type": "string" + }, + "description": { + "description": "Detailed description of the question or issue.", + "type": "string" + }, + "problemClassificationId": { + "description": "Each Azure service has its own set of issue categories, also known as problem classification. This parameter is the unique Id for the type of problem you are experiencing.", + "type": "string" + }, + "problemClassificationDisplayName": { + "type": "string", + "description": "Localized name of problem classification.", + "readOnly": true + }, + "severity": { + "description": "A value that indicates the urgency of the case, which in turn determines the response time according to the service level agreement of the technical support plan you have with Azure. Note: 'Highest critical impact', also known as the 'Emergency - Severe impact' level in the Azure portal is reserved only for our Premium customers.", + "enum": [ + "minimal", + "moderate", + "critical", + "highestcriticalimpact" + ], + "type": "string", + "x-ms-enum": { + "name": "SeverityLevel", + "modelAsString": true + } + }, + "enrollmentId": { + "description": "Enrollment Id associated with the support ticket.", + "type": "string", + "readOnly": true + }, + "require24X7Response": { + "description": "Indicates if this requires a 24x7 response from Azure.", + "type": "boolean" + }, + "contactDetails": { + "$ref": "#/definitions/ContactProfile", + "description": "Contact information of the user requesting to create a support ticket." + }, + "serviceLevelAgreement": { + "$ref": "#/definitions/ServiceLevelAgreement", + "description": "Service Level Agreement information for this support ticket." + }, + "supportEngineer": { + "$ref": "#/definitions/SupportEngineer", + "description": "Information about the support engineer working on this support ticket." + }, + "supportPlanType": { + "description": "Support plan type associated with the support ticket.", + "type": "string", + "readOnly": true + }, + "title": { + "description": "Title of the support ticket.", + "type": "string" + }, + "problemStartTime": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the problem started.", + "type": "string" + }, + "serviceId": { + "description": "This is the resource Id of the Azure service resource associated with the support ticket.", + "type": "string" + }, + "serviceDisplayName": { + "type": "string", + "description": "Localized name of the Azure service.", + "readOnly": true + }, + "status": { + "description": "Status of the support ticket.", + "type": "string", + "readOnly": true + }, + "createdDate": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the support ticket was created.", + "type": "string", + "readOnly": true + }, + "modifiedDate": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the support ticket was last modified.", + "type": "string", + "readOnly": true + }, + "technicalTicketDetails": { + "$ref": "#/definitions/TechnicalTicketDetails", + "description": "Additional ticket details associated with a technical support ticket request." + }, + "quotaTicketDetails": { + "$ref": "#/definitions/QuotaTicketDetails", + "description": "Additional ticket details associated with a quota support ticket request." + } + } + }, + "ServiceLevelAgreement": { + "description": "Service Level Agreement details for a support ticket.", + "type": "object", + "properties": { + "startTime": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the service level agreement starts.", + "type": "string", + "readOnly": true + }, + "expirationTime": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the service level agreement expires.", + "type": "string", + "readOnly": true + }, + "slaMinutes": { + "description": "Service Level Agreement in minutes.", + "type": "integer", + "format": "int32", + "readOnly": true + } + } + }, + "SupportEngineer": { + "description": "Support engineer information.", + "type": "object", + "properties": { + "emailAddress": { + "description": "Email address of the Azure Support engineer assigned to the support ticket.", + "type": "string", + "readOnly": true + } + } + }, + "ExceptionResponse": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/ServiceError", + "description": "The API error details." + } + }, + "description": "The API error." + }, + "ServiceError": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "The error code." + }, + "message": { + "type": "string", + "description": "The error message." + }, + "target": { + "type": "string", + "description": "The target of the error." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceErrorDetail" + }, + "x-ms-identifiers": [], + "description": "The list of error details.", + "readOnly": true + } + }, + "description": "The API error details." + }, + "ServiceErrorDetail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "readOnly": true, + "description": "The error code." + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The error message." + }, + "target": { + "type": "string", + "description": "The target of the error." + } + }, + "description": "The error details." + }, + "ContactProfile": { + "description": "Contact information associated with the support ticket.", + "required": [ + "firstName", + "lastName", + "preferredContactMethod", + "primaryEmailAddress", + "preferredTimeZone", + "country", + "preferredSupportLanguage" + ], + "type": "object", + "properties": { + "firstName": { + "description": "First name.", + "type": "string" + }, + "lastName": { + "description": "Last name.", + "type": "string" + }, + "preferredContactMethod": { + "description": "Preferred contact method.", + "enum": [ + "email", + "phone" + ], + "type": "string", + "x-ms-enum": { + "name": "PreferredContactMethod", + "modelAsString": true + } + }, + "primaryEmailAddress": { + "description": "Primary email address.", + "type": "string" + }, + "additionalEmailAddresses": { + "description": "Additional email addresses listed will be copied on any correspondence about the support ticket.", + "type": "array", + "items": { + "type": "string" + } + }, + "phoneNumber": { + "description": "Phone number. This is required if preferred contact method is phone.", + "type": "string" + }, + "preferredTimeZone": { + "description": "Time zone of the user. This is the name of the time zone from [Microsoft Time Zone Index Values](https://support.microsoft.com/help/973627/microsoft-time-zone-index-values).", + "type": "string" + }, + "country": { + "description": "Country of the user. This is the ISO 3166-1 alpha-3 code.", + "type": "string" + }, + "preferredSupportLanguage": { + "description": "Preferred language of support from Azure. Support languages vary based on the severity you choose for your support ticket. Learn more at [Azure Severity and responsiveness](https://azure.microsoft.com/support/plans/response). Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German.", + "type": "string" + } + } + }, + "UpdateContactProfile": { + "description": "Contact information associated with the support ticket.", + "type": "object", + "properties": { + "firstName": { + "description": "First name.", + "type": "string" + }, + "lastName": { + "description": "Last name.", + "type": "string" + }, + "preferredContactMethod": { + "description": "Preferred contact method.", + "enum": [ + "email", + "phone" + ], + "type": "string", + "x-ms-enum": { + "name": "PreferredContactMethod", + "modelAsString": true + } + }, + "primaryEmailAddress": { + "description": "Primary email address.", + "type": "string" + }, + "additionalEmailAddresses": { + "description": "Email addresses listed will be copied on any correspondence about the support ticket.", + "type": "array", + "items": { + "type": "string" + } + }, + "phoneNumber": { + "description": "Phone number. This is required if preferred contact method is phone.", + "type": "string" + }, + "preferredTimeZone": { + "description": "Time zone of the user. This is the name of the time zone from [Microsoft Time Zone Index Values](https://support.microsoft.com/help/973627/microsoft-time-zone-index-values).", + "type": "string" + }, + "country": { + "description": "Country of the user. This is the ISO 3166-1 alpha-3 code.", + "type": "string" + }, + "preferredSupportLanguage": { + "description": "Preferred language of support from Azure. Support languages vary based on the severity you choose for your support ticket. Learn more at [Azure Severity and responsiveness](https://azure.microsoft.com/support/plans/response/). Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German.", + "type": "string" + } + } + }, + "TechnicalTicketDetails": { + "description": "Additional information for technical support ticket.", + "type": "object", + "properties": { + "resourceId": { + "description": "This is the resource Id of the Azure service resource (For example: A virtual machine resource or an HDInsight resource) for which the support ticket is created.", + "type": "string" + } + } + }, + "QuotaTicketDetails": { + "description": "Additional set of information required for quota increase support ticket for certain quota types, e.g.: Virtual machine cores. Get complete details about Quota payload support request along with examples at [Support quota request](https://aka.ms/supportrpquotarequestpayload).", + "type": "object", + "properties": { + "quotaChangeRequestSubType": { + "description": "Required for certain quota types when there is a sub type, such as Batch, for which you are requesting a quota increase.", + "type": "string" + }, + "quotaChangeRequestVersion": { + "description": "Quota change request version.", + "type": "string" + }, + "quotaChangeRequests": { + "description": "This property is required for providing the region and new quota limits.", + "type": "array", + "items": { + "$ref": "#/definitions/QuotaChangeRequest" + }, + "x-ms-identifiers": [ + "region" + ] + } + } + }, + "QuotaChangeRequest": { + "description": "This property is required for providing the region and new quota limits.", + "type": "object", + "properties": { + "region": { + "description": "Region for which the quota increase request is being made.", + "type": "string" + }, + "payload": { + "description": "Payload of the quota increase request.", + "type": "string" + } + } + }, + "UpdateSupportTicket": { + "description": "Updates severity, ticket status, and contact details in the support ticket.", + "type": "object", + "properties": { + "severity": { + "description": "Severity level.", + "enum": [ + "minimal", + "moderate", + "critical", + "highestcriticalimpact" + ], + "type": "string", + "x-ms-enum": { + "name": "SeverityLevel", + "modelAsString": true + } + }, + "status": { + "description": "Status to be updated on the ticket.", + "enum": [ + "open", + "closed" + ], + "type": "string", + "x-ms-enum": { + "name": "Status", + "modelAsString": true + } + }, + "contactDetails": { + "$ref": "#/definitions/UpdateContactProfile", + "description": "Contact details to be updated on the support ticket." + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Azure subscription Id." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "API version." + } + } +} From 882387a6c23be0e7dfa982dda45da599a10d286d Mon Sep 17 00:00:00 2001 From: raghumunukutla <55466801+raghumunukutla@users.noreply.github.com> Date: Thu, 1 Sep 2022 18:20:31 -0700 Subject: [PATCH 12/58] Updates readme --- specification/support/resource-manager/readme.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/specification/support/resource-manager/readme.md b/specification/support/resource-manager/readme.md index 71f5b67d2412..329bbe1d0a55 100644 --- a/specification/support/resource-manager/readme.md +++ b/specification/support/resource-manager/readme.md @@ -26,18 +26,27 @@ These are the global settings for the Support API. ``` yaml openapi-type: arm -tag: package-2020-04 +tag: package-preview-2022-09 ``` +### Tag: package-preview-2022-09 + +These settings apply only when `--tag=package-preview-2022-09` is specified on the command line. + +```yaml $(tag) == 'package-preview-2022-09' +input-file: + - Microsoft.Support/preview/2022-09-01-preview/support.json +``` ### Tag: package-preview-2021-06 These settings apply only when `--tag=package-preview-2021-06` is specified on the command line. -```yaml $(tag) == 'package-preview-2021-06' +``` yaml $(tag) == 'package-preview-2021-06' input-file: - Microsoft.Support/preview/2021-06-01-preview/supportResourceIdDetails.json ``` + ### Tag: package-2020-04 These settings apply only when `--tag=package-2020-04` is specified on the command line. From 0ee575de86341b4e0a82255f6a6d0da768e752f4 Mon Sep 17 00:00:00 2001 From: raghumunukutla <55466801+raghumunukutla@users.noreply.github.com> Date: Thu, 1 Sep 2022 18:20:34 -0700 Subject: [PATCH 13/58] Updates API version in new specs and examples --- .../CheckNameAvailabilityForSupportTicketCommunication.json | 2 +- .../examples/CheckNameAvailabilityWithSubscription.json | 2 +- ...atchQuotaTicketForSpecificBatchAccountForActiveJobs.json | 6 +++--- ...QuotaTicketForSpecificBatchAccountForDedicatedCores.json | 6 +++--- ...otaTicketForSpecificBatchAccountForLowPriorityCores.json | 6 +++--- ...eateBatchQuotaTicketForSpecificBatchAccountForPools.json | 6 +++--- .../examples/CreateBatchQuotaTicketForSubscription.json | 6 +++--- .../examples/CreateBillingSupportTicketForSubscription.json | 6 +++--- .../examples/CreateCoresQuotaTicketForSubscription.json | 6 +++--- .../examples/CreateGenericQuotaTicket.json | 6 +++--- .../CreateMachineLearningQuotaTicketForDedicatedCores.json | 6 +++--- ...CreateMachineLearningQuotaTicketForLowPriorityCores.json | 6 +++--- .../examples/CreateSqlDatabaseQuotaTicketForDTUs.json | 6 +++--- .../examples/CreateSqlDatabaseQuotaTicketForServers.json | 6 +++--- .../examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json | 6 +++--- .../CreateSqlDatawarehouseQuotaTicketForServers.json | 6 +++--- .../examples/CreateSqlManagedInstanceQuotaTicket.json | 6 +++--- .../examples/CreateSubMgmtSupportTicketForSubscription.json | 6 +++--- .../examples/CreateSupportTicketCommunication.json | 6 +++--- .../CreateTechnicalSupportTicketForSubscription.json | 6 +++--- ...GetCommunicationDetailsForSubscriptionSupportTicket.json | 2 +- .../examples/GetProblemClassification.json | 2 +- .../preview/2022-09-01-preview/examples/GetService.json | 2 +- .../examples/GetSubscriptionSupportTicketDetails.json | 2 +- .../ListCommunicationsForSubscriptionSupportTicket.json | 2 +- .../preview/2022-09-01-preview/examples/ListOperations.json | 2 +- .../examples/ListProblemClassifications.json | 2 +- .../preview/2022-09-01-preview/examples/ListServices.json | 2 +- .../examples/ListSupportTicketsBySubscription.json | 2 +- ...TicketsCreatedOnOrAfterAndInOpenStateBySubscription.json | 2 +- .../ListSupportTicketsInOpenStateBySubscription.json | 2 +- ...TicketsProblemClassificationIdEqualsForSubscription.json | 2 +- .../ListSupportTicketsServiceIdEqualsForSubscription.json | 2 +- .../ListWebCommunicationsForSubscriptionSupportTicket.json | 2 +- ...cationsForSubscriptionSupportTicketCreatedOnOrAfter.json | 2 +- .../UpdateContactDetailsOfSupportTicketForSubscription.json | 2 +- .../UpdateSeverityOfSupportTicketForSubscription.json | 2 +- .../UpdateStatusOfSupportTicketForSubscription.json | 2 +- .../preview/2022-09-01-preview/support.json | 2 +- 39 files changed, 75 insertions(+), 75 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityForSupportTicketCommunication.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityForSupportTicketCommunication.json index 6f723ff8d533..a37616955034 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityForSupportTicketCommunication.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityForSupportTicketCommunication.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "checkNameAvailabilityInput": { "name": "sampleName", "type": "Microsoft.Support/communications" diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityWithSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityWithSubscription.json index 591543733169..739f9b41f503 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityWithSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityWithSubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "subid", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "checkNameAvailabilityInput": { "name": "sampleName", "type": "Microsoft.Support/supportTickets" diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json index 9d8d443605b0..2280071c2ba0 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "createSupportTicketParameters": { "properties": { "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", @@ -35,8 +35,8 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" } }, "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json index aadd4011fb3f..5096339c1d7b 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "createSupportTicketParameters": { "properties": { "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", @@ -35,8 +35,8 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" } }, "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json index 251ac30ce14e..29c7a9b7ecd7 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "createSupportTicketParameters": { "properties": { "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", @@ -35,8 +35,8 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" } }, "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json index a40456b4d894..c7ab6a575855 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "createSupportTicketParameters": { "properties": { "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", @@ -35,8 +35,8 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" } }, "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSubscription.json index 2995f3fab7fb..989ed4457988 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSubscription.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "createSupportTicketParameters": { "properties": { "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", @@ -35,8 +35,8 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" } }, "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicketForSubscription.json index 42e1c0b4a0ea..874a104d9e20 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicketForSubscription.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "createSupportTicketParameters": { "properties": { "serviceId": "/providers/Microsoft.Support/services/billing_service_guid", @@ -25,8 +25,8 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" } }, "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateCoresQuotaTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateCoresQuotaTicketForSubscription.json index 3df0bfde643a..7cc507a1f429 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateCoresQuotaTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateCoresQuotaTicketForSubscription.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "createSupportTicketParameters": { "properties": { "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", @@ -34,8 +34,8 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" } }, "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateGenericQuotaTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateGenericQuotaTicket.json index 6235ee70197d..f7f867957efe 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateGenericQuotaTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateGenericQuotaTicket.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "createSupportTicketParameters": { "properties": { "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", @@ -25,8 +25,8 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" } }, "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json index ab253950b6a5..e610684fd58e 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "createSupportTicketParameters": { "properties": { "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", @@ -35,8 +35,8 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" } }, "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json index 5a77027669a3..37de895fc858 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "createSupportTicketParameters": { "properties": { "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", @@ -35,8 +35,8 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" } }, "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json index cd3f37cbcd41..bafc1ba577f7 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "createSupportTicketParameters": { "properties": { "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", @@ -35,8 +35,8 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" } }, "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json index 7e2fe9fe44c0..afd287f5546e 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "createSupportTicketParameters": { "properties": { "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", @@ -35,8 +35,8 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" } }, "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json index a6c993df89ae..4ec79e21b835 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "createSupportTicketParameters": { "properties": { "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", @@ -35,8 +35,8 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" } }, "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json index 8ce944490002..2e82dfc9ce92 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "createSupportTicketParameters": { "properties": { "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", @@ -35,8 +35,8 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" } }, "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlManagedInstanceQuotaTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlManagedInstanceQuotaTicket.json index 8a92e986a09e..3c54385d1c28 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlManagedInstanceQuotaTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlManagedInstanceQuotaTicket.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "createSupportTicketParameters": { "properties": { "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", @@ -39,8 +39,8 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" } }, "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json index b98c942fdbed..93c2942f0949 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "createSupportTicketParameters": { "properties": { "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", @@ -25,8 +25,8 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" } }, "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSupportTicketCommunication.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSupportTicketCommunication.json index 735de576110c..0d61c8278a03 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSupportTicketCommunication.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSupportTicketCommunication.json @@ -3,7 +3,7 @@ "subscriptionId": "subid", "supportTicketName": "testticket", "communicationName": "testcommunication", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "createCommunicationParameters": { "properties": { "subject": "This is a test message from a customer!", @@ -15,8 +15,8 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" } }, "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json index efbfc69dd34a..a949fa0f38ee 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "createSupportTicketParameters": { "properties": { "serviceId": "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc", @@ -28,8 +28,8 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2020-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2020-04-01" + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" } }, "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json index 181ec88b06db..ca19e2e2dbac 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json @@ -3,7 +3,7 @@ "subscriptionId": "subid", "supportTicketName": "testticket", "communicationName": "testmessage", - "api-version": "2020-04-01" + "api-version": "2022-09-01-preview" }, "responses": { "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetProblemClassification.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetProblemClassification.json index 42698d2887a5..48bedd3610a2 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetProblemClassification.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetProblemClassification.json @@ -2,7 +2,7 @@ "parameters": { "serviceName": "service_guid", "problemClassificationName": "problemClassification_guid", - "api-version": "2020-04-01" + "api-version": "2022-09-01-preview" }, "responses": { "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetService.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetService.json index e05273a62e20..81d686433bf0 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetService.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetService.json @@ -1,7 +1,7 @@ { "parameters": { "serviceName": "service_guid", - "api-version": "2020-04-01" + "api-version": "2022-09-01-preview" }, "responses": { "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSubscriptionSupportTicketDetails.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSubscriptionSupportTicketDetails.json index 76ffec944329..e8460ccf9cd8 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSubscriptionSupportTicketDetails.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSubscriptionSupportTicketDetails.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01" + "api-version": "2022-09-01-preview" }, "responses": { "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListCommunicationsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListCommunicationsForSubscriptionSupportTicket.json index 1a516d660901..8fee2485989c 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListCommunicationsForSubscriptionSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListCommunicationsForSubscriptionSupportTicket.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01" + "api-version": "2022-09-01-preview" }, "responses": { "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListOperations.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListOperations.json index fbe7ab3cbc23..e9fa1592f5d5 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListOperations.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListOperations.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-04-01" + "api-version": "2022-09-01-preview" }, "responses": { "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListProblemClassifications.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListProblemClassifications.json index 44f2d30b1ba6..973924e596f2 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListProblemClassifications.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListProblemClassifications.json @@ -1,7 +1,7 @@ { "parameters": { "serviceName": "service_guid", - "api-version": "2020-04-01" + "api-version": "2022-09-01-preview" }, "responses": { "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListServices.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListServices.json index 76add0ddb0ea..27f6aa9fa88a 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListServices.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListServices.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-04-01" + "api-version": "2022-09-01-preview" }, "responses": { "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsBySubscription.json index 186c285757d8..407eb00c6d02 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "subid", - "api-version": "2020-04-01" + "api-version": "2022-09-01-preview" }, "responses": { "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json index 5141f83d9a6e..c57c99fb4272 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "$filter": "createdDate ge 2020-03-10T22:08:51Z and status eq 'Open'", - "api-version": "2020-04-01" + "api-version": "2022-09-01-preview" }, "responses": { "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json index 30ebc506ac52..f3af0bb97abb 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "$filter": "status eq 'Open'", - "api-version": "2020-04-01" + "api-version": "2022-09-01-preview" }, "responses": { "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json index 1051e0649893..3cff20effd01 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "$filter": "ProblemClassificationId eq 'compute_vm_problemClassification_guid'", - "api-version": "2020-04-01" + "api-version": "2022-09-01-preview" }, "responses": { "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsForSubscription.json index 4610d87936e3..06c916d70af7 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsForSubscription.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "$filter": "ServiceId eq 'vm_windows_service_guid'", - "api-version": "2020-04-01" + "api-version": "2022-09-01-preview" }, "responses": { "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicket.json index 9e2b493a969a..3dc49012ba72 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicket.json @@ -3,7 +3,7 @@ "subscriptionId": "subid", "supportTicketName": "testticket", "$filter": "communicationType eq 'web'", - "api-version": "2020-04-01" + "api-version": "2022-09-01-preview" }, "responses": { "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json index a8bc674a8c5c..b630882e87ea 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json @@ -3,7 +3,7 @@ "subscriptionId": "subid", "supportTicketName": "testticket", "$filter": "communicationType eq 'web' and createdDate ge 2020-03-10T22:08:51Z", - "api-version": "2020-04-01" + "api-version": "2022-09-01-preview" }, "responses": { "200": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicketForSubscription.json index 5f72903136d6..68d8d449a508 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicketForSubscription.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "updateSupportTicket": { "contactDetails": { "firstName": "first name", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicketForSubscription.json index 058f4f1b010c..e0dbdeac9d63 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicketForSubscription.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "updateSupportTicket": { "severity": "critical" } diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicketForSubscription.json index ff749325b04c..e98d7ddb2796 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicketForSubscription.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subid", "supportTicketName": "testticket", - "api-version": "2020-04-01", + "api-version": "2022-09-01-preview", "updateSupportTicket": { "status": "closed" } diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index fe34fd6dd73e..8e27dbc503e2 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "version": "2020-04-01", + "version": "2022-09-01-preview", "title": "Microsoft.Support", "description": "Microsoft Azure Support Resource Provider." }, From 0d83828b78a0dc0caa5deed5a0bbaedf065d9c70 Mon Sep 17 00:00:00 2001 From: raghumunukutla <55466801+raghumunukutla@users.noreply.github.com> Date: Thu, 1 Sep 2022 18:57:13 -0700 Subject: [PATCH 14/58] Changes for new preview api version --- .../examples/CheckNameAvailability.json | 18 + ...ubscriptionSupportTicketCommunication.json | 19 + .../examples/CreateBillingSupportTicket.json | 71 ++ ...ubscriptionSupportTicketCommunication.json | 37 + .../examples/CreateSubMgmtSupportTicket.json | 71 ++ .../CreateTechnicalSupportTicket.json | 71 ++ ...tCommunicationDetailsForSupportTicket.json | 24 + .../examples/GetSupportTicketDetails.json | 48 + ...ptDetailsForSubscriptionSupportTicket.json | 35 + ...chatTranscriptDetailsForSupportTicket.json | 35 + ...anscriptsForSubscriptionSupportTicket.json | 61 + .../ListChatTranscriptsForSupportTicket.json | 60 + .../ListCommunicationsForSupportTicket.json | 40 + .../examples/ListSupportTickets.json | 87 ++ ...TicketsCreatedOnOrAfterAndInOpenState.json | 88 ++ ...etsCreatedOnOrAfterAndInUpdatingState.json | 88 ++ ...AfterAndInUpdatingStateBySubscription.json | 92 ++ .../ListSupportTicketsInOpenState.json | 88 ++ .../ListSupportTicketsInUpdatingState.json | 88 ++ ...tTicketsInUpdatingStateBySubscription.json | 92 ++ ...tTicketsProblemClassificationIdEquals.json | 79 ++ .../ListSupportTicketsServiceIdEquals.json | 79 ++ ...ListWebCommunicationsForSupportTicket.json | 41 + ...tionsForSupportTicketCreatedOnOrAfter.json | 41 + ...ancedDiagnosticConsentOfSupportTicket.json | 55 + ...ConsentOfSupportTicketForSubscription.json | 56 + .../UpdateContactDetailsOfSupportTicket.json | 69 + .../UpdateSeverityOfSupportTicket.json | 55 + .../examples/UpdateStatusOfSupportTicket.json | 55 + .../preview/2022-09-01-preview/support.json | 1114 ++++++++++++++--- 30 files changed, 2709 insertions(+), 148 deletions(-) create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailability.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateNoSubscriptionSupportTicketCommunication.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetCommunicationDetailsForSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSupportTicketDetails.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSubscriptionSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListCommunicationsForSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenState.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingState.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingStateBySubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEquals.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEquals.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicket.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicket.json diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailability.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailability.json new file mode 100644 index 000000000000..c65270f0899f --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailability.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2022-09-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/2022-09-01-preview/examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json new file mode 100644 index 000000000000..b1e723f2c414 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "supportTicketName": "testticket", + "api-version": "2022-09-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/2022-09-01-preview/examples/CreateBillingSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicket.json new file mode 100644 index 000000000000..5a87e55b6fd4 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicket.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "supportTicketName": "testticket", + "api-version": "2022-09-01-preview", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/billing_service_guid", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid", + "severity": "moderate", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "primaryEmailAddress": "abc@contoso.com", + "preferredContactMethod": "email", + "preferredTimeZone": "Pacific Standard Time", + "preferredSupportLanguage": "en-US", + "country": "usa" + } + } + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" + } + }, + "200": { + "body": { + "id": "/providers/Microsoft.Support/supportTickets/testticket", + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "119120321001170", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid", + "problemClassificationDisplayName": "Refund request", + "severity": "moderate", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "usa", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/billing_service_guid", + "serviceDisplayName": "Billing", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateNoSubscriptionSupportTicketCommunication.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateNoSubscriptionSupportTicketCommunication.json new file mode 100644 index 000000000000..9598589bb7c0 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateNoSubscriptionSupportTicketCommunication.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "supportTicketName": "testticket", + "communicationName": "testcommunication", + "api-version": "2022-09-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/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" + } + }, + "200": { + "body": { + "id": "/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": "2020-03-10T20:18:19Z", + "sender": "user@contoso.com" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicket.json new file mode 100644 index 000000000000..05df1a72f8a9 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicket.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "supportTicketName": "testticket", + "api-version": "2022-09-01-preview", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid", + "severity": "moderate", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "primaryEmailAddress": "abc@contoso.com", + "preferredContactMethod": "email", + "preferredTimeZone": "Pacific Standard Time", + "preferredSupportLanguage": "en-US", + "country": "usa" + } + } + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" + } + }, + "200": { + "body": { + "id": "/providers/Microsoft.Support/supportTickets/testticket", + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "119120321001170", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid", + "problemClassificationDisplayName": "Transfer ownership of my subscription", + "severity": "moderate", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "usa", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicket.json new file mode 100644 index 000000000000..66d44c3c0fa8 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicket.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "supportTicketName": "testticket", + "api-version": "2022-09-01-preview", + "createSupportTicketParameters": { + "properties": { + "serviceId": "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc", + "title": "my title", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid/problemClassifications/problemClassification_guid", + "severity": "moderate", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "primaryEmailAddress": "abc@contoso.com", + "preferredContactMethod": "email", + "preferredTimeZone": "Pacific Standard Time", + "preferredSupportLanguage": "en-US", + "country": "usa" + } + } + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/providers/Microsoft.Support/operationResults/operationid?api-version=2022-09-01-preview", + "azure-asyncoperation": "https://management.azure.com/providers/Microsoft.Support/operationsStatus/operationid?api-version=2022-09-01-preview" + } + }, + "200": { + "body": { + "id": "/providers/Microsoft.Support/supportTickets/testticket", + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "119120321001170", + "description": "my description", + "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", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "usa", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid", + "serviceDisplayName": "Virtual Machine running Linux", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetCommunicationDetailsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetCommunicationDetailsForSupportTicket.json new file mode 100644 index 000000000000..425834805f58 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetCommunicationDetailsForSupportTicket.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "supportTicketName": "testticket", + "communicationName": "testmessage", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage", + "name": "testmessage", + "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" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSupportTicketDetails.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSupportTicketDetails.json new file mode 100644 index 000000000000..f807300eede1 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSupportTicketDetails.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "supportTicketName": "testticket", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/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/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "severity": "minimal", + "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json new file mode 100644 index 000000000000..0b67cb47764d --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "chatTranscriptName": "69586795-45e9-45b5-bd9e-c9bb237d3e44", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Support/supportTickets/testticket/chatTranscripts/69586795-45e9-45b5-bd9e-c9bb237d3e44", + "name": "testmessage", + "type": "Microsoft.Support/chatTranscripts", + "properties": { + "communications": [ + { + "communicationType": "web", + "communicationDirection": "outbound", + "sender": "support engineer 2", + "body": "Hi again", + "createdDate": "2020-03-23T20:18:19Z" + }, + { + "communicationType": "web", + "communicationDirection": "inbound", + "sender": "user", + "body": "hello", + "createdDate": "2020-03-23T20:19:16Z" + } + ] + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSupportTicket.json new file mode 100644 index 000000000000..fb3fd4393722 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSupportTicket.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "chatTranscriptName": "b371192a-b094-4a71-b093-7246029b0a54", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/testticket/chatTranscripts/b371192a-b094-4a71-b093-7246029b0a54", + "name": "testmessage", + "type": "Microsoft.Support/chatTranscripts", + "properties": { + "communications": [ + { + "communicationType": "web", + "communicationDirection": "outbound", + "sender": "support engineer 2", + "body": "Hi again", + "createdDate": "2020-03-25T20:18:19Z" + }, + { + "communicationType": "web", + "communicationDirection": "inbound", + "sender": "user", + "body": "hello", + "createdDate": "2020-03-25T20:19:16Z" + } + ] + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSubscriptionSupportTicket.json new file mode 100644 index 000000000000..329e53375278 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSubscriptionSupportTicket.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/2207120020000085/chatTranscripts/55989c71-1727-4cd9-abad-ddb8770f71cd", + "name": "55989c71-1727-4cd9-abad-ddb8770f71cd", + "type": "Microsoft.Support/chatTranscripts", + "properties": { + "communications": [ + { + "communicationType": "web", + "communicationDirection": "outbound", + "sender": "support engineer", + "body": "Hi", + "createdDate": "2020-03-24T20:18:19Z" + }, + { + "communicationType": "web", + "communicationDirection": "inbound", + "sender": "user", + "body": "hi", + "createdDate": "2020-03-24T20:19:16Z" + } + ] + } + }, + { + "id": "/subscriptions/subid/providers/Microsoft.Support/supportTickets/2207120020000085/chatTranscripts/f15051e3-a2f2-489f-9e64-8cfa203f44f8", + "name": "f15051e3-a2f2-489f-9e64-8cfa203f44f8", + "type": "Microsoft.Support/chatTranscripts", + "properties": { + "communications": [ + { + "communicationType": "web", + "communicationDirection": "outbound", + "sender": "support engineer 2", + "body": "Hi again", + "createdDate": "2020-03-25T20:18:19Z" + }, + { + "communicationType": "web", + "communicationDirection": "inbound", + "sender": "user", + "body": "hello", + "createdDate": "2020-03-25T20:19:16Z" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSupportTicket.json new file mode 100644 index 000000000000..915af4adeb91 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSupportTicket.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "supportTicketName": "testticket", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Support/supportTickets/2207120020000085/chatTranscripts/55989c71-1727-4cd9-abad-ddb8770f71cd", + "name": "55989c71-1727-4cd9-abad-ddb8770f71cd", + "type": "Microsoft.Support/chatTranscripts", + "properties": { + "communications": [ + { + "communicationType": "web", + "communicationDirection": "outbound", + "sender": "support engineer", + "body": "Hi", + "createdDate": "2020-03-24T20:18:19Z" + }, + { + "communicationType": "web", + "communicationDirection": "inbound", + "sender": "user", + "body": "hi", + "createdDate": "2020-03-24T20:19:16Z" + } + ] + } + }, + { + "id": "/providers/Microsoft.Support/supportTickets/2207120020000085/chatTranscripts/f15051e3-a2f2-489f-9e64-8cfa203f44f8", + "name": "f15051e3-a2f2-489f-9e64-8cfa203f44f8", + "type": "Microsoft.Support/chatTranscripts", + "properties": { + "communications": [ + { + "communicationType": "web", + "communicationDirection": "outbound", + "sender": "support engineer 2", + "body": "Hi again", + "createdDate": "2020-03-25T20:18:19Z" + }, + { + "communicationType": "web", + "communicationDirection": "inbound", + "sender": "user", + "body": "hello", + "createdDate": "2020-03-25T20:19:16Z" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListCommunicationsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListCommunicationsForSupportTicket.json new file mode 100644 index 000000000000..890625fa1d16 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListCommunicationsForSupportTicket.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "supportTicketName": "testticket", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/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": "2020-03-24T20:18:19Z" + } + }, + { + "id": "/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": "2020-03-29T10:53:19Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json new file mode 100644 index 000000000000..283d1c65350e --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/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", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "usa", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceDisplayName": "Virtual Machine running Linux", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + }, + { + "id": "/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", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json new file mode 100644 index 000000000000..93af862e0240 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "$filter": "createdDate ge 2020-03-10T22:08:51Z and status eq 'Open'", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/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", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "usa", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-11T21:36:18Z", + "expirationTime": "2020-03-12T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceDisplayName": "Virtual Machine running Linux", + "status": "Open", + "createdDate": "2020-03-11T21:36:18Z", + "modifiedDate": "2020-03-12T21:36:23Z" + } + }, + { + "id": "/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", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-11T21:36:18Z", + "expirationTime": "2020-03-12T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Open", + "createdDate": "2020-03-11T21:36:18Z", + "modifiedDate": "2020-03-12T21:36:18Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json new file mode 100644 index 000000000000..36b96976803c --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "$filter": "createdDate ge 2020-03-10T22:08:51Z and status eq 'Updating'", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/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", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "usa", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-11T21:36:18Z", + "expirationTime": "2020-03-12T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceDisplayName": "Virtual Machine running Linux", + "status": "Updating", + "createdDate": "2020-03-11T21:36:18Z", + "modifiedDate": "2020-03-12T21:36:23Z" + } + }, + { + "id": "/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", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-11T21:36:18Z", + "expirationTime": "2020-03-12T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Updating", + "createdDate": "2020-03-11T21:36:18Z", + "modifiedDate": "2020-03-12T21:36:18Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json new file mode 100644 index 000000000000..447519edc12f --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "subid", + "$filter": "createdDate ge 2020-03-10T22:08:51Z and status eq 'Updating'", + "api-version": "2022-09-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", + "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": "2020-03-11T21:36:18Z", + "expirationTime": "2020-03-12T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceDisplayName": "Virtual Machine running Linux", + "status": "Updating", + "createdDate": "2020-03-11T21:36:18Z", + "modifiedDate": "2020-03-12T21: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", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-11T21:36:18Z", + "expirationTime": "2020-03-12T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Updating", + "createdDate": "2020-03-11T21:36:18Z", + "modifiedDate": "2020-03-12T21:36:18Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenState.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenState.json new file mode 100644 index 000000000000..8d5c94118d6f --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenState.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "$filter": "status eq 'Open'", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/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", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "usa", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceDisplayName": "Virtual Machine running Linux", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + }, + { + "id": "/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", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingState.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingState.json new file mode 100644 index 000000000000..c2b458492d84 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingState.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "$filter": "status eq 'Updating'", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/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", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "usa", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceDisplayName": "Virtual Machine running Linux", + "status": "Updating", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + }, + { + "id": "/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", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Updating", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingStateBySubscription.json new file mode 100644 index 000000000000..377238b59028 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingStateBySubscription.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "subid", + "$filter": "status eq 'Updating'", + "api-version": "2022-09-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", + "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": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceDisplayName": "Virtual Machine running Linux", + "status": "Updating", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-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", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Updating", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEquals.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEquals.json new file mode 100644 index 000000000000..f33b8e80120f --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEquals.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "$filter": "ProblemClassificationId eq 'compute_vm_problemClassification_guid'", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Support/supportTickets/testTicket1", + "name": "testTicket1", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "2205060010000072", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/service_guid/problemClassifications/compute_vm_problemClassification_guid", + "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", + "severity": "minimal", + "require24X7Response": false, + "enrollmentId": "", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "usa", + "preferredSupportLanguage": "en-US" + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/service_guid", + "serviceDisplayName": "service_displayName", + "status": "Open", + "createdDate": "2022-05-04T21:52:10Z", + "modifiedDate": "2022-05-12T23:05:19Z" + } + }, + { + "id": "/providers/Microsoft.Support/supportTickets/testTicket2", + "name": "testTicket2", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "2205040010000077", + "description": "This is a test - please ignore", + "problemClassificationId": "/providers/Microsoft.Support/services/service_guid/problemClassifications/compute_vm_problemClassification_guid", + "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", + "severity": "minimal", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/service_guid", + "serviceDisplayName": "service_displayName", + "status": "Open", + "createdDate": "2022-05-04T21:38:42Z", + "modifiedDate": "2022-05-04T21:39:14Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEquals.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEquals.json new file mode 100644 index 000000000000..d79a405ca9fe --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEquals.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "$filter": "ServiceId eq 'vm_windows_service_guid'", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Support/supportTickets", + "name": "testticket1", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "2205040010000082", + "description": "my description", + "problemClassificationId": "/providers/Microsoft.Support/services/vm_windows_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationDisplayName": "problemClassification_displayName", + "severity": "minimal", + "require24X7Response": false, + "enrollmentId": "", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "usa", + "preferredSupportLanguage": "en-US" + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "my title", + "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", + "serviceDisplayName": "Virtual Machine running Windows", + "status": "Open", + "createdDate": "2022-05-04T21:52:10Z", + "modifiedDate": "2022-05-12T23:05:19Z" + } + }, + { + "id": "/providers/Microsoft.Support/supportTickets", + "name": "testticket2", + "type": "Microsoft.Support/supportTickets", + "properties": { + "supportTicketId": "2205040010000080", + "description": "This is a test - please ignore", + "problemClassificationId": "/providers/Microsoft.Support/services/vm_windows_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationDisplayName": "problemClassification_displayName", + "severity": "minimal", + "require24X7Response": false, + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "abc@contoso.com", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", + "serviceDisplayName": "Virtual Machine running Windows", + "status": "Open", + "createdDate": "2022-05-04T21:38:42Z", + "modifiedDate": "2022-05-04T21:39:14Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSupportTicket.json new file mode 100644 index 000000000000..8f531caca260 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSupportTicket.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "supportTicketName": "testticket", + "$filter": "communicationType eq 'web'", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/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": "2020-03-10T20:18:19Z" + } + }, + { + "id": "/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": "2020-03-11T10:53:19Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json new file mode 100644 index 000000000000..0041778e8226 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "supportTicketName": "testticket", + "$filter": "communicationType eq 'web' and createdDate ge 2020-03-10T22:08:51Z", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/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": "2020-03-11T20:18:19Z" + } + }, + { + "id": "/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": "2020-03-12T10:53:19Z" + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json new file mode 100644 index 000000000000..8bb94a49db4a --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "supportTicketName": "testticket", + "api-version": "2022-09-01-preview", + "updateSupportTicket": { + "advancedDiagnosticConsent": "Yes" + } + }, + "responses": { + "200": { + "body": { + "id": "/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/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "severity": "critical", + "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "test.name@contoso.com", + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json new file mode 100644 index 000000000000..783f6894cc3c --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "subscriptionId": "subid", + "supportTicketName": "testticket", + "api-version": "2022-09-01-preview", + "updateSupportTicket": { + "advancedDiagnosticConsent": "Yes" + } + }, + "responses": { + "200": { + "body": { + "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/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "severity": "critical", + "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "test.name@contoso.com", + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicket.json new file mode 100644 index 000000000000..c06f454f6ad2 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicket.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "supportTicketName": "testticket", + "api-version": "2022-09-01-preview", + "updateSupportTicket": { + "contactDetails": { + "firstName": "first name", + "lastName": "last name", + "preferredContactMethod": "email", + "primaryEmailAddress": "test.name@contoso.com", + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "phoneNumber": "123-456-7890", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/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/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "severity": "critical", + "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "firstName": "first name", + "lastName": "last name", + "preferredContactMethod": "email", + "primaryEmailAddress": "test.name@contoso.com", + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "phoneNumber": "123-456-7890", + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicket.json new file mode 100644 index 000000000000..4c4256259b6d --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicket.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "supportTicketName": "testticket", + "api-version": "2022-09-01-preview", + "updateSupportTicket": { + "severity": "critical" + } + }, + "responses": { + "200": { + "body": { + "id": "/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/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "severity": "critical", + "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "test.name@contoso.com", + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Open", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicket.json new file mode 100644 index 000000000000..8c3c71f3804a --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicket.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "supportTicketName": "testticket", + "api-version": "2022-09-01-preview", + "updateSupportTicket": { + "status": "closed" + } + }, + "responses": { + "200": { + "body": { + "id": "/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/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "severity": "critical", + "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "primaryEmailAddress": "test.name@contoso.com", + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "preferredTimeZone": "Pacific Standard Time", + "country": "USA", + "preferredSupportLanguage": "en-US" + }, + "serviceLevelAgreement": { + "startTime": "2020-03-20T21:36:18Z", + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240 + }, + "supportEngineer": { + "emailAddress": null + }, + "supportPlanType": "Premier", + "title": "Test - please ignore", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceDisplayName": "Subscription management", + "status": "Closed", + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 8e27dbc503e2..ee22c1286e23 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -281,6 +281,48 @@ } } }, + "/providers/Microsoft.Support/checkNameAvailability": { + "post": { + "tags": [ + "SupportTickets" + ], + "description": "Check the availability of a resource name. This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription.", + "operationId": "SupportTicketsNoSubscription_CheckNameAvailability", + "x-ms-examples": { + "Checks whether name is available for SupportTicket resource": { + "$ref": "./examples/CheckNameAvailability.json" + } + }, + "parameters": [ + { + "name": "checkNameAvailabilityInput", + "in": "body", + "description": "Input to check.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityOutput" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets": { "get": { "tags": [ @@ -338,6 +380,12 @@ "List support tickets created on or after a certain date and in open state for a subscription": { "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json" }, + "List support tickets in updating state for a subscription": { + "$ref": "./examples/ListSupportTicketsInUpdatingStateBySubscription.json" + }, + "List support tickets created on or after a certain date and in updating state for a subscription": { + "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json" + }, "List support tickets with a certain service id for a subscription": { "$ref": "./examples/ListSupportTicketsServiceIdEqualsForSubscription.json" }, @@ -347,6 +395,75 @@ } } }, + "/providers/Microsoft.Support/supportTickets": { + "get": { + "tags": [ + "SupportTickets" + ], + "description": "Lists all the support tickets.

You can also filter the support tickets by Status, CreatedDate, , ServiceId, and ProblemClassificationId using the $filter parameter. Output will be a paged result with nextLink, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", + "operationId": "SupportTicketsNoSubscription_List", + "parameters": [ + { + "name": "$top", + "in": "query", + "description": "The number of values to return in the collection. Default is 25 and max is 100.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. We support 'odata v4.0' filter semantics. Learn more
Status , ServiceId, and ProblemClassificationId filters can only be used with 'eq' operator. For CreatedDate filter, the supported operators are 'gt' and 'ge'. When using both filters, combine them using the logical 'AND'." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved support tickets.", + "schema": { + "$ref": "#/definitions/SupportTicketsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List support tickets for a subscription": { + "$ref": "./examples/ListSupportTickets.json" + }, + "List support tickets in open state for a subscription": { + "$ref": "./examples/ListSupportTicketsInOpenState.json" + }, + "List support tickets created on or after a certain date and in open state for a subscription": { + "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json" + }, + "List support tickets in updating state for a subscription": { + "$ref": "./examples/ListSupportTicketsInUpdatingState.json" + }, + "List support tickets created on or after a certain date and in updating state for a subscription": { + "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json" + }, + "List support tickets with a certain service id for a subscription": { + "$ref": "./examples/ListSupportTicketsServiceIdEquals.json" + }, + "List support tickets with a certain problem classification id for a subscription": { + "$ref": "./examples/ListSupportTicketsProblemClassificationIdEquals.json" + } + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}": { "get": { "tags": [ @@ -393,7 +510,7 @@ "tags": [ "SupportTickets" ], - "description": "This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer.", + "description": "This API allows you to update the severity level, ticket status, advanced diagnostic consent and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.", "operationId": "SupportTickets_Update", "parameters": [ { @@ -442,6 +559,9 @@ }, "Update status of a support ticket": { "$ref": "./examples/UpdateStatusOfSupportTicketForSubscription.json" + }, + "Update advanced diagnostic consent of a support ticket": { + "$ref": "./examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json" } } }, @@ -477,13 +597,681 @@ ], "responses": { "200": { - "description": "OK - SupportTicket created successfully.", + "description": "OK - SupportTicket created successfully.", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "202": { + "description": "Accepted, SupportTicket will be created asynchronously." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create a ticket for Billing related issues": { + "$ref": "./examples/CreateBillingSupportTicketForSubscription.json" + }, + "Create a ticket for Subscription Management related issues": { + "$ref": "./examples/CreateSubMgmtSupportTicketForSubscription.json" + }, + "Create a ticket for Technical issue related to a specific resource": { + "$ref": "./examples/CreateTechnicalSupportTicketForSubscription.json" + }, + "Create a ticket to request Quota increase for Compute VM Cores": { + "$ref": "./examples/CreateCoresQuotaTicketForSubscription.json" + }, + "Create a ticket to request Quota increase for Low-priority cores for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json" + }, + "Create a ticket to request Quota increase for specific VM family cores for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json" + }, + "Create a ticket to request Quota increase for Pools for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json" + }, + "Create a ticket to request Quota increase for Active Jobs and Job Schedules for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json" + }, + "Create a ticket to request Quota increase for Batch accounts for a subscription": { + "$ref": "./examples/CreateBatchQuotaTicketForSubscription.json" + }, + "Create a ticket to request Quota increase for DTUs for SQL Database": { + "$ref": "./examples/CreateSqlDatabaseQuotaTicketForDTUs.json" + }, + "Create a ticket to request Quota increase for Servers for SQL Database": { + "$ref": "./examples/CreateSqlDatabaseQuotaTicketForServers.json" + }, + "Create a ticket to request Quota increase for DTUs for Azure Synapse Analytics": { + "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json" + }, + "Create a ticket to request Quota increase for Servers for Azure Synapse Analytics": { + "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForServers.json" + }, + "Create a ticket to request Quota increase for specific VM family cores for Machine Learning service": { + "$ref": "./examples/CreateMachineLearningQuotaTicketForDedicatedCores.json" + }, + "Create a ticket to request Quota increase for Low-priority cores for Machine Learning service": { + "$ref": "./examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json" + }, + "Create a ticket to request Quota increase for Azure SQL managed instance": { + "$ref": "./examples/CreateSqlManagedInstanceQuotaTicket.json" + }, + "Create a ticket to request Quota increase for services that do not require additional details in the quotaTicketDetails object": { + "$ref": "./examples/CreateGenericQuotaTicket.json" + } + } + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}": { + "get": { + "tags": [ + "SupportTickets" + ], + "description": "Gets details for a specific support ticket. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", + "operationId": "SupportTicketsNoSubscription_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved support ticket.", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "Get details of a ticket": { + "$ref": "./examples/GetSupportTicketDetails.json" + } + } + }, + "patch": { + "tags": [ + "SupportTickets" + ], + "description": "This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.", + "operationId": "SupportTicketsNoSubscription_Update", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name.", + "required": true, + "type": "string" + }, + { + "name": "updateSupportTicket", + "in": "body", + "description": "UpdateSupportTicket object.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateSupportTicket" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully updated support ticket.", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "Update severity of a support ticket": { + "$ref": "./examples/UpdateSeverityOfSupportTicket.json" + }, + "Update contact details of a support ticket": { + "$ref": "./examples/UpdateContactDetailsOfSupportTicket.json" + }, + "Update status of a support ticket": { + "$ref": "./examples/UpdateStatusOfSupportTicket.json" + }, + "Update advanced diagnostic consent of a support ticket": { + "$ref": "./examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json" + } + } + }, + "put": { + "tags": [ + "SupportTickets" + ], + "description": "Creates a new support ticket for Billing, and Subscription Management issues. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

", + "operationId": "SupportTicketsNoSubscription_Create", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name.", + "required": true, + "type": "string" + }, + { + "name": "createSupportTicketParameters", + "in": "body", + "description": "Support ticket request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - SupportTicket created successfully.", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "202": { + "description": "Accepted, SupportTicket will be created asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create a ticket for Billing related issues": { + "$ref": "./examples/CreateBillingSupportTicket.json" + }, + "Create a ticket for Subscription Management related issues": { + "$ref": "./examples/CreateSubMgmtSupportTicket.json" + }, + "Create a ticket for Technical issue related to a specific resource": { + "$ref": "./examples/CreateTechnicalSupportTicket.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": { + "post": { + "tags": [ + "Communications" + ], + "description": "Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket.", + "operationId": "Communications_CheckNameAvailability", + "x-ms-examples": { + "Checks whether name is available for Communication resource": { + "$ref": "./examples/CheckNameAvailabilityForSupportTicketCommunication.json" + } + }, + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name.", + "required": true, + "type": "string" + }, + { + "name": "checkNameAvailabilityInput", + "in": "body", + "description": "Input to check.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityOutput" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + } + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": { + "post": { + "tags": [ + "Communications" + ], + "description": "Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket.", + "operationId": "CommunicationsNoSubscription_CheckNameAvailability", + "x-ms-examples": { + "Checks whether name is available for Communication resource": { + "$ref": "./examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json" + } + }, + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name.", + "required": true, + "type": "string" + }, + { + "name": "checkNameAvailabilityInput", + "in": "body", + "description": "Input to check.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityOutput" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": { + "get": { + "tags": [ + "Communications" + ], + "description": "Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", + "operationId": "Communications_List", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name.", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "The number of values to return in the collection. Default is 10 and max is 10.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. You can filter by communicationType and createdDate properties. CommunicationType supports Equals ('eq') operator and createdDate supports Greater Than ('gt') and Greater Than or Equals ('ge') operators. You may combine the CommunicationType and CreatedDate filters by Logical And ('and') operator." + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved communications for a support ticket.", + "schema": { + "$ref": "#/definitions/CommunicationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List communications for a subscription support ticket": { + "$ref": "./examples/ListCommunicationsForSubscriptionSupportTicket.json" + }, + "List web communications for a subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicket.json" + }, + "List web communication created on or after a specific date for a subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json" + } + } + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": { + "get": { + "tags": [ + "Communications" + ], + "description": "Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", + "operationId": "SupportTicketCommunicationsNoSubscription_List", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "The number of values to return in the collection. Default is 10 and max is 10.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. You can filter by communicationType and createdDate properties. CommunicationType supports Equals ('eq') operator and createdDate supports Greater Than ('gt') and Greater Than or Equals ('ge') operators. You may combine the CommunicationType and CreatedDate filters by Logical And ('and') operator." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved communications for a support ticket.", + "schema": { + "$ref": "#/definitions/CommunicationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List communications for a no-subscription support ticket": { + "$ref": "./examples/ListCommunicationsForSupportTicket.json" + }, + "List web communications for a no-subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSupportTicket.json" + }, + "List web communication created on or after a specific date for a no-subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { + "get": { + "tags": [ + "Communications" + ], + "description": "Returns communication details for a support ticket.", + "operationId": "Communications_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name.", + "required": true, + "type": "string" + }, + { + "name": "communicationName", + "in": "path", + "description": "Communication name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved communication details.", + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "Get communication details for a subscription support ticket": { + "$ref": "./examples/GetCommunicationDetailsForSubscriptionSupportTicket.json" + } + } + }, + "put": { + "tags": [ + "Communications" + ], + "description": "Adds a new customer communication to an Azure support ticket.", + "operationId": "Communications_Create", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name.", + "required": true, + "type": "string" + }, + { + "name": "communicationName", + "in": "path", + "description": "Communication name.", + "required": true, + "type": "string" + }, + { + "name": "createCommunicationParameters", + "in": "body", + "description": "Communication object.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Communication created successfully.", + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "202": { + "description": "Accepted - Communication will be created asynchronously." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "AddCommunicationToSubscriptionTicket": { + "$ref": "./examples/CreateSupportTicketCommunication.json" + } + } + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { + "get": { + "tags": [ + "Communications" + ], + "description": "Returns communication details for a support ticket.", + "operationId": "CommunicationsNoSubscription_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name.", + "required": true, + "type": "string" + }, + { + "name": "communicationName", + "in": "path", + "description": "Communication name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved communication details.", + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "Get communication details for a no-subscription support ticket": { + "$ref": "./examples/GetCommunicationDetailsForSupportTicket.json" + } + } + }, + "put": { + "tags": [ + "Communications" + ], + "description": "Adds a new customer communication to an Azure support ticket.", + "operationId": "CommunicationsNoSubscription_Create", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "description": "Support ticket name.", + "required": true, + "type": "string" + }, + { + "name": "communicationName", + "in": "path", + "description": "Communication name.", + "required": true, + "type": "string" + }, + { + "name": "createCommunicationParameters", + "in": "body", + "description": "Communication object.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Communication created successfully.", "schema": { - "$ref": "#/definitions/SupportTicketDetails" + "$ref": "#/definitions/CommunicationDetails" } }, "202": { - "description": "Accepted, SupportTicket will be created asynchronously." + "description": "Accepted - Communication will be created asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } }, "default": { "description": "Error response describing why the operation failed.", @@ -497,72 +1285,19 @@ "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "Create a ticket for Billing related issues": { - "$ref": "./examples/CreateBillingSupportTicketForSubscription.json" - }, - "Create a ticket for Subscription Management related issues": { - "$ref": "./examples/CreateSubMgmtSupportTicketForSubscription.json" - }, - "Create a ticket for Technical issue related to a specific resource": { - "$ref": "./examples/CreateTechnicalSupportTicketForSubscription.json" - }, - "Create a ticket to request Quota increase for Compute VM Cores": { - "$ref": "./examples/CreateCoresQuotaTicketForSubscription.json" - }, - "Create a ticket to request Quota increase for Low-priority cores for a Batch account": { - "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json" - }, - "Create a ticket to request Quota increase for specific VM family cores for a Batch account": { - "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json" - }, - "Create a ticket to request Quota increase for Pools for a Batch account": { - "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json" - }, - "Create a ticket to request Quota increase for Active Jobs and Job Schedules for a Batch account": { - "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json" - }, - "Create a ticket to request Quota increase for Batch accounts for a subscription": { - "$ref": "./examples/CreateBatchQuotaTicketForSubscription.json" - }, - "Create a ticket to request Quota increase for DTUs for SQL Database": { - "$ref": "./examples/CreateSqlDatabaseQuotaTicketForDTUs.json" - }, - "Create a ticket to request Quota increase for Servers for SQL Database": { - "$ref": "./examples/CreateSqlDatabaseQuotaTicketForServers.json" - }, - "Create a ticket to request Quota increase for DTUs for Azure Synapse Analytics": { - "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json" - }, - "Create a ticket to request Quota increase for Servers for Azure Synapse Analytics": { - "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForServers.json" - }, - "Create a ticket to request Quota increase for specific VM family cores for Machine Learning service": { - "$ref": "./examples/CreateMachineLearningQuotaTicketForDedicatedCores.json" - }, - "Create a ticket to request Quota increase for Low-priority cores for Machine Learning service": { - "$ref": "./examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json" - }, - "Create a ticket to request Quota increase for Azure SQL managed instance": { - "$ref": "./examples/CreateSqlManagedInstanceQuotaTicket.json" - }, - "Create a ticket to request Quota increase for services that do not require additional details in the quotaTicketDetails object": { - "$ref": "./examples/CreateGenericQuotaTicket.json" + "AddCommunicationToNoSubscriptionTicket": { + "$ref": "./examples/CreateNoSubscriptionSupportTicketCommunication.json" } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": { - "post": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts": { + "get": { "tags": [ - "Communications" + "ChatTranscripts" ], - "description": "Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket.", - "operationId": "Communications_CheckNameAvailability", - "x-ms-examples": { - "Checks whether name is available for Communication resource": { - "$ref": "./examples/CheckNameAvailabilityForSupportTicketCommunication.json" - } - }, + "description": "Lists all chat transcripts for a support ticket under subscription", + "operationId": "ChatTranscripts_List", "parameters": [ { "name": "supportTicketName", @@ -571,15 +1306,6 @@ "required": true, "type": "string" }, - { - "name": "checkNameAvailabilityInput", - "in": "body", - "description": "Input to check.", - "required": true, - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityInput" - } - }, { "$ref": "#/parameters/SubscriptionIdParameter" }, @@ -589,9 +1315,9 @@ ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "Successfully retrieved chat transcripts for a support ticket under a subscription.", "schema": { - "$ref": "#/definitions/CheckNameAvailabilityOutput" + "$ref": "#/definitions/ChatTranscriptsListResult" } }, "default": { @@ -600,51 +1326,41 @@ "$ref": "#/definitions/ExceptionResponse" } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List communications for a subscription support ticket": { + "$ref": "./examples/ListChatTranscriptsForSubscriptionSupportTicket.json" + } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": { + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts": { "get": { "tags": [ - "Communications" + "ChatTranscripts" ], - "description": "Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", - "operationId": "Communications_List", + "description": "Lists all chat transcripts for a support ticket", + "operationId": "SupportTicketChatTranscriptsNoSubscription_List", "parameters": [ { "name": "supportTicketName", "in": "path", - "description": "Support ticket name.", + "description": "Support ticket name", "required": true, "type": "string" }, - { - "name": "$top", - "in": "query", - "description": "The number of values to return in the collection. Default is 10 and max is 10.", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "The filter to apply on the operation. You can filter by communicationType and createdDate properties. CommunicationType supports Equals ('eq') operator and createdDate supports Greater Than ('gt') and Greater Than or Equals ('ge') operators. You may combine the CommunicationType and CreatedDate filters by Logical And ('and') operator." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, { "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "Successfully retrieved communications for a support ticket.", + "description": "Successfully retrieved chat transcripts for a support ticket.", "schema": { - "$ref": "#/definitions/CommunicationsListResult" + "$ref": "#/definitions/ChatTranscriptsListResult" } }, "default": { @@ -658,25 +1374,19 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List communications for a subscription support ticket": { - "$ref": "./examples/ListCommunicationsForSubscriptionSupportTicket.json" - }, - "List web communications for a subscription support ticket": { - "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicket.json" - }, - "List web communication created on or after a specific date for a subscription support ticket": { - "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json" + "List communications for a no-subscription support ticket": { + "$ref": "./examples/ListChatTranscriptsForSupportTicket.json" } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}": { "get": { "tags": [ - "Communications" + "ChatTranscripts" ], - "description": "Returns communication details for a support ticket.", - "operationId": "Communications_Get", + "description": "Returns chatTranscript details for a support ticket under a subscription.", + "operationId": "ChatTranscripts_Get", "parameters": [ { "name": "supportTicketName", @@ -686,9 +1396,9 @@ "type": "string" }, { - "name": "communicationName", + "name": "chatTranscriptName", "in": "path", - "description": "Communication name.", + "description": "ChatTranscript name.", "required": true, "type": "string" }, @@ -701,9 +1411,9 @@ ], "responses": { "200": { - "description": "Successfully retrieved communication details.", + "description": "Successfully retrieved chat transcript details for a subscription ticket.", "schema": { - "$ref": "#/definitions/CommunicationDetails" + "$ref": "#/definitions/ChatTranscriptDetails" } }, "default": { @@ -714,17 +1424,19 @@ } }, "x-ms-examples": { - "Get communication details for a subscription support ticket": { - "$ref": "./examples/GetCommunicationDetailsForSubscriptionSupportTicket.json" + "Get chat transcript details for a subscription support ticket": { + "$ref": "./examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json" } } - }, - "put": { + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}": { + "get": { "tags": [ - "Communications" + "chatTranscripts" ], - "description": "Adds a new customer communication to an Azure support ticket.", - "operationId": "Communications_Create", + "description": "Returns chatTranscript details for a no subscription support ticket.", + "operationId": "ChatTranscriptsNoSubscription_Get", "parameters": [ { "name": "supportTicketName", @@ -734,38 +1446,23 @@ "type": "string" }, { - "name": "communicationName", + "name": "chatTranscriptName", "in": "path", - "description": "Communication name.", + "description": "ChatTranscript name.", "required": true, "type": "string" }, - { - "name": "createCommunicationParameters", - "in": "body", - "description": "Communication object.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunicationDetails" - } - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, { "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "OK - Communication created successfully.", + "description": "Successfully retrieved chat transcript details.", "schema": { - "$ref": "#/definitions/CommunicationDetails" + "$ref": "#/definitions/ChatTranscriptDetails" } }, - "202": { - "description": "Accepted - Communication will be created asynchronously." - }, "default": { "description": "Error response describing why the operation failed.", "schema": { @@ -773,13 +1470,9 @@ } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { - "AddCommunicationToSubscriptionTicket": { - "$ref": "./examples/CreateSupportTicketCommunication.json" + "Get chat transcript details for a subscription support ticket": { + "$ref": "./examples/GetchatTranscriptDetailsForSupportTicket.json" } } } @@ -1183,6 +1876,18 @@ "description": "Indicates if this requires a 24x7 response from Azure.", "type": "boolean" }, + "advancedDiagnosticConsent": { + "description": "Advanced diagnostic consent to be updated on the support ticket.", + "enum": [ + "Yes", + "No" + ], + "type": "string", + "x-ms-enum": { + "name": "Consent", + "modelAsString": true + } + }, "contactDetails": { "$ref": "#/definitions/ContactProfile", "description": "Contact information of the user requesting to create a support ticket." @@ -1533,6 +2238,119 @@ "contactDetails": { "$ref": "#/definitions/UpdateContactProfile", "description": "Contact details to be updated on the support ticket." + }, + "advancedDiagnosticConsent": { + "description": "Advanced diagnostic consent to be updated on the support ticket.", + "enum": [ + "Yes", + "No" + ], + "type": "string", + "x-ms-enum": { + "name": "Consent", + "modelAsString": true + } + } + } + }, + "ChatTranscriptsListResult": { + "description": "Collection of Chat Transcripts resources.", + "type": "object", + "properties": { + "value": { + "description": "List of Chat Transcripts resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ChatTranscriptDetails" + } + }, + "nextLink": { + "description": "The URI to fetch the next page of Chat Transcripts resources.", + "type": "string" + } + } + }, + "ChatTranscriptDetails": { + "x-ms-azure-resource": true, + "description": "Object that represents a Chat Transcript resource.", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/chatTranscripts'.", + "type": "string", + "readOnly": true + }, + "properties": { + "properties": { + "communications": { + "description": "List of chat transcript communication resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ChatTranscriptDetailsProperties" + }, + "x-ms-identifiers": [] + } + }, + "type": "object", + "description": "List of chat transcript communication resources." + } + } + }, + "ChatTranscriptDetailsProperties": { + "description": "Describes the properties of a Chat Transcript Details resource.", + "required": [ + "body" + ], + "type": "object", + "properties": { + "communicationType": { + "description": "Communication type.", + "enum": [ + "web" + ], + "type": "string", + "x-ms-enum": { + "name": "TranscriptCommunicationType", + "modelAsString": true + }, + "readOnly": true + }, + "communicationDirection": { + "description": "Direction of communication.", + "enum": [ + "inbound", + "outbound" + ], + "type": "string", + "x-ms-enum": { + "name": "CommunicationDirection", + "modelAsString": true + }, + "readOnly": true + }, + "sender": { + "description": "Name of the sender.", + "type": "string" + }, + "body": { + "description": "Body of the communication.", + "type": "string" + }, + "createdDate": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the communication was created.", + "type": "string", + "readOnly": true } } } From d4552b521ae3940c9f92f77bd1cad25db1624121 Mon Sep 17 00:00:00 2001 From: raghumunukutla <55466801+raghumunukutla@users.noreply.github.com> Date: Wed, 7 Sep 2022 16:51:30 -0700 Subject: [PATCH 15/58] Changes as per PR comments --- .../preview/2022-09-01-preview/support.json | 22 +++++-------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index ee22c1286e23..227d821b9c69 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -2275,21 +2275,6 @@ "description": "Object that represents a Chat Transcript resource.", "type": "object", "properties": { - "id": { - "description": "Id of the resource.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Type of the resource 'Microsoft.Support/chatTranscripts'.", - "type": "string", - "readOnly": true - }, "properties": { "properties": { "communications": { @@ -2303,7 +2288,12 @@ }, "type": "object", "description": "List of chat transcript communication resources." - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ] } }, "ChatTranscriptDetailsProperties": { From 6f37502e31b5a09f30b994daa2c468afbe06a688 Mon Sep 17 00:00:00 2001 From: raghumunukutla <55466801+raghumunukutla@users.noreply.github.com> Date: Wed, 7 Sep 2022 18:58:46 -0700 Subject: [PATCH 16/58] Minor change --- .../preview/2022-09-01-preview/support.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 227d821b9c69..17648bd7fa1c 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -2288,13 +2288,13 @@ }, "type": "object", "description": "List of chat transcript communication resources." - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ] - } + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ] }, "ChatTranscriptDetailsProperties": { "description": "Describes the properties of a Chat Transcript Details resource.", From aa0dd7b922832d521159f3fe7d6ce919c2e26e48 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Fri, 3 Feb 2023 23:52:26 -0800 Subject: [PATCH 17/58] Changes for adding File attachment related paths, definitions and examples --- .../examples/CreateFile.json | 19 + .../examples/CreateFileForSubscription.json | 19 + .../examples/CreateFileWorkspace.json | 19 + .../CreateFileWorkspaceForSubscription.json | 21 + .../examples/GetFileDetails.json | 19 + .../GetFileDetailsForSubscription.json | 20 + .../examples/GetFileWorkspaceDetails.json | 19 + ...etFileWorkspaceDetailsForSubscription.json | 20 + ...ilesForSubscriptionUnderFileWorkspace.json | 31 + .../examples/ListFilesUnderFileWorkspace.json | 30 + .../examples/UploadFile.json | 15 + .../examples/UploadFileForSubscription.json | 15 + .../preview/2022-09-01-preview/support.json | 659 ++++++++++++++++++ 13 files changed, 906 insertions(+) create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileWorkspace.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileWorkspaceForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetails.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetailsForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileWorkspaceDetails.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileWorkspaceDetailsForSubscription.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesForSubscriptionUnderFileWorkspace.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesUnderFileWorkspace.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json create mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json new file mode 100644 index 000000000000..31e61b0986c1 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "fileWorkspaceName": "testworkspace", + "fileName": "test.txt", + "api-version": "2022-09-01-preview" + }, + "responses": { + "201": { + "body": { + "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt", + "name": "test.txt", + "type": "Microsoft.Support/files", + "properties": { + "createdOn": "2022-08-24T20:18:19Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileForSubscription.json new file mode 100644 index 000000000000..381f01feb433 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileForSubscription.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "fileWorkspaceName": "testworkspace", + "fileName": "test.txt", + "api-version": "2022-09-01-preview" + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt", + "name": "test.txt", + "type": "Microsoft.Support/files", + "properties": { + "createdOn": "2022-08-24T20:18:19Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileWorkspace.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileWorkspace.json new file mode 100644 index 000000000000..b9577eb57925 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileWorkspace.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "fileWorkspaceName": "testworkspace", + "api-version": "2022-09-01-preview" + }, + "responses": { + "201": { + "body": { + "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.Support/fileWorkspaces", + "properties": { + "createdOn": "2022-08-24T20:18:19Z", + "expirationTime": "2022-08-25T20:18:19Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileWorkspaceForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileWorkspaceForSubscription.json new file mode 100644 index 000000000000..8ae8c71b9174 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileWorkspaceForSubscription.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "subid", + "fileWorkspaceName": "testworkspace", + "api-version": "2022-09-01-preview" + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/fileWorkspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.Support/fileWorkspaces", + "properties": { + "createdOn": "2022-08-24T20:18:19Z", + "expirationTime": "2022-08-25T20:18:19Z" + } + } + } + } +} + diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetails.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetails.json new file mode 100644 index 000000000000..0e874c5d767f --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetails.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "fileWorkspaceName": "testworkspace", + "fileName": "test.txt", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt", + "name": "test.txt", + "type": "Microsoft.Support/files", + "properties": { + "createdOn": "2022-08-24T20:18:19Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetailsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetailsForSubscription.json new file mode 100644 index 000000000000..4d5b35628f72 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetailsForSubscription.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "subid", + "fileWorkspaceName": "testworkspace", + "fileName": "test.txt", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt", + "name": "test.txt", + "type": "Microsoft.Support/files", + "properties": { + "createdOn": "2022-08-24T20:18:19Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileWorkspaceDetails.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileWorkspaceDetails.json new file mode 100644 index 000000000000..3eb7a7f55383 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileWorkspaceDetails.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "fileWorkspaceName": "testworkspace", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.Support/fileWorkspaces", + "properties": { + "createdOn": "2022-08-24T20:18:19Z", + "expirationTime": "2022-08-25T20:18:19Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileWorkspaceDetailsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileWorkspaceDetailsForSubscription.json new file mode 100644 index 000000000000..e2eb22db5825 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileWorkspaceDetailsForSubscription.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "subid", + "fileWorkspaceName": "testworkspace", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Support/fileWorkspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.Support/fileWorkspaces", + "properties": { + "createdOn": "2022-08-24T20:18:19Z", + "expirationTime": "2022-08-25T20:18:19Z" + } + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesForSubscriptionUnderFileWorkspace.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesForSubscriptionUnderFileWorkspace.json new file mode 100644 index 000000000000..f21afc7b853a --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesForSubscriptionUnderFileWorkspace.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "subid", + "fileWorkspaceName": "testworkspace", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test1.txt", + "name": "test1.txt", + "type": "Microsoft.Support/files", + "properties": { + "createdOn": "2022-08-24T20:18:19Z" + }, + { + "id": "/subscriptions/subid/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test2.txt", + "name": "test2.txt", + "type": "Microsoft.Support/files", + "properties": { + "createdOn": "2022-09-27T20:18:19Z" + } + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesUnderFileWorkspace.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesUnderFileWorkspace.json new file mode 100644 index 000000000000..ef12f4e8c845 --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesUnderFileWorkspace.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "fileWorkspaceName": "testworkspace", + "api-version": "2022-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test1.txt", + "name": "test1.txt", + "type": "Microsoft.Support/files", + "properties": { + "createdOn": "2022-08-24T20:18:19Z" + }, + { + "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test2.txt", + "name": "test2.txt", + "type": "Microsoft.Support/files", + "properties": { + "createdOn": "2022-09-27T20:18:19Z" + } + } + } + ] + } + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json new file mode 100644 index 000000000000..8f93b3fa2dcb --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "subid", + "fileWorkspaceName": "testworkspaceName", + "fileName": "test.txt", + "api-version": "2022-09-01-preview", + "UploadFile": { + "fileContent": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd" + } + }, + "responses": { + "200": { + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json new file mode 100644 index 000000000000..8f93b3fa2dcb --- /dev/null +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "subid", + "fileWorkspaceName": "testworkspaceName", + "fileName": "test.txt", + "api-version": "2022-09-01-preview", + "UploadFile": { + "fileContent": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd" + } + }, + "responses": { + "200": { + } + } +} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 17648bd7fa1c..f9a4a027387f 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -1476,6 +1476,568 @@ } } } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": { + "get": { + "tags": [ + "FileWorkspaces" + ], + "description": "Gets details for a specific file workspace in an Azure subscription.", + "operationId": "FileWorkspaces_Get", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "description": "File Workspace Name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved file workspace.", + "schema": { + "$ref": "#/definitions/FileWorkspaceDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "Get details of a subscription file workspace": { + "$ref": "./examples/GetFileWorkspaceDetailsForSubscription.json" + } + } + }, + "put": { + "tags": [ + "FileWorkspaces" + ], + "description": "Creates a new file workspace for the specified subscription.", + "operationId": "FileWorkspaces_Create", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "description": "File workspace name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created - File workspace created successfully", + "schema": { + "$ref": "#/definitions/FileWorkspaceDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create a file workspace": { + "$ref": "./examples/CreateFileWorkspaceForSubscription.json" + } + } + } + }, + "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": { + "get": { + "tags": [ + "FileWorkspaces" + ], + "description": "Gets details for a specific file workspace.", + "operationId": "FileWorkspacesNoSubscription_Get", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "description": "File Workspace Name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved file workspace.", + "schema": { + "$ref": "#/definitions/FileWorkspaceDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "Get details of a file workspace": { + "$ref": "./examples/GetFileWorkspaceDetails.json" + } + } + }, + "put": { + "tags": [ + "FileWorkspaces" + ], + "description": "Creates a new file workspace.", + "operationId": "FileWorkspaces_Create", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "description": "File workspace name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created - File workspace created successfully", + "schema": { + "$ref": "#/definitions/FileWorkspaceDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create a file workspace": { + "$ref": "./examples/CreateFileWorkspace.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files": { + "get": { + "tags": [ + "FIles" + ], + "description": "Lists all the Files information under a worksapce for an Azure subscription.", + "operationId": "Files_List", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "description": "File Workspace Name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved files under a file workspace.", + "schema": { + "$ref": "#/definitions/FilesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "List support tickets for a subscription": { + "$ref": "./examples/ListFilesForSubscriptionUnderFileWorkspace.json" + } + } + } + }, + "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files": { + "get": { + "tags": [ + "FIles" + ], + "description": "Lists all the Files information under a worksapce for an Azure subscription.", + "operationId": "Files_List", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "description": "File Workspace Name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved files under a file workspace.", + "schema": { + "$ref": "#/definitions/FilesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "List support tickets for a subscription": { + "$ref": "./examples/ListFilesUnderFileWorkspace.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { + "get": { + "tags": [ + "Files" + ], + "description": "Returns details of a specific file in a work space.", + "operationId": "Files_Get", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "description": "File Workspace Name", + "required": true, + "type": "string" + }, + { + "name": "fileName", + "in": "path", + "description": "File Name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved file details.", + "schema": { + "$ref": "#/definitions/FileDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "Get details of a subscription file": { + "$ref": "./examples/GetFileDetailsForSubscription.json" + } + } + }, + "patch": { + "tags": [ + "Files" + ], + "description": "This API allows you to upload content to a file", + "operationId": "Files_Upload", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "description": "File WorkspaceName", + "required": true, + "type": "string" + }, + { + "name": "fileName", + "in": "path", + "description": "File Name", + "required": true, + "type": "string" + }, + { + "name": "uploadFile", + "in": "body", + "description": "UploadFile object", + "required": true, + "schema": { + "$ref": "#/definitions/UploadFile" + } + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully uploaded file content.", + "schema": { + "$ref": "#/definitions/FileDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "UpdateSupportTicketForSubscription": { + "$ref": "./examples/UploadFileForSubscription.json" + } + } + }, + "put": { + "tags": [ + "Files" + ], + "description": "Creates a new file under a workspace for the specified subscription.", + "operationId": "Files_Create", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "description": "File workspace name.", + "required": true, + "type": "string" + }, + { + "name": "fileName", + "in": "path", + "description": "File name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created - File created successfully", + "schema": { + "$ref": "#/definitions/FileDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create a file workspace": { + "$ref": "./examples/CreateFileForSubscription.json" + } + } + } + }, + "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { + "get": { + "tags": [ + "Files" + ], + "description": "Returns details of a specific file in a work space.", + "operationId": "Files_Get", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "description": "File Workspace Name", + "required": true, + "type": "string" + }, + { + "name": "fileName", + "in": "path", + "description": "File Name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved file details.", + "schema": { + "$ref": "#/definitions/FileDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "Get details of a subscription file": { + "$ref": "./examples/GetFileDetails.json" + } + } + }, + "patch": { + "tags": [ + "Files" + ], + "description": "This API allows you to upload content to a file", + "operationId": "Files_Upload", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "description": "File WorkspaceName", + "required": true, + "type": "string" + }, + { + "name": "fileName", + "in": "path", + "description": "File Name", + "required": true, + "type": "string" + }, + { + "name": "uploadFile", + "in": "body", + "description": "UploadFile object", + "required": true, + "schema": { + "$ref": "#/definitions/UploadFile" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully uploaded file content.", + "schema": { + "$ref": "#/definitions/FileDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-examples": { + "UpdateSupportTicketForSubscription": { + "$ref": "./examples/UploadFile.json" + } + } + }, + "put": { + "tags": [ + "Files" + ], + "description": "Creates a new file under a workspace.", + "operationId": "Files_Create", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "description": "File workspace name.", + "required": true, + "type": "string" + }, + { + "name": "fileName", + "in": "path", + "description": "File name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created - File created successfully", + "schema": { + "$ref": "#/definitions/FileDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ExceptionResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create a file workspace": { + "$ref": "./examples/CreateFile.json" + } + } + } } }, "definitions": { @@ -1940,6 +2502,11 @@ "type": "string", "readOnly": true }, + "fileWorkspaceName": { + "description": "File workspace friendly name.", + "type": "string", + "readOnly": true + }, "technicalTicketDetails": { "$ref": "#/definitions/TechnicalTicketDetails", "description": "Additional ticket details associated with a technical support ticket request." @@ -2343,6 +2910,98 @@ "readOnly": true } } + }, + "FileWorkspaceDetails": { + "x-ms-azure-resource": true, + "description": "Object that represents FileWorkspaceDetails resource", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/fileWorkspaces'", + "type": "string", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/FileWorkspaceDetailsProperties", + "description": "Properties of the resource" + } + } + }, + "FileWorkspaceDetailsProperties": { + "description": "Describes the properties of a file workspace.", + "required": [ + ], + "type": "object", + "properties": { + "createdOn": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when support ticket was created.", + "type": "string", + "readOnly": true + }, + "expirationTime": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when support ticket was last modified.", + "type": "string", + "readOnly": true + } + } + }, + "FileDetails": { + "x-ms-azure-resource": true, + "description": "Object that represents File Details resource", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/files'", + "type": "string", + "readOnly": true + } + } + }, + "FilesListResult": { + "description": "Object that represents a collection of File resources.", + "type": "object", + "properties": { + "value": { + "description": "List of File resources.", + "type": "array", + "items": { + "$ref": "#/definitions/FileDetails" + } + } + } + }, + "UploadFile": { + "description": "Contact information associated with the support ticket.", + "type": "object", + "properties": { + "fileContent": { + "description": "File Content in base64 encoded format", + "type": "string" + } + } } }, "parameters": { From 9b71f878a68f503253e31d127bcb0765f816a7f2 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Sat, 4 Feb 2023 23:27:54 -0800 Subject: [PATCH 18/58] Changes as per review comments --- .../preview/2022-09-01-preview/support.json | 1959 ++++++++--------- 1 file changed, 977 insertions(+), 982 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index f9a4a027387f..57f83a728e99 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -1554,10 +1554,6 @@ } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Create a file workspace": { "$ref": "./examples/CreateFileWorkspaceForSubscription.json" @@ -1636,10 +1632,6 @@ } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Create a file workspace": { "$ref": "./examples/CreateFileWorkspace.json" @@ -1779,36 +1771,27 @@ } } }, - "patch": { + "put": { "tags": [ "Files" ], - "description": "This API allows you to upload content to a file", - "operationId": "Files_Upload", + "description": "Creates a new file under a workspace for the specified subscription.", + "operationId": "Files_Create", "parameters": [ { "name": "fileWorkspaceName", "in": "path", - "description": "File WorkspaceName", + "description": "File workspace name.", "required": true, "type": "string" }, { "name": "fileName", "in": "path", - "description": "File Name", + "description": "File name.", "required": true, "type": "string" }, - { - "name": "uploadFile", - "in": "body", - "description": "UploadFile object", - "required": true, - "schema": { - "$ref": "#/definitions/UploadFile" - } - }, { "$ref": "#/parameters/SubscriptionIdParameter" }, @@ -1817,8 +1800,8 @@ } ], "responses": { - "200": { - "description": "Successfully uploaded file content.", + "201": { + "description": "Created - File created successfully", "schema": { "$ref": "#/definitions/FileDetails" } @@ -1830,43 +1813,46 @@ } } }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "x-ms-examples": { - "UpdateSupportTicketForSubscription": { - "$ref": "./examples/UploadFileForSubscription.json" + "Create a file workspace": { + "$ref": "./examples/CreateFileForSubscription.json" } } - }, - "put": { + } + }, + "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { + "get": { "tags": [ "Files" ], - "description": "Creates a new file under a workspace for the specified subscription.", - "operationId": "Files_Create", + "description": "Returns details of a specific file in a work space.", + "operationId": "Files_Get", "parameters": [ { "name": "fileWorkspaceName", "in": "path", - "description": "File workspace name.", + "description": "File Workspace Name", "required": true, "type": "string" }, { "name": "fileName", "in": "path", - "description": "File name.", + "description": "File Name", "required": true, "type": "string" }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, { "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { - "201": { - "description": "Created - File created successfully", + "200": { + "description": "Successfully retrieved file details.", "schema": { "$ref": "#/definitions/FileDetails" } @@ -1878,36 +1864,30 @@ } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { - "Create a file workspace": { - "$ref": "./examples/CreateFileForSubscription.json" + "Get details of a subscription file": { + "$ref": "./examples/GetFileDetails.json" } } - } - }, - "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { - "get": { + }, + "put": { "tags": [ "Files" ], - "description": "Returns details of a specific file in a work space.", - "operationId": "Files_Get", + "description": "Creates a new file under a workspace.", + "operationId": "Files_Create", "parameters": [ { "name": "fileWorkspaceName", "in": "path", - "description": "File Workspace Name", + "description": "File workspace name.", "required": true, "type": "string" }, { "name": "fileName", "in": "path", - "description": "File Name", + "description": "File name.", "required": true, "type": "string" }, @@ -1916,8 +1896,8 @@ } ], "responses": { - "200": { - "description": "Successfully retrieved file details.", + "201": { + "description": "Created - File created successfully", "schema": { "$ref": "#/definitions/FileDetails" } @@ -1929,13 +1909,19 @@ } } }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "x-ms-examples": { - "Get details of a subscription file": { - "$ref": "./examples/GetFileDetails.json" + "Create a file workspace": { + "$ref": "./examples/CreateFile.json" } } - }, - "patch": { + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload": { + "post": { "tags": [ "Files" ], @@ -1965,6 +1951,9 @@ "$ref": "#/definitions/UploadFile" } }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, { "$ref": "#/parameters/ApiVersionParameter" } @@ -1985,38 +1974,49 @@ }, "x-ms-examples": { "UpdateSupportTicketForSubscription": { - "$ref": "./examples/UploadFile.json" + "$ref": "./examples/UploadFileForSubscription.json" } } - }, - "put": { + } + }, + "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload": { + "post": { "tags": [ "Files" ], - "description": "Creates a new file under a workspace.", - "operationId": "Files_Create", + "description": "This API allows you to upload content to a file", + "operationId": "Files_Upload", "parameters": [ { "name": "fileWorkspaceName", "in": "path", - "description": "File workspace name.", + "description": "File WorkspaceName", "required": true, "type": "string" }, { "name": "fileName", "in": "path", - "description": "File name.", + "description": "File Name", "required": true, "type": "string" }, + { + "name": "uploadFile", + "in": "body", + "description": "UploadFile object", + "required": true, + "schema": { + "$ref": "#/definitions/UploadFile" + } + }, { "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { - "201": { - "description": "Created - File created successfully", + "200": { + "description": "Successfully uploaded file content.", "schema": { "$ref": "#/definitions/FileDetails" } @@ -2028,996 +2028,991 @@ } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { - "Create a file workspace": { - "$ref": "./examples/CreateFile.json" + "UpdateSupportTicketForSubscription": { + "$ref": "./examples/UploadFile.json" } } } } - }, - "definitions": { - "OperationsListResult": { - "description": "The list of operations supported by Microsoft Support resource provider.", - "properties": { - "value": { - "description": "The list of operations supported by Microsoft Support resource provider.", - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "x-ms-identifiers": [ - "name" - ] - } - } }, - "Operation": { - "description": "The operation supported by Microsoft Support resource provider.", - "type": "object", - "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}.", - "type": "string", - "readOnly": true - }, - "display": { - "description": "The object that describes the operation.", - "properties": { - "description": { - "description": "The description of the operation.", - "type": "string", - "readOnly": true - }, - "operation": { - "description": "The action that users can perform, based on their permission level.", - "type": "string", - "readOnly": true - }, - "provider": { - "description": "Service provider: Microsoft Support.", - "type": "string", - "readOnly": true + "definitions": { + "OperationsListResult": { + "description": "The list of operations supported by Microsoft Support resource provider.", + "properties": { + "value": { + "description": "The list of operations supported by Microsoft Support resource provider.", + "type": "array", + "items": { + "$ref": "#/definitions/Operation" }, - "resource": { - "description": "Resource on which the operation is performed.", - "type": "string", - "readOnly": true + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "Operation": { + "description": "The operation supported by Microsoft Support resource provider.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}.", + "type": "string", + "readOnly": true + }, + "display": { + "description": "The object that describes the operation.", + "properties": { + "description": { + "description": "The description of the operation.", + "type": "string", + "readOnly": true + }, + "operation": { + "description": "The action that users can perform, based on their permission level.", + "type": "string", + "readOnly": true + }, + "provider": { + "description": "Service provider: Microsoft Support.", + "type": "string", + "readOnly": true + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string", + "readOnly": true + } } } } - } - }, - "ServicesListResult": { - "description": "Collection of Service resources.", - "type": "object", - "properties": { - "value": { - "description": "List of Service resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Service" + }, + "ServicesListResult": { + "description": "Collection of Service resources.", + "type": "object", + "properties": { + "value": { + "description": "List of Service resources.", + "type": "array", + "items": { + "$ref": "#/definitions/Service" + } } } - } - }, - "Service": { - "description": "Object that represents a Service resource.", - "type": "object", - "properties": { - "id": { - "description": "Id of the resource.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Type of the resource 'Microsoft.Support/services'.", - "type": "string", - "readOnly": true - }, + }, + "Service": { + "description": "Object that represents a Service resource.", + "type": "object", "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ServiceProperties", - "description": "Properties of the resource." + "id": { + "description": "Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/services'.", + "type": "string", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServiceProperties", + "description": "Properties of the resource." + } } - } - }, - "ServiceProperties": { - "description": "Details about an Azure service available for support ticket creation.", - "type": "object", - "properties": { - "displayName": { - "description": "Localized name of the Azure service.", - "type": "string" - }, - "resourceTypes": { - "description": "ARM Resource types.", - "type": "array", - "items": { + }, + "ServiceProperties": { + "description": "Details about an Azure service available for support ticket creation.", + "type": "object", + "properties": { + "displayName": { + "description": "Localized name of the Azure service.", "type": "string" + }, + "resourceTypes": { + "description": "ARM Resource types.", + "type": "array", + "items": { + "type": "string" + } } } - } - }, - "ProblemClassificationsListResult": { - "description": "Collection of ProblemClassification resources.", - "type": "object", - "properties": { - "value": { - "description": "List of ProblemClassification resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ProblemClassification" + }, + "ProblemClassificationsListResult": { + "description": "Collection of ProblemClassification resources.", + "type": "object", + "properties": { + "value": { + "description": "List of ProblemClassification resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ProblemClassification" + } } } - } - }, - "ProblemClassification": { - "description": "ProblemClassification resource object.", - "type": "object", - "properties": { - "id": { - "description": "Id of the resource.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Type of the resource 'Microsoft.Support/problemClassification'.", - "type": "string", - "readOnly": true - }, + }, + "ProblemClassification": { + "description": "ProblemClassification resource object.", + "type": "object", "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ProblemClassificationProperties", - "description": "Properties of the resource." - } - } - }, - "ProblemClassificationProperties": { - "description": "Details about a problem classification available for an Azure service.", - "type": "object", - "properties": { - "displayName": { - "description": "Localized name of problem classification.", - "type": "string" - } - } - }, - "CheckNameAvailabilityInput": { - "description": "Input of CheckNameAvailability API.", - "type": "object", - "required": [ - "name", - "type" - ], - "properties": { - "name": { - "description": "The resource name to validate.", - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Support/supportTickets", - "Microsoft.Support/communications" - ], - "x-ms-enum": { - "name": "Type", - "modelAsString": false - }, - "description": "The type of resource." - } - } - }, - "CheckNameAvailabilityOutput": { - "description": "Output of check name availability API.", - "type": "object", - "properties": { - "nameAvailable": { - "description": "Indicates whether the name is available.", - "readOnly": true, - "type": "boolean" - }, - "reason": { - "description": "The reason why the name is not available.", - "readOnly": true, - "type": "string" - }, - "message": { - "description": "The detailed error message describing why the name is not available.", - "readOnly": true, - "type": "string" + "id": { + "description": "Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/problemClassification'.", + "type": "string", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProblemClassificationProperties", + "description": "Properties of the resource." + } } - } - }, - "SupportTicketsListResult": { - "description": "Object that represents a collection of SupportTicket resources.", - "type": "object", - "properties": { - "value": { - "description": "List of SupportTicket resources.", - "type": "array", - "items": { - "$ref": "#/definitions/SupportTicketDetails" + }, + "ProblemClassificationProperties": { + "description": "Details about a problem classification available for an Azure service.", + "type": "object", + "properties": { + "displayName": { + "description": "Localized name of problem classification.", + "type": "string" } - }, - "nextLink": { - "description": "The URI to fetch the next page of SupportTicket resources.", - "type": "string" } - } - }, - "SupportTicketDetails": { - "x-ms-azure-resource": true, - "description": "Object that represents SupportTicketDetails resource.", - "type": "object", - "properties": { - "id": { - "description": "Id of the resource.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Type of the resource 'Microsoft.Support/supportTickets'.", - "type": "string", - "readOnly": true - }, + }, + "CheckNameAvailabilityInput": { + "description": "Input of CheckNameAvailability API.", + "type": "object", + "required": [ + "name", + "type" + ], "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SupportTicketDetailsProperties", - "description": "Properties of the resource." + "name": { + "description": "The resource name to validate.", + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Support/supportTickets", + "Microsoft.Support/communications" + ], + "x-ms-enum": { + "name": "Type", + "modelAsString": false + }, + "description": "The type of resource." + } } - } - }, - "CommunicationsListResult": { - "description": "Collection of Communication resources.", - "type": "object", - "properties": { - "value": { - "description": "List of Communication resources.", - "type": "array", - "items": { - "$ref": "#/definitions/CommunicationDetails" + }, + "CheckNameAvailabilityOutput": { + "description": "Output of check name availability API.", + "type": "object", + "properties": { + "nameAvailable": { + "description": "Indicates whether the name is available.", + "readOnly": true, + "type": "boolean" + }, + "reason": { + "description": "The reason why the name is not available.", + "readOnly": true, + "type": "string" + }, + "message": { + "description": "The detailed error message describing why the name is not available.", + "readOnly": true, + "type": "string" } - }, - "nextLink": { - "description": "The URI to fetch the next page of Communication resources.", - "type": "string" } - } - }, - "CommunicationDetails": { - "x-ms-azure-resource": true, - "description": "Object that represents a Communication resource.", - "type": "object", - "properties": { - "id": { - "description": "Id of the resource.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Type of the resource 'Microsoft.Support/communications'.", - "type": "string", - "readOnly": true - }, + }, + "SupportTicketsListResult": { + "description": "Object that represents a collection of SupportTicket resources.", + "type": "object", "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/CommunicationDetailsProperties", - "description": "Properties of the resource." + "value": { + "description": "List of SupportTicket resources.", + "type": "array", + "items": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "nextLink": { + "description": "The URI to fetch the next page of SupportTicket resources.", + "type": "string" + } } - } - }, - "CommunicationDetailsProperties": { - "description": "Describes the properties of a communication resource.", - "required": [ - "subject", - "body" - ], - "type": "object", - "properties": { - "communicationType": { - "description": "Communication type.", - "enum": [ - "web", - "phone" - ], - "type": "string", - "x-ms-enum": { - "name": "CommunicationType", - "modelAsString": true - }, - "readOnly": true - }, - "communicationDirection": { - "description": "Direction of communication.", - "enum": [ - "inbound", - "outbound" - ], - "type": "string", - "x-ms-enum": { - "name": "CommunicationDirection", - "modelAsString": true - }, - "readOnly": true - }, - "sender": { - "description": "Email address of the sender. This property is required if called by a service principal.", - "type": "string" - }, - "subject": { - "description": "Subject of the communication.", - "type": "string" - }, - "body": { - "description": "Body of the communication.", - "type": "string" - }, - "createdDate": { - "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when the communication was created.", - "type": "string", - "readOnly": true - } - } - }, - "SupportTicketDetailsProperties": { - "description": "Describes the properties of a support ticket.", - "required": [ - "serviceId", - "title", - "description", - "problemClassificationId", - "severity", - "contactDetails" - ], - "type": "object", - "properties": { - "supportTicketId": { - "description": "System generated support ticket Id that is unique.", - "type": "string" - }, - "description": { - "description": "Detailed description of the question or issue.", - "type": "string" - }, - "problemClassificationId": { - "description": "Each Azure service has its own set of issue categories, also known as problem classification. This parameter is the unique Id for the type of problem you are experiencing.", - "type": "string" - }, - "problemClassificationDisplayName": { - "type": "string", - "description": "Localized name of problem classification.", - "readOnly": true - }, - "severity": { - "description": "A value that indicates the urgency of the case, which in turn determines the response time according to the service level agreement of the technical support plan you have with Azure. Note: 'Highest critical impact', also known as the 'Emergency - Severe impact' level in the Azure portal is reserved only for our Premium customers.", - "enum": [ - "minimal", - "moderate", - "critical", - "highestcriticalimpact" - ], - "type": "string", - "x-ms-enum": { - "name": "SeverityLevel", - "modelAsString": true + }, + "SupportTicketDetails": { + "x-ms-azure-resource": true, + "description": "Object that represents SupportTicketDetails resource.", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/supportTickets'.", + "type": "string", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SupportTicketDetailsProperties", + "description": "Properties of the resource." } - }, - "enrollmentId": { - "description": "Enrollment Id associated with the support ticket.", - "type": "string", - "readOnly": true - }, - "require24X7Response": { - "description": "Indicates if this requires a 24x7 response from Azure.", - "type": "boolean" - }, - "advancedDiagnosticConsent": { - "description": "Advanced diagnostic consent to be updated on the support ticket.", - "enum": [ - "Yes", - "No" - ], - "type": "string", - "x-ms-enum": { - "name": "Consent", - "modelAsString": true + } + }, + "CommunicationsListResult": { + "description": "Collection of Communication resources.", + "type": "object", + "properties": { + "value": { + "description": "List of Communication resources.", + "type": "array", + "items": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "nextLink": { + "description": "The URI to fetch the next page of Communication resources.", + "type": "string" } - }, - "contactDetails": { - "$ref": "#/definitions/ContactProfile", - "description": "Contact information of the user requesting to create a support ticket." - }, - "serviceLevelAgreement": { - "$ref": "#/definitions/ServiceLevelAgreement", - "description": "Service Level Agreement information for this support ticket." - }, - "supportEngineer": { - "$ref": "#/definitions/SupportEngineer", - "description": "Information about the support engineer working on this support ticket." - }, - "supportPlanType": { - "description": "Support plan type associated with the support ticket.", - "type": "string", - "readOnly": true - }, - "title": { - "description": "Title of the support ticket.", - "type": "string" - }, - "problemStartTime": { - "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when the problem started.", - "type": "string" - }, - "serviceId": { - "description": "This is the resource Id of the Azure service resource associated with the support ticket.", - "type": "string" - }, - "serviceDisplayName": { - "type": "string", - "description": "Localized name of the Azure service.", - "readOnly": true - }, - "status": { - "description": "Status of the support ticket.", - "type": "string", - "readOnly": true - }, - "createdDate": { - "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when the support ticket was created.", - "type": "string", - "readOnly": true - }, - "modifiedDate": { - "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when the support ticket was last modified.", - "type": "string", - "readOnly": true - }, - "fileWorkspaceName": { - "description": "File workspace friendly name.", - "type": "string", - "readOnly": true - }, - "technicalTicketDetails": { - "$ref": "#/definitions/TechnicalTicketDetails", - "description": "Additional ticket details associated with a technical support ticket request." - }, - "quotaTicketDetails": { - "$ref": "#/definitions/QuotaTicketDetails", - "description": "Additional ticket details associated with a quota support ticket request." } - } - }, - "ServiceLevelAgreement": { - "description": "Service Level Agreement details for a support ticket.", - "type": "object", - "properties": { - "startTime": { - "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when the service level agreement starts.", - "type": "string", - "readOnly": true - }, - "expirationTime": { - "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when the service level agreement expires.", - "type": "string", - "readOnly": true - }, - "slaMinutes": { - "description": "Service Level Agreement in minutes.", - "type": "integer", - "format": "int32", - "readOnly": true + }, + "CommunicationDetails": { + "x-ms-azure-resource": true, + "description": "Object that represents a Communication resource.", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/communications'.", + "type": "string", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/CommunicationDetailsProperties", + "description": "Properties of the resource." + } } - } - }, - "SupportEngineer": { - "description": "Support engineer information.", - "type": "object", - "properties": { - "emailAddress": { - "description": "Email address of the Azure Support engineer assigned to the support ticket.", - "type": "string", - "readOnly": true + }, + "CommunicationDetailsProperties": { + "description": "Describes the properties of a communication resource.", + "required": [ + "subject", + "body" + ], + "type": "object", + "properties": { + "communicationType": { + "description": "Communication type.", + "enum": [ + "web", + "phone" + ], + "type": "string", + "x-ms-enum": { + "name": "CommunicationType", + "modelAsString": true + }, + "readOnly": true + }, + "communicationDirection": { + "description": "Direction of communication.", + "enum": [ + "inbound", + "outbound" + ], + "type": "string", + "x-ms-enum": { + "name": "CommunicationDirection", + "modelAsString": true + }, + "readOnly": true + }, + "sender": { + "description": "Email address of the sender. This property is required if called by a service principal.", + "type": "string" + }, + "subject": { + "description": "Subject of the communication.", + "type": "string" + }, + "body": { + "description": "Body of the communication.", + "type": "string" + }, + "createdDate": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the communication was created.", + "type": "string", + "readOnly": true + } } - } - }, - "ExceptionResponse": { - "type": "object", - "properties": { - "error": { - "$ref": "#/definitions/ServiceError", - "description": "The API error details." + }, + "SupportTicketDetailsProperties": { + "description": "Describes the properties of a support ticket.", + "required": [ + "serviceId", + "title", + "description", + "problemClassificationId", + "severity", + "contactDetails" + ], + "type": "object", + "properties": { + "supportTicketId": { + "description": "System generated support ticket Id that is unique.", + "type": "string" + }, + "description": { + "description": "Detailed description of the question or issue.", + "type": "string" + }, + "problemClassificationId": { + "description": "Each Azure service has its own set of issue categories, also known as problem classification. This parameter is the unique Id for the type of problem you are experiencing.", + "type": "string" + }, + "problemClassificationDisplayName": { + "type": "string", + "description": "Localized name of problem classification.", + "readOnly": true + }, + "severity": { + "description": "A value that indicates the urgency of the case, which in turn determines the response time according to the service level agreement of the technical support plan you have with Azure. Note: 'Highest critical impact', also known as the 'Emergency - Severe impact' level in the Azure portal is reserved only for our Premium customers.", + "enum": [ + "minimal", + "moderate", + "critical", + "highestcriticalimpact" + ], + "type": "string", + "x-ms-enum": { + "name": "SeverityLevel", + "modelAsString": true + } + }, + "enrollmentId": { + "description": "Enrollment Id associated with the support ticket.", + "type": "string", + "readOnly": true + }, + "require24X7Response": { + "description": "Indicates if this requires a 24x7 response from Azure.", + "type": "boolean" + }, + "advancedDiagnosticConsent": { + "description": "Advanced diagnostic consent to be updated on the support ticket.", + "enum": [ + "Yes", + "No" + ], + "type": "string", + "x-ms-enum": { + "name": "Consent", + "modelAsString": true + } + }, + "contactDetails": { + "$ref": "#/definitions/ContactProfile", + "description": "Contact information of the user requesting to create a support ticket." + }, + "serviceLevelAgreement": { + "$ref": "#/definitions/ServiceLevelAgreement", + "description": "Service Level Agreement information for this support ticket." + }, + "supportEngineer": { + "$ref": "#/definitions/SupportEngineer", + "description": "Information about the support engineer working on this support ticket." + }, + "supportPlanType": { + "description": "Support plan type associated with the support ticket.", + "type": "string", + "readOnly": true + }, + "title": { + "description": "Title of the support ticket.", + "type": "string" + }, + "problemStartTime": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the problem started.", + "type": "string" + }, + "serviceId": { + "description": "This is the resource Id of the Azure service resource associated with the support ticket.", + "type": "string" + }, + "serviceDisplayName": { + "type": "string", + "description": "Localized name of the Azure service.", + "readOnly": true + }, + "status": { + "description": "Status of the support ticket.", + "type": "string", + "readOnly": true + }, + "createdDate": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the support ticket was created.", + "type": "string", + "readOnly": true + }, + "modifiedDate": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the support ticket was last modified.", + "type": "string", + "readOnly": true + }, + "fileWorkspaceName": { + "description": "File workspace friendly name.", + "type": "string" + }, + "technicalTicketDetails": { + "$ref": "#/definitions/TechnicalTicketDetails", + "description": "Additional ticket details associated with a technical support ticket request." + }, + "quotaTicketDetails": { + "$ref": "#/definitions/QuotaTicketDetails", + "description": "Additional ticket details associated with a quota support ticket request." + } } }, - "description": "The API error." - }, - "ServiceError": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "The error code." - }, - "message": { - "type": "string", - "description": "The error message." - }, - "target": { - "type": "string", - "description": "The target of the error." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/ServiceErrorDetail" + "ServiceLevelAgreement": { + "description": "Service Level Agreement details for a support ticket.", + "type": "object", + "properties": { + "startTime": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the service level agreement starts.", + "type": "string", + "readOnly": true + }, + "expirationTime": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the service level agreement expires.", + "type": "string", + "readOnly": true }, - "x-ms-identifiers": [], - "description": "The list of error details.", - "readOnly": true + "slaMinutes": { + "description": "Service Level Agreement in minutes.", + "type": "integer", + "format": "int32", + "readOnly": true + } } }, - "description": "The API error details." - }, - "ServiceErrorDetail": { - "type": "object", - "properties": { - "code": { - "type": "string", - "readOnly": true, - "description": "The error code." - }, - "message": { - "type": "string", - "readOnly": true, - "description": "The error message." - }, - "target": { - "type": "string", - "description": "The target of the error." + "SupportEngineer": { + "description": "Support engineer information.", + "type": "object", + "properties": { + "emailAddress": { + "description": "Email address of the Azure Support engineer assigned to the support ticket.", + "type": "string", + "readOnly": true + } } }, - "description": "The error details." - }, - "ContactProfile": { - "description": "Contact information associated with the support ticket.", - "required": [ - "firstName", - "lastName", - "preferredContactMethod", - "primaryEmailAddress", - "preferredTimeZone", - "country", - "preferredSupportLanguage" - ], - "type": "object", - "properties": { - "firstName": { - "description": "First name.", - "type": "string" - }, - "lastName": { - "description": "Last name.", - "type": "string" + "ExceptionResponse": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/ServiceError", + "description": "The API error details." + } }, - "preferredContactMethod": { - "description": "Preferred contact method.", - "enum": [ - "email", - "phone" - ], - "type": "string", - "x-ms-enum": { - "name": "PreferredContactMethod", - "modelAsString": true + "description": "The API error." + }, + "ServiceError": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "The error code." + }, + "message": { + "type": "string", + "description": "The error message." + }, + "target": { + "type": "string", + "description": "The target of the error." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceErrorDetail" + }, + "x-ms-identifiers": [], + "description": "The list of error details.", + "readOnly": true } }, - "primaryEmailAddress": { - "description": "Primary email address.", - "type": "string" + "description": "The API error details." + }, + "ServiceErrorDetail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "readOnly": true, + "description": "The error code." + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The error message." + }, + "target": { + "type": "string", + "description": "The target of the error." + } }, - "additionalEmailAddresses": { - "description": "Additional email addresses listed will be copied on any correspondence about the support ticket.", - "type": "array", - "items": { + "description": "The error details." + }, + "ContactProfile": { + "description": "Contact information associated with the support ticket.", + "required": [ + "firstName", + "lastName", + "preferredContactMethod", + "primaryEmailAddress", + "preferredTimeZone", + "country", + "preferredSupportLanguage" + ], + "type": "object", + "properties": { + "firstName": { + "description": "First name.", + "type": "string" + }, + "lastName": { + "description": "Last name.", + "type": "string" + }, + "preferredContactMethod": { + "description": "Preferred contact method.", + "enum": [ + "email", + "phone" + ], + "type": "string", + "x-ms-enum": { + "name": "PreferredContactMethod", + "modelAsString": true + } + }, + "primaryEmailAddress": { + "description": "Primary email address.", + "type": "string" + }, + "additionalEmailAddresses": { + "description": "Additional email addresses listed will be copied on any correspondence about the support ticket.", + "type": "array", + "items": { + "type": "string" + } + }, + "phoneNumber": { + "description": "Phone number. This is required if preferred contact method is phone.", + "type": "string" + }, + "preferredTimeZone": { + "description": "Time zone of the user. This is the name of the time zone from [Microsoft Time Zone Index Values](https://support.microsoft.com/help/973627/microsoft-time-zone-index-values).", + "type": "string" + }, + "country": { + "description": "Country of the user. This is the ISO 3166-1 alpha-3 code.", + "type": "string" + }, + "preferredSupportLanguage": { + "description": "Preferred language of support from Azure. Support languages vary based on the severity you choose for your support ticket. Learn more at [Azure Severity and responsiveness](https://azure.microsoft.com/support/plans/response). Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German.", "type": "string" } - }, - "phoneNumber": { - "description": "Phone number. This is required if preferred contact method is phone.", - "type": "string" - }, - "preferredTimeZone": { - "description": "Time zone of the user. This is the name of the time zone from [Microsoft Time Zone Index Values](https://support.microsoft.com/help/973627/microsoft-time-zone-index-values).", - "type": "string" - }, - "country": { - "description": "Country of the user. This is the ISO 3166-1 alpha-3 code.", - "type": "string" - }, - "preferredSupportLanguage": { - "description": "Preferred language of support from Azure. Support languages vary based on the severity you choose for your support ticket. Learn more at [Azure Severity and responsiveness](https://azure.microsoft.com/support/plans/response). Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German.", - "type": "string" } - } - }, - "UpdateContactProfile": { - "description": "Contact information associated with the support ticket.", - "type": "object", - "properties": { - "firstName": { - "description": "First name.", - "type": "string" - }, - "lastName": { - "description": "Last name.", - "type": "string" - }, - "preferredContactMethod": { - "description": "Preferred contact method.", - "enum": [ - "email", - "phone" - ], - "type": "string", - "x-ms-enum": { - "name": "PreferredContactMethod", - "modelAsString": true + }, + "UpdateContactProfile": { + "description": "Contact information associated with the support ticket.", + "type": "object", + "properties": { + "firstName": { + "description": "First name.", + "type": "string" + }, + "lastName": { + "description": "Last name.", + "type": "string" + }, + "preferredContactMethod": { + "description": "Preferred contact method.", + "enum": [ + "email", + "phone" + ], + "type": "string", + "x-ms-enum": { + "name": "PreferredContactMethod", + "modelAsString": true + } + }, + "primaryEmailAddress": { + "description": "Primary email address.", + "type": "string" + }, + "additionalEmailAddresses": { + "description": "Email addresses listed will be copied on any correspondence about the support ticket.", + "type": "array", + "items": { + "type": "string" + } + }, + "phoneNumber": { + "description": "Phone number. This is required if preferred contact method is phone.", + "type": "string" + }, + "preferredTimeZone": { + "description": "Time zone of the user. This is the name of the time zone from [Microsoft Time Zone Index Values](https://support.microsoft.com/help/973627/microsoft-time-zone-index-values).", + "type": "string" + }, + "country": { + "description": "Country of the user. This is the ISO 3166-1 alpha-3 code.", + "type": "string" + }, + "preferredSupportLanguage": { + "description": "Preferred language of support from Azure. Support languages vary based on the severity you choose for your support ticket. Learn more at [Azure Severity and responsiveness](https://azure.microsoft.com/support/plans/response/). Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German.", + "type": "string" } - }, - "primaryEmailAddress": { - "description": "Primary email address.", - "type": "string" - }, - "additionalEmailAddresses": { - "description": "Email addresses listed will be copied on any correspondence about the support ticket.", - "type": "array", - "items": { + } + }, + "TechnicalTicketDetails": { + "description": "Additional information for technical support ticket.", + "type": "object", + "properties": { + "resourceId": { + "description": "This is the resource Id of the Azure service resource (For example: A virtual machine resource or an HDInsight resource) for which the support ticket is created.", "type": "string" } - }, - "phoneNumber": { - "description": "Phone number. This is required if preferred contact method is phone.", - "type": "string" - }, - "preferredTimeZone": { - "description": "Time zone of the user. This is the name of the time zone from [Microsoft Time Zone Index Values](https://support.microsoft.com/help/973627/microsoft-time-zone-index-values).", - "type": "string" - }, - "country": { - "description": "Country of the user. This is the ISO 3166-1 alpha-3 code.", - "type": "string" - }, - "preferredSupportLanguage": { - "description": "Preferred language of support from Azure. Support languages vary based on the severity you choose for your support ticket. Learn more at [Azure Severity and responsiveness](https://azure.microsoft.com/support/plans/response/). Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German.", - "type": "string" } - } - }, - "TechnicalTicketDetails": { - "description": "Additional information for technical support ticket.", - "type": "object", - "properties": { - "resourceId": { - "description": "This is the resource Id of the Azure service resource (For example: A virtual machine resource or an HDInsight resource) for which the support ticket is created.", - "type": "string" + }, + "QuotaTicketDetails": { + "description": "Additional set of information required for quota increase support ticket for certain quota types, e.g.: Virtual machine cores. Get complete details about Quota payload support request along with examples at [Support quota request](https://aka.ms/supportrpquotarequestpayload).", + "type": "object", + "properties": { + "quotaChangeRequestSubType": { + "description": "Required for certain quota types when there is a sub type, such as Batch, for which you are requesting a quota increase.", + "type": "string" + }, + "quotaChangeRequestVersion": { + "description": "Quota change request version.", + "type": "string" + }, + "quotaChangeRequests": { + "description": "This property is required for providing the region and new quota limits.", + "type": "array", + "items": { + "$ref": "#/definitions/QuotaChangeRequest" + }, + "x-ms-identifiers": [ + "region" + ] + } } - } - }, - "QuotaTicketDetails": { - "description": "Additional set of information required for quota increase support ticket for certain quota types, e.g.: Virtual machine cores. Get complete details about Quota payload support request along with examples at [Support quota request](https://aka.ms/supportrpquotarequestpayload).", - "type": "object", - "properties": { - "quotaChangeRequestSubType": { - "description": "Required for certain quota types when there is a sub type, such as Batch, for which you are requesting a quota increase.", - "type": "string" - }, - "quotaChangeRequestVersion": { - "description": "Quota change request version.", - "type": "string" - }, - "quotaChangeRequests": { - "description": "This property is required for providing the region and new quota limits.", - "type": "array", - "items": { - "$ref": "#/definitions/QuotaChangeRequest" + }, + "QuotaChangeRequest": { + "description": "This property is required for providing the region and new quota limits.", + "type": "object", + "properties": { + "region": { + "description": "Region for which the quota increase request is being made.", + "type": "string" }, - "x-ms-identifiers": [ - "region" - ] + "payload": { + "description": "Payload of the quota increase request.", + "type": "string" + } } - } - }, - "QuotaChangeRequest": { - "description": "This property is required for providing the region and new quota limits.", - "type": "object", - "properties": { - "region": { - "description": "Region for which the quota increase request is being made.", - "type": "string" - }, - "payload": { - "description": "Payload of the quota increase request.", - "type": "string" + }, + "UpdateSupportTicket": { + "description": "Updates severity, ticket status, and contact details in the support ticket.", + "type": "object", + "properties": { + "severity": { + "description": "Severity level.", + "enum": [ + "minimal", + "moderate", + "critical", + "highestcriticalimpact" + ], + "type": "string", + "x-ms-enum": { + "name": "SeverityLevel", + "modelAsString": true + } + }, + "status": { + "description": "Status to be updated on the ticket.", + "enum": [ + "open", + "closed" + ], + "type": "string", + "x-ms-enum": { + "name": "Status", + "modelAsString": true + } + }, + "contactDetails": { + "$ref": "#/definitions/UpdateContactProfile", + "description": "Contact details to be updated on the support ticket." + }, + "advancedDiagnosticConsent": { + "description": "Advanced diagnostic consent to be updated on the support ticket.", + "enum": [ + "Yes", + "No" + ], + "type": "string", + "x-ms-enum": { + "name": "Consent", + "modelAsString": true + } + } } - } - }, - "UpdateSupportTicket": { - "description": "Updates severity, ticket status, and contact details in the support ticket.", - "type": "object", - "properties": { - "severity": { - "description": "Severity level.", - "enum": [ - "minimal", - "moderate", - "critical", - "highestcriticalimpact" - ], - "type": "string", - "x-ms-enum": { - "name": "SeverityLevel", - "modelAsString": true + }, + "ChatTranscriptsListResult": { + "description": "Collection of Chat Transcripts resources.", + "type": "object", + "properties": { + "value": { + "description": "List of Chat Transcripts resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ChatTranscriptDetails" + } + }, + "nextLink": { + "description": "The URI to fetch the next page of Chat Transcripts resources.", + "type": "string" } - }, - "status": { - "description": "Status to be updated on the ticket.", - "enum": [ - "open", - "closed" - ], - "type": "string", - "x-ms-enum": { - "name": "Status", - "modelAsString": true + } + }, + "ChatTranscriptDetails": { + "x-ms-azure-resource": true, + "description": "Object that represents a Chat Transcript resource.", + "type": "object", + "properties": { + "properties": { + "properties": { + "communications": { + "description": "List of chat transcript communication resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ChatTranscriptDetailsProperties" + }, + "x-ms-identifiers": [] + } + }, + "type": "object", + "description": "List of chat transcript communication resources." } }, - "contactDetails": { - "$ref": "#/definitions/UpdateContactProfile", - "description": "Contact details to be updated on the support ticket." - }, - "advancedDiagnosticConsent": { - "description": "Advanced diagnostic consent to be updated on the support ticket.", - "enum": [ - "Yes", - "No" - ], - "type": "string", - "x-ms-enum": { - "name": "Consent", - "modelAsString": true + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } - } - } - }, - "ChatTranscriptsListResult": { - "description": "Collection of Chat Transcripts resources.", - "type": "object", - "properties": { - "value": { - "description": "List of Chat Transcripts resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ChatTranscriptDetails" + ] + }, + "ChatTranscriptDetailsProperties": { + "description": "Describes the properties of a Chat Transcript Details resource.", + "required": [ + "body" + ], + "type": "object", + "properties": { + "communicationType": { + "description": "Communication type.", + "enum": [ + "web" + ], + "type": "string", + "x-ms-enum": { + "name": "TranscriptCommunicationType", + "modelAsString": true + }, + "readOnly": true + }, + "communicationDirection": { + "description": "Direction of communication.", + "enum": [ + "inbound", + "outbound" + ], + "type": "string", + "x-ms-enum": { + "name": "CommunicationDirection", + "modelAsString": true + }, + "readOnly": true + }, + "sender": { + "description": "Name of the sender.", + "type": "string" + }, + "body": { + "description": "Body of the communication.", + "type": "string" + }, + "createdDate": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the communication was created.", + "type": "string", + "readOnly": true } - }, - "nextLink": { - "description": "The URI to fetch the next page of Chat Transcripts resources.", - "type": "string" } - } - }, - "ChatTranscriptDetails": { - "x-ms-azure-resource": true, - "description": "Object that represents a Chat Transcript resource.", - "type": "object", - "properties": { + }, + "FileWorkspaceDetails": { + "x-ms-azure-resource": true, + "description": "Object that represents FileWorkspaceDetails resource", + "type": "object", "properties": { - "properties": { - "communications": { - "description": "List of chat transcript communication resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ChatTranscriptDetailsProperties" - }, - "x-ms-identifiers": [] - } + "id": { + "description": "Id of the resource", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource", + "type": "string", + "readOnly": true }, - "type": "object", - "description": "List of chat transcript communication resources." + "type": { + "description": "Type of the resource 'Microsoft.Support/fileWorkspaces'", + "type": "string", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/FileWorkspaceDetailsProperties", + "description": "Properties of the resource" + } } }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ] - }, - "ChatTranscriptDetailsProperties": { - "description": "Describes the properties of a Chat Transcript Details resource.", - "required": [ - "body" - ], - "type": "object", - "properties": { - "communicationType": { - "description": "Communication type.", - "enum": [ - "web" - ], - "type": "string", - "x-ms-enum": { - "name": "TranscriptCommunicationType", - "modelAsString": true - }, - "readOnly": true - }, - "communicationDirection": { - "description": "Direction of communication.", - "enum": [ - "inbound", - "outbound" - ], - "type": "string", - "x-ms-enum": { - "name": "CommunicationDirection", - "modelAsString": true - }, - "readOnly": true - }, - "sender": { - "description": "Name of the sender.", - "type": "string" - }, - "body": { - "description": "Body of the communication.", - "type": "string" - }, - "createdDate": { - "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when the communication was created.", - "type": "string", - "readOnly": true - } - } - }, - "FileWorkspaceDetails": { - "x-ms-azure-resource": true, - "description": "Object that represents FileWorkspaceDetails resource", - "type": "object", - "properties": { - "id": { - "description": "Id of the resource", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Name of the resource", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Type of the resource 'Microsoft.Support/fileWorkspaces'", - "type": "string", - "readOnly": true - }, + "FileWorkspaceDetailsProperties": { + "description": "Describes the properties of a file workspace.", + "required": [ + ], + "type": "object", "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/FileWorkspaceDetailsProperties", - "description": "Properties of the resource" + "createdOn": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when support ticket was created.", + "type": "string", + "readOnly": true + }, + "expirationTime": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when support ticket was last modified.", + "type": "string", + "readOnly": true + } } - } - }, - "FileWorkspaceDetailsProperties": { - "description": "Describes the properties of a file workspace.", - "required": [ - ], - "type": "object", - "properties": { - "createdOn": { - "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when support ticket was created.", - "type": "string", - "readOnly": true - }, - "expirationTime": { - "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when support ticket was last modified.", - "type": "string", - "readOnly": true + }, + "FileDetails": { + "x-ms-azure-resource": true, + "description": "Object that represents File Details resource", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/files'", + "type": "string", + "readOnly": true + } } - } - }, - "FileDetails": { - "x-ms-azure-resource": true, - "description": "Object that represents File Details resource", - "type": "object", - "properties": { - "id": { - "description": "Id of the resource", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Name of the resource", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Type of the resource 'Microsoft.Support/files'", - "type": "string", - "readOnly": true + }, + "FilesListResult": { + "description": "Object that represents a collection of File resources.", + "type": "object", + "properties": { + "value": { + "description": "List of File resources.", + "type": "array", + "items": { + "$ref": "#/definitions/FileDetails" + } + } } - } - }, - "FilesListResult": { - "description": "Object that represents a collection of File resources.", - "type": "object", - "properties": { - "value": { - "description": "List of File resources.", - "type": "array", - "items": { - "$ref": "#/definitions/FileDetails" + }, + "UploadFile": { + "description": "Contact information associated with the support ticket.", + "type": "object", + "properties": { + "fileContent": { + "description": "File Content in base64 encoded format", + "type": "string" } } } }, - "UploadFile": { - "description": "Contact information associated with the support ticket.", - "type": "object", - "properties": { - "fileContent": { - "description": "File Content in base64 encoded format", - "type": "string" - } + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Azure subscription Id." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "API version." } } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "Azure subscription Id." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "API version." - } } -} From 2e1741d3eea5f106886e26b2fd25ce35c046ac50 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Sat, 4 Feb 2023 23:31:46 -0800 Subject: [PATCH 19/58] Changes as per PR comments --- .../preview/2022-09-01-preview/support.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 57f83a728e99..48c2817b003d 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -2941,13 +2941,13 @@ "properties": { "createdOn": { "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when support ticket was created.", + "description": "Time in UTC (ISO 8601 format) when file workspace was created.", "type": "string", "readOnly": true }, "expirationTime": { "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when support ticket was last modified.", + "description": "Time in UTC (ISO 8601 format) when file workspace is going to expire.", "type": "string", "readOnly": true } @@ -2985,6 +2985,10 @@ "items": { "$ref": "#/definitions/FileDetails" } + }, + "nextLink": { + "description": "The URI to fetch the next page of Communication resources.", + "type": "string" } } }, From 0d5f5c110fc540c7559f8a73fbaa93f655400f1d Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Mon, 6 Feb 2023 14:41:55 -0800 Subject: [PATCH 20/58] More cahnges as per PR comments --- .../preview/2022-09-01-preview/support.json | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 48c2817b003d..26b14a762bb7 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -1642,7 +1642,7 @@ "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files": { "get": { "tags": [ - "FIles" + "Files" ], "description": "Lists all the Files information under a worksapce for an Azure subscription.", "operationId": "Files_List", @@ -1685,7 +1685,7 @@ "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files": { "get": { "tags": [ - "FIles" + "Files" ], "description": "Lists all the Files information under a worksapce for an Azure subscription.", "operationId": "Files_List", @@ -1813,10 +1813,6 @@ } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Create a file workspace": { "$ref": "./examples/CreateFileForSubscription.json" @@ -1909,10 +1905,6 @@ } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Create a file workspace": { "$ref": "./examples/CreateFile.json" @@ -2499,7 +2491,7 @@ "readOnly": true }, "fileWorkspaceName": { - "description": "File workspace friendly name.", + "description": "File workspace name.", "type": "string" }, "technicalTicketDetails": { @@ -2987,7 +2979,7 @@ } }, "nextLink": { - "description": "The URI to fetch the next page of Communication resources.", + "description": "The URI to fetch the next page of File resources.", "type": "string" } } From c1c920235123b13d0570f30722a055eea40f4abf Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Fri, 10 Feb 2023 11:33:30 -0800 Subject: [PATCH 21/58] Changes as per PR comments from ARM team --- .../preview/2022-09-01-preview/support.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 26b14a762bb7..bb282ecada3e 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -1675,8 +1675,11 @@ } } }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, "x-ms-examples": { - "List support tickets for a subscription": { + "List files under a workspace for a subscription": { "$ref": "./examples/ListFilesForSubscriptionUnderFileWorkspace.json" } } @@ -1715,8 +1718,11 @@ } } }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, "x-ms-examples": { - "List support tickets for a subscription": { + "List files under a workspace": { "$ref": "./examples/ListFilesUnderFileWorkspace.json" } } From 54e5f30daba7e33e823311b4ceed28a4062d9a9f Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Fri, 16 Jun 2023 11:20:57 -0700 Subject: [PATCH 22/58] Changes for adding a new property as part of support ticket details model and updates for file properties --- ...tForSpecificBatchAccountForActiveJobs.json | 1 + ...SpecificBatchAccountForDedicatedCores.json | 1 + ...ecificBatchAccountForLowPriorityCores.json | 1 + ...TicketForSpecificBatchAccountForPools.json | 1 + ...CreateBatchQuotaTicketForSubscription.json | 1 + .../examples/CreateBillingSupportTicket.json | 1 + ...teBillingSupportTicketForSubscription.json | 1 + ...CreateCoresQuotaTicketForSubscription.json | 1 + .../examples/CreateFile.json | 7 +- .../examples/CreateFileForSubscription.json | 5 +- .../examples/CreateGenericQuotaTicket.json | 1 + ...eLearningQuotaTicketForDedicatedCores.json | 1 + ...earningQuotaTicketForLowPriorityCores.json | 1 + .../CreateSqlDatabaseQuotaTicketForDTUs.json | 1 + ...reateSqlDatabaseQuotaTicketForServers.json | 1 + ...ateSqlDatawarehouseQuotaTicketForDTUs.json | 1 + ...SqlDatawarehouseQuotaTicketForServers.json | 1 + .../CreateSqlManagedInstanceQuotaTicket.json | 1 + .../examples/CreateSubMgmtSupportTicket.json | 1 + ...teSubMgmtSupportTicketForSubscription.json | 1 + .../CreateTechnicalSupportTicket.json | 1 + ...TechnicalSupportTicketForSubscription.json | 1 + .../examples/GetFileDetails.json | 5 +- .../GetFileDetailsForSubscription.json | 5 +- .../GetSubscriptionSupportTicketDetails.json | 1 + .../examples/GetSupportTicketDetails.json | 1 + ...ilesForSubscriptionUnderFileWorkspace.json | 10 +- .../examples/ListFilesUnderFileWorkspace.json | 10 +- .../examples/ListSupportTickets.json | 2 + .../ListSupportTicketsBySubscription.json | 2 + ...TicketsCreatedOnOrAfterAndInOpenState.json | 2 + ...OnOrAfterAndInOpenStateBySubscription.json | 2 + ...etsCreatedOnOrAfterAndInUpdatingState.json | 2 + ...AfterAndInUpdatingStateBySubscription.json | 2 + .../ListSupportTicketsInOpenState.json | 2 + ...pportTicketsInOpenStateBySubscription.json | 2 + .../ListSupportTicketsInUpdatingState.json | 2 + ...tTicketsInUpdatingStateBySubscription.json | 2 + ...tTicketsProblemClassificationIdEquals.json | 2 + ...ClassificationIdEqualsForSubscription.json | 2 + .../ListSupportTicketsServiceIdEquals.json | 2 + ...TicketsServiceIdEqualsForSubscription.json | 2 + ...ancedDiagnosticConsentOfSupportTicket.json | 1 + ...ConsentOfSupportTicketForSubscription.json | 1 + .../UpdateContactDetailsOfSupportTicket.json | 1 + ...DetailsOfSupportTicketForSubscription.json | 1 + .../UpdateSeverityOfSupportTicket.json | 1 + ...everityOfSupportTicketForSubscription.json | 1 + .../examples/UpdateStatusOfSupportTicket.json | 1 + ...eStatusOfSupportTicketForSubscription.json | 1 + .../examples/UploadFile.json | 3 +- .../examples/UploadFileForSubscription.json | 3 +- .../preview/2022-09-01-preview/support.json | 1859 +++++++++-------- 53 files changed, 1055 insertions(+), 910 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json index 2280071c2ba0..c54302122cdc 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json @@ -79,6 +79,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceDisplayName": "Service and subscription limits (quotas)", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json index 5096339c1d7b..169be582e756 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json @@ -79,6 +79,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceDisplayName": "Service and subscription limits (quotas)", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json index 29c7a9b7ecd7..3c5ee3bf95b8 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json @@ -79,6 +79,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceDisplayName": "Service and subscription limits (quotas)", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json index c7ab6a575855..5c35e31ccfa9 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json @@ -79,6 +79,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceDisplayName": "Service and subscription limits (quotas)", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSubscription.json index 989ed4457988..47e310231871 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSubscription.json @@ -79,6 +79,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceDisplayName": "Service and subscription limits (quotas)", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicket.json index 5a87e55b6fd4..70a26573b1ca 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicket.json @@ -58,6 +58,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/billing_service_guid", "serviceDisplayName": "Billing", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicketForSubscription.json index 874a104d9e20..7caf14b4b09e 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicketForSubscription.json @@ -59,6 +59,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/billing_service_guid", "serviceDisplayName": "Billing", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateCoresQuotaTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateCoresQuotaTicketForSubscription.json index 7cc507a1f429..daa9c8414922 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateCoresQuotaTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateCoresQuotaTicketForSubscription.json @@ -77,6 +77,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceDisplayName": "Service and subscription limits (quotas)", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json index 31e61b0986c1..257f62edca89 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json @@ -10,8 +10,11 @@ "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt", "name": "test.txt", "type": "Microsoft.Support/files", - "properties": { - "createdOn": "2022-08-24T20:18:19Z" + "properties": { + "createdOn": "2022-08-24T20:18:19Z", + "chunkSize": "41423", + "fileSize": "41423", + "numberOfChunks": "1" } } } diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileForSubscription.json index 381f01feb433..2f25b9aa811a 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileForSubscription.json @@ -11,7 +11,10 @@ "name": "test.txt", "type": "Microsoft.Support/files", "properties": { - "createdOn": "2022-08-24T20:18:19Z" + "createdOn": "2022-08-24T20:18:19Z", + "chunkSize": "41423", + "fileSize": "41423", + "numberOfChunks": "1" } } } diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateGenericQuotaTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateGenericQuotaTicket.json index f7f867957efe..774a932a17bb 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateGenericQuotaTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateGenericQuotaTicket.json @@ -59,6 +59,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceDisplayName": "Service and subscription limits (quotas)", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json index e610684fd58e..21642bb3fef5 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json @@ -79,6 +79,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceDisplayName": "Service and subscription limits (quotas)", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json index 37de895fc858..380731bb8b27 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json @@ -79,6 +79,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceDisplayName": "Service and subscription limits (quotas)", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json index bafc1ba577f7..45e3463733ff 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json @@ -79,6 +79,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceDisplayName": "Service and subscription limits (quotas)", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json index afd287f5546e..cd04dbf428f3 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json @@ -79,6 +79,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceDisplayName": "Service and subscription limits (quotas)", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json index 4ec79e21b835..d67e3e4afc26 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json @@ -79,6 +79,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceDisplayName": "Service and subscription limits (quotas)", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json index 2e82dfc9ce92..d705a461465d 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json @@ -79,6 +79,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceDisplayName": "Service and subscription limits (quotas)", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlManagedInstanceQuotaTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlManagedInstanceQuotaTicket.json index 3c54385d1c28..15050dac6173 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlManagedInstanceQuotaTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlManagedInstanceQuotaTicket.json @@ -87,6 +87,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceDisplayName": "Service and subscription limits (quotas)", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicket.json index 05df1a72f8a9..35bc28ebaafd 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicket.json @@ -58,6 +58,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json index 93c2942f0949..e07643b2adc4 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json @@ -59,6 +59,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicket.json index 66d44c3c0fa8..e4cab79a14ab 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicket.json @@ -58,6 +58,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid", "serviceDisplayName": "Virtual Machine running Linux", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json index a949fa0f38ee..9bed62840f1b 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json @@ -65,6 +65,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid", "serviceDisplayName": "Virtual Machine running Linux", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetails.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetails.json index 0e874c5d767f..5d0071d3a104 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetails.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetails.json @@ -11,7 +11,10 @@ "name": "test.txt", "type": "Microsoft.Support/files", "properties": { - "createdOn": "2022-08-24T20:18:19Z" + "createdOn": "2022-08-24T20:18:19Z", + "chunkSize": "41423", + "fileSize": "41423", + "numberOfChunks": "1" } } } diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetailsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetailsForSubscription.json index 4d5b35628f72..8f03232ec91a 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetailsForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetailsForSubscription.json @@ -12,7 +12,10 @@ "name": "test.txt", "type": "Microsoft.Support/files", "properties": { - "createdOn": "2022-08-24T20:18:19Z" + "createdOn": "2022-08-24T20:18:19Z", + "chunkSize": "41423", + "fileSize": "41423", + "numberOfChunks": "1" } } } diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSubscriptionSupportTicketDetails.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSubscriptionSupportTicketDetails.json index e8460ccf9cd8..5750f7ac3c88 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSubscriptionSupportTicketDetails.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSubscriptionSupportTicketDetails.json @@ -35,6 +35,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSupportTicketDetails.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSupportTicketDetails.json index f807300eede1..abf048865179 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSupportTicketDetails.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSupportTicketDetails.json @@ -35,6 +35,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesForSubscriptionUnderFileWorkspace.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesForSubscriptionUnderFileWorkspace.json index f21afc7b853a..44e7d40215de 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesForSubscriptionUnderFileWorkspace.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesForSubscriptionUnderFileWorkspace.json @@ -13,14 +13,20 @@ "name": "test1.txt", "type": "Microsoft.Support/files", "properties": { - "createdOn": "2022-08-24T20:18:19Z" + "createdOn": "2022-08-24T20:18:19Z", + "chunkSize": "41423", + "fileSize": "41423", + "numberOfChunks": "1" }, { "id": "/subscriptions/subid/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test2.txt", "name": "test2.txt", "type": "Microsoft.Support/files", "properties": { - "createdOn": "2022-09-27T20:18:19Z" + "createdOn": "2022-08-24T20:18:19Z", + "chunkSize": "41423", + "fileSize": "41423", + "numberOfChunks": "1" } } } diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesUnderFileWorkspace.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesUnderFileWorkspace.json index ef12f4e8c845..57c5cab2728d 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesUnderFileWorkspace.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesUnderFileWorkspace.json @@ -12,14 +12,20 @@ "name": "test1.txt", "type": "Microsoft.Support/files", "properties": { - "createdOn": "2022-08-24T20:18:19Z" + "createdOn": "2022-08-24T20:18:19Z", + "chunkSize": "41423", + "fileSize": "41423", + "numberOfChunks": "1" }, { "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test2.txt", "name": "test2.txt", "type": "Microsoft.Support/files", "properties": { - "createdOn": "2022-09-27T20:18:19Z" + "createdOn": "2022-08-24T20:18:19Z", + "chunkSize": "41423", + "fileSize": "41423", + "numberOfChunks": "1" } } } diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json index 283d1c65350e..985cfc9570cb 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json @@ -35,6 +35,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "title": "my title", "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceDisplayName": "Virtual Machine running Linux", @@ -72,6 +73,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsBySubscription.json index 407eb00c6d02..640c71d3232f 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsBySubscription.json @@ -39,6 +39,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceDisplayName": "Virtual Machine running Linux", @@ -76,6 +77,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json index 93af862e0240..3836466f6e00 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json @@ -36,6 +36,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceDisplayName": "Virtual Machine running Linux", @@ -73,6 +74,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json index c57c99fb4272..e173c0c3490e 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json @@ -40,6 +40,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceDisplayName": "Virtual Machine running Linux", @@ -77,6 +78,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json index 36b96976803c..f0d54459873c 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json @@ -36,6 +36,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceDisplayName": "Virtual Machine running Linux", @@ -73,6 +74,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json index 447519edc12f..cfb460d19e18 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json @@ -40,6 +40,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceDisplayName": "Virtual Machine running Linux", @@ -77,6 +78,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenState.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenState.json index 8d5c94118d6f..21c4b261b9f5 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenState.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenState.json @@ -36,6 +36,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceDisplayName": "Virtual Machine running Linux", @@ -73,6 +74,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json index f3af0bb97abb..8f8356339433 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json @@ -40,6 +40,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceDisplayName": "Virtual Machine running Linux", @@ -77,6 +78,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingState.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingState.json index c2b458492d84..94270c8c43d0 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingState.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingState.json @@ -36,6 +36,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceDisplayName": "Virtual Machine running Linux", @@ -73,6 +74,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingStateBySubscription.json index 377238b59028..e20aa28b76f6 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingStateBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingStateBySubscription.json @@ -40,6 +40,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceDisplayName": "Virtual Machine running Linux", @@ -77,6 +78,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEquals.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEquals.json index f33b8e80120f..15a4d35601ae 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEquals.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEquals.json @@ -32,6 +32,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/service_guid", "serviceDisplayName": "service_displayName", @@ -64,6 +65,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/service_guid", "serviceDisplayName": "service_displayName", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json index 3cff20effd01..bb1d48657810 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json @@ -33,6 +33,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/service_guid", "serviceDisplayName": "service_displayName", @@ -65,6 +66,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/service_guid", "serviceDisplayName": "service_displayName", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEquals.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEquals.json index d79a405ca9fe..06dcffd81d18 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEquals.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEquals.json @@ -32,6 +32,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", "serviceDisplayName": "Virtual Machine running Windows", @@ -64,6 +65,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", "serviceDisplayName": "Virtual Machine running Windows", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsForSubscription.json index 06c916d70af7..db1963725521 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsForSubscription.json @@ -33,6 +33,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "my title", "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", "serviceDisplayName": "Virtual Machine running Windows", @@ -65,6 +66,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", "serviceDisplayName": "Virtual Machine running Windows", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json index 8bb94a49db4a..59853f7ecc99 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json @@ -42,6 +42,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json index 783f6894cc3c..9b68d7020b80 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json @@ -43,6 +43,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicket.json index c06f454f6ad2..5a4d93e6f894 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicket.json @@ -56,6 +56,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicketForSubscription.json index 68d8d449a508..d43ac8cceea3 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicketForSubscription.json @@ -56,6 +56,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicket.json index 4c4256259b6d..63413901b8ac 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicket.json @@ -42,6 +42,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicketForSubscription.json index e0dbdeac9d63..e119a971a8f4 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicketForSubscription.json @@ -42,6 +42,7 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicket.json index 8c3c71f3804a..ce401d7baeac 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicket.json @@ -42,6 +42,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicketForSubscription.json index e98d7ddb2796..be10f4684b28 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicketForSubscription.json @@ -42,6 +42,7 @@ "emailAddress": null }, "supportPlanType": "Premier", + "supportPlanDisplayName": "Premier", "title": "Test - please ignore", "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceDisplayName": "Subscription management", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json index 8f93b3fa2dcb..e1852ce0a4c3 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json @@ -5,7 +5,8 @@ "fileName": "test.txt", "api-version": "2022-09-01-preview", "UploadFile": { - "fileContent": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd" + "content": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd", + "chunkIndex": "0" } }, "responses": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json index 8f93b3fa2dcb..0ec98ed9c93c 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json @@ -5,7 +5,8 @@ "fileName": "test.txt", "api-version": "2022-09-01-preview", "UploadFile": { - "fileContent": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd" + "fileContent": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd", + "chunkIndex": "0" } }, "responses": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index bb282ecada3e..52be2a62aa77 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -1893,6 +1893,15 @@ "required": true, "type": "string" }, + { + "name": "createFile", + "in": "body", + "description": "Create file object", + "required": true, + "schema": { + "$ref": "#/definitions/CreateFile" + } + }, { "$ref": "#/parameters/ApiVersionParameter" } @@ -2034,973 +2043,1025 @@ } } }, - "definitions": { - "OperationsListResult": { - "description": "The list of operations supported by Microsoft Support resource provider.", - "properties": { - "value": { - "description": "The list of operations supported by Microsoft Support resource provider.", - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "x-ms-identifiers": [ - "name" - ] - } + "definitions": { + "OperationsListResult": { + "description": "The list of operations supported by Microsoft Support resource provider.", + "properties": { + "value": { + "description": "The list of operations supported by Microsoft Support resource provider.", + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "x-ms-identifiers": [ + "name" + ] } - }, - "Operation": { - "description": "The operation supported by Microsoft Support resource provider.", - "type": "object", - "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}.", - "type": "string", - "readOnly": true - }, - "display": { - "description": "The object that describes the operation.", - "properties": { - "description": { - "description": "The description of the operation.", - "type": "string", - "readOnly": true - }, - "operation": { - "description": "The action that users can perform, based on their permission level.", - "type": "string", - "readOnly": true - }, - "provider": { - "description": "Service provider: Microsoft Support.", - "type": "string", - "readOnly": true - }, - "resource": { - "description": "Resource on which the operation is performed.", - "type": "string", - "readOnly": true - } + } + }, + "Operation": { + "description": "The operation supported by Microsoft Support resource provider.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}.", + "type": "string", + "readOnly": true + }, + "display": { + "description": "The object that describes the operation.", + "properties": { + "description": { + "description": "The description of the operation.", + "type": "string", + "readOnly": true + }, + "operation": { + "description": "The action that users can perform, based on their permission level.", + "type": "string", + "readOnly": true + }, + "provider": { + "description": "Service provider: Microsoft Support.", + "type": "string", + "readOnly": true + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string", + "readOnly": true } } } - }, - "ServicesListResult": { - "description": "Collection of Service resources.", - "type": "object", - "properties": { - "value": { - "description": "List of Service resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Service" - } + } + }, + "ServicesListResult": { + "description": "Collection of Service resources.", + "type": "object", + "properties": { + "value": { + "description": "List of Service resources.", + "type": "array", + "items": { + "$ref": "#/definitions/Service" } } - }, - "Service": { - "description": "Object that represents a Service resource.", - "type": "object", + } + }, + "Service": { + "description": "Object that represents a Service resource.", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/services'.", + "type": "string", + "readOnly": true + }, "properties": { - "id": { - "description": "Id of the resource.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Type of the resource 'Microsoft.Support/services'.", - "type": "string", - "readOnly": true - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ServiceProperties", - "description": "Properties of the resource." - } + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServiceProperties", + "description": "Properties of the resource." } - }, - "ServiceProperties": { - "description": "Details about an Azure service available for support ticket creation.", - "type": "object", - "properties": { - "displayName": { - "description": "Localized name of the Azure service.", + } + }, + "ServiceProperties": { + "description": "Details about an Azure service available for support ticket creation.", + "type": "object", + "properties": { + "displayName": { + "description": "Localized name of the Azure service.", + "type": "string" + }, + "resourceTypes": { + "description": "ARM Resource types.", + "type": "array", + "items": { "type": "string" - }, - "resourceTypes": { - "description": "ARM Resource types.", - "type": "array", - "items": { - "type": "string" - } } } - }, - "ProblemClassificationsListResult": { - "description": "Collection of ProblemClassification resources.", - "type": "object", - "properties": { - "value": { - "description": "List of ProblemClassification resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ProblemClassification" - } + } + }, + "ProblemClassificationsListResult": { + "description": "Collection of ProblemClassification resources.", + "type": "object", + "properties": { + "value": { + "description": "List of ProblemClassification resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ProblemClassification" } } - }, - "ProblemClassification": { - "description": "ProblemClassification resource object.", - "type": "object", + } + }, + "ProblemClassification": { + "description": "ProblemClassification resource object.", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/problemClassification'.", + "type": "string", + "readOnly": true + }, "properties": { - "id": { - "description": "Id of the resource.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Type of the resource 'Microsoft.Support/problemClassification'.", - "type": "string", - "readOnly": true - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ProblemClassificationProperties", - "description": "Properties of the resource." - } + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProblemClassificationProperties", + "description": "Properties of the resource." } - }, - "ProblemClassificationProperties": { - "description": "Details about a problem classification available for an Azure service.", - "type": "object", - "properties": { - "displayName": { - "description": "Localized name of problem classification.", - "type": "string" - } + } + }, + "ProblemClassificationProperties": { + "description": "Details about a problem classification available for an Azure service.", + "type": "object", + "properties": { + "displayName": { + "description": "Localized name of problem classification.", + "type": "string" } - }, - "CheckNameAvailabilityInput": { - "description": "Input of CheckNameAvailability API.", - "type": "object", - "required": [ - "name", - "type" - ], - "properties": { - "name": { - "description": "The resource name to validate.", - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Support/supportTickets", - "Microsoft.Support/communications" - ], - "x-ms-enum": { - "name": "Type", - "modelAsString": false - }, - "description": "The type of resource." - } + } + }, + "CheckNameAvailabilityInput": { + "description": "Input of CheckNameAvailability API.", + "type": "object", + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "description": "The resource name to validate.", + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Support/supportTickets", + "Microsoft.Support/communications" + ], + "x-ms-enum": { + "name": "Type", + "modelAsString": false + }, + "description": "The type of resource." } - }, - "CheckNameAvailabilityOutput": { - "description": "Output of check name availability API.", - "type": "object", - "properties": { - "nameAvailable": { - "description": "Indicates whether the name is available.", - "readOnly": true, - "type": "boolean" - }, - "reason": { - "description": "The reason why the name is not available.", - "readOnly": true, - "type": "string" - }, - "message": { - "description": "The detailed error message describing why the name is not available.", - "readOnly": true, - "type": "string" - } + } + }, + "CheckNameAvailabilityOutput": { + "description": "Output of check name availability API.", + "type": "object", + "properties": { + "nameAvailable": { + "description": "Indicates whether the name is available.", + "readOnly": true, + "type": "boolean" + }, + "reason": { + "description": "The reason why the name is not available.", + "readOnly": true, + "type": "string" + }, + "message": { + "description": "The detailed error message describing why the name is not available.", + "readOnly": true, + "type": "string" } - }, - "SupportTicketsListResult": { - "description": "Object that represents a collection of SupportTicket resources.", - "type": "object", - "properties": { - "value": { - "description": "List of SupportTicket resources.", - "type": "array", - "items": { - "$ref": "#/definitions/SupportTicketDetails" - } - }, - "nextLink": { - "description": "The URI to fetch the next page of SupportTicket resources.", - "type": "string" + } + }, + "SupportTicketsListResult": { + "description": "Object that represents a collection of SupportTicket resources.", + "type": "object", + "properties": { + "value": { + "description": "List of SupportTicket resources.", + "type": "array", + "items": { + "$ref": "#/definitions/SupportTicketDetails" } + }, + "nextLink": { + "description": "The URI to fetch the next page of SupportTicket resources.", + "type": "string" } - }, - "SupportTicketDetails": { - "x-ms-azure-resource": true, - "description": "Object that represents SupportTicketDetails resource.", - "type": "object", + } + }, + "SupportTicketDetails": { + "x-ms-azure-resource": true, + "description": "Object that represents SupportTicketDetails resource.", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/supportTickets'.", + "type": "string", + "readOnly": true + }, "properties": { - "id": { - "description": "Id of the resource.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Type of the resource 'Microsoft.Support/supportTickets'.", - "type": "string", - "readOnly": true - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SupportTicketDetailsProperties", - "description": "Properties of the resource." - } + "x-ms-client-flatten": true, + "$ref": "#/definitions/SupportTicketDetailsProperties", + "description": "Properties of the resource." } - }, - "CommunicationsListResult": { - "description": "Collection of Communication resources.", - "type": "object", - "properties": { - "value": { - "description": "List of Communication resources.", - "type": "array", - "items": { - "$ref": "#/definitions/CommunicationDetails" - } - }, - "nextLink": { - "description": "The URI to fetch the next page of Communication resources.", - "type": "string" + } + }, + "CommunicationsListResult": { + "description": "Collection of Communication resources.", + "type": "object", + "properties": { + "value": { + "description": "List of Communication resources.", + "type": "array", + "items": { + "$ref": "#/definitions/CommunicationDetails" } + }, + "nextLink": { + "description": "The URI to fetch the next page of Communication resources.", + "type": "string" } - }, - "CommunicationDetails": { - "x-ms-azure-resource": true, - "description": "Object that represents a Communication resource.", - "type": "object", + } + }, + "CommunicationDetails": { + "x-ms-azure-resource": true, + "description": "Object that represents a Communication resource.", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/communications'.", + "type": "string", + "readOnly": true + }, "properties": { - "id": { - "description": "Id of the resource.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Type of the resource 'Microsoft.Support/communications'.", - "type": "string", - "readOnly": true - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/CommunicationDetailsProperties", - "description": "Properties of the resource." - } + "x-ms-client-flatten": true, + "$ref": "#/definitions/CommunicationDetailsProperties", + "description": "Properties of the resource." } - }, - "CommunicationDetailsProperties": { - "description": "Describes the properties of a communication resource.", - "required": [ - "subject", - "body" - ], - "type": "object", - "properties": { - "communicationType": { - "description": "Communication type.", - "enum": [ - "web", - "phone" - ], - "type": "string", - "x-ms-enum": { - "name": "CommunicationType", - "modelAsString": true - }, - "readOnly": true - }, - "communicationDirection": { - "description": "Direction of communication.", - "enum": [ - "inbound", - "outbound" - ], - "type": "string", - "x-ms-enum": { - "name": "CommunicationDirection", - "modelAsString": true - }, - "readOnly": true - }, - "sender": { - "description": "Email address of the sender. This property is required if called by a service principal.", - "type": "string" - }, - "subject": { - "description": "Subject of the communication.", - "type": "string" - }, - "body": { - "description": "Body of the communication.", - "type": "string" - }, - "createdDate": { - "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when the communication was created.", - "type": "string", - "readOnly": true - } + } + }, + "CommunicationDetailsProperties": { + "description": "Describes the properties of a communication resource.", + "required": [ + "subject", + "body" + ], + "type": "object", + "properties": { + "communicationType": { + "description": "Communication type.", + "enum": [ + "web", + "phone" + ], + "type": "string", + "x-ms-enum": { + "name": "CommunicationType", + "modelAsString": true + }, + "readOnly": true + }, + "communicationDirection": { + "description": "Direction of communication.", + "enum": [ + "inbound", + "outbound" + ], + "type": "string", + "x-ms-enum": { + "name": "CommunicationDirection", + "modelAsString": true + }, + "readOnly": true + }, + "sender": { + "description": "Email address of the sender. This property is required if called by a service principal.", + "type": "string" + }, + "subject": { + "description": "Subject of the communication.", + "type": "string" + }, + "body": { + "description": "Body of the communication.", + "type": "string" + }, + "createdDate": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the communication was created.", + "type": "string", + "readOnly": true } - }, - "SupportTicketDetailsProperties": { - "description": "Describes the properties of a support ticket.", - "required": [ - "serviceId", - "title", - "description", - "problemClassificationId", - "severity", - "contactDetails" - ], - "type": "object", - "properties": { - "supportTicketId": { - "description": "System generated support ticket Id that is unique.", - "type": "string" - }, - "description": { - "description": "Detailed description of the question or issue.", - "type": "string" - }, - "problemClassificationId": { - "description": "Each Azure service has its own set of issue categories, also known as problem classification. This parameter is the unique Id for the type of problem you are experiencing.", - "type": "string" - }, - "problemClassificationDisplayName": { - "type": "string", - "description": "Localized name of problem classification.", - "readOnly": true - }, - "severity": { - "description": "A value that indicates the urgency of the case, which in turn determines the response time according to the service level agreement of the technical support plan you have with Azure. Note: 'Highest critical impact', also known as the 'Emergency - Severe impact' level in the Azure portal is reserved only for our Premium customers.", - "enum": [ - "minimal", - "moderate", - "critical", - "highestcriticalimpact" - ], - "type": "string", - "x-ms-enum": { - "name": "SeverityLevel", - "modelAsString": true - } - }, - "enrollmentId": { - "description": "Enrollment Id associated with the support ticket.", - "type": "string", - "readOnly": true - }, - "require24X7Response": { - "description": "Indicates if this requires a 24x7 response from Azure.", - "type": "boolean" - }, - "advancedDiagnosticConsent": { - "description": "Advanced diagnostic consent to be updated on the support ticket.", - "enum": [ - "Yes", - "No" - ], - "type": "string", - "x-ms-enum": { - "name": "Consent", - "modelAsString": true - } - }, - "contactDetails": { - "$ref": "#/definitions/ContactProfile", - "description": "Contact information of the user requesting to create a support ticket." - }, - "serviceLevelAgreement": { - "$ref": "#/definitions/ServiceLevelAgreement", - "description": "Service Level Agreement information for this support ticket." - }, - "supportEngineer": { - "$ref": "#/definitions/SupportEngineer", - "description": "Information about the support engineer working on this support ticket." - }, - "supportPlanType": { - "description": "Support plan type associated with the support ticket.", - "type": "string", - "readOnly": true - }, - "title": { - "description": "Title of the support ticket.", - "type": "string" - }, - "problemStartTime": { - "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when the problem started.", - "type": "string" - }, - "serviceId": { - "description": "This is the resource Id of the Azure service resource associated with the support ticket.", - "type": "string" - }, - "serviceDisplayName": { - "type": "string", - "description": "Localized name of the Azure service.", - "readOnly": true - }, - "status": { - "description": "Status of the support ticket.", - "type": "string", - "readOnly": true - }, - "createdDate": { - "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when the support ticket was created.", - "type": "string", - "readOnly": true - }, - "modifiedDate": { - "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when the support ticket was last modified.", - "type": "string", - "readOnly": true - }, - "fileWorkspaceName": { - "description": "File workspace name.", - "type": "string" - }, - "technicalTicketDetails": { - "$ref": "#/definitions/TechnicalTicketDetails", - "description": "Additional ticket details associated with a technical support ticket request." - }, - "quotaTicketDetails": { - "$ref": "#/definitions/QuotaTicketDetails", - "description": "Additional ticket details associated with a quota support ticket request." + } + }, + "SupportTicketDetailsProperties": { + "description": "Describes the properties of a support ticket.", + "required": [ + "serviceId", + "title", + "description", + "problemClassificationId", + "severity", + "contactDetails" + ], + "type": "object", + "properties": { + "supportTicketId": { + "description": "System generated support ticket Id that is unique.", + "type": "string" + }, + "description": { + "description": "Detailed description of the question or issue.", + "type": "string" + }, + "problemClassificationId": { + "description": "Each Azure service has its own set of issue categories, also known as problem classification. This parameter is the unique Id for the type of problem you are experiencing.", + "type": "string" + }, + "problemClassificationDisplayName": { + "type": "string", + "description": "Localized name of problem classification.", + "readOnly": true + }, + "severity": { + "description": "A value that indicates the urgency of the case, which in turn determines the response time according to the service level agreement of the technical support plan you have with Azure. Note: 'Highest critical impact', also known as the 'Emergency - Severe impact' level in the Azure portal is reserved only for our Premium customers.", + "enum": [ + "minimal", + "moderate", + "critical", + "highestcriticalimpact" + ], + "type": "string", + "x-ms-enum": { + "name": "SeverityLevel", + "modelAsString": true } - } - }, - "ServiceLevelAgreement": { - "description": "Service Level Agreement details for a support ticket.", - "type": "object", - "properties": { - "startTime": { - "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when the service level agreement starts.", - "type": "string", - "readOnly": true - }, - "expirationTime": { - "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when the service level agreement expires.", - "type": "string", - "readOnly": true - }, - "slaMinutes": { - "description": "Service Level Agreement in minutes.", - "type": "integer", - "format": "int32", - "readOnly": true + }, + "enrollmentId": { + "description": "Enrollment Id associated with the support ticket.", + "type": "string", + "readOnly": true + }, + "require24X7Response": { + "description": "Indicates if this requires a 24x7 response from Azure.", + "type": "boolean" + }, + "advancedDiagnosticConsent": { + "description": "Advanced diagnostic consent to be updated on the support ticket.", + "enum": [ + "Yes", + "No" + ], + "type": "string", + "x-ms-enum": { + "name": "Consent", + "modelAsString": true } + }, + "contactDetails": { + "$ref": "#/definitions/ContactProfile", + "description": "Contact information of the user requesting to create a support ticket." + }, + "serviceLevelAgreement": { + "$ref": "#/definitions/ServiceLevelAgreement", + "description": "Service Level Agreement information for this support ticket." + }, + "supportEngineer": { + "$ref": "#/definitions/SupportEngineer", + "description": "Information about the support engineer working on this support ticket." + }, + "supportPlanType": { + "description": "Support plan type associated with the support ticket.", + "type": "string", + "readOnly": true + }, + "supportPlanDisplayName ": { + "description": "Support plan type associated with the support ticket.", + "type": "string", + "readOnly": true + }, + "title": { + "description": "Title of the support ticket.", + "type": "string" + }, + "problemStartTime": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the problem started.", + "type": "string" + }, + "serviceId": { + "description": "This is the resource Id of the Azure service resource associated with the support ticket.", + "type": "string" + }, + "serviceDisplayName": { + "type": "string", + "description": "Localized name of the Azure service.", + "readOnly": true + }, + "status": { + "description": "Status of the support ticket.", + "type": "string", + "readOnly": true + }, + "createdDate": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the support ticket was created.", + "type": "string", + "readOnly": true + }, + "modifiedDate": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the support ticket was last modified.", + "type": "string", + "readOnly": true + }, + "fileWorkspaceName": { + "description": "File workspace name.", + "type": "string" + }, + "technicalTicketDetails": { + "$ref": "#/definitions/TechnicalTicketDetails", + "description": "Additional ticket details associated with a technical support ticket request." + }, + "quotaTicketDetails": { + "$ref": "#/definitions/QuotaTicketDetails", + "description": "Additional ticket details associated with a quota support ticket request." } - }, - "SupportEngineer": { - "description": "Support engineer information.", - "type": "object", - "properties": { - "emailAddress": { - "description": "Email address of the Azure Support engineer assigned to the support ticket.", - "type": "string", - "readOnly": true - } + } + }, + "ServiceLevelAgreement": { + "description": "Service Level Agreement details for a support ticket.", + "type": "object", + "properties": { + "startTime": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the service level agreement starts.", + "type": "string", + "readOnly": true + }, + "expirationTime": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the service level agreement expires.", + "type": "string", + "readOnly": true + }, + "slaMinutes": { + "description": "Service Level Agreement in minutes.", + "type": "integer", + "format": "int32", + "readOnly": true + } + } + }, + "SupportEngineer": { + "description": "Support engineer information.", + "type": "object", + "properties": { + "emailAddress": { + "description": "Email address of the Azure Support engineer assigned to the support ticket.", + "type": "string", + "readOnly": true + } + } + }, + "ExceptionResponse": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/ServiceError", + "description": "The API error details." } }, - "ExceptionResponse": { - "type": "object", - "properties": { - "error": { - "$ref": "#/definitions/ServiceError", - "description": "The API error details." - } + "description": "The API error." + }, + "ServiceError": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "The error code." }, - "description": "The API error." - }, - "ServiceError": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "The error code." - }, - "message": { - "type": "string", - "description": "The error message." - }, - "target": { - "type": "string", - "description": "The target of the error." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/ServiceErrorDetail" - }, - "x-ms-identifiers": [], - "description": "The list of error details.", - "readOnly": true - } + "message": { + "type": "string", + "description": "The error message." }, - "description": "The API error details." - }, - "ServiceErrorDetail": { - "type": "object", - "properties": { - "code": { - "type": "string", - "readOnly": true, - "description": "The error code." - }, - "message": { - "type": "string", - "readOnly": true, - "description": "The error message." - }, - "target": { - "type": "string", - "description": "The target of the error." - } + "target": { + "type": "string", + "description": "The target of the error." }, - "description": "The error details." - }, - "ContactProfile": { - "description": "Contact information associated with the support ticket.", - "required": [ - "firstName", - "lastName", - "preferredContactMethod", - "primaryEmailAddress", - "preferredTimeZone", - "country", - "preferredSupportLanguage" - ], - "type": "object", - "properties": { - "firstName": { - "description": "First name.", - "type": "string" - }, - "lastName": { - "description": "Last name.", - "type": "string" - }, - "preferredContactMethod": { - "description": "Preferred contact method.", - "enum": [ - "email", - "phone" - ], - "type": "string", - "x-ms-enum": { - "name": "PreferredContactMethod", - "modelAsString": true - } - }, - "primaryEmailAddress": { - "description": "Primary email address.", - "type": "string" - }, - "additionalEmailAddresses": { - "description": "Additional email addresses listed will be copied on any correspondence about the support ticket.", - "type": "array", - "items": { - "type": "string" - } - }, - "phoneNumber": { - "description": "Phone number. This is required if preferred contact method is phone.", - "type": "string" - }, - "preferredTimeZone": { - "description": "Time zone of the user. This is the name of the time zone from [Microsoft Time Zone Index Values](https://support.microsoft.com/help/973627/microsoft-time-zone-index-values).", - "type": "string" - }, - "country": { - "description": "Country of the user. This is the ISO 3166-1 alpha-3 code.", - "type": "string" + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceErrorDetail" }, - "preferredSupportLanguage": { - "description": "Preferred language of support from Azure. Support languages vary based on the severity you choose for your support ticket. Learn more at [Azure Severity and responsiveness](https://azure.microsoft.com/support/plans/response). Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German.", - "type": "string" - } + "x-ms-identifiers": [], + "description": "The list of error details.", + "readOnly": true } }, - "UpdateContactProfile": { - "description": "Contact information associated with the support ticket.", - "type": "object", - "properties": { - "firstName": { - "description": "First name.", - "type": "string" - }, - "lastName": { - "description": "Last name.", - "type": "string" - }, - "preferredContactMethod": { - "description": "Preferred contact method.", - "enum": [ - "email", - "phone" - ], - "type": "string", - "x-ms-enum": { - "name": "PreferredContactMethod", - "modelAsString": true - } - }, - "primaryEmailAddress": { - "description": "Primary email address.", - "type": "string" - }, - "additionalEmailAddresses": { - "description": "Email addresses listed will be copied on any correspondence about the support ticket.", - "type": "array", - "items": { - "type": "string" - } - }, - "phoneNumber": { - "description": "Phone number. This is required if preferred contact method is phone.", - "type": "string" - }, - "preferredTimeZone": { - "description": "Time zone of the user. This is the name of the time zone from [Microsoft Time Zone Index Values](https://support.microsoft.com/help/973627/microsoft-time-zone-index-values).", - "type": "string" - }, - "country": { - "description": "Country of the user. This is the ISO 3166-1 alpha-3 code.", - "type": "string" - }, - "preferredSupportLanguage": { - "description": "Preferred language of support from Azure. Support languages vary based on the severity you choose for your support ticket. Learn more at [Azure Severity and responsiveness](https://azure.microsoft.com/support/plans/response/). Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German.", - "type": "string" - } + "description": "The API error details." + }, + "ServiceErrorDetail": { + "type": "object", + "properties": { + "code": { + "type": "string", + "readOnly": true, + "description": "The error code." + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The error message." + }, + "target": { + "type": "string", + "description": "The target of the error." } }, - "TechnicalTicketDetails": { - "description": "Additional information for technical support ticket.", - "type": "object", - "properties": { - "resourceId": { - "description": "This is the resource Id of the Azure service resource (For example: A virtual machine resource or an HDInsight resource) for which the support ticket is created.", - "type": "string" + "description": "The error details." + }, + "ContactProfile": { + "description": "Contact information associated with the support ticket.", + "required": [ + "firstName", + "lastName", + "preferredContactMethod", + "primaryEmailAddress", + "preferredTimeZone", + "country", + "preferredSupportLanguage" + ], + "type": "object", + "properties": { + "firstName": { + "description": "First name.", + "type": "string" + }, + "lastName": { + "description": "Last name.", + "type": "string" + }, + "preferredContactMethod": { + "description": "Preferred contact method.", + "enum": [ + "email", + "phone" + ], + "type": "string", + "x-ms-enum": { + "name": "PreferredContactMethod", + "modelAsString": true } - } - }, - "QuotaTicketDetails": { - "description": "Additional set of information required for quota increase support ticket for certain quota types, e.g.: Virtual machine cores. Get complete details about Quota payload support request along with examples at [Support quota request](https://aka.ms/supportrpquotarequestpayload).", - "type": "object", - "properties": { - "quotaChangeRequestSubType": { - "description": "Required for certain quota types when there is a sub type, such as Batch, for which you are requesting a quota increase.", - "type": "string" - }, - "quotaChangeRequestVersion": { - "description": "Quota change request version.", + }, + "primaryEmailAddress": { + "description": "Primary email address.", + "type": "string" + }, + "additionalEmailAddresses": { + "description": "Additional email addresses listed will be copied on any correspondence about the support ticket.", + "type": "array", + "items": { "type": "string" - }, - "quotaChangeRequests": { - "description": "This property is required for providing the region and new quota limits.", - "type": "array", - "items": { - "$ref": "#/definitions/QuotaChangeRequest" - }, - "x-ms-identifiers": [ - "region" - ] } + }, + "phoneNumber": { + "description": "Phone number. This is required if preferred contact method is phone.", + "type": "string" + }, + "preferredTimeZone": { + "description": "Time zone of the user. This is the name of the time zone from [Microsoft Time Zone Index Values](https://support.microsoft.com/help/973627/microsoft-time-zone-index-values).", + "type": "string" + }, + "country": { + "description": "Country of the user. This is the ISO 3166-1 alpha-3 code.", + "type": "string" + }, + "preferredSupportLanguage": { + "description": "Preferred language of support from Azure. Support languages vary based on the severity you choose for your support ticket. Learn more at [Azure Severity and responsiveness](https://azure.microsoft.com/support/plans/response). Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German.", + "type": "string" } - }, - "QuotaChangeRequest": { - "description": "This property is required for providing the region and new quota limits.", - "type": "object", - "properties": { - "region": { - "description": "Region for which the quota increase request is being made.", - "type": "string" - }, - "payload": { - "description": "Payload of the quota increase request.", + } + }, + "UpdateContactProfile": { + "description": "Contact information associated with the support ticket.", + "type": "object", + "properties": { + "firstName": { + "description": "First name.", + "type": "string" + }, + "lastName": { + "description": "Last name.", + "type": "string" + }, + "preferredContactMethod": { + "description": "Preferred contact method.", + "enum": [ + "email", + "phone" + ], + "type": "string", + "x-ms-enum": { + "name": "PreferredContactMethod", + "modelAsString": true + } + }, + "primaryEmailAddress": { + "description": "Primary email address.", + "type": "string" + }, + "additionalEmailAddresses": { + "description": "Email addresses listed will be copied on any correspondence about the support ticket.", + "type": "array", + "items": { "type": "string" } + }, + "phoneNumber": { + "description": "Phone number. This is required if preferred contact method is phone.", + "type": "string" + }, + "preferredTimeZone": { + "description": "Time zone of the user. This is the name of the time zone from [Microsoft Time Zone Index Values](https://support.microsoft.com/help/973627/microsoft-time-zone-index-values).", + "type": "string" + }, + "country": { + "description": "Country of the user. This is the ISO 3166-1 alpha-3 code.", + "type": "string" + }, + "preferredSupportLanguage": { + "description": "Preferred language of support from Azure. Support languages vary based on the severity you choose for your support ticket. Learn more at [Azure Severity and responsiveness](https://azure.microsoft.com/support/plans/response/). Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German.", + "type": "string" } - }, - "UpdateSupportTicket": { - "description": "Updates severity, ticket status, and contact details in the support ticket.", - "type": "object", - "properties": { - "severity": { - "description": "Severity level.", - "enum": [ - "minimal", - "moderate", - "critical", - "highestcriticalimpact" - ], - "type": "string", - "x-ms-enum": { - "name": "SeverityLevel", - "modelAsString": true - } - }, - "status": { - "description": "Status to be updated on the ticket.", - "enum": [ - "open", - "closed" - ], - "type": "string", - "x-ms-enum": { - "name": "Status", - "modelAsString": true - } - }, - "contactDetails": { - "$ref": "#/definitions/UpdateContactProfile", - "description": "Contact details to be updated on the support ticket." - }, - "advancedDiagnosticConsent": { - "description": "Advanced diagnostic consent to be updated on the support ticket.", - "enum": [ - "Yes", - "No" - ], - "type": "string", - "x-ms-enum": { - "name": "Consent", - "modelAsString": true - } - } + } + }, + "TechnicalTicketDetails": { + "description": "Additional information for technical support ticket.", + "type": "object", + "properties": { + "resourceId": { + "description": "This is the resource Id of the Azure service resource (For example: A virtual machine resource or an HDInsight resource) for which the support ticket is created.", + "type": "string" } - }, - "ChatTranscriptsListResult": { - "description": "Collection of Chat Transcripts resources.", - "type": "object", - "properties": { - "value": { - "description": "List of Chat Transcripts resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ChatTranscriptDetails" - } + } + }, + "QuotaTicketDetails": { + "description": "Additional set of information required for quota increase support ticket for certain quota types, e.g.: Virtual machine cores. Get complete details about Quota payload support request along with examples at [Support quota request](https://aka.ms/supportrpquotarequestpayload).", + "type": "object", + "properties": { + "quotaChangeRequestSubType": { + "description": "Required for certain quota types when there is a sub type, such as Batch, for which you are requesting a quota increase.", + "type": "string" + }, + "quotaChangeRequestVersion": { + "description": "Quota change request version.", + "type": "string" + }, + "quotaChangeRequests": { + "description": "This property is required for providing the region and new quota limits.", + "type": "array", + "items": { + "$ref": "#/definitions/QuotaChangeRequest" }, - "nextLink": { - "description": "The URI to fetch the next page of Chat Transcripts resources.", - "type": "string" - } + "x-ms-identifiers": [ + "region" + ] } - }, - "ChatTranscriptDetails": { - "x-ms-azure-resource": true, - "description": "Object that represents a Chat Transcript resource.", - "type": "object", - "properties": { - "properties": { - "properties": { - "communications": { - "description": "List of chat transcript communication resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ChatTranscriptDetailsProperties" - }, - "x-ms-identifiers": [] - } - }, - "type": "object", - "description": "List of chat transcript communication resources." + } + }, + "QuotaChangeRequest": { + "description": "This property is required for providing the region and new quota limits.", + "type": "object", + "properties": { + "region": { + "description": "Region for which the quota increase request is being made.", + "type": "string" + }, + "payload": { + "description": "Payload of the quota increase request.", + "type": "string" + } + } + }, + "UpdateSupportTicket": { + "description": "Updates severity, ticket status, and contact details in the support ticket.", + "type": "object", + "properties": { + "severity": { + "description": "Severity level.", + "enum": [ + "minimal", + "moderate", + "critical", + "highestcriticalimpact" + ], + "type": "string", + "x-ms-enum": { + "name": "SeverityLevel", + "modelAsString": true } }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "status": { + "description": "Status to be updated on the ticket.", + "enum": [ + "open", + "closed" + ], + "type": "string", + "x-ms-enum": { + "name": "Status", + "modelAsString": true } - ] - }, - "ChatTranscriptDetailsProperties": { - "description": "Describes the properties of a Chat Transcript Details resource.", - "required": [ - "body" - ], - "type": "object", - "properties": { - "communicationType": { - "description": "Communication type.", - "enum": [ - "web" - ], - "type": "string", - "x-ms-enum": { - "name": "TranscriptCommunicationType", - "modelAsString": true - }, - "readOnly": true - }, - "communicationDirection": { - "description": "Direction of communication.", - "enum": [ - "inbound", - "outbound" - ], - "type": "string", - "x-ms-enum": { - "name": "CommunicationDirection", - "modelAsString": true - }, - "readOnly": true - }, - "sender": { - "description": "Name of the sender.", - "type": "string" - }, - "body": { - "description": "Body of the communication.", - "type": "string" - }, - "createdDate": { - "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when the communication was created.", - "type": "string", - "readOnly": true + }, + "contactDetails": { + "$ref": "#/definitions/UpdateContactProfile", + "description": "Contact details to be updated on the support ticket." + }, + "advancedDiagnosticConsent": { + "description": "Advanced diagnostic consent to be updated on the support ticket.", + "enum": [ + "Yes", + "No" + ], + "type": "string", + "x-ms-enum": { + "name": "Consent", + "modelAsString": true } } - }, - "FileWorkspaceDetails": { - "x-ms-azure-resource": true, - "description": "Object that represents FileWorkspaceDetails resource", - "type": "object", - "properties": { - "id": { - "description": "Id of the resource", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Name of the resource", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Type of the resource 'Microsoft.Support/fileWorkspaces'", - "type": "string", - "readOnly": true - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/FileWorkspaceDetailsProperties", - "description": "Properties of the resource" + } + }, + "ChatTranscriptsListResult": { + "description": "Collection of Chat Transcripts resources.", + "type": "object", + "properties": { + "value": { + "description": "List of Chat Transcripts resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ChatTranscriptDetails" } + }, + "nextLink": { + "description": "The URI to fetch the next page of Chat Transcripts resources.", + "type": "string" } - }, - "FileWorkspaceDetailsProperties": { - "description": "Describes the properties of a file workspace.", - "required": [ - ], - "type": "object", + } + }, + "ChatTranscriptDetails": { + "x-ms-azure-resource": true, + "description": "Object that represents a Chat Transcript resource.", + "type": "object", + "properties": { "properties": { - "createdOn": { - "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when file workspace was created.", - "type": "string", - "readOnly": true + "properties": { + "communications": { + "description": "List of chat transcript communication resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ChatTranscriptDetailsProperties" + }, + "x-ms-identifiers": [] + } }, - "expirationTime": { - "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when file workspace is going to expire.", - "type": "string", - "readOnly": true - } + "type": "object", + "description": "List of chat transcript communication resources." } }, - "FileDetails": { - "x-ms-azure-resource": true, - "description": "Object that represents File Details resource", - "type": "object", - "properties": { - "id": { - "description": "Id of the resource", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Name of the resource", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Type of the resource 'Microsoft.Support/files'", - "type": "string", - "readOnly": true - } + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } - }, - "FilesListResult": { - "description": "Object that represents a collection of File resources.", - "type": "object", - "properties": { - "value": { - "description": "List of File resources.", - "type": "array", - "items": { - "$ref": "#/definitions/FileDetails" - } - }, - "nextLink": { - "description": "The URI to fetch the next page of File resources.", - "type": "string" - } + ] + }, + "ChatTranscriptDetailsProperties": { + "description": "Describes the properties of a Chat Transcript Details resource.", + "required": [ + "body" + ], + "type": "object", + "properties": { + "communicationType": { + "description": "Communication type.", + "enum": [ + "web" + ], + "type": "string", + "x-ms-enum": { + "name": "TranscriptCommunicationType", + "modelAsString": true + }, + "readOnly": true + }, + "communicationDirection": { + "description": "Direction of communication.", + "enum": [ + "inbound", + "outbound" + ], + "type": "string", + "x-ms-enum": { + "name": "CommunicationDirection", + "modelAsString": true + }, + "readOnly": true + }, + "sender": { + "description": "Name of the sender.", + "type": "string" + }, + "body": { + "description": "Body of the communication.", + "type": "string" + }, + "createdDate": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the communication was created.", + "type": "string", + "readOnly": true } - }, - "UploadFile": { - "description": "Contact information associated with the support ticket.", - "type": "object", + } + }, + "FileWorkspaceDetails": { + "x-ms-azure-resource": true, + "description": "Object that represents FileWorkspaceDetails resource", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/fileWorkspaces'", + "type": "string", + "readOnly": true + }, "properties": { - "fileContent": { - "description": "File Content in base64 encoded format", - "type": "string" + "x-ms-client-flatten": true, + "$ref": "#/definitions/FileWorkspaceDetailsProperties", + "description": "Properties of the resource" + } + } + }, + "FileWorkspaceDetailsProperties": { + "description": "Describes the properties of a file workspace.", + "required": [ + ], + "type": "object", + "properties": { + "createdOn": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when file workspace was created.", + "type": "string", + "readOnly": true + }, + "expirationTime": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when file workspace is going to expire.", + "type": "string", + "readOnly": true + } + } + }, + "FileDetails": { + "x-ms-azure-resource": true, + "description": "Object that represents File Details resource", + "type": "object", + "properties": { + "id": { + "description": "Id of the resource", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource 'Microsoft.Support/files'", + "type": "string", + "readOnly": true + }, + "createdOn": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when file workspace was created.", + "type": "string", + "readOnly": true + }, + "chunkSize": { + "description": "Size of each chunk", + "type": "string", + "readOnly": true + }, + "fileSize": { + "description": "Size of the file to be uploaded", + "type": "string", + "readOnly": true + }, + "numberOfChunks": { + "description": "Size of the file to be uploaded", + "type": "string", + "readOnly": true + } + } + }, + "FilesListResult": { + "description": "Object that represents a collection of File resources.", + "type": "object", + "properties": { + "value": { + "description": "List of File resources.", + "type": "array", + "items": { + "$ref": "#/definitions/FileDetails" } + }, + "nextLink": { + "description": "The URI to fetch the next page of File resources.", + "type": "string" + } + } + }, + "UploadFile": { + "description": "File content associated with the file under a workspace.", + "type": "object", + "properties": { + "content": { + "description": "File Content in base64 encoded format", + "type": "string" + }, + "chunkIndex": { + "description": "Index of the uploaded chunk (Index starts at 0)", + "type": "string", + "readOnly": true } } }, + "CreateFile": { + "description": "File body associated with a workspace.", + "type": "object", + "properties": { + "chunkSize": { + "description": "Size of each chunk", + "type": "string", + "readOnly": true + }, + "fileSize": { + "description": "Size of the file to be uploaded", + "type": "string", + "readOnly": true + }, + "numberOfChunks": { + "description": "Size of the file to be uploaded", + "type": "string", + "readOnly": true + } + } + } + }, "parameters": { "SubscriptionIdParameter": { "name": "subscriptionId", From d4235d2a097a5dfc2b598a8c21bcd132cdd2756a Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Wed, 26 Jul 2023 17:16:23 -0700 Subject: [PATCH 23/58] Fixed duplicate operation Ids --- .../preview/2022-09-01-preview/support.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 52be2a62aa77..be0e15a54029 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -1605,7 +1605,7 @@ "FileWorkspaces" ], "description": "Creates a new file workspace.", - "operationId": "FileWorkspaces_Create", + "operationId": "FileWorkspacesNoSubscription_Create", "parameters": [ { "name": "fileWorkspaceName", @@ -1691,7 +1691,7 @@ "Files" ], "description": "Lists all the Files information under a worksapce for an Azure subscription.", - "operationId": "Files_List", + "operationId": "FilesNoSubscription_List", "parameters": [ { "name": "fileWorkspaceName", @@ -1832,7 +1832,7 @@ "Files" ], "description": "Returns details of a specific file in a work space.", - "operationId": "Files_Get", + "operationId": "FilesNoSubscription_Get", "parameters": [ { "name": "fileWorkspaceName", @@ -1877,7 +1877,7 @@ "Files" ], "description": "Creates a new file under a workspace.", - "operationId": "Files_Create", + "operationId": "FilesNoSubscription_Create", "parameters": [ { "name": "fileWorkspaceName", @@ -1992,7 +1992,7 @@ "Files" ], "description": "This API allows you to upload content to a file", - "operationId": "Files_Upload", + "operationId": "FilesNoSubscription_Upload", "parameters": [ { "name": "fileWorkspaceName", From cefa9d98bec1bf2f35908294b66da231dd8036ac Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Tue, 1 Aug 2023 15:40:50 -0700 Subject: [PATCH 24/58] Fixing intendation --- .../Microsoft.Support/preview/2022-09-01-preview/support.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index be0e15a54029..a45229af5579 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -3062,7 +3062,7 @@ } } }, - "parameters": { + "parameters": { "SubscriptionIdParameter": { "name": "subscriptionId", "in": "path", @@ -3078,4 +3078,4 @@ "description": "API version." } } - } +} From 342c348d40c59b8d4105d9e9623d875ac8737a18 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Mon, 7 Aug 2023 18:33:26 -0700 Subject: [PATCH 25/58] Addressed all the errors by adding suppression rules and fixing the errors --- .../preview/2022-09-01-preview/support.json | 135 +++++------------- .../support/resource-manager/readme.md | 14 ++ 2 files changed, 53 insertions(+), 96 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index a45229af5579..5b52fd358bc1 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -56,7 +56,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -92,7 +92,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -135,7 +135,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -175,7 +175,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -225,7 +225,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -275,7 +275,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -317,7 +317,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -363,7 +363,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -432,7 +432,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -496,7 +496,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -546,7 +546,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -608,7 +608,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -700,7 +700,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -747,7 +747,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -811,7 +811,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -878,7 +878,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -927,7 +927,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -980,7 +980,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1044,7 +1044,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1103,7 +1103,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1163,7 +1163,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1214,7 +1214,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1276,7 +1276,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1323,7 +1323,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1366,7 +1366,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1419,7 +1419,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1466,7 +1466,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1509,7 +1509,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1550,7 +1550,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1590,7 +1590,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1628,7 +1628,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1671,7 +1671,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1714,7 +1714,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1767,7 +1767,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1815,7 +1815,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1862,7 +1862,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1916,7 +1916,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1975,7 +1975,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2031,7 +2031,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ExceptionResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2559,63 +2559,6 @@ } } }, - "ExceptionResponse": { - "type": "object", - "properties": { - "error": { - "$ref": "#/definitions/ServiceError", - "description": "The API error details." - } - }, - "description": "The API error." - }, - "ServiceError": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "The error code." - }, - "message": { - "type": "string", - "description": "The error message." - }, - "target": { - "type": "string", - "description": "The target of the error." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/ServiceErrorDetail" - }, - "x-ms-identifiers": [], - "description": "The list of error details.", - "readOnly": true - } - }, - "description": "The API error details." - }, - "ServiceErrorDetail": { - "type": "object", - "properties": { - "code": { - "type": "string", - "readOnly": true, - "description": "The error code." - }, - "message": { - "type": "string", - "readOnly": true, - "description": "The error message." - }, - "target": { - "type": "string", - "description": "The target of the error." - } - }, - "description": "The error details." - }, "ContactProfile": { "description": "Contact information associated with the support ticket.", "required": [ diff --git a/specification/support/resource-manager/readme.md b/specification/support/resource-manager/readme.md index 329bbe1d0a55..43244a7fcfc5 100644 --- a/specification/support/resource-manager/readme.md +++ b/specification/support/resource-manager/readme.md @@ -37,6 +37,20 @@ These settings apply only when `--tag=package-preview-2022-09` is specified on t ```yaml $(tag) == 'package-preview-2022-09' input-file: - Microsoft.Support/preview/2022-09-01-preview/support.json + suppressions: + - code: RPC-Put-V1-01 + from: Microsoft.Support/preview/2022-09-01-preview/support.json + reason: Rule: "The path for 'put' operation must be under a subscription and resource group." Justification: Suppressing this rule since path for support ticket resource doesn't contain resource group + - code: RPC-Uri-V1-05 + from: Microsoft.Support/preview/2022-09-01-preview/support.json + reason: Rule: "The resource name parameter 'supportTicketName' should be defined with a 'pattern' restriction." Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it. + - code: RPC-Put-V1-11 + from: Microsoft.Support/preview/2022-09-01-preview/support.json + reason: Rule: "Any Put MUST contain 200 and 201 return codes." Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it. + - code: RPC-Patch-V1-03 + from: Microsoft.Support/preview/2022-09-01-preview/support.json + reason: Rule: "The property '{propertyName}' in the request body either not apppear in the resource model or has the wrong level." Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it. + ``` ### Tag: package-preview-2021-06 From b563354196c769000b5983916210751939c45794 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Wed, 9 Aug 2023 14:39:46 -0700 Subject: [PATCH 26/58] Changes for addressing PR comments --- .../preview/2022-09-01-preview/support.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 5b52fd358bc1..ca5f66bd96ef 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -1531,7 +1531,8 @@ "in": "path", "description": "File workspace name.", "required": true, - "type": "string" + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" }, { "$ref": "#/parameters/SubscriptionIdParameter" @@ -1612,7 +1613,8 @@ "in": "path", "description": "File workspace name.", "required": true, - "type": "string" + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" }, { "$ref": "#/parameters/ApiVersionParameter" @@ -1789,7 +1791,8 @@ "in": "path", "description": "File workspace name.", "required": true, - "type": "string" + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" }, { "name": "fileName", @@ -1884,7 +1887,8 @@ "in": "path", "description": "File workspace name.", "required": true, - "type": "string" + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" }, { "name": "fileName", From 8f7aa935202402842f530fdd29ade4167d6a4e50 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Mon, 14 Aug 2023 19:17:22 -0700 Subject: [PATCH 27/58] Minor changes --- .../preview/2022-09-01-preview/support.json | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index ca5f66bd96ef..312f32f0c433 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -1801,6 +1801,15 @@ "required": true, "type": "string" }, + { + "name": "createFile", + "in": "body", + "description": "Create file object", + "required": true, + "schema": { + "$ref": "#/definitions/CreateFile" + } + }, { "$ref": "#/parameters/SubscriptionIdParameter" }, @@ -1984,7 +1993,7 @@ } }, "x-ms-examples": { - "UpdateSupportTicketForSubscription": { + "UploadFileForSubscription": { "$ref": "./examples/UploadFileForSubscription.json" } } @@ -2040,7 +2049,7 @@ } }, "x-ms-examples": { - "UpdateSupportTicketForSubscription": { + "UploadFile": { "$ref": "./examples/UploadFile.json" } } From 6132126c7b6c7615baccdc71e65537c929300798 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Thu, 17 Aug 2023 10:43:04 -0700 Subject: [PATCH 28/58] Addressed comments --- specification/support/resource-manager/readme.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/support/resource-manager/readme.md b/specification/support/resource-manager/readme.md index 43244a7fcfc5..aa3a9ed2d872 100644 --- a/specification/support/resource-manager/readme.md +++ b/specification/support/resource-manager/readme.md @@ -37,17 +37,17 @@ These settings apply only when `--tag=package-preview-2022-09` is specified on t ```yaml $(tag) == 'package-preview-2022-09' input-file: - Microsoft.Support/preview/2022-09-01-preview/support.json - suppressions: +suppressions: - code: RPC-Put-V1-01 from: Microsoft.Support/preview/2022-09-01-preview/support.json reason: Rule: "The path for 'put' operation must be under a subscription and resource group." Justification: Suppressing this rule since path for support ticket resource doesn't contain resource group - - code: RPC-Uri-V1-05 + - code: RPC-Uri-V1-05 from: Microsoft.Support/preview/2022-09-01-preview/support.json reason: Rule: "The resource name parameter 'supportTicketName' should be defined with a 'pattern' restriction." Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it. - - code: RPC-Put-V1-11 + - code: RPC-Put-V1-11 from: Microsoft.Support/preview/2022-09-01-preview/support.json reason: Rule: "Any Put MUST contain 200 and 201 return codes." Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it. - - code: RPC-Patch-V1-03 + - code: RPC-Patch-V1-03 from: Microsoft.Support/preview/2022-09-01-preview/support.json reason: Rule: "The property '{propertyName}' in the request body either not apppear in the resource model or has the wrong level." Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it. From dd2cad4a9263c83712b82a8aacdf6a30bc643f5e Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Thu, 17 Aug 2023 10:46:58 -0700 Subject: [PATCH 29/58] Minor change --- specification/support/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/support/resource-manager/readme.md b/specification/support/resource-manager/readme.md index aa3a9ed2d872..01702b14cf4c 100644 --- a/specification/support/resource-manager/readme.md +++ b/specification/support/resource-manager/readme.md @@ -50,7 +50,7 @@ suppressions: - code: RPC-Patch-V1-03 from: Microsoft.Support/preview/2022-09-01-preview/support.json reason: Rule: "The property '{propertyName}' in the request body either not apppear in the resource model or has the wrong level." Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it. - + ``` ### Tag: package-preview-2021-06 From a2135f2eb6a0b39650bbe41030c2a16df71da69a Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Thu, 17 Aug 2023 11:02:24 -0700 Subject: [PATCH 30/58] Fixed minor typo comments --- .../Microsoft.Support/preview/2022-09-01-preview/support.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 312f32f0c433..824cc9430a7e 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -1646,7 +1646,7 @@ "tags": [ "Files" ], - "description": "Lists all the Files information under a worksapce for an Azure subscription.", + "description": "Lists all the Files information under a workspace for an Azure subscription.", "operationId": "Files_List", "parameters": [ { @@ -1692,7 +1692,7 @@ "tags": [ "Files" ], - "description": "Lists all the Files information under a worksapce for an Azure subscription.", + "description": "Lists all the Files information under a workspace for an Azure subscription.", "operationId": "FilesNoSubscription_List", "parameters": [ { From e7553fb1b08c92947f49a3afb1d975089a9c935a Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Thu, 17 Aug 2023 19:40:55 -0700 Subject: [PATCH 31/58] Minor fix --- .../examples/ListFilesUnderFileWorkspace.json | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesUnderFileWorkspace.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesUnderFileWorkspace.json index 57c5cab2728d..543dd6937a3c 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesUnderFileWorkspace.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesUnderFileWorkspace.json @@ -16,17 +16,17 @@ "chunkSize": "41423", "fileSize": "41423", "numberOfChunks": "1" - }, - { - "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test2.txt", - "name": "test2.txt", - "type": "Microsoft.Support/files", - "properties": { - "createdOn": "2022-08-24T20:18:19Z", - "chunkSize": "41423", - "fileSize": "41423", - "numberOfChunks": "1" - } + } + }, + { + "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test1.txt", + "name": "test1.txt", + "type": "Microsoft.Support/files", + "properties": { + "createdOn": "2022-08-24T20:18:19Z", + "chunkSize": "41423", + "fileSize": "41423", + "numberOfChunks": "1" } } ] From c170710f018da5cea1dd3c02dc713c79bb8f6381 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Thu, 17 Aug 2023 20:48:56 -0700 Subject: [PATCH 32/58] Fixed prettier checks --- .../examples/CreateFile.json | 2 +- .../CreateFileWorkspaceForSubscription.json | 1 - ...ilesForSubscriptionUnderFileWorkspace.json | 22 +++++++++---------- .../examples/ListSupportTickets.json | 1 - .../examples/UploadFile.json | 5 ++--- .../examples/UploadFileForSubscription.json | 3 +-- .../preview/2022-09-01-preview/support.json | 15 ++++++------- 7 files changed, 22 insertions(+), 27 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json index 257f62edca89..11adc5fcb0ee 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json @@ -10,7 +10,7 @@ "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt", "name": "test.txt", "type": "Microsoft.Support/files", - "properties": { + "properties": { "createdOn": "2022-08-24T20:18:19Z", "chunkSize": "41423", "fileSize": "41423", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileWorkspaceForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileWorkspaceForSubscription.json index 8ae8c71b9174..e38295189d4b 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileWorkspaceForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileWorkspaceForSubscription.json @@ -18,4 +18,3 @@ } } } - diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesForSubscriptionUnderFileWorkspace.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesForSubscriptionUnderFileWorkspace.json index 44e7d40215de..8162ee095575 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesForSubscriptionUnderFileWorkspace.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesForSubscriptionUnderFileWorkspace.json @@ -17,17 +17,17 @@ "chunkSize": "41423", "fileSize": "41423", "numberOfChunks": "1" - }, - { - "id": "/subscriptions/subid/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test2.txt", - "name": "test2.txt", - "type": "Microsoft.Support/files", - "properties": { - "createdOn": "2022-08-24T20:18:19Z", - "chunkSize": "41423", - "fileSize": "41423", - "numberOfChunks": "1" - } + } + }, + { + "id": "/subscriptions/subid/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test2.txt", + "name": "test2.txt", + "type": "Microsoft.Support/files", + "properties": { + "createdOn": "2022-08-24T20:18:19Z", + "chunkSize": "41423", + "fileSize": "41423", + "numberOfChunks": "1" } } ] diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json index 985cfc9570cb..d6773a552780 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json @@ -35,7 +35,6 @@ "emailAddress": "xyz@contoso.com" }, "supportPlanType": "Premier", - "title": "my title", "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceDisplayName": "Virtual Machine running Linux", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json index e1852ce0a4c3..c577a2630ff0 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json @@ -6,11 +6,10 @@ "api-version": "2022-09-01-preview", "UploadFile": { "content": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd", - "chunkIndex": "0" + "chunkIndex": "0" } }, "responses": { - "200": { - } + "200": {} } } diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json index 0ec98ed9c93c..54f7fc867164 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json @@ -10,7 +10,6 @@ } }, "responses": { - "200": { - } + "200": {} } } diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index fdfc880c16ef..6c7cf3c77ac1 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -1766,7 +1766,7 @@ }, { "$ref": "#/parameters/ApiVersionParameter" - } + } ], "responses": { "200": { @@ -1774,7 +1774,7 @@ "schema": { "$ref": "#/definitions/FileDetails" } - }, + }, "default": { "description": "Error response describing why the operation failed.", "schema": { @@ -1892,7 +1892,7 @@ "$ref": "./examples/GetFileDetails.json" } } - }, + }, "put": { "tags": [ "Files" @@ -2064,7 +2064,7 @@ } } } - }, + }, "definitions": { "OperationsListResult": { "description": "The list of operations supported by Microsoft Support resource provider.", @@ -2974,8 +2974,7 @@ }, "FileWorkspaceDetailsProperties": { "description": "Describes the properties of a file workspace.", - "required": [ - ], + "required": [], "type": "object", "properties": { "createdOn": { @@ -3095,14 +3094,14 @@ "in": "path", "required": true, "type": "string", - "description": "Azure subscription Id." + "description": "Azure subscription Id." }, "ApiVersionParameter": { "name": "api-version", "in": "query", "required": true, "type": "string", - "description": "API version." + "description": "API version." } } } From 62761d77a0c17dc7353ade52020c18204d410151 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Fri, 18 Aug 2023 14:27:15 -0700 Subject: [PATCH 33/58] Changes as per checks --- .../ListSupportTicketsNoSubscription.json | 83 ------------------- .../ListSupportTicketsServiceIdEqualsFor.json | 79 ------------------ .../UpdateSupportTicketForSubscription.json | 63 -------------- .../preview/2022-09-01-preview/support.json | 13 ++- 4 files changed, 6 insertions(+), 232 deletions(-) delete mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsNoSubscription.json delete mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsFor.json delete mode 100644 specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSupportTicketForSubscription.json diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsNoSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsNoSubscription.json deleted file mode 100644 index d19cc26f365a..000000000000 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsNoSubscription.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "parameters": { - "api-version": "2022-09-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/providers/Microsoft.Support/supportTickets/testticket", - "name": "testticket", - "type": "Microsoft.Support/supportTickets", - "properties": { - "supportTicketId": "119120321001170", - "description": "my description", - "problemClassificationId": "/providers/Microsoft.Support/services/microsoft_azure_information_protection/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" - }, - "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/microsoft_azure_information_protection", - "serviceDisplayName": "Virtual Machine running Linux", - "status": "Open", - "createdDate": "2018-03-20T21:36:18Z", - "modifiedDate": "2018-03-20T21:36:23Z" - } - }, - { - "id": "/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/microsoft_azure_information_protection/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/microsoft_azure_information_protection", - "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/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsFor.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsFor.json deleted file mode 100644 index d79a405ca9fe..000000000000 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsFor.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "parameters": { - "$filter": "ServiceId eq 'vm_windows_service_guid'", - "api-version": "2022-09-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/providers/Microsoft.Support/supportTickets", - "name": "testticket1", - "type": "Microsoft.Support/supportTickets", - "properties": { - "supportTicketId": "2205040010000082", - "description": "my description", - "problemClassificationId": "/providers/Microsoft.Support/services/vm_windows_service_guid/problemClassifications/problemClassification_guid", - "problemClassificationDisplayName": "problemClassification_displayName", - "severity": "minimal", - "require24X7Response": false, - "enrollmentId": "", - "contactDetails": { - "firstName": "abc", - "lastName": "xyz", - "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", - "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" - }, - "supportEngineer": { - "emailAddress": "xyz@contoso.com" - }, - "supportPlanType": "Premier", - "title": "my title", - "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", - "serviceDisplayName": "Virtual Machine running Windows", - "status": "Open", - "createdDate": "2022-05-04T21:52:10Z", - "modifiedDate": "2022-05-12T23:05:19Z" - } - }, - { - "id": "/providers/Microsoft.Support/supportTickets", - "name": "testticket2", - "type": "Microsoft.Support/supportTickets", - "properties": { - "supportTicketId": "2205040010000080", - "description": "This is a test - please ignore", - "problemClassificationId": "/providers/Microsoft.Support/services/vm_windows_service_guid/problemClassifications/problemClassification_guid", - "problemClassificationDisplayName": "problemClassification_displayName", - "severity": "minimal", - "require24X7Response": false, - "contactDetails": { - "firstName": "abc", - "lastName": "xyz", - "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", - "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" - }, - "supportEngineer": { - "emailAddress": "xyz@contoso.com" - }, - "supportPlanType": "Premier", - "title": "Test - please ignore", - "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", - "serviceDisplayName": "Virtual Machine running Windows", - "status": "Open", - "createdDate": "2022-05-04T21:38:42Z", - "modifiedDate": "2022-05-04T21:39:14Z" - } - } - ] - } - } - } -} diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSupportTicketForSubscription.json deleted file mode 100644 index 651c6ba24863..000000000000 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSupportTicketForSubscription.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "supportTicketName": "testticket", - "api-version": "2022-09-01-preview", - "updateSupportTicket": { - "severity": "critical", - "contactDetails": { - "firstName": "first name", - "lastName": "last name", - "preferredContactMethod": "email", - "primaryEmailAddress": "test.name@contoso.com", - "additionalEmailAddresses": [ - "tname@contoso.com", - "teamtest@contoso.com" - ], - "phoneNumber": "123-456-7890", - "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" - } - } - }, - "responses": { - "200": { - "body": { - "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/subscription_management_service_guid/problemClassifications/problemClassification_guid", - "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", - "severity": "critical", - "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/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 6c7cf3c77ac1..c3e4dfde75bd 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -1766,7 +1766,7 @@ }, { "$ref": "#/parameters/ApiVersionParameter" - } + } ], "responses": { "200": { @@ -1774,7 +1774,7 @@ "schema": { "$ref": "#/definitions/FileDetails" } - }, + }, "default": { "description": "Error response describing why the operation failed.", "schema": { @@ -1892,7 +1892,7 @@ "$ref": "./examples/GetFileDetails.json" } } - }, + }, "put": { "tags": [ "Files" @@ -2064,7 +2064,7 @@ } } } - }, + }, "definitions": { "OperationsListResult": { "description": "The list of operations supported by Microsoft Support resource provider.", @@ -2974,7 +2974,6 @@ }, "FileWorkspaceDetailsProperties": { "description": "Describes the properties of a file workspace.", - "required": [], "type": "object", "properties": { "createdOn": { @@ -3094,14 +3093,14 @@ "in": "path", "required": true, "type": "string", - "description": "Azure subscription Id." + "description": "Azure subscription Id." }, "ApiVersionParameter": { "name": "api-version", "in": "query", "required": true, "type": "string", - "description": "API version." + "description": "API version." } } } From 9c48d32a580ad67080a5f2f91e1661236e5f6f34 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Fri, 18 Aug 2023 16:47:18 -0700 Subject: [PATCH 34/58] Fixed PR comments --- .../preview/2022-09-01-preview/support.json | 61 +------------------ 1 file changed, 2 insertions(+), 59 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index c3e4dfde75bd..4c47e419584e 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -2586,63 +2586,6 @@ } } }, - "ExceptionResponse": { - "type": "object", - "properties": { - "error": { - "$ref": "#/definitions/ServiceError", - "description": "The api error details." - } - }, - "description": "The api error." - }, - "ServiceError": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "The error code." - }, - "message": { - "type": "string", - "description": "The error message." - }, - "target": { - "type": "string", - "description": "The target of the error." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/ServiceErrorDetail" - }, - "x-ms-identifiers": [], - "description": "The list of error details.", - "readOnly": true - } - }, - "description": "The api error details." - }, - "ServiceErrorDetail": { - "type": "object", - "properties": { - "code": { - "type": "string", - "readOnly": true, - "description": "The error code." - }, - "message": { - "type": "string", - "readOnly": true, - "description": "The error message." - }, - "target": { - "type": "string", - "description": "The target of the error." - } - }, - "description": "The error details." - }, "ContactProfile": { "description": "Contact information associated with the support ticket.", "required": [ @@ -3093,14 +3036,14 @@ "in": "path", "required": true, "type": "string", - "description": "Azure subscription Id." + "description": "Azure subscription Id." }, "ApiVersionParameter": { "name": "api-version", "in": "query", "required": true, "type": "string", - "description": "API version." + "description": "API version." } } } From 99fa6aad83e4fa81670e2b0c3d99982a23b65b5b Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Fri, 18 Aug 2023 16:53:18 -0700 Subject: [PATCH 35/58] Minor change and prettier check updates --- .../preview/2022-09-01-preview/support.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 4c47e419584e..981cc79ec473 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -1766,7 +1766,7 @@ }, { "$ref": "#/parameters/ApiVersionParameter" - } + } ], "responses": { "200": { @@ -1774,7 +1774,7 @@ "schema": { "$ref": "#/definitions/FileDetails" } - }, + }, "default": { "description": "Error response describing why the operation failed.", "schema": { @@ -1892,7 +1892,7 @@ "$ref": "./examples/GetFileDetails.json" } } - }, + }, "put": { "tags": [ "Files" @@ -2064,7 +2064,7 @@ } } } - }, + }, "definitions": { "OperationsListResult": { "description": "The list of operations supported by Microsoft Support resource provider.", @@ -2497,7 +2497,7 @@ "type": "string", "readOnly": true }, - "supportPlanDisplayName ": { + "supportPlanDisplayName": { "description": "Support plan type associated with the support ticket.", "type": "string", "readOnly": true From 00d8014f131280356cb65ea4749f40c0e0f6e91f Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Fri, 18 Aug 2023 17:25:53 -0700 Subject: [PATCH 36/58] More cahges to address the errors from checks --- .../examples/CreateFile.json | 9 ++++++- .../examples/CreateFileForSubscription.json | 9 ++++++- .../examples/UploadFile.json | 8 +++--- .../examples/UploadFileForSubscription.json | 8 +++--- .../preview/2022-09-01-preview/support.json | 25 +++++++++---------- 5 files changed, 38 insertions(+), 21 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json index 11adc5fcb0ee..9241ee54e4f3 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json @@ -2,7 +2,14 @@ "parameters": { "fileWorkspaceName": "testworkspace", "fileName": "test.txt", - "api-version": "2022-09-01-preview" + "api-version": "2022-09-01-preview", + "createFile": { + "properties": { + "chunkSize": "41423", + "fileSize": "41423", + "numberOfChunks": "1" + } + } }, "responses": { "201": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileForSubscription.json index 2f25b9aa811a..9865e152c6f5 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileForSubscription.json @@ -2,7 +2,14 @@ "parameters": { "fileWorkspaceName": "testworkspace", "fileName": "test.txt", - "api-version": "2022-09-01-preview" + "api-version": "2022-09-01-preview", + "createFile": { + "properties": { + "chunkSize": "41423", + "fileSize": "41423", + "numberOfChunks": "1" + } + } }, "responses": { "201": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json index c577a2630ff0..c2ad356e4f0d 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json @@ -4,9 +4,11 @@ "fileWorkspaceName": "testworkspaceName", "fileName": "test.txt", "api-version": "2022-09-01-preview", - "UploadFile": { - "content": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd", - "chunkIndex": "0" + "uploadFile": { + "properties": { + "content": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd", + "chunkIndex": "0" + } } }, "responses": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json index 54f7fc867164..dac74412e0a7 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json @@ -4,9 +4,11 @@ "fileWorkspaceName": "testworkspaceName", "fileName": "test.txt", "api-version": "2022-09-01-preview", - "UploadFile": { - "fileContent": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd", - "chunkIndex": "0" + "uploadFile": { + "properties": { + "fileContent": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd", + "chunkIndex": "0" + } } }, "responses": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 981cc79ec473..b875124b84d6 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -733,9 +733,6 @@ "$ref": "#/definitions/UpdateSupportTicket" } }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, { "$ref": "#/parameters/ApiVersionParameter" } @@ -792,9 +789,6 @@ "$ref": "#/definitions/SupportTicketDetails" } }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, { "$ref": "#/parameters/ApiVersionParameter" } @@ -1260,9 +1254,6 @@ "$ref": "#/definitions/CommunicationDetails" } }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, { "$ref": "#/parameters/ApiVersionParameter" } @@ -1989,10 +1980,7 @@ ], "responses": { "200": { - "description": "Successfully uploaded file content.", - "schema": { - "$ref": "#/definitions/FileDetails" - } + "description": "Successfully uploaded file content." }, "default": { "description": "Error response describing why the operation failed.", @@ -2953,6 +2941,17 @@ "type": "string", "readOnly": true }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/FileDetailsProperties", + "description": "Properties of the resource" + } + } + }, + "FileDetailsProperties": { + "description": "Describes the properties of a file.", + "type": "object", + "properties": { "createdOn": { "format": "date-time", "description": "Time in UTC (ISO 8601 format) when file workspace was created.", From f3f54681f5dcc8c6d2c03ccac81427cb90ff409f Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Fri, 18 Aug 2023 18:19:32 -0700 Subject: [PATCH 37/58] Changes as per checks --- .../examples/CreateFile.json | 2 +- .../examples/CreateFileForSubscription.json | 3 +- .../examples/UploadFile.json | 6 ++-- .../examples/UploadFileForSubscription.json | 6 ++-- .../preview/2022-09-01-preview/support.json | 30 ++----------------- 5 files changed, 10 insertions(+), 37 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json index 9241ee54e4f3..b1d3b25442b5 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json @@ -3,7 +3,7 @@ "fileWorkspaceName": "testworkspace", "fileName": "test.txt", "api-version": "2022-09-01-preview", - "createFile": { + "createFileParameters": { "properties": { "chunkSize": "41423", "fileSize": "41423", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileForSubscription.json index 9865e152c6f5..258f07248716 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileForSubscription.json @@ -1,9 +1,10 @@ { "parameters": { + "subscriptionId": "subid", "fileWorkspaceName": "testworkspace", "fileName": "test.txt", "api-version": "2022-09-01-preview", - "createFile": { + "createFileParameters": { "properties": { "chunkSize": "41423", "fileSize": "41423", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json index c2ad356e4f0d..c4abd1f25160 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json @@ -5,10 +5,8 @@ "fileName": "test.txt", "api-version": "2022-09-01-preview", "uploadFile": { - "properties": { - "content": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd", - "chunkIndex": "0" - } + "content": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd", + "chunkIndex": "0" } }, "responses": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json index dac74412e0a7..144359d31999 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json @@ -5,10 +5,8 @@ "fileName": "test.txt", "api-version": "2022-09-01-preview", "uploadFile": { - "properties": { - "fileContent": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd", - "chunkIndex": "0" - } + "fileContent": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd", + "chunkIndex": "0" } }, "responses": { diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index b875124b84d6..0ddf3482c6b3 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -1802,12 +1802,12 @@ "type": "string" }, { - "name": "createFile", + "name": "createFileParameters", "in": "body", "description": "Create file object", "required": true, "schema": { - "$ref": "#/definitions/CreateFile" + "$ref": "#/definitions/FileDetails" } }, { @@ -1912,7 +1912,7 @@ "description": "Create file object", "required": true, "schema": { - "$ref": "#/definitions/CreateFile" + "$ref": "#/definitions/FileDetails" } }, { @@ -2034,9 +2034,6 @@ "responses": { "200": { "description": "Successfully uploaded file content.", - "schema": { - "$ref": "#/definitions/FileDetails" - } }, "default": { "description": "Error response describing why the operation failed.", @@ -3006,27 +3003,6 @@ "readOnly": true } } - }, - "CreateFile": { - "description": "File body associated with a workspace.", - "type": "object", - "properties": { - "chunkSize": { - "description": "Size of each chunk", - "type": "string", - "readOnly": true - }, - "fileSize": { - "description": "Size of the file to be uploaded", - "type": "string", - "readOnly": true - }, - "numberOfChunks": { - "description": "Size of the file to be uploaded", - "type": "string", - "readOnly": true - } - } } }, "parameters": { From 4238dd49da2c0dde7fddedc4d361f078813e696c Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Fri, 18 Aug 2023 20:50:20 -0700 Subject: [PATCH 38/58] Fixed few prettier checks --- .../Microsoft.Support/preview/2022-09-01-preview/support.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 0ddf3482c6b3..43360bb0fd6f 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -2033,7 +2033,7 @@ ], "responses": { "200": { - "description": "Successfully uploaded file content.", + "description": "Successfully uploaded file content." }, "default": { "description": "Error response describing why the operation failed.", From 9af2e8f8de71ecb5e88dfd0ed1829ad8b5815595 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Fri, 18 Aug 2023 21:25:15 -0700 Subject: [PATCH 39/58] More changes to fix model validation errors --- .../examples/UploadFileForSubscription.json | 2 +- .../preview/2022-09-01-preview/support.json | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json index 144359d31999..c4abd1f25160 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json @@ -5,7 +5,7 @@ "fileName": "test.txt", "api-version": "2022-09-01-preview", "uploadFile": { - "fileContent": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd", + "content": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd", "chunkIndex": "0" } }, diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 43360bb0fd6f..49cede1d402d 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -1907,7 +1907,7 @@ "type": "string" }, { - "name": "createFile", + "name": "createFileParameters", "in": "body", "description": "Create file object", "required": true, @@ -2957,18 +2957,15 @@ }, "chunkSize": { "description": "Size of each chunk", - "type": "string", - "readOnly": true + "type": "string" }, "fileSize": { "description": "Size of the file to be uploaded", - "type": "string", - "readOnly": true + "type": "string" }, "numberOfChunks": { "description": "Size of the file to be uploaded", - "type": "string", - "readOnly": true + "type": "string" } } }, From 72c55cc0479f4b72b5c7beda99c6b6baa71855a6 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Fri, 18 Aug 2023 21:26:06 -0700 Subject: [PATCH 40/58] Minor fix --- .../Microsoft.Support/preview/2022-09-01-preview/support.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 49cede1d402d..f64f81d68c11 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -2996,8 +2996,7 @@ }, "chunkIndex": { "description": "Index of the uploaded chunk (Index starts at 0)", - "type": "string", - "readOnly": true + "type": "string" } } } From 052ee28cb5262d6a7f03e05624efb1f20f43b5a8 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Wed, 23 Aug 2023 00:34:04 -0700 Subject: [PATCH 41/58] Changes as per comments --- specification/support/resource-manager/readme.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/support/resource-manager/readme.md b/specification/support/resource-manager/readme.md index f3128fccc5af..5099837cdaea 100644 --- a/specification/support/resource-manager/readme.md +++ b/specification/support/resource-manager/readme.md @@ -40,16 +40,16 @@ input-file: suppressions: - code: RPC-Put-V1-01 from: Microsoft.Support/preview/2022-09-01-preview/support.json - reason: Rule: "The path for 'put' operation must be under a subscription and resource group." Justification: Suppressing this rule since path for support ticket resource doesn't contain resource group + reason: "Rule: The path for put operation must be under a subscription and resource group. Justification: Suppressing this rule since path for support ticket resource doesn't contain resource group" - code: RPC-Uri-V1-05 from: Microsoft.Support/preview/2022-09-01-preview/support.json - reason: Rule: "The resource name parameter 'supportTicketName' should be defined with a 'pattern' restriction." Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it. + reason: "Rule: The resource name parameter supportTicketName should be defined with a pattern restriction. Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it" - code: RPC-Put-V1-11 from: Microsoft.Support/preview/2022-09-01-preview/support.json - reason: Rule: "Any Put MUST contain 200 and 201 return codes." Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it. + reason: "Rule: Any Put MUST contain 200 and 201 return codes. Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it" - code: RPC-Patch-V1-03 from: Microsoft.Support/preview/2022-09-01-preview/support.json - reason: Rule: "The property '{propertyName}' in the request body either not apppear in the resource model or has the wrong level." Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it. + reason: "Rule: The property {propertyName} in the request body either not apppear in the resource model or has the wrong level. Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it" ``` ### Tag: package-preview-2021-06 From c24828a7612f951ea346419f875b56a84fd58c9a Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Wed, 23 Aug 2023 00:51:46 -0700 Subject: [PATCH 42/58] Adding a suppression for workspace getlist --- specification/support/resource-manager/readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/support/resource-manager/readme.md b/specification/support/resource-manager/readme.md index 5099837cdaea..6b3b37ab24ad 100644 --- a/specification/support/resource-manager/readme.md +++ b/specification/support/resource-manager/readme.md @@ -50,6 +50,9 @@ suppressions: - code: RPC-Patch-V1-03 from: Microsoft.Support/preview/2022-09-01-preview/support.json reason: "Rule: The property {propertyName} in the request body either not apppear in the resource model or has the wrong level. Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it" + - code: RPC-Get-V1-05 + from: Microsoft.Support/preview/2022-09-01-preview/support.json + reason: "Rule: The top-level resource 'FileWorkspaceDetails' does not have list by subscription operation, please add it. Justification: We cannot support get list for this resource type" ``` ### Tag: package-preview-2021-06 From 94212c18448dee8d03cca56460d6020424b6037a Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Thu, 7 Sep 2023 11:00:23 -0700 Subject: [PATCH 43/58] Some model changes and associated updates to the examples --- ...tForSpecificBatchAccountForActiveJobs.json | 6 +- ...SpecificBatchAccountForDedicatedCores.json | 6 +- ...ecificBatchAccountForLowPriorityCores.json | 6 +- ...TicketForSpecificBatchAccountForPools.json | 6 +- ...CreateBatchQuotaTicketForSubscription.json | 6 +- .../examples/CreateBillingSupportTicket.json | 4 + ...teBillingSupportTicketForSubscription.json | 5 +- ...CreateCoresQuotaTicketForSubscription.json | 6 +- ...eLearningQuotaTicketForDedicatedCores.json | 6 +- ...earningQuotaTicketForLowPriorityCores.json | 6 +- .../CreateSqlDatabaseQuotaTicketForDTUs.json | 6 +- ...reateSqlDatabaseQuotaTicketForServers.json | 6 +- ...ateSqlDatawarehouseQuotaTicketForDTUs.json | 6 +- ...SqlDatawarehouseQuotaTicketForServers.json | 6 +- .../CreateSqlManagedInstanceQuotaTicket.json | 5 + .../examples/CreateSubMgmtSupportTicket.json | 4 + ...teSubMgmtSupportTicketForSubscription.json | 5 +- .../CreateTechnicalSupportTicket.json | 20 +++ ...TechnicalSupportTicketForSubscription.json | 21 +++- .../GetSubscriptionSupportTicketDetails.json | 3 +- .../examples/GetSupportTicketDetails.json | 3 +- ...ptDetailsForSubscriptionSupportTicket.json | 4 +- ...chatTranscriptDetailsForSupportTicket.json | 4 +- ...anscriptsForSubscriptionSupportTicket.json | 8 +- .../ListChatTranscriptsForSupportTicket.json | 8 +- .../examples/ListProblemClassifications.json | 32 ++++- .../examples/ListSupportTickets.json | 12 ++ .../ListSupportTicketsBySubscription.json | 14 ++- ...TicketsCreatedOnOrAfterAndInOpenState.json | 14 ++- ...OnOrAfterAndInOpenStateBySubscription.json | 14 ++- ...etsCreatedOnOrAfterAndInUpdatingState.json | 20 +++ ...AfterAndInUpdatingStateBySubscription.json | 12 ++ .../ListSupportTicketsInOpenState.json | 14 ++- ...pportTicketsInOpenStateBySubscription.json | 14 ++- .../ListSupportTicketsInUpdatingState.json | 12 ++ ...tTicketsInUpdatingStateBySubscription.json | 12 ++ ...tTicketsProblemClassificationIdEquals.json | 6 + ...ClassificationIdEqualsForSubscription.json | 6 + .../ListSupportTicketsServiceIdEquals.json | 20 +++ ...TicketsServiceIdEqualsForSubscription.json | 20 +++ ...ancedDiagnosticConsentOfSupportTicket.json | 2 + ...ConsentOfSupportTicketForSubscription.json | 2 + .../UpdateContactDetailsOfSupportTicket.json | 2 + ...DetailsOfSupportTicketForSubscription.json | 2 + .../UpdateSeverityOfSupportTicket.json | 2 + ...everityOfSupportTicketForSubscription.json | 2 + .../examples/UpdateStatusOfSupportTicket.json | 2 + ...eStatusOfSupportTicketForSubscription.json | 2 + .../preview/2022-09-01-preview/support.json | 115 +++++++++++++----- 49 files changed, 447 insertions(+), 72 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json index f40ad396f02b..ab74b24aba64 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json @@ -10,6 +10,8 @@ "description": "my description", "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", "severity": "moderate", + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -50,8 +52,10 @@ "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", "problemClassificationDisplayName": "Batch", "severity": "moderate", - "productionOutage": false, "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "testticket", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json index 75d7fbde7142..62192bf4197c 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json @@ -10,6 +10,8 @@ "description": "my description", "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", "severity": "moderate", + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -50,8 +52,10 @@ "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", "problemClassificationDisplayName": "Batch", "severity": "moderate", - "productionOutage": false, "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "testticket", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json index fa7bbfd59eeb..27df65718114 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json @@ -10,6 +10,8 @@ "description": "my description", "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", "severity": "moderate", + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -50,8 +52,10 @@ "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", "problemClassificationDisplayName": "Batch", "severity": "moderate", - "productionOutage": false, "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "testticket", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json index c35a30fa91d4..0701c79d9552 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json @@ -10,6 +10,8 @@ "description": "my description", "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", "severity": "moderate", + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -50,8 +52,10 @@ "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", "problemClassificationDisplayName": "Batch", "severity": "moderate", - "productionOutage": false, "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "testticket", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSubscription.json index fcc90de03b18..25e1795043c2 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBatchQuotaTicketForSubscription.json @@ -10,6 +10,8 @@ "description": "my description", "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", "severity": "moderate", + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -50,8 +52,10 @@ "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", "problemClassificationDisplayName": "Batch", "severity": "moderate", - "productionOutage": false, "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "testticket", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicket.json index 70a26573b1ca..50a00de06336 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicket.json @@ -9,6 +9,8 @@ "description": "my description", "problemClassificationId": "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid", "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -40,6 +42,8 @@ "problemClassificationDisplayName": "Refund request", "severity": "moderate", "require24X7Response": false, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicketForSubscription.json index 376321419168..64549cfb2803 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateBillingSupportTicketForSubscription.json @@ -10,6 +10,8 @@ "description": "my description", "problemClassificationId": "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid", "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -40,8 +42,9 @@ "problemClassificationId": "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid", "problemClassificationDisplayName": "Refund request", "severity": "moderate", - "productionOutage": false, "require24X7Response": false, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateCoresQuotaTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateCoresQuotaTicketForSubscription.json index 716e88f027d0..5185170d6666 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateCoresQuotaTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateCoresQuotaTicketForSubscription.json @@ -10,6 +10,8 @@ "description": "my description", "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cores_problemClassification_guid", "severity": "moderate", + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -49,8 +51,10 @@ "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cores_problemClassification_guid", "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", "severity": "moderate", - "productionOutage": false, "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "testticket", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json index 9e08a13ece1a..0acf69ac084a 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json @@ -10,6 +10,8 @@ "description": "my description", "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid", "severity": "moderate", + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -50,8 +52,10 @@ "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid", "problemClassificationDisplayName": "Machine Learning service", "severity": "moderate", - "productionOutage": false, "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "testticket", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json index 5b47c01cca47..cebf02cbc3ff 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json @@ -10,6 +10,8 @@ "description": "my description", "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid", "severity": "moderate", + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -50,8 +52,10 @@ "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid", "problemClassificationDisplayName": "Machine Learning service", "severity": "moderate", - "productionOutage": false, "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "testticket", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json index 3c2cc6fa08fc..7765ff6b89f0 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForDTUs.json @@ -10,6 +10,8 @@ "description": "my description", "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", "severity": "moderate", + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -50,8 +52,10 @@ "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", "problemClassificationDisplayName": "SQL database", "severity": "moderate", - "productionOutage": false, "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "testticket", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json index bf758852c6e3..c91e3203ff2b 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json @@ -10,6 +10,8 @@ "description": "my description", "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", "severity": "moderate", + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -50,8 +52,10 @@ "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", "problemClassificationDisplayName": "SQL database", "severity": "moderate", - "productionOutage": false, "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "testticket", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json index c90cb4ec6c80..0868f32ecd3c 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json @@ -10,6 +10,8 @@ "description": "my description", "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", "severity": "moderate", + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -50,8 +52,10 @@ "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", "problemClassificationDisplayName": "SQL Data Warehouse", "severity": "moderate", - "productionOutage": false, "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "testticket", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json index 16d8e0ee3f88..78f68111380c 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatawarehouseQuotaTicketForServers.json @@ -10,6 +10,8 @@ "description": "my description", "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", "severity": "moderate", + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -50,8 +52,10 @@ "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", "problemClassificationDisplayName": "SQL Data Warehouse", "severity": "moderate", - "productionOutage": false, "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "testticket", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlManagedInstanceQuotaTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlManagedInstanceQuotaTicket.json index 15050dac6173..54e761f7ebde 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlManagedInstanceQuotaTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlManagedInstanceQuotaTicket.json @@ -10,6 +10,8 @@ "description": "my description", "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_managedinstance_problemClassification_guid", "severity": "moderate", + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -55,6 +57,9 @@ "problemClassificationDisplayName": "SQL Database Managed Instance", "severity": "moderate", "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "testticket", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicket.json index 35bc28ebaafd..07016a2aca9f 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicket.json @@ -9,6 +9,8 @@ "description": "my description", "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid", "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -40,6 +42,8 @@ "problemClassificationDisplayName": "Transfer ownership of my subscription", "severity": "moderate", "require24X7Response": false, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json index 953890b73bb2..e1456bed0126 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSubMgmtSupportTicketForSubscription.json @@ -10,6 +10,8 @@ "description": "my description", "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid", "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -40,8 +42,9 @@ "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid", "problemClassificationDisplayName": "Transfer ownership of my subscription", "severity": "moderate", - "productionOutage": false, "require24X7Response": false, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicket.json index e4cab79a14ab..782f856336d7 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicket.json @@ -9,6 +9,16 @@ "description": "my description", "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid/problemClassifications/problemClassification_guid", "severity": "moderate", + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemScopingQuestions": "{\"articleId\":\"076846c1-4c0b-4b21-91c6-1a30246b3867\",\"scopingDetails\":[{\"question\":\"When did the problem begin?\",\"controlId\":\"problem_start_time\",\"orderId\":1,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"2023-08-31T18:55:00.739Z\",\"value\":\"2023-08-31T18:55:00.739Z\",\"type\":\"datetime\"}},{\"question\":\"API Type of the Cosmos DB account\",\"controlId\":\"api_type\",\"orderId\":2,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"Table\",\"value\":\"tables\",\"type\":\"string\"}},{\"question\":\"Table name\",\"controlId\":\"collection_name_table\",\"orderId\":11,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"Select Table Name\",\"value\":\"dont_know_answer\",\"type\":\"string\"}},{\"question\":\"Provide additional details about the issue you're facing\",\"controlId\":\"problem_description\",\"orderId\":12,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"test ticket, please ignore and close\",\"value\":\"test ticket, please ignore and close\",\"type\":\"string\"}}]}", + "secondaryConsent": [ + { + "userConsent": "Yes", + "type": "virtualmachinerunninglinuxservice" + } + ], "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -40,6 +50,16 @@ "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", "severity": "moderate", "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemScopingQuestions": "{\"articleId\":\"076846c1-4c0b-4b21-91c6-1a30246b3867\",\"scopingDetails\":[{\"question\":\"When did the problem begin?\",\"controlId\":\"problem_start_time\",\"orderId\":1,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"2023-08-31T18:55:00.739Z\",\"value\":\"2023-08-31T18:55:00.739Z\",\"type\":\"datetime\"}},{\"question\":\"API Type of the Cosmos DB account\",\"controlId\":\"api_type\",\"orderId\":2,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"Table\",\"value\":\"tables\",\"type\":\"string\"}},{\"question\":\"Table name\",\"controlId\":\"collection_name_table\",\"orderId\":11,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"Select Table Name\",\"value\":\"dont_know_answer\",\"type\":\"string\"}},{\"question\":\"Provide additional details about the issue you're facing\",\"controlId\":\"problem_description\",\"orderId\":12,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"test ticket, please ignore and close\",\"value\":\"test ticket, please ignore and close\",\"type\":\"string\"}}]}", + "secondaryConsent": [ + { + "userConsent": "Yes", + "type": "virtualmachinerunninglinuxservice" + } + ], "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json index c3a470f9bd82..40141a0e604f 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateTechnicalSupportTicketForSubscription.json @@ -10,6 +10,16 @@ "description": "my description", "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid/problemClassifications/problemClassification_guid", "severity": "moderate", + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemScopingQuestions": "{\"articleId\":\"076846c1-4c0b-4b21-91c6-1a30246b3867\",\"scopingDetails\":[{\"question\":\"When did the problem begin?\",\"controlId\":\"problem_start_time\",\"orderId\":1,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"2023-08-31T18:55:00.739Z\",\"value\":\"2023-08-31T18:55:00.739Z\",\"type\":\"datetime\"}},{\"question\":\"API Type of the Cosmos DB account\",\"controlId\":\"api_type\",\"orderId\":2,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"Table\",\"value\":\"tables\",\"type\":\"string\"}},{\"question\":\"Table name\",\"controlId\":\"collection_name_table\",\"orderId\":11,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"Select Table Name\",\"value\":\"dont_know_answer\",\"type\":\"string\"}},{\"question\":\"Provide additional details about the issue you're facing\",\"controlId\":\"problem_description\",\"orderId\":12,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"test ticket, please ignore and close\",\"value\":\"test ticket, please ignore and close\",\"type\":\"string\"}}]}", + "secondaryConsent": [ + { + "userConsent": "Yes", + "type": "virtualmachinerunninglinuxservice" + } + ], "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -43,8 +53,17 @@ "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, "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemScopingQuestions": "{\"articleId\":\"076846c1-4c0b-4b21-91c6-1a30246b3867\",\"scopingDetails\":[{\"question\":\"When did the problem begin?\",\"controlId\":\"problem_start_time\",\"orderId\":1,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"2023-08-31T18:55:00.739Z\",\"value\":\"2023-08-31T18:55:00.739Z\",\"type\":\"datetime\"}},{\"question\":\"API Type of the Cosmos DB account\",\"controlId\":\"api_type\",\"orderId\":2,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"Table\",\"value\":\"tables\",\"type\":\"string\"}},{\"question\":\"Table name\",\"controlId\":\"collection_name_table\",\"orderId\":11,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"Select Table Name\",\"value\":\"dont_know_answer\",\"type\":\"string\"}},{\"question\":\"Provide additional details about the issue you're facing\",\"controlId\":\"problem_description\",\"orderId\":12,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"test ticket, please ignore and close\",\"value\":\"test ticket, please ignore and close\",\"type\":\"string\"}}]}", + "secondaryConsent": [ + { + "userConsent": "Yes", + "type": "virtualmachinerunninglinuxservice" + } + ], "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSubscriptionSupportTicketDetails.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSubscriptionSupportTicketDetails.json index aa6b38ca9ac3..e2465d4e874d 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSubscriptionSupportTicketDetails.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSubscriptionSupportTicketDetails.json @@ -16,8 +16,9 @@ "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, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSupportTicketDetails.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSupportTicketDetails.json index 29d349ed3fc0..0258e898825e 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSupportTicketDetails.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetSupportTicketDetails.json @@ -15,9 +15,10 @@ "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, "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json index 0b67cb47764d..2b4ea30227e7 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json @@ -14,14 +14,14 @@ "properties": { "communications": [ { - "communicationType": "web", + "contentType": "text", "communicationDirection": "outbound", "sender": "support engineer 2", "body": "Hi again", "createdDate": "2020-03-23T20:18:19Z" }, { - "communicationType": "web", + "contentType": "text", "communicationDirection": "inbound", "sender": "user", "body": "hello", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSupportTicket.json index fb3fd4393722..32ae4dcdfeaa 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSupportTicket.json @@ -14,14 +14,14 @@ "properties": { "communications": [ { - "communicationType": "web", + "contentType": "text", "communicationDirection": "outbound", "sender": "support engineer 2", "body": "Hi again", "createdDate": "2020-03-25T20:18:19Z" }, { - "communicationType": "web", + "contentType": "text", "communicationDirection": "inbound", "sender": "user", "body": "hello", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSubscriptionSupportTicket.json index 329e53375278..ea8e4e261823 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSubscriptionSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSubscriptionSupportTicket.json @@ -15,14 +15,14 @@ "properties": { "communications": [ { - "communicationType": "web", + "contentType": "text", "communicationDirection": "outbound", "sender": "support engineer", "body": "Hi", "createdDate": "2020-03-24T20:18:19Z" }, { - "communicationType": "web", + "contentType": "text", "communicationDirection": "inbound", "sender": "user", "body": "hi", @@ -38,14 +38,14 @@ "properties": { "communications": [ { - "communicationType": "web", + "contentType": "text", "communicationDirection": "outbound", "sender": "support engineer 2", "body": "Hi again", "createdDate": "2020-03-25T20:18:19Z" }, { - "communicationType": "web", + "contentType": "text", "communicationDirection": "inbound", "sender": "user", "body": "hello", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSupportTicket.json index 915af4adeb91..e7757564d966 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSupportTicket.json @@ -14,14 +14,14 @@ "properties": { "communications": [ { - "communicationType": "web", + "contentType": "text", "communicationDirection": "outbound", "sender": "support engineer", "body": "Hi", "createdDate": "2020-03-24T20:18:19Z" }, { - "communicationType": "web", + "contentType": "text", "communicationDirection": "inbound", "sender": "user", "body": "hi", @@ -37,14 +37,14 @@ "properties": { "communications": [ { - "communicationType": "web", + "contentType": "text", "communicationDirection": "outbound", "sender": "support engineer 2", "body": "Hi again", "createdDate": "2020-03-25T20:18:19Z" }, { - "communicationType": "web", + "contentType": "text", "communicationDirection": "inbound", "sender": "user", "body": "hello", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListProblemClassifications.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListProblemClassifications.json index 973924e596f2..9fc879b32766 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListProblemClassifications.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListProblemClassifications.json @@ -12,7 +12,13 @@ "name": "problemClassification_guid_1", "type": "Microsoft.Support/problemClassifications", "properties": { - "displayName": "Reservation Management / Exchanges and Refunds" + "displayName": "Reservation Management / Exchanges and Refunds", + "secondaryConsentEnabled": [ + { + "description": "For faster resolution, allow Microsoft and Databricks to temporarily have read and write access to your Databricks workspace. We will only access to read and write to your cluster for the purpose of resolving your support issue and in conformance with Microsoft's Privacy Policy.", + "type": "DatabricksConsent" + } + ] } }, { @@ -20,7 +26,13 @@ "name": "problemClassification_guid_2", "type": "Microsoft.Support/problemClassifications", "properties": { - "displayName": "Reservation Management / Request Invoices" + "displayName": "Reservation Management / Request Invoices", + "secondaryConsentEnabled": [ + { + "description": "For faster resolution, allow Microsoft and Databricks to temporarily have read and write access to your Databricks workspace. We will only access to read and write to your cluster for the purpose of resolving your support issue and in conformance with Microsoft's Privacy Policy.", + "type": "DatabricksConsent" + } + ] } }, { @@ -28,7 +40,13 @@ "name": "problemClassification_guid_3", "type": "Microsoft.Support/problemClassifications", "properties": { - "displayName": "Reservation Management / Other Iissues or Requests" + "displayName": "Reservation Management / Other Iissues or Requests", + "secondaryConsentEnabled": [ + { + "description": "For faster resolution, allow Microsoft and Databricks to temporarily have read and write access to your Databricks workspace. We will only access to read and write to your cluster for the purpose of resolving your support issue and in conformance with Microsoft's Privacy Policy.", + "type": "DatabricksConsent" + } + ] } }, { @@ -36,7 +54,13 @@ "name": "problemClassification_guid_4", "type": "Microsoft.Support/problemClassifications", "properties": { - "displayName": "Other General Billing Questions" + "displayName": "Other General Billing Questions", + "secondaryConsentEnabled": [ + { + "description": "For faster resolution, allow Microsoft and Databricks to temporarily have read and write access to your Databricks workspace. We will only access to read and write to your cluster for the purpose of resolving your support issue and in conformance with Microsoft's Privacy Policy.", + "type": "DatabricksConsent" + } + ] } } ] diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json index d6773a552780..1c04dbf67cf3 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTickets.json @@ -17,6 +17,16 @@ "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", "severity": "moderate", "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemScopingQuestions": "{\"articleId\":\"076846c1-4c0b-4b21-91c6-1a30246b3867\",\"scopingDetails\":[{\"question\":\"When did the problem begin?\",\"controlId\":\"problem_start_time\",\"orderId\":1,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"2023-08-31T18:55:00.739Z\",\"value\":\"2023-08-31T18:55:00.739Z\",\"type\":\"datetime\"}},{\"question\":\"API Type of the Cosmos DB account\",\"controlId\":\"api_type\",\"orderId\":2,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"Table\",\"value\":\"tables\",\"type\":\"string\"}},{\"question\":\"Table name\",\"controlId\":\"collection_name_table\",\"orderId\":11,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"Select Table Name\",\"value\":\"dont_know_answer\",\"type\":\"string\"}},{\"question\":\"Provide additional details about the issue you're facing\",\"controlId\":\"problem_description\",\"orderId\":12,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"test ticket, please ignore and close\",\"value\":\"test ticket, please ignore and close\",\"type\":\"string\"}}]}", + "secondaryConsent": [ + { + "userConsent": "Yes", + "type": "VirtualMachine" + } + ], "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -54,6 +64,8 @@ "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", "severity": "minimal", "require24X7Response": false, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsBySubscription.json index 417cf7bafb2d..ac40a15ed6d9 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsBySubscription.json @@ -17,8 +17,17 @@ "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, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemScopingQuestions": "{\"articleId\":\"076846c1-4c0b-4b21-91c6-1a30246b3867\",\"scopingDetails\":[{\"question\":\"When did the problem begin?\",\"controlId\":\"problem_start_time\",\"orderId\":1,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"2023-08-31T18:55:00.739Z\",\"value\":\"2023-08-31T18:55:00.739Z\",\"type\":\"datetime\"}},{\"question\":\"API Type of the Cosmos DB account\",\"controlId\":\"api_type\",\"orderId\":2,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"Table\",\"value\":\"tables\",\"type\":\"string\"}},{\"question\":\"Table name\",\"controlId\":\"collection_name_table\",\"orderId\":11,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"Select Table Name\",\"value\":\"dont_know_answer\",\"type\":\"string\"}},{\"question\":\"Provide additional details about the issue you're facing\",\"controlId\":\"problem_description\",\"orderId\":12,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"test ticket, please ignore and close\",\"value\":\"test ticket, please ignore and close\",\"type\":\"string\"}}]}", + "secondaryConsent": [ + { + "userConsent": "Yes", + "type": "VirtualMachine" + } + ], "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -59,8 +68,9 @@ "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, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json index b6e9ba0fbec4..5405d4e3304c 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json @@ -17,8 +17,17 @@ "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, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemScopingQuestions": "{\"articleId\":\"076846c1-4c0b-4b21-91c6-1a30246b3867\",\"scopingDetails\":[{\"question\":\"When did the problem begin?\",\"controlId\":\"problem_start_time\",\"orderId\":1,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"2023-08-31T18:55:00.739Z\",\"value\":\"2023-08-31T18:55:00.739Z\",\"type\":\"datetime\"}},{\"question\":\"API Type of the Cosmos DB account\",\"controlId\":\"api_type\",\"orderId\":2,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"Table\",\"value\":\"tables\",\"type\":\"string\"}},{\"question\":\"Table name\",\"controlId\":\"collection_name_table\",\"orderId\":11,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"Select Table Name\",\"value\":\"dont_know_answer\",\"type\":\"string\"}},{\"question\":\"Provide additional details about the issue you're facing\",\"controlId\":\"problem_description\",\"orderId\":12,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"test ticket, please ignore and close\",\"value\":\"test ticket, please ignore and close\",\"type\":\"string\"}}]}", + "secondaryConsent": [ + { + "userConsent": "Yes", + "type": "VirtualMachine" + } + ], "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -56,8 +65,9 @@ "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, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json index 2f28d66dab4f..44936f355036 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json @@ -18,8 +18,17 @@ "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, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemScopingQuestions": "{\"articleId\":\"076846c1-4c0b-4b21-91c6-1a30246b3867\",\"scopingDetails\":[{\"question\":\"When did the problem begin?\",\"controlId\":\"problem_start_time\",\"orderId\":1,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"2023-08-31T18:55:00.739Z\",\"value\":\"2023-08-31T18:55:00.739Z\",\"type\":\"datetime\"}},{\"question\":\"API Type of the Cosmos DB account\",\"controlId\":\"api_type\",\"orderId\":2,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"Table\",\"value\":\"tables\",\"type\":\"string\"}},{\"question\":\"Table name\",\"controlId\":\"collection_name_table\",\"orderId\":11,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"Select Table Name\",\"value\":\"dont_know_answer\",\"type\":\"string\"}},{\"question\":\"Provide additional details about the issue you're facing\",\"controlId\":\"problem_description\",\"orderId\":12,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"test ticket, please ignore and close\",\"value\":\"test ticket, please ignore and close\",\"type\":\"string\"}}]}", + "secondaryConsent": [ + { + "userConsent": "Yes", + "type": "VirtualMachine" + } + ], "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -60,8 +69,9 @@ "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, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json index f0d54459873c..f2f3f50f539c 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json @@ -18,6 +18,16 @@ "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", "severity": "moderate", "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemScopingQuestions": "{\"articleId\":\"076846c1-4c0b-4b21-91c6-1a30246b3867\",\"scopingDetails\":[{\"question\":\"When did the problem begin?\",\"controlId\":\"problem_start_time\",\"orderId\":1,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"2023-08-31T18:55:00.739Z\",\"value\":\"2023-08-31T18:55:00.739Z\",\"type\":\"datetime\"}},{\"question\":\"API Type of the Cosmos DB account\",\"controlId\":\"api_type\",\"orderId\":2,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"Table\",\"value\":\"tables\",\"type\":\"string\"}},{\"question\":\"Table name\",\"controlId\":\"collection_name_table\",\"orderId\":11,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"Select Table Name\",\"value\":\"dont_know_answer\",\"type\":\"string\"}},{\"question\":\"Provide additional details about the issue you're facing\",\"controlId\":\"problem_description\",\"orderId\":12,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"test ticket, please ignore and close\",\"value\":\"test ticket, please ignore and close\",\"type\":\"string\"}}]}", + "secondaryConsent": [ + { + "userConsent": "Yes", + "type": "VirtualMachine" + } + ], "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -56,6 +66,16 @@ "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", "severity": "minimal", "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemScopingQuestions": "{\"articleId\":\"076846c1-4c0b-4b21-91c6-1a30246b3867\",\"scopingDetails\":[{\"question\":\"When did the problem begin?\",\"controlId\":\"problem_start_time\",\"orderId\":1,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"2023-08-31T18:55:00.739Z\",\"value\":\"2023-08-31T18:55:00.739Z\",\"type\":\"datetime\"}},{\"question\":\"API Type of the Cosmos DB account\",\"controlId\":\"api_type\",\"orderId\":2,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"Table\",\"value\":\"tables\",\"type\":\"string\"}},{\"question\":\"Table name\",\"controlId\":\"collection_name_table\",\"orderId\":11,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"Select Table Name\",\"value\":\"dont_know_answer\",\"type\":\"string\"}},{\"question\":\"Provide additional details about the issue you're facing\",\"controlId\":\"problem_description\",\"orderId\":12,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"test ticket, please ignore and close\",\"value\":\"test ticket, please ignore and close\",\"type\":\"string\"}}]}", + "secondaryConsent": [ + { + "userConsent": "Yes", + "type": "VirtualMachine" + } + ], "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json index cfb460d19e18..a3fad37f29be 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json @@ -19,6 +19,16 @@ "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", "severity": "moderate", "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemScopingQuestions": "{\"articleId\":\"076846c1-4c0b-4b21-91c6-1a30246b3867\",\"scopingDetails\":[{\"question\":\"When did the problem begin?\",\"controlId\":\"problem_start_time\",\"orderId\":1,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"2023-08-31T18:55:00.739Z\",\"value\":\"2023-08-31T18:55:00.739Z\",\"type\":\"datetime\"}},{\"question\":\"API Type of the Cosmos DB account\",\"controlId\":\"api_type\",\"orderId\":2,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"Table\",\"value\":\"tables\",\"type\":\"string\"}},{\"question\":\"Table name\",\"controlId\":\"collection_name_table\",\"orderId\":11,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"Select Table Name\",\"value\":\"dont_know_answer\",\"type\":\"string\"}},{\"question\":\"Provide additional details about the issue you're facing\",\"controlId\":\"problem_description\",\"orderId\":12,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"test ticket, please ignore and close\",\"value\":\"test ticket, please ignore and close\",\"type\":\"string\"}}]}", + "secondaryConsent": [ + { + "userConsent": "Yes", + "type": "VirtualMachine" + } + ], "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -60,6 +70,8 @@ "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", "severity": "minimal", "require24X7Response": false, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenState.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenState.json index 13ca908b33cb..7536afcbe668 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenState.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenState.json @@ -17,8 +17,17 @@ "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, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemScopingQuestions": "{\"articleId\":\"076846c1-4c0b-4b21-91c6-1a30246b3867\",\"scopingDetails\":[{\"question\":\"When did the problem begin?\",\"controlId\":\"problem_start_time\",\"orderId\":1,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"2023-08-31T18:55:00.739Z\",\"value\":\"2023-08-31T18:55:00.739Z\",\"type\":\"datetime\"}},{\"question\":\"API Type of the Cosmos DB account\",\"controlId\":\"api_type\",\"orderId\":2,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"Table\",\"value\":\"tables\",\"type\":\"string\"}},{\"question\":\"Table name\",\"controlId\":\"collection_name_table\",\"orderId\":11,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"Select Table Name\",\"value\":\"dont_know_answer\",\"type\":\"string\"}},{\"question\":\"Provide additional details about the issue you're facing\",\"controlId\":\"problem_description\",\"orderId\":12,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"test ticket, please ignore and close\",\"value\":\"test ticket, please ignore and close\",\"type\":\"string\"}}]}", + "secondaryConsent": [ + { + "userConsent": "Yes", + "type": "VirtualMachine" + } + ], "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -56,8 +65,9 @@ "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, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json index 6683713183d7..e079b6792060 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInOpenStateBySubscription.json @@ -18,8 +18,17 @@ "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, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemScopingQuestions": "{\"articleId\":\"076846c1-4c0b-4b21-91c6-1a30246b3867\",\"scopingDetails\":[{\"question\":\"When did the problem begin?\",\"controlId\":\"problem_start_time\",\"orderId\":1,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"2023-08-31T18:55:00.739Z\",\"value\":\"2023-08-31T18:55:00.739Z\",\"type\":\"datetime\"}},{\"question\":\"API Type of the Cosmos DB account\",\"controlId\":\"api_type\",\"orderId\":2,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"Table\",\"value\":\"tables\",\"type\":\"string\"}},{\"question\":\"Table name\",\"controlId\":\"collection_name_table\",\"orderId\":11,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"Select Table Name\",\"value\":\"dont_know_answer\",\"type\":\"string\"}},{\"question\":\"Provide additional details about the issue you're facing\",\"controlId\":\"problem_description\",\"orderId\":12,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"test ticket, please ignore and close\",\"value\":\"test ticket, please ignore and close\",\"type\":\"string\"}}]}", + "secondaryConsent": [ + { + "userConsent": "Yes", + "type": "VirtualMachine" + } + ], "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -60,8 +69,9 @@ "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, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingState.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingState.json index 94270c8c43d0..ca95d27e9df2 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingState.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingState.json @@ -18,6 +18,16 @@ "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", "severity": "moderate", "require24X7Response": false, + "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemScopingQuestions": "{\"articleId\":\"076846c1-4c0b-4b21-91c6-1a30246b3867\",\"scopingDetails\":[{\"question\":\"When did the problem begin?\",\"controlId\":\"problem_start_time\",\"orderId\":1,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"2023-08-31T18:55:00.739Z\",\"value\":\"2023-08-31T18:55:00.739Z\",\"type\":\"datetime\"}},{\"question\":\"API Type of the Cosmos DB account\",\"controlId\":\"api_type\",\"orderId\":2,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"Table\",\"value\":\"tables\",\"type\":\"string\"}},{\"question\":\"Table name\",\"controlId\":\"collection_name_table\",\"orderId\":11,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"Select Table Name\",\"value\":\"dont_know_answer\",\"type\":\"string\"}},{\"question\":\"Provide additional details about the issue you're facing\",\"controlId\":\"problem_description\",\"orderId\":12,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"test ticket, please ignore and close\",\"value\":\"test ticket, please ignore and close\",\"type\":\"string\"}}]}", + "secondaryConsent": [ + { + "userConsent": "Yes", + "type": "VirtualMachine" + } + ], "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -56,6 +66,8 @@ "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", "severity": "minimal", "require24X7Response": false, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingStateBySubscription.json index e20aa28b76f6..149dd41fbb15 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingStateBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingStateBySubscription.json @@ -19,6 +19,16 @@ "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", "severity": "moderate", "require24X7Response": false, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "advancedDiagnosticConsent": "Yes", + "problemScopingQuestions": "{\"articleId\":\"076846c1-4c0b-4b21-91c6-1a30246b3867\",\"scopingDetails\":[{\"question\":\"When did the problem begin?\",\"controlId\":\"problem_start_time\",\"orderId\":1,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"2023-08-31T18:55:00.739Z\",\"value\":\"2023-08-31T18:55:00.739Z\",\"type\":\"datetime\"}},{\"question\":\"API Type of the Cosmos DB account\",\"controlId\":\"api_type\",\"orderId\":2,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"Table\",\"value\":\"tables\",\"type\":\"string\"}},{\"question\":\"Table name\",\"controlId\":\"collection_name_table\",\"orderId\":11,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"Select Table Name\",\"value\":\"dont_know_answer\",\"type\":\"string\"}},{\"question\":\"Provide additional details about the issue you're facing\",\"controlId\":\"problem_description\",\"orderId\":12,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"test ticket, please ignore and close\",\"value\":\"test ticket, please ignore and close\",\"type\":\"string\"}}]}", + "secondaryConsent": [ + { + "userConsent": "Yes", + "type": "VirtualMachine" + } + ], "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -60,6 +70,8 @@ "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", "severity": "minimal", "require24X7Response": false, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEquals.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEquals.json index 15a4d35601ae..a9bbfb46790a 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEquals.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEquals.json @@ -19,6 +19,9 @@ "severity": "minimal", "require24X7Response": false, "enrollmentId": "", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "testTicket1", + "advancedDiagnosticConsent": "Yes", "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -52,6 +55,9 @@ "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", "severity": "minimal", "require24X7Response": false, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "testTicket2", + "advancedDiagnosticConsent": "Yes", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json index bb1d48657810..27157a3cf27e 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json @@ -20,6 +20,9 @@ "severity": "minimal", "require24X7Response": false, "enrollmentId": "", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "testTicket1", + "advancedDiagnosticConsent": "Yes", "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -53,6 +56,9 @@ "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", "severity": "minimal", "require24X7Response": false, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "testTicket2", + "advancedDiagnosticConsent": "Yes", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEquals.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEquals.json index 06dcffd81d18..ae6fa103c87d 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEquals.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEquals.json @@ -19,6 +19,16 @@ "severity": "minimal", "require24X7Response": false, "enrollmentId": "", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "advancedDiagnosticConsent": "Yes", + "problemScopingQuestions": "{\"articleId\":\"076846c1-4c0b-4b21-91c6-1a30246b3867\",\"scopingDetails\":[{\"question\":\"When did the problem begin?\",\"controlId\":\"problem_start_time\",\"orderId\":1,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"2023-08-31T18:55:00.739Z\",\"value\":\"2023-08-31T18:55:00.739Z\",\"type\":\"datetime\"}},{\"question\":\"API Type of the Cosmos DB account\",\"controlId\":\"api_type\",\"orderId\":2,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"Table\",\"value\":\"tables\",\"type\":\"string\"}},{\"question\":\"Table name\",\"controlId\":\"collection_name_table\",\"orderId\":11,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"Select Table Name\",\"value\":\"dont_know_answer\",\"type\":\"string\"}},{\"question\":\"Provide additional details about the issue you're facing\",\"controlId\":\"problem_description\",\"orderId\":12,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"test ticket, please ignore and close\",\"value\":\"test ticket, please ignore and close\",\"type\":\"string\"}}]}", + "secondaryConsent": [ + { + "userConsent": "Yes", + "type": "VirtualMachine" + } + ], "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -52,6 +62,16 @@ "problemClassificationDisplayName": "problemClassification_displayName", "severity": "minimal", "require24X7Response": false, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "advancedDiagnosticConsent": "Yes", + "problemScopingQuestions": "{\"articleId\":\"076846c1-4c0b-4b21-91c6-1a30246b3867\",\"scopingDetails\":[{\"question\":\"When did the problem begin?\",\"controlId\":\"problem_start_time\",\"orderId\":1,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"2023-08-31T18:55:00.739Z\",\"value\":\"2023-08-31T18:55:00.739Z\",\"type\":\"datetime\"}},{\"question\":\"API Type of the Cosmos DB account\",\"controlId\":\"api_type\",\"orderId\":2,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"Table\",\"value\":\"tables\",\"type\":\"string\"}},{\"question\":\"Table name\",\"controlId\":\"collection_name_table\",\"orderId\":11,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"Select Table Name\",\"value\":\"dont_know_answer\",\"type\":\"string\"}},{\"question\":\"Provide additional details about the issue you're facing\",\"controlId\":\"problem_description\",\"orderId\":12,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"test ticket, please ignore and close\",\"value\":\"test ticket, please ignore and close\",\"type\":\"string\"}}]}", + "secondaryConsent": [ + { + "userConsent": "Yes", + "type": "VirtualMachine" + } + ], "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsForSubscription.json index db1963725521..fe566e70baf7 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsServiceIdEqualsForSubscription.json @@ -20,6 +20,16 @@ "severity": "minimal", "require24X7Response": false, "enrollmentId": "", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "advancedDiagnosticConsent": "Yes", + "problemScopingQuestions": "{\"articleId\":\"076846c1-4c0b-4b21-91c6-1a30246b3867\",\"scopingDetails\":[{\"question\":\"When did the problem begin?\",\"controlId\":\"problem_start_time\",\"orderId\":1,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"2023-08-31T18:55:00.739Z\",\"value\":\"2023-08-31T18:55:00.739Z\",\"type\":\"datetime\"}},{\"question\":\"API Type of the Cosmos DB account\",\"controlId\":\"api_type\",\"orderId\":2,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"Table\",\"value\":\"tables\",\"type\":\"string\"}},{\"question\":\"Table name\",\"controlId\":\"collection_name_table\",\"orderId\":11,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"Select Table Name\",\"value\":\"dont_know_answer\",\"type\":\"string\"}},{\"question\":\"Provide additional details about the issue you're facing\",\"controlId\":\"problem_description\",\"orderId\":12,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"test ticket, please ignore and close\",\"value\":\"test ticket, please ignore and close\",\"type\":\"string\"}}]}", + "secondaryConsent": [ + { + "userConsent": "Yes", + "type": "VirtualMachine" + } + ], "contactDetails": { "firstName": "abc", "lastName": "xyz", @@ -53,6 +63,16 @@ "problemClassificationDisplayName": "problemClassification_displayName", "severity": "minimal", "require24X7Response": false, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "advancedDiagnosticConsent": "Yes", + "problemScopingQuestions": "{\"articleId\":\"076846c1-4c0b-4b21-91c6-1a30246b3867\",\"scopingDetails\":[{\"question\":\"When did the problem begin?\",\"controlId\":\"problem_start_time\",\"orderId\":1,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"2023-08-31T18:55:00.739Z\",\"value\":\"2023-08-31T18:55:00.739Z\",\"type\":\"datetime\"}},{\"question\":\"API Type of the Cosmos DB account\",\"controlId\":\"api_type\",\"orderId\":2,\"inputType\":\"static\",\"answer\":{\"displayValue\":\"Table\",\"value\":\"tables\",\"type\":\"string\"}},{\"question\":\"Table name\",\"controlId\":\"collection_name_table\",\"orderId\":11,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"Select Table Name\",\"value\":\"dont_know_answer\",\"type\":\"string\"}},{\"question\":\"Provide additional details about the issue you're facing\",\"controlId\":\"problem_description\",\"orderId\":12,\"inputType\":\"nonstatic\",\"answer\":{\"displayValue\":\"test ticket, please ignore and close\",\"value\":\"test ticket, please ignore and close\",\"type\":\"string\"}}]}", + "secondaryConsent": [ + { + "userConsent": "Yes", + "type": "VirtualMachine" + } + ], "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json index 59853f7ecc99..b3ddf3f82697 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json @@ -20,6 +20,8 @@ "severity": "critical", "require24X7Response": false, "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json index 9b68d7020b80..057cef0d02a1 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json @@ -21,6 +21,8 @@ "severity": "critical", "require24X7Response": false, "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicket.json index 5a4d93e6f894..16c15aa9c80b 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicket.json @@ -33,6 +33,8 @@ "severity": "critical", "require24X7Response": false, "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "first name", "lastName": "last name", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicketForSubscription.json index d43ac8cceea3..2e9b2200b0f2 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateContactDetailsOfSupportTicketForSubscription.json @@ -33,6 +33,8 @@ "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", "severity": "critical", "require24X7Response": false, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "first name", "lastName": "last name", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicket.json index 63413901b8ac..617cc91d63e5 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicket.json @@ -20,6 +20,8 @@ "severity": "critical", "require24X7Response": false, "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicketForSubscription.json index e119a971a8f4..b129c74dbef5 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateSeverityOfSupportTicketForSubscription.json @@ -20,6 +20,8 @@ "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", "severity": "critical", "require24X7Response": false, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicket.json index ce401d7baeac..01404276002f 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicket.json @@ -20,6 +20,8 @@ "severity": "critical", "require24X7Response": false, "advancedDiagnosticConsent": "Yes", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicketForSubscription.json index be10f4684b28..afa81af6bc96 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UpdateStatusOfSupportTicketForSubscription.json @@ -20,6 +20,8 @@ "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", "severity": "critical", "require24X7Response": false, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index f64f81d68c11..eaf84dfd0804 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -2204,6 +2204,27 @@ "displayName": { "description": "Localized name of problem classification.", "type": "string" + }, + "secondaryConsentEnabled": { + "description": "This property indicates whether secondary consent is present for problem classification", + "type": "array", + "items": { + "$ref": "#/definitions/SecondaryConsentEnabled" + } + } + } + }, + "SecondaryConsentEnabled": { + "description": "This property indicates whether secondary consent is present for problem classification.", + "type": "object", + "properties": { + "description": { + "description": "Description of Secondary consent.", + "type": "string" + }, + "type": { + "description": "Type of Secondary consent.", + "type": "string" } } }, @@ -2444,11 +2465,6 @@ "type": "string", "readOnly": true }, - "productionOutage": { - "description": "Indicates if this issue is a production outage.", - "type": "boolean", - "readOnly": true - }, "require24X7Response": { "description": "Indicates if this requires a 24x7 response from Azure.", "type": "boolean" @@ -2465,6 +2481,16 @@ "modelAsString": true } }, + "ProblemScopingQuestions": { + "description": "Problem scoping questions associated with the support ticket.", + "type": "string", + "readOnly": true + }, + "SupportPlanId": { + "description": "Support plan id associated with the support ticket.", + "type": "string", + "readOnly": true + }, "contactDetails": { "$ref": "#/definitions/ContactProfile", "description": "Contact information of the user requesting to create a support ticket." @@ -2533,6 +2559,13 @@ "quotaTicketDetails": { "$ref": "#/definitions/QuotaTicketDetails", "description": "Additional ticket details associated with a quota support ticket request." + }, + "secondaryConsent": { + "description": "This property indicates secondary consents for the support ticket", + "type": "array", + "items": { + "$ref": "#/definitions/SecondaryConsent" + } } } }, @@ -2734,6 +2767,20 @@ } } }, + "SecondaryConsent": { + "description": "This property indicates secondary consent for the support ticket.", + "type": "object", + "properties": { + "userConsent": { + "description": "User consent value provided", + "type": "string" + }, + "type": { + "description": "Type of user consent.", + "type": "string" + } + } + }, "UpdateSupportTicket": { "description": "Updates severity, ticket status, and contact details in the support ticket.", "type": "object", @@ -2779,6 +2826,13 @@ "name": "Consent", "modelAsString": true } + }, + "secondaryConsent": { + "description": "This property indicates secondary consents for the support ticket", + "type": "array", + "items": { + "$ref": "#/definitions/SecondaryConsent" + } } } }, @@ -2806,13 +2860,19 @@ "properties": { "properties": { "properties": { - "communications": { + "messages": { "description": "List of chat transcript communication resources.", "type": "array", "items": { "$ref": "#/definitions/ChatTranscriptDetailsProperties" }, "x-ms-identifiers": [] + }, + "startTime": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the chat began.", + "type": "string", + "readOnly": true } }, "type": "object", @@ -2832,14 +2892,11 @@ ], "type": "object", "properties": { - "communicationType": { - "description": "Communication type.", - "enum": [ - "web" - ], + "contentType": { + "description": "Content type.", "type": "string", "x-ms-enum": { - "name": "TranscriptCommunicationType", + "name": "TranscriptContentType", "modelAsString": true }, "readOnly": true @@ -2918,6 +2975,23 @@ } } }, + "FilesListResult": { + "description": "Object that represents a collection of File resources.", + "type": "object", + "properties": { + "value": { + "description": "List of File resources.", + "type": "array", + "items": { + "$ref": "#/definitions/FileDetails" + } + }, + "nextLink": { + "description": "The URI to fetch the next page of File resources.", + "type": "string" + } + } + }, "FileDetails": { "x-ms-azure-resource": true, "description": "Object that represents File Details resource", @@ -2969,23 +3043,6 @@ } } }, - "FilesListResult": { - "description": "Object that represents a collection of File resources.", - "type": "object", - "properties": { - "value": { - "description": "List of File resources.", - "type": "array", - "items": { - "$ref": "#/definitions/FileDetails" - } - }, - "nextLink": { - "description": "The URI to fetch the next page of File resources.", - "type": "string" - } - } - }, "UploadFile": { "description": "File content associated with the file under a workspace.", "type": "object", From fd14516b2c366e00cb48c22ce2484b89c254a3e8 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Thu, 7 Sep 2023 16:13:37 -0700 Subject: [PATCH 44/58] Changes to fix errors from checks --- .../CreateSqlDatabaseQuotaTicketForServers.json | 2 +- .../examples/ListSupportTicketsInUpdatingState.json | 2 +- .../preview/2022-09-01-preview/support.json | 13 ++++++++----- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json index c91e3203ff2b..da3aba5601c2 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateSqlDatabaseQuotaTicketForServers.json @@ -11,7 +11,7 @@ "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", "severity": "moderate", "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingState.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingState.json index ca95d27e9df2..ce78aea84040 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingState.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListSupportTicketsInUpdatingState.json @@ -67,7 +67,7 @@ "severity": "minimal", "require24X7Response": false, "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { "firstName": "abc", "lastName": "xyz", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index eaf84dfd0804..5b42e0d765a9 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -2210,7 +2210,8 @@ "type": "array", "items": { "$ref": "#/definitions/SecondaryConsentEnabled" - } + }, + "x-ms-identifiers": [] } } }, @@ -2481,12 +2482,12 @@ "modelAsString": true } }, - "ProblemScopingQuestions": { + "problemScopingQuestions": { "description": "Problem scoping questions associated with the support ticket.", "type": "string", "readOnly": true }, - "SupportPlanId": { + "supportPlanId": { "description": "Support plan id associated with the support ticket.", "type": "string", "readOnly": true @@ -2565,7 +2566,8 @@ "type": "array", "items": { "$ref": "#/definitions/SecondaryConsent" - } + }, + "x-ms-identifiers": [] } } }, @@ -2832,7 +2834,8 @@ "type": "array", "items": { "$ref": "#/definitions/SecondaryConsent" - } + }, + "x-ms-identifiers": [] } } }, From bdca9fdaeb965f2742fd71f202476e03418621a1 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Thu, 7 Sep 2023 16:25:45 -0700 Subject: [PATCH 45/58] Changes to fix errors from checks --- .../ListChatTranscriptsForSubscriptionSupportTicket.json | 4 ++-- .../examples/ListChatTranscriptsForSupportTicket.json | 4 ++-- .../preview/2022-09-01-preview/support.json | 6 ++---- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSubscriptionSupportTicket.json index ea8e4e261823..1be2123900d1 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSubscriptionSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSubscriptionSupportTicket.json @@ -13,7 +13,7 @@ "name": "55989c71-1727-4cd9-abad-ddb8770f71cd", "type": "Microsoft.Support/chatTranscripts", "properties": { - "communications": [ + "messages": [ { "contentType": "text", "communicationDirection": "outbound", @@ -36,7 +36,7 @@ "name": "f15051e3-a2f2-489f-9e64-8cfa203f44f8", "type": "Microsoft.Support/chatTranscripts", "properties": { - "communications": [ + "messages": [ { "contentType": "text", "communicationDirection": "outbound", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSupportTicket.json index e7757564d966..0c550e4bbdee 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSupportTicket.json @@ -12,7 +12,7 @@ "name": "55989c71-1727-4cd9-abad-ddb8770f71cd", "type": "Microsoft.Support/chatTranscripts", "properties": { - "communications": [ + "messages": [ { "contentType": "text", "communicationDirection": "outbound", @@ -35,7 +35,7 @@ "name": "f15051e3-a2f2-489f-9e64-8cfa203f44f8", "type": "Microsoft.Support/chatTranscripts", "properties": { - "communications": [ + "messages": [ { "contentType": "text", "communicationDirection": "outbound", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 5b42e0d765a9..3fabf000b21b 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -2484,13 +2484,11 @@ }, "problemScopingQuestions": { "description": "Problem scoping questions associated with the support ticket.", - "type": "string", - "readOnly": true + "type": "string" }, "supportPlanId": { "description": "Support plan id associated with the support ticket.", - "type": "string", - "readOnly": true + "type": "string" }, "contactDetails": { "$ref": "#/definitions/ContactProfile", From 06d8781280e216e44d2d6bd28b7bb11d87945450 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Thu, 7 Sep 2023 16:33:32 -0700 Subject: [PATCH 46/58] Minor fixes in examples --- .../GetchatTranscriptDetailsForSubscriptionSupportTicket.json | 2 +- .../examples/GetchatTranscriptDetailsForSupportTicket.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json index 2b4ea30227e7..ab4091446d64 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json @@ -12,7 +12,7 @@ "name": "testmessage", "type": "Microsoft.Support/chatTranscripts", "properties": { - "communications": [ + "messages": [ { "contentType": "text", "communicationDirection": "outbound", diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSupportTicket.json index 32ae4dcdfeaa..25b88698b7de 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetchatTranscriptDetailsForSupportTicket.json @@ -12,7 +12,7 @@ "name": "testmessage", "type": "Microsoft.Support/chatTranscripts", "properties": { - "communications": [ + "messages": [ { "contentType": "text", "communicationDirection": "outbound", From e798e0e38d16aa3fd8a27fbaecba6e23489d705e Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Thu, 21 Sep 2023 11:59:31 -0700 Subject: [PATCH 47/58] Changes for addressing comments --- ...anscriptsForSubscriptionSupportTicket.json | 6 +- .../ListChatTranscriptsForSupportTicket.json | 6 +- .../preview/2022-09-01-preview/support.json | 86 +++++++------------ 3 files changed, 39 insertions(+), 59 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSubscriptionSupportTicket.json index 1be2123900d1..3514f93e3f58 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSubscriptionSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSubscriptionSupportTicket.json @@ -28,7 +28,8 @@ "body": "hi", "createdDate": "2020-03-24T20:19:16Z" } - ] + ], + "startTime": "2023-08-22T22:46:35Z" } }, { @@ -51,7 +52,8 @@ "body": "hello", "createdDate": "2020-03-25T20:19:16Z" } - ] + ], + "startTime": "2023-08-22T22:46:35Z" } } ] diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSupportTicket.json index 0c550e4bbdee..9071538f2e6f 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListChatTranscriptsForSupportTicket.json @@ -27,7 +27,8 @@ "body": "hi", "createdDate": "2020-03-24T20:19:16Z" } - ] + ], + "startTime": "2023-08-22T22:46:35Z" } }, { @@ -50,7 +51,8 @@ "body": "hello", "createdDate": "2020-03-25T20:19:16Z" } - ] + ], + "startTime": "2023-08-22T22:46:35Z" } } ] diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 3fabf000b21b..fa0c75557410 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -1979,7 +1979,7 @@ } ], "responses": { - "200": { + "204": { "description": "Successfully uploaded file content." }, "default": { @@ -2032,7 +2032,7 @@ } ], "responses": { - "200": { + "204": { "description": "Successfully uploaded file content." }, "default": { @@ -2860,24 +2860,20 @@ "type": "object", "properties": { "properties": { - "properties": { - "messages": { - "description": "List of chat transcript communication resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ChatTranscriptDetailsProperties" - }, - "x-ms-identifiers": [] + "messages": { + "description": "List of chat transcript communication resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ChatTranscriptDetailsProperties" }, - "startTime": { - "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when the chat began.", - "type": "string", - "readOnly": true - } + "x-ms-identifiers": [] }, - "type": "object", - "description": "List of chat transcript communication resources." + "startTime": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the chat began.", + "type": "string", + "readOnly": true + } } }, "allOf": [ @@ -2936,27 +2932,17 @@ "description": "Object that represents FileWorkspaceDetails resource", "type": "object", "properties": { - "id": { - "description": "Id of the resource", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Name of the resource", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Type of the resource 'Microsoft.Support/fileWorkspaces'", - "type": "string", - "readOnly": true - }, "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/FileWorkspaceDetailsProperties", "description": "Properties of the resource" } - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ] }, "FileWorkspaceDetailsProperties": { "description": "Describes the properties of a file workspace.", @@ -2998,27 +2984,17 @@ "description": "Object that represents File Details resource", "type": "object", "properties": { - "id": { - "description": "Id of the resource", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Name of the resource", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Type of the resource 'Microsoft.Support/files'", - "type": "string", - "readOnly": true - }, "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/FileDetailsProperties", "description": "Properties of the resource" } - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ] }, "FileDetailsProperties": { "description": "Describes the properties of a file.", @@ -3032,15 +3008,15 @@ }, "chunkSize": { "description": "Size of each chunk", - "type": "string" + "type": "number" }, "fileSize": { "description": "Size of the file to be uploaded", - "type": "string" + "type": "number" }, "numberOfChunks": { - "description": "Size of the file to be uploaded", - "type": "string" + "description": "Number of chunks to be uploaded", + "type": "number" } } }, @@ -3054,7 +3030,7 @@ }, "chunkIndex": { "description": "Index of the uploaded chunk (Index starts at 0)", - "type": "string" + "type": "number" } } } From 1086d7a9de19a64c7bd68c7d4b2f9602387b2d68 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Thu, 21 Sep 2023 12:14:11 -0700 Subject: [PATCH 48/58] Changes to address check failures --- .../2022-09-01-preview/examples/CreateFile.json | 12 ++++++------ .../examples/CreateFileForSubscription.json | 12 ++++++------ .../2022-09-01-preview/examples/GetFileDetails.json | 6 +++--- .../examples/GetFileDetailsForSubscription.json | 6 +++--- .../ListFilesForSubscriptionUnderFileWorkspace.json | 12 ++++++------ .../examples/ListFilesUnderFileWorkspace.json | 12 ++++++------ .../2022-09-01-preview/examples/UploadFile.json | 4 ++-- .../examples/UploadFileForSubscription.json | 4 ++-- 8 files changed, 34 insertions(+), 34 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json index b1d3b25442b5..a803a4d6a614 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFile.json @@ -5,9 +5,9 @@ "api-version": "2022-09-01-preview", "createFileParameters": { "properties": { - "chunkSize": "41423", - "fileSize": "41423", - "numberOfChunks": "1" + "chunkSize": 41423, + "fileSize": 41423, + "numberOfChunks": 1 } } }, @@ -19,9 +19,9 @@ "type": "Microsoft.Support/files", "properties": { "createdOn": "2022-08-24T20:18:19Z", - "chunkSize": "41423", - "fileSize": "41423", - "numberOfChunks": "1" + "chunkSize": 41423, + "fileSize": 41423, + "numberOfChunks": 1 } } } diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileForSubscription.json index 258f07248716..edd1e1892970 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CreateFileForSubscription.json @@ -6,9 +6,9 @@ "api-version": "2022-09-01-preview", "createFileParameters": { "properties": { - "chunkSize": "41423", - "fileSize": "41423", - "numberOfChunks": "1" + "chunkSize": 41423, + "fileSize": 41423, + "numberOfChunks": 1 } } }, @@ -20,9 +20,9 @@ "type": "Microsoft.Support/files", "properties": { "createdOn": "2022-08-24T20:18:19Z", - "chunkSize": "41423", - "fileSize": "41423", - "numberOfChunks": "1" + "chunkSize": 41423, + "fileSize": 41423, + "numberOfChunks": 1 } } } diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetails.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetails.json index 5d0071d3a104..5ae39b696a9b 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetails.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetails.json @@ -12,9 +12,9 @@ "type": "Microsoft.Support/files", "properties": { "createdOn": "2022-08-24T20:18:19Z", - "chunkSize": "41423", - "fileSize": "41423", - "numberOfChunks": "1" + "chunkSize": 41423, + "fileSize": 41423, + "numberOfChunks": 1 } } } diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetailsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetailsForSubscription.json index 8f03232ec91a..364ad30f2fe0 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetailsForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/GetFileDetailsForSubscription.json @@ -13,9 +13,9 @@ "type": "Microsoft.Support/files", "properties": { "createdOn": "2022-08-24T20:18:19Z", - "chunkSize": "41423", - "fileSize": "41423", - "numberOfChunks": "1" + "chunkSize": 41423, + "fileSize": 41423, + "numberOfChunks": 1 } } } diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesForSubscriptionUnderFileWorkspace.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesForSubscriptionUnderFileWorkspace.json index 8162ee095575..865936d32bf5 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesForSubscriptionUnderFileWorkspace.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesForSubscriptionUnderFileWorkspace.json @@ -14,9 +14,9 @@ "type": "Microsoft.Support/files", "properties": { "createdOn": "2022-08-24T20:18:19Z", - "chunkSize": "41423", - "fileSize": "41423", - "numberOfChunks": "1" + "chunkSize": 41423, + "fileSize": 41423, + "numberOfChunks": 1 } }, { @@ -25,9 +25,9 @@ "type": "Microsoft.Support/files", "properties": { "createdOn": "2022-08-24T20:18:19Z", - "chunkSize": "41423", - "fileSize": "41423", - "numberOfChunks": "1" + "chunkSize": 41423, + "fileSize": 41423, + "numberOfChunks": 1 } } ] diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesUnderFileWorkspace.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesUnderFileWorkspace.json index 543dd6937a3c..53b396589d9e 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesUnderFileWorkspace.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListFilesUnderFileWorkspace.json @@ -13,9 +13,9 @@ "type": "Microsoft.Support/files", "properties": { "createdOn": "2022-08-24T20:18:19Z", - "chunkSize": "41423", - "fileSize": "41423", - "numberOfChunks": "1" + "chunkSize": 41423, + "fileSize": 41423, + "numberOfChunks": 1 } }, { @@ -24,9 +24,9 @@ "type": "Microsoft.Support/files", "properties": { "createdOn": "2022-08-24T20:18:19Z", - "chunkSize": "41423", - "fileSize": "41423", - "numberOfChunks": "1" + "chunkSize": 41423, + "fileSize": 41423, + "numberOfChunks": 1 } } ] diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json index c4abd1f25160..b3d99658734d 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFile.json @@ -6,10 +6,10 @@ "api-version": "2022-09-01-preview", "uploadFile": { "content": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd", - "chunkIndex": "0" + "chunkIndex": 0 } }, "responses": { - "200": {} + "204": {} } } diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json index c4abd1f25160..b3d99658734d 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/UploadFileForSubscription.json @@ -6,10 +6,10 @@ "api-version": "2022-09-01-preview", "uploadFile": { "content": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd", - "chunkIndex": "0" + "chunkIndex": 0 } }, "responses": { - "200": {} + "204": {} } } From 8f1d077a0e2e3ddb0435ebe212a7d9a1c5fb2a3c Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Thu, 21 Sep 2023 20:23:55 -0700 Subject: [PATCH 49/58] Changes to address multi level nesting comment --- .../preview/2022-09-01-preview/support.json | 40 ++++++++++++------- 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index fa0c75557410..9df19e220d68 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -2860,20 +2860,9 @@ "type": "object", "properties": { "properties": { - "messages": { - "description": "List of chat transcript communication resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ChatTranscriptDetailsProperties" - }, - "x-ms-identifiers": [] - }, - "startTime": { - "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when the chat began.", - "type": "string", - "readOnly": true - } + "x-ms-client-flatten": true, + "$ref": "#/definitions/ChatTranscriptDetailsProperties", + "description": "Properties of the resource." } }, "allOf": [ @@ -2888,6 +2877,29 @@ "body" ], "type": "object", + "properties": { + "messages": { + "description": "List of chat transcript communication resources.", + "type": "array", + "items": { + "$ref": "#/definitions/MessageProperties" + }, + "x-ms-identifiers": [] + }, + "startTime": { + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the chat began.", + "type": "string", + "readOnly": true + } + } + }, + "MessageProperties": { + "description": "Describes the properties of a Message Details resource.", + "required": [ + "body" + ], + "type": "object", "properties": { "contentType": { "description": "Content type.", From 5f9ed4a6a3fd03abd50916f51258b974f6edf463 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Thu, 21 Sep 2023 20:36:24 -0700 Subject: [PATCH 50/58] Fixing prettier check and minor fix --- .../preview/2022-09-01-preview/support.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index 9df19e220d68..ae5a9b3bed34 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -2862,7 +2862,7 @@ "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/ChatTranscriptDetailsProperties", - "description": "Properties of the resource." + "description": "Properties of the resource." } }, "allOf": [ @@ -2873,9 +2873,6 @@ }, "ChatTranscriptDetailsProperties": { "description": "Describes the properties of a Chat Transcript Details resource.", - "required": [ - "body" - ], "type": "object", "properties": { "messages": { From da12e79f58543437f15541c12574ae5bbc62bcd1 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Fri, 22 Sep 2023 09:53:37 -0700 Subject: [PATCH 51/58] Changes as per new comments --- .../preview/2022-09-01-preview/support.json | 22 +++++++++++++------ 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json index ae5a9b3bed34..8f4c3bb6f282 100644 --- a/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json +++ b/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json @@ -2220,11 +2220,11 @@ "type": "object", "properties": { "description": { - "description": "Description of Secondary consent.", + "description": "User consent description.", "type": "string" }, "type": { - "description": "Type of Secondary consent.", + "description": "The Azure service for which secondary consent is needed for case creation.", "type": "string" } } @@ -2773,10 +2773,18 @@ "properties": { "userConsent": { "description": "User consent value provided", - "type": "string" + "enum": [ + "Yes", + "No" + ], + "type": "string", + "x-ms-enum": { + "name": "UserConsent", + "modelAsString": true + } }, "type": { - "description": "Type of user consent.", + "description": "The service name for which the secondary consent is being provided. The value needs to be retrieved from the Problem Classification API response.", "type": "string" } } @@ -2867,7 +2875,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -2949,7 +2957,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -3001,7 +3009,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, From c6740c9a019939b6d5b08119e2c86d4abff520a6 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Mon, 25 Sep 2023 10:20:38 -0700 Subject: [PATCH 52/58] Changes to remove suppression at file level --- specification/support/resource-manager/readme.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/specification/support/resource-manager/readme.md b/specification/support/resource-manager/readme.md index 6b3b37ab24ad..35a52dd27088 100644 --- a/specification/support/resource-manager/readme.md +++ b/specification/support/resource-manager/readme.md @@ -50,10 +50,7 @@ suppressions: - code: RPC-Patch-V1-03 from: Microsoft.Support/preview/2022-09-01-preview/support.json reason: "Rule: The property {propertyName} in the request body either not apppear in the resource model or has the wrong level. Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it" - - code: RPC-Get-V1-05 - from: Microsoft.Support/preview/2022-09-01-preview/support.json - reason: "Rule: The top-level resource 'FileWorkspaceDetails' does not have list by subscription operation, please add it. Justification: We cannot support get list for this resource type" - + ``` ### Tag: package-preview-2021-06 From c635a3a5d1b386c556c8be55123688f2d8745c2b Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Mon, 25 Sep 2023 10:39:49 -0700 Subject: [PATCH 53/58] Changes for removing supression rules at file level --- specification/support/resource-manager/readme.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/specification/support/resource-manager/readme.md b/specification/support/resource-manager/readme.md index 35a52dd27088..77764e65d97c 100644 --- a/specification/support/resource-manager/readme.md +++ b/specification/support/resource-manager/readme.md @@ -40,16 +40,10 @@ input-file: suppressions: - code: RPC-Put-V1-01 from: Microsoft.Support/preview/2022-09-01-preview/support.json - reason: "Rule: The path for put operation must be under a subscription and resource group. Justification: Suppressing this rule since path for support ticket resource doesn't contain resource group" - - code: RPC-Uri-V1-05 - from: Microsoft.Support/preview/2022-09-01-preview/support.json - reason: "Rule: The resource name parameter supportTicketName should be defined with a pattern restriction. Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it" + reason: "Rule: The path for put operation must be under a subscription and resource group. Justification: Suppressing this rule since path for support ticket resource doesn't contain resource group" - code: RPC-Put-V1-11 from: Microsoft.Support/preview/2022-09-01-preview/support.json reason: "Rule: Any Put MUST contain 200 and 201 return codes. Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it" - - code: RPC-Patch-V1-03 - from: Microsoft.Support/preview/2022-09-01-preview/support.json - reason: "Rule: The property {propertyName} in the request body either not apppear in the resource model or has the wrong level. Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it" ``` ### Tag: package-preview-2021-06 From 21078287d4a4fd130eb31b7120de92b646bb2b49 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Mon, 25 Sep 2023 12:06:11 -0700 Subject: [PATCH 54/58] Changes to apply suppression rule to the definition wherever applicable --- specification/support/resource-manager/readme.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/specification/support/resource-manager/readme.md b/specification/support/resource-manager/readme.md index 77764e65d97c..82d907b7cb5d 100644 --- a/specification/support/resource-manager/readme.md +++ b/specification/support/resource-manager/readme.md @@ -44,6 +44,16 @@ suppressions: - code: RPC-Put-V1-11 from: Microsoft.Support/preview/2022-09-01-preview/support.json reason: "Rule: Any Put MUST contain 200 and 201 return codes. Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it" + - code: RPC-Get-V1-05 + from: Microsoft.Support/preview/2022-09-01-preview/support.json + where: $.definitions.FileWorkspaceDetails + reason: "Rule: The top-level resource 'FileWorkspaceDetails' does not have list by subscription operation, please add it. Justification: We cannot support get list for this resource type" + - code: RPC-Patch-V1-03 + from: Microsoft.Support/preview/2022-09-01-preview/support.json + reason: "Rule: The property {propertyName} in the request body either not apppear in the resource model or has the wrong level. Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it" + - code: RPC-Uri-V1-05 + from: Microsoft.Support/preview/2022-09-01-preview/support.json + reason: "Rule: The resource name parameter supportTicketName should be defined with a pattern restriction. Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it" ``` ### Tag: package-preview-2021-06 From 5989d7f74cf95c1c23017206cc307765fafb140c Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Wed, 27 Sep 2023 14:16:39 -0700 Subject: [PATCH 55/58] Removing couple of suppression rules as they are taken care for new api --- specification/support/resource-manager/readme.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/specification/support/resource-manager/readme.md b/specification/support/resource-manager/readme.md index 82d907b7cb5d..82405e396e65 100644 --- a/specification/support/resource-manager/readme.md +++ b/specification/support/resource-manager/readme.md @@ -48,13 +48,7 @@ suppressions: from: Microsoft.Support/preview/2022-09-01-preview/support.json where: $.definitions.FileWorkspaceDetails reason: "Rule: The top-level resource 'FileWorkspaceDetails' does not have list by subscription operation, please add it. Justification: We cannot support get list for this resource type" - - code: RPC-Patch-V1-03 - from: Microsoft.Support/preview/2022-09-01-preview/support.json - reason: "Rule: The property {propertyName} in the request body either not apppear in the resource model or has the wrong level. Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it" - - code: RPC-Uri-V1-05 - from: Microsoft.Support/preview/2022-09-01-preview/support.json - reason: "Rule: The resource name parameter supportTicketName should be defined with a pattern restriction. Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it" - + ``` ### Tag: package-preview-2021-06 From 18ee98d39e74149e1d95f8e866006638275e9c60 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Wed, 27 Sep 2023 18:44:41 -0700 Subject: [PATCH 56/58] Changes to suppress TopLevelResourcesListBySubscription for fileworkspaces --- specification/support/resource-manager/readme.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/specification/support/resource-manager/readme.md b/specification/support/resource-manager/readme.md index 82405e396e65..819a2945f239 100644 --- a/specification/support/resource-manager/readme.md +++ b/specification/support/resource-manager/readme.md @@ -29,6 +29,15 @@ openapi-type: arm tag: package-preview-2022-09 ``` +### Suppression + +``` yaml +directive: +- suppress: TopLevelResourcesListBySubscription + from: Microsoft.Support/preview/2022-09-01-preview/support.json + where: $.definitions.FileWorkspaceDetails + reason: "Rule: The top-level resource 'FileWorkspaceDetails' does not have list by subscription operation, please add it. Justification: We cannot support get list for this resource type" +``` ### Tag: package-preview-2022-09 From 63d0660621820eb920606e4c65fb3a6d250b3464 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Wed, 27 Sep 2023 19:03:04 -0700 Subject: [PATCH 57/58] Reverting the suppression rule change --- specification/support/resource-manager/readme.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/specification/support/resource-manager/readme.md b/specification/support/resource-manager/readme.md index 819a2945f239..e7e292c93ddd 100644 --- a/specification/support/resource-manager/readme.md +++ b/specification/support/resource-manager/readme.md @@ -29,16 +29,6 @@ openapi-type: arm tag: package-preview-2022-09 ``` -### Suppression - -``` yaml -directive: -- suppress: TopLevelResourcesListBySubscription - from: Microsoft.Support/preview/2022-09-01-preview/support.json - where: $.definitions.FileWorkspaceDetails - reason: "Rule: The top-level resource 'FileWorkspaceDetails' does not have list by subscription operation, please add it. Justification: We cannot support get list for this resource type" -``` - ### Tag: package-preview-2022-09 These settings apply only when `--tag=package-preview-2022-09` is specified on the command line. From e0583a2cb882c7c6d88d455bd20bacf0de3a82d4 Mon Sep 17 00:00:00 2001 From: Vijaya Munukutla Date: Wed, 27 Sep 2023 19:11:38 -0700 Subject: [PATCH 58/58] Changing suppression code --- specification/support/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/support/resource-manager/readme.md b/specification/support/resource-manager/readme.md index e7e292c93ddd..0123222b62fd 100644 --- a/specification/support/resource-manager/readme.md +++ b/specification/support/resource-manager/readme.md @@ -43,7 +43,7 @@ suppressions: - code: RPC-Put-V1-11 from: Microsoft.Support/preview/2022-09-01-preview/support.json reason: "Rule: Any Put MUST contain 200 and 201 return codes. Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it" - - code: RPC-Get-V1-05 + - code: TopLevelResourcesListBySubscription from: Microsoft.Support/preview/2022-09-01-preview/support.json where: $.definitions.FileWorkspaceDetails reason: "Rule: The top-level resource 'FileWorkspaceDetails' does not have list by subscription operation, please add it. Justification: We cannot support get list for this resource type"