From 659b9696510798cee1870d2a5341cdb0c4f7cbb7 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Tue, 24 Jun 2025 03:20:38 +0000 Subject: [PATCH 01/38] update default tag --- 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 71a324de03c7..b37beba72b46 100644 --- a/specification/support/resource-manager/readme.md +++ b/specification/support/resource-manager/readme.md @@ -26,7 +26,7 @@ These are the global settings for the Support API. ``` yaml openapi-type: arm -tag: package-preview-2023-06 +tag: package-2024-04 ``` From a7a55989a2ba7104423f9aaf0808addb5d8ddc9a Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Tue, 24 Jun 2025 05:04:55 +0000 Subject: [PATCH 02/38] init tsp --- .../ChatTranscriptDetails.tsp | 97 ++ .../CommunicationDetails.tsp | 152 ++++ .../Support.Management/FileDetails.tsp | 133 +++ .../FileWorkspaceDetails.tsp | 94 ++ .../ProblemClassification.tsp | 45 + .../support/Support.Management/Service.tsp | 47 + .../SupportTicketDetails.tsp | 191 ++++ .../Support.Management/back-compatible.tsp | 55 ++ .../2024-04-01/CheckNameAvailability.json | 20 + ...ubscriptionSupportTicketCommunication.json | 21 + ...labilityForSupportTicketCommunication.json | 22 + ...CheckNameAvailabilityWithSubscription.json | 21 + ...tForSpecificBatchAccountForActiveJobs.json | 100 +++ ...SpecificBatchAccountForDedicatedCores.json | 100 +++ ...ecificBatchAccountForLowPriorityCores.json | 100 +++ ...TicketForSpecificBatchAccountForPools.json | 100 +++ ...CreateBatchQuotaTicketForSubscription.json | 100 +++ .../CreateBillingSupportTicket.json | 80 ++ ...teBillingSupportTicketForSubscription.json | 81 ++ ...CreateCoresQuotaTicketForSubscription.json | 98 +++ .../examples/2024-04-01/CreateFile.json | 31 + .../2024-04-01/CreateFileForSubscription.json | 32 + .../2024-04-01/CreateFileWorkspace.json | 21 + .../CreateFileWorkspaceForSubscription.json | 22 + .../2024-04-01/CreateGenericQuotaTicket.json | 77 ++ ...eLearningQuotaTicketForDedicatedCores.json | 100 +++ ...earningQuotaTicketForLowPriorityCores.json | 100 +++ ...ubscriptionSupportTicketCommunication.json | 39 + .../CreateSqlDatabaseQuotaTicketForDTUs.json | 100 +++ ...reateSqlDatabaseQuotaTicketForServers.json | 100 +++ ...ateSqlDatawarehouseQuotaTicketForDTUs.json | 100 +++ ...SqlDatawarehouseQuotaTicketForServers.json | 100 +++ .../CreateSqlManagedInstanceQuotaTicket.json | 108 +++ .../CreateSubMgmtSupportTicket.json | 80 ++ ...teSubMgmtSupportTicketForSubscription.json | 81 ++ .../CreateSupportTicketCommunication.json | 40 + .../CreateTechnicalSupportTicket.json | 94 ++ ...TechnicalSupportTicketForSubscription.json | 101 +++ ...onDetailsForSubscriptionSupportTicket.json | 27 + ...tCommunicationDetailsForSupportTicket.json | 26 + .../examples/2024-04-01/GetFileDetails.json | 24 + .../GetFileDetailsForSubscription.json | 25 + .../2024-04-01/GetFileWorkspaceDetails.json | 21 + ...etFileWorkspaceDetailsForSubscription.json | 22 + .../2024-04-01/GetProblemClassification.json | 21 + .../examples/2024-04-01/GetService.json | 24 + .../GetSubscriptionSupportTicketDetails.json | 54 ++ .../2024-04-01/GetSupportTicketDetails.json | 53 ++ ...ptDetailsForSubscriptionSupportTicket.json | 37 + ...chatTranscriptDetailsForSupportTicket.json | 36 + ...anscriptsForSubscriptionSupportTicket.json | 65 ++ .../ListChatTranscriptsForSupportTicket.json | 64 ++ ...nicationsForSubscriptionSupportTicket.json | 43 + .../ListCommunicationsForSupportTicket.json | 42 + ...ilesForSubscriptionUnderFileWorkspace.json | 39 + .../ListFilesUnderFileWorkspace.json | 38 + .../examples/2024-04-01/ListOperations.json | 96 ++ .../ListProblemClassifications.json | 72 ++ .../examples/2024-04-01/ListServices.json | 90 ++ .../2024-04-01/ListSupportTickets.json | 103 +++ .../ListSupportTicketsBySubscription.json | 108 +++ ...TicketsCreatedOnOrAfterAndInOpenState.json | 105 +++ ...OnOrAfterAndInOpenStateBySubscription.json | 109 +++ ...etsCreatedOnOrAfterAndInUpdatingState.json | 112 +++ ...AfterAndInUpdatingStateBySubscription.json | 109 +++ .../ListSupportTicketsInOpenState.json | 105 +++ ...pportTicketsInOpenStateBySubscription.json | 109 +++ .../ListSupportTicketsInUpdatingState.json | 105 +++ ...tTicketsInUpdatingStateBySubscription.json | 109 +++ ...tTicketsProblemClassificationIdEquals.json | 89 ++ ...ClassificationIdEqualsForSubscription.json | 90 ++ .../ListSupportTicketsServiceIdEquals.json | 103 +++ ...TicketsServiceIdEqualsForSubscription.json | 104 +++ ...nicationsForSubscriptionSupportTicket.json | 44 + ...criptionSupportTicketCreatedOnOrAfter.json | 44 + ...ListWebCommunicationsForSupportTicket.json | 43 + ...tionsForSupportTicketCreatedOnOrAfter.json | 43 + ...ancedDiagnosticConsentOfSupportTicket.json | 60 ++ ...ConsentOfSupportTicketForSubscription.json | 61 ++ .../UpdateContactDetailsOfSupportTicket.json | 74 ++ ...DetailsOfSupportTicketForSubscription.json | 75 ++ .../UpdateSeverityOfSupportTicket.json | 60 ++ ...everityOfSupportTicketForSubscription.json | 61 ++ .../UpdateStatusOfSupportTicket.json | 60 ++ ...eStatusOfSupportTicketForSubscription.json | 61 ++ .../examples/2024-04-01/UploadFile.json | 17 + .../2024-04-01/UploadFileForSubscription.json | 17 + .../support/Support.Management/main.tsp | 52 ++ .../support/Support.Management/models.tsp | 827 ++++++++++++++++++ .../support/Support.Management/routes.tsp | 44 + .../support/Support.Management/tspconfig.yaml | 13 + 91 files changed, 7018 insertions(+) create mode 100644 specification/support/Support.Management/ChatTranscriptDetails.tsp create mode 100644 specification/support/Support.Management/CommunicationDetails.tsp create mode 100644 specification/support/Support.Management/FileDetails.tsp create mode 100644 specification/support/Support.Management/FileWorkspaceDetails.tsp create mode 100644 specification/support/Support.Management/ProblemClassification.tsp create mode 100644 specification/support/Support.Management/Service.tsp create mode 100644 specification/support/Support.Management/SupportTicketDetails.tsp create mode 100644 specification/support/Support.Management/back-compatible.tsp create mode 100644 specification/support/Support.Management/examples/2024-04-01/CheckNameAvailability.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityForSupportTicketCommunication.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityWithSubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateBillingSupportTicket.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateBillingSupportTicketForSubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateCoresQuotaTicketForSubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateFile.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateFileForSubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateFileWorkspace.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateFileWorkspaceForSubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateGenericQuotaTicket.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateMachineLearningQuotaTicketForDedicatedCores.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateMachineLearningQuotaTicketForLowPriorityCores.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateNoSubscriptionSupportTicketCommunication.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateSqlDatabaseQuotaTicketForDTUs.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateSqlDatabaseQuotaTicketForServers.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateSqlDatawarehouseQuotaTicketForDTUs.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateSqlDatawarehouseQuotaTicketForServers.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateSqlManagedInstanceQuotaTicket.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateSubMgmtSupportTicket.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateSubMgmtSupportTicketForSubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateSupportTicketCommunication.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateTechnicalSupportTicket.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/CreateTechnicalSupportTicketForSubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/GetCommunicationDetailsForSubscriptionSupportTicket.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/GetCommunicationDetailsForSupportTicket.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/GetFileDetails.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/GetFileDetailsForSubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/GetFileWorkspaceDetails.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/GetFileWorkspaceDetailsForSubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/GetProblemClassification.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/GetService.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/GetSubscriptionSupportTicketDetails.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/GetSupportTicketDetails.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/GetchatTranscriptDetailsForSubscriptionSupportTicket.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/GetchatTranscriptDetailsForSupportTicket.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListChatTranscriptsForSubscriptionSupportTicket.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListChatTranscriptsForSupportTicket.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListCommunicationsForSubscriptionSupportTicket.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListCommunicationsForSupportTicket.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListFilesForSubscriptionUnderFileWorkspace.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListFilesUnderFileWorkspace.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListOperations.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListProblemClassifications.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListServices.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListSupportTickets.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsBySubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInOpenState.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInOpenStateBySubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInUpdatingState.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInUpdatingStateBySubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsProblemClassificationIdEquals.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEquals.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEqualsForSubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSubscriptionSupportTicket.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSupportTicket.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/UpdateAdvancedDiagnosticConsentOfSupportTicket.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/UpdateContactDetailsOfSupportTicket.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/UpdateContactDetailsOfSupportTicketForSubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/UpdateSeverityOfSupportTicket.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/UpdateSeverityOfSupportTicketForSubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/UpdateStatusOfSupportTicket.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/UpdateStatusOfSupportTicketForSubscription.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/UploadFile.json create mode 100644 specification/support/Support.Management/examples/2024-04-01/UploadFileForSubscription.json create mode 100644 specification/support/Support.Management/main.tsp create mode 100644 specification/support/Support.Management/models.tsp create mode 100644 specification/support/Support.Management/routes.tsp create mode 100644 specification/support/Support.Management/tspconfig.yaml diff --git a/specification/support/Support.Management/ChatTranscriptDetails.tsp b/specification/support/Support.Management/ChatTranscriptDetails.tsp new file mode 100644 index 000000000000..8a187140c04d --- /dev/null +++ b/specification/support/Support.Management/ChatTranscriptDetails.tsp @@ -0,0 +1,97 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./SupportTicketDetails.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Support; +/** + * Object that represents a Chat Transcript resource. + */ +@parentResource(SupportTicketDetails) +model ChatTranscriptDetails + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = ChatTranscriptDetails, + KeyName = "chatTranscriptName", + SegmentName = "chatTranscripts", + NamePattern = "" + >; +} + +@armResourceOperations +interface ChatTranscriptOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...KeysOf>, + }, + KeysOf> + > {} + +@armResourceOperations +interface ChatTranscripts { + /** + * Returns chatTranscript details for a support ticket under a subscription. + */ + get is ChatTranscriptOps.Read; + + /** + * Lists all chat transcripts for a support ticket under subscription + */ + list is ChatTranscriptOps.List; +} +@armResourceOperations +interface ChatTranscriptsNoSubscriptionOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...KeysOf>, + }, + KeysOf> + > {} + +@armResourceOperations +interface ChatTranscriptsNoSubscription { + /** + * Returns chatTranscript details for a no subscription support ticket. + */ + get is ChatTranscriptsNoSubscriptionOps.Read; + + /** + * Lists all chat transcripts for a support ticket + */ + list is ChatTranscriptsNoSubscriptionOps.List; +} + +@@doc(ChatTranscriptDetails.name, "ChatTranscript name."); +@@doc(ChatTranscriptDetails.properties, "Properties of the resource."); diff --git a/specification/support/Support.Management/CommunicationDetails.tsp b/specification/support/Support.Management/CommunicationDetails.tsp new file mode 100644 index 000000000000..139c55928727 --- /dev/null +++ b/specification/support/Support.Management/CommunicationDetails.tsp @@ -0,0 +1,152 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./SupportTicketDetails.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Support; +/** + * Object that represents a Communication resource. + */ +@parentResource(SupportTicketDetails) +model CommunicationDetails + is Azure.ResourceManager.ProxyResource< + CommunicationDetailsProperties, + false + > { + ...ResourceNameParameter< + Resource = CommunicationDetails, + KeyName = "communicationName", + SegmentName = "communications", + NamePattern = "" + >; +} + +@armResourceOperations +interface CommunicationOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...KeysOf>, + }, + KeysOf> + > {} + +@armResourceOperations +interface Communications { + /** + * Returns communication details for a support ticket. + */ + get is CommunicationOps.Read; + + /** + * Adds a new customer communication to an Azure support ticket. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility" + create is CommunicationOps.CreateOrUpdateAsync< + CommunicationDetails, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse + >; + + /** + * 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. + */ + list is CommunicationOps.List< + CommunicationDetails, + Parameters = { + /** + * The number of values to return in the collection. Default is 10 and max is 10. + */ + @query("$top") + $top?: int32; + + /** + * 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. + */ + @query("$filter") + $filter?: string; + } + >; +} +@armResourceOperations +interface CommunicationsNoSubscriptionOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...KeysOf>, + }, + KeysOf> + > {} + +@armResourceOperations +interface CommunicationsNoSubscription { + /** + * Returns communication details for a support ticket. + */ + get is CommunicationsNoSubscriptionOps.Read; + + /** + * Adds a new customer communication to an Azure support ticket. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility" + create is CommunicationsNoSubscriptionOps.CreateOrUpdateAsync< + CommunicationDetails, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse + >; + + /** + * 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. + */ + list is CommunicationsNoSubscriptionOps.List< + CommunicationDetails, + Parameters = { + /** + * The number of values to return in the collection. Default is 10 and max is 10. + */ + @query("$top") + $top?: int32; + + /** + * 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. + */ + @query("$filter") + $filter?: string; + } + >; +} + +@@doc(CommunicationDetails.name, "Communication name."); +@@doc(CommunicationDetails.properties, "Properties of the resource."); +@@doc(Communications.create::parameters.resource, "Communication object."); +@@doc(CommunicationsNoSubscription.create::parameters.resource, + "Communication object." +); diff --git a/specification/support/Support.Management/FileDetails.tsp b/specification/support/Support.Management/FileDetails.tsp new file mode 100644 index 000000000000..e1a98481f7f5 --- /dev/null +++ b/specification/support/Support.Management/FileDetails.tsp @@ -0,0 +1,133 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./FileWorkspaceDetails.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Support; +/** + * Object that represents File Details resource + */ +@parentResource(FileWorkspaceDetails) +model FileDetails + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = FileDetails, + KeyName = "fileName", + SegmentName = "files", + NamePattern = "" + >; +} + +@armResourceOperations +interface FileOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...KeysOf>, + }, + KeysOf> + > {} + +@armResourceOperations +interface Files { + /** + * Returns details of a specific file in a work space. + */ + get is FileOps.Read; + + /** + * Creates a new file under a workspace for the specified subscription. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility" + create is FileOps.CreateOrUpdateSync< + FileDetails, + Response = ArmResourceCreatedSyncResponse + >; + + /** + * Lists all the Files information under a workspace for an Azure subscription. + */ + list is FileOps.List; + + /** + * This API allows you to upload content to a file + */ + upload is FileOps.ActionSync; +} +@armResourceOperations +interface FilesNoSubscriptionOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...KeysOf>, + }, + KeysOf> + > {} + +@armResourceOperations +interface FilesNoSubscription { + /** + * Returns details of a specific file in a work space. + */ + get is FilesNoSubscriptionOps.Read; + + /** + * Creates a new file under a workspace. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility" + create is FilesNoSubscriptionOps.CreateOrUpdateSync< + FileDetails, + Response = ArmResourceCreatedSyncResponse + >; + + /** + * Lists all the Files information under a workspace for an Azure subscription. + */ + list is FilesNoSubscriptionOps.List; + + /** + * This API allows you to upload content to a file + */ + upload is FilesNoSubscriptionOps.ActionSync< + FileDetails, + UploadFile, + NoContentResponse + >; +} + +@@doc(FileDetails.name, "File Name"); +@@doc(FileDetails.properties, "Properties of the resource"); +@@doc(Files.create::parameters.resource, "Create file object"); +@@doc(Files.upload::parameters.body, "UploadFile object"); +@@doc(FilesNoSubscription.create::parameters.resource, "Create file object"); +@@doc(FilesNoSubscription.upload::parameters.body, "UploadFile object"); diff --git a/specification/support/Support.Management/FileWorkspaceDetails.tsp b/specification/support/Support.Management/FileWorkspaceDetails.tsp new file mode 100644 index 000000000000..fd2f9e991d1a --- /dev/null +++ b/specification/support/Support.Management/FileWorkspaceDetails.tsp @@ -0,0 +1,94 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Support; +/** + * Object that represents FileWorkspaceDetails resource + */ +@subscriptionResource +model FileWorkspaceDetails + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = FileWorkspaceDetails, + KeyName = "fileWorkspaceName", + SegmentName = "fileWorkspaces", + NamePattern = "" + >; +} + +@armResourceOperations +interface FileWorkspaceOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...Azure.ResourceManager.Legacy.Provider, + }, + KeysOf> + > {} + +@armResourceOperations +interface FileWorkspaces { + /** + * Gets details for a specific file workspace in an Azure subscription. + */ + get is FileWorkspaceOps.Read; + + // FIXME: (ArmResourceCreateOrReplace): ArmResourceCreateOrReplaceAsync/ArmResourceCreateOrReplaceSync should have a body parameter. + /** + * Creates a new file workspace for the specified subscription. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility" + create is FileWorkspaceOps.CreateOrUpdateSync< + FileWorkspaceDetails, + Response = ArmResourceCreatedSyncResponse + >; +} +@armResourceOperations +interface FileWorkspacesNoSubscriptionOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...Azure.ResourceManager.Legacy.Provider, + }, + KeysOf> + > {} + +@armResourceOperations +interface FileWorkspacesNoSubscription { + /** + * Gets details for a specific file workspace. + */ + get is FileWorkspacesNoSubscriptionOps.Read; + + // FIXME: (ArmResourceCreateOrReplace): ArmResourceCreateOrReplaceAsync/ArmResourceCreateOrReplaceSync should have a body parameter. + /** + * Creates a new file workspace. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility" + create is FileWorkspacesNoSubscriptionOps.CreateOrUpdateSync< + FileWorkspaceDetails, + Response = ArmResourceCreatedSyncResponse + >; +} + +@@doc(FileWorkspaceDetails.name, "File Workspace Name"); +@@doc(FileWorkspaceDetails.properties, "Properties of the resource"); diff --git a/specification/support/Support.Management/ProblemClassification.tsp b/specification/support/Support.Management/ProblemClassification.tsp new file mode 100644 index 000000000000..58b99719bece --- /dev/null +++ b/specification/support/Support.Management/ProblemClassification.tsp @@ -0,0 +1,45 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Service.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Support; +/** + * ProblemClassification resource object. + */ +@parentResource(Service) +model ProblemClassification + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = ProblemClassification, + KeyName = "problemClassificationName", + SegmentName = "problemClassifications", + NamePattern = "" + >; +} + +@armResourceOperations +interface ProblemClassifications { + /** + * Get problem classification details for a specific Azure service. + */ + get is ArmResourceRead; + + /** + * 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. + */ + list is ArmResourceListByParent< + ProblemClassification, + Response = ArmResponse + >; +} + +@@doc(ProblemClassification.name, "Name of problem classification."); +@@doc(ProblemClassification.properties, "Properties of the resource."); diff --git a/specification/support/Support.Management/Service.tsp b/specification/support/Support.Management/Service.tsp new file mode 100644 index 000000000000..a1878366bf29 --- /dev/null +++ b/specification/support/Support.Management/Service.tsp @@ -0,0 +1,47 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Support; +/** + * Object that represents a Service resource. + */ +@tenantResource +model Service is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = Service, + KeyName = "serviceName", + SegmentName = "services", + NamePattern = "" + >; +} + +@armResourceOperations +interface Services { + /** + * Gets a specific Azure service for support ticket creation. + */ + get is ArmResourceRead< + Service, + BaseParameters = Azure.ResourceManager.Foundations.TenantBaseParameters + >; + + /** + * 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. + */ + list is ArmResourceListByParent< + Service, + BaseParameters = Azure.ResourceManager.Foundations.TenantBaseParameters, + Response = ArmResponse + >; +} + +@@doc(Service.name, "Name of the Azure service."); +@@doc(Service.properties, "Properties of the resource."); diff --git a/specification/support/Support.Management/SupportTicketDetails.tsp b/specification/support/Support.Management/SupportTicketDetails.tsp new file mode 100644 index 000000000000..8a2874d81ece --- /dev/null +++ b/specification/support/Support.Management/SupportTicketDetails.tsp @@ -0,0 +1,191 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Support; +/** + * Object that represents SupportTicketDetails resource. + */ +@subscriptionResource +model SupportTicketDetails + is Azure.ResourceManager.ProxyResource< + SupportTicketDetailsProperties, + false + > { + ...ResourceNameParameter< + Resource = SupportTicketDetails, + KeyName = "supportTicketName", + SegmentName = "supportTickets", + NamePattern = "" + >; +} + +@armResourceOperations +interface SupportTicketOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...Azure.ResourceManager.Legacy.Provider, + }, + KeysOf> + > {} + +@armResourceOperations +interface SupportTickets { + /** + * 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. + */ + get is SupportTicketOps.Read; + + /** + * 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. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility" + create is SupportTicketOps.CreateOrUpdateAsync< + SupportTicketDetails, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse + >; + + /** + * 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. + */ + @patch(#{ implicitOptionality: false }) + update is SupportTicketOps.CustomPatchSync< + SupportTicketDetails, + PatchModel = UpdateSupportTicket + >; + + /** + * 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. + */ + list is SupportTicketOps.List< + SupportTicketDetails, + Parameters = { + /** + * The number of values to return in the collection. Default is 25 and max is 100. + */ + @query("$top") + $top?: int32; + + /** + * 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'. + */ + @query("$filter") + $filter?: string; + } + >; + + /** + * 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. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("Communications_CheckNameAvailability") + checkNameAvailability is SupportTicketOps.ActionSync< + SupportTicketDetails, + CheckNameAvailabilityInput, + ArmResponse + >; +} +@armResourceOperations +interface SupportTicketsNoSubscriptionOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...Azure.ResourceManager.Legacy.Provider, + }, + KeysOf> + > {} + +@armResourceOperations +interface SupportTicketsNoSubscription { + /** + * 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. + */ + get is SupportTicketsNoSubscriptionOps.Read; + + /** + * 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.

+ */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility" + create is SupportTicketsNoSubscriptionOps.CreateOrUpdateAsync< + SupportTicketDetails, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse + >; + + /** + * 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. + */ + @patch(#{ implicitOptionality: false }) + update is SupportTicketsNoSubscriptionOps.CustomPatchSync< + SupportTicketDetails, + PatchModel = UpdateSupportTicket + >; + + /** + * 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. + */ + list is SupportTicketsNoSubscriptionOps.List< + SupportTicketDetails, + Parameters = { + /** + * The number of values to return in the collection. Default is 25 and max is 100. + */ + @query("$top") + $top?: int32; + + /** + * 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'. + */ + @query("$filter") + $filter?: string; + } + >; + + /** + * 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. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("CommunicationsNoSubscription_CheckNameAvailability") + checkNameAvailability is SupportTicketsNoSubscriptionOps.ActionSync< + SupportTicketDetails, + CheckNameAvailabilityInput, + ArmResponse + >; +} + +@@doc(SupportTicketDetails.name, "Support ticket name."); +@@doc(SupportTicketDetails.properties, "Properties of the resource."); +@@doc(SupportTickets.create::parameters.resource, + "Support ticket request payload." +); +@@doc(SupportTickets.update::parameters.properties, + "UpdateSupportTicket object." +); +@@doc(SupportTickets.checkNameAvailability::parameters.body, "Input to check."); +@@doc(SupportTicketsNoSubscription.create::parameters.resource, + "Support ticket request payload." +); +@@doc(SupportTicketsNoSubscription.update::parameters.properties, + "UpdateSupportTicket object." +); +@@doc(SupportTicketsNoSubscription.checkNameAvailability::parameters.body, + "Input to check." +); diff --git a/specification/support/Support.Management/back-compatible.tsp b/specification/support/Support.Management/back-compatible.tsp new file mode 100644 index 000000000000..888ccad4ee0a --- /dev/null +++ b/specification/support/Support.Management/back-compatible.tsp @@ -0,0 +1,55 @@ +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; +using Microsoft.Support; + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(Service.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(ProblemClassification.properties); + +@@clientName(SupportTickets.create::parameters.resource, + "createSupportTicketParameters" +); +@@clientName(SupportTickets.update::parameters.properties, + "updateSupportTicket" +); +@@clientName(SupportTickets.checkNameAvailability::parameters.body, + "checkNameAvailabilityInput" +); +@@clientName(SupportTicketsNoSubscription.create::parameters.resource, + "createSupportTicketParameters" +); +@@clientName(SupportTicketsNoSubscription.update::parameters.properties, + "updateSupportTicket" +); +@@clientName(SupportTicketsNoSubscription.checkNameAvailability::parameters.body, + "checkNameAvailabilityInput" +); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(SupportTicketDetails.properties); + +@@clientName(Communications.create::parameters.resource, + "createCommunicationParameters" +); +@@clientName(CommunicationsNoSubscription.create::parameters.resource, + "createCommunicationParameters" +); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(CommunicationDetails.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(ChatTranscriptDetails.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(FileWorkspaceDetails.properties); + +@@clientName(Files.create::parameters.resource, "createFileParameters"); +@@clientName(Files.upload::parameters.body, "uploadFile"); +@@clientName(FilesNoSubscription.create::parameters.resource, + "createFileParameters" +); +@@clientName(FilesNoSubscription.upload::parameters.body, "uploadFile"); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(FileDetails.properties); diff --git a/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailability.json b/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailability.json new file mode 100644 index 000000000000..9b91ac5690e6 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailability.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "checkNameAvailabilityInput": { + "name": "sampleName", + "type": "Microsoft.Support/supportTickets" + } + }, + "responses": { + "200": { + "body": { + "message": "Name not available", + "nameAvailable": false, + "reason": "Name is already in use" + } + } + }, + "operationId": "SupportTicketsNoSubscription_CheckNameAvailability", + "title": "Checks whether name is available for SupportTicket resource" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json b/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json new file mode 100644 index 000000000000..1feabad45786 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "checkNameAvailabilityInput": { + "name": "sampleName", + "type": "Microsoft.Support/communications" + }, + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "message": "Name not available", + "nameAvailable": false, + "reason": "Name is already in use" + } + } + }, + "operationId": "CommunicationsNoSubscription_CheckNameAvailability", + "title": "Checks whether name is available for Communication resource" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityForSupportTicketCommunication.json b/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityForSupportTicketCommunication.json new file mode 100644 index 000000000000..06b33d318681 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityForSupportTicketCommunication.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "checkNameAvailabilityInput": { + "name": "sampleName", + "type": "Microsoft.Support/communications" + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "message": "Name not available", + "nameAvailable": false, + "reason": "Name is already in use" + } + } + }, + "operationId": "Communications_CheckNameAvailability", + "title": "Checks whether name is available for Communication resource for a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityWithSubscription.json b/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityWithSubscription.json new file mode 100644 index 000000000000..047cd6424580 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityWithSubscription.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "checkNameAvailabilityInput": { + "name": "sampleName", + "type": "Microsoft.Support/supportTickets" + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" + }, + "responses": { + "200": { + "body": { + "message": "Name not available", + "nameAvailable": false, + "reason": "Name is already in use" + } + } + }, + "operationId": "SupportTickets_CheckNameAvailability", + "title": "Checks whether name is available for a subscription support ticket resource" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json b/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json new file mode 100644 index 000000000000..060027d85fec --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createSupportTicketParameters": { + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "Account", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"Jobs\"}", + "region": "EastUS" + } + ] + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" + } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Batch", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "Account", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"Jobs\"}", + "region": "EastUS" + } + ] + }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for Active Jobs and Job Schedules for a Batch account" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json b/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json new file mode 100644 index 000000000000..4cb75a4299d6 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createSupportTicketParameters": { + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "Account", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"AccountName\":\"test\",\"VMFamily\":\"standardA0_A7Family\",\"NewLimit\":200,\"Type\":\"Dedicated\"}", + "region": "EastUS" + } + ] + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" + } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Batch", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "Account", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"AccountName\":\"test\",\"VMFamily\":\"standardA0_A7Family\",\"NewLimit\":200,\"Type\":\"Dedicated\"}", + "region": "EastUS" + } + ] + }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for specific VM family cores for a Batch account" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json b/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json new file mode 100644 index 000000000000..83df0b213325 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createSupportTicketParameters": { + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "Account", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"LowPriority\"}", + "region": "EastUS" + } + ] + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" + } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Batch", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "Account", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"LowPriority\"}", + "region": "EastUS" + } + ] + }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for Low-priority cores for a Batch account" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json b/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json new file mode 100644 index 000000000000..997e35ce24d3 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createSupportTicketParameters": { + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "Account", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"Pools\"}", + "region": "EastUS" + } + ] + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" + } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Batch", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "Account", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"Pools\"}", + "region": "EastUS" + } + ] + }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for Pools for a Batch account" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSubscription.json new file mode 100644 index 000000000000..f3be9c49f985 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSubscription.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createSupportTicketParameters": { + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "Subscription", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"NewLimit\":200,\"Type\":\"Account\"}", + "region": "EastUS" + } + ] + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" + } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Batch", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "Subscription", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"NewLimit\":200,\"Type\":\"Account\"}", + "region": "EastUS" + } + ] + }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for Batch accounts for a subscription" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateBillingSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/CreateBillingSupportTicket.json new file mode 100644 index 000000000000..4aecbcf9af9f --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateBillingSupportTicket.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createSupportTicketParameters": { + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "No", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemClassificationId": "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid", + "serviceId": "/providers/Microsoft.Support/services/billing_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" + } + }, + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "No", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Refund request", + "problemClassificationId": "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Billing", + "serviceId": "/providers/Microsoft.Support/services/billing_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "SupportTicketsNoSubscription_Create", + "title": "Create a ticket for Billing related issues" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateBillingSupportTicketForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/CreateBillingSupportTicketForSubscription.json new file mode 100644 index 000000000000..91847e7ac96b --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateBillingSupportTicketForSubscription.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createSupportTicketParameters": { + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "No", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemClassificationId": "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid", + "serviceId": "/providers/Microsoft.Support/services/billing_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" + } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "No", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Refund request", + "problemClassificationId": "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Billing", + "serviceId": "/providers/Microsoft.Support/services/billing_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket for Billing related issues" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateCoresQuotaTicketForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/CreateCoresQuotaTicketForSubscription.json new file mode 100644 index 000000000000..c8bf43f1ce99 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateCoresQuotaTicketForSubscription.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createSupportTicketParameters": { + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cores_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"SKU\":\"DSv3 Series\",\"NewLimit\":104}", + "region": "EastUS" + } + ] + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" + } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cores_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"VmFamily\":\"DSv3 Series\",\"NewLimit\":104}", + "region": "EastUS" + } + ] + }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for Compute VM Cores" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateFile.json b/specification/support/Support.Management/examples/2024-04-01/CreateFile.json new file mode 100644 index 000000000000..3f47261d079d --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateFile.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createFileParameters": { + "properties": { + "chunkSize": 41423, + "fileSize": 41423, + "numberOfChunks": 1 + } + }, + "fileName": "test.txt", + "fileWorkspaceName": "testworkspace" + }, + "responses": { + "201": { + "body": { + "name": "test.txt", + "type": "Microsoft.Support/files", + "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt", + "properties": { + "chunkSize": 41423, + "createdOn": "2022-08-24T20:18:19Z", + "fileSize": 41423, + "numberOfChunks": 1 + } + } + } + }, + "operationId": "FilesNoSubscription_Create", + "title": "Create a file workspace" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateFileForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/CreateFileForSubscription.json new file mode 100644 index 000000000000..5593045b6057 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateFileForSubscription.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createFileParameters": { + "properties": { + "chunkSize": 41423, + "fileSize": 41423, + "numberOfChunks": 1 + } + }, + "fileName": "test.txt", + "fileWorkspaceName": "testworkspace", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" + }, + "responses": { + "201": { + "body": { + "name": "test.txt", + "type": "Microsoft.Support/files", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt", + "properties": { + "chunkSize": 41423, + "createdOn": "2022-08-24T20:18:19Z", + "fileSize": 41423, + "numberOfChunks": 1 + } + } + } + }, + "operationId": "Files_Create", + "title": "Create a file under a subscription workspace" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateFileWorkspace.json b/specification/support/Support.Management/examples/2024-04-01/CreateFileWorkspace.json new file mode 100644 index 000000000000..8baabbfa8dac --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateFileWorkspace.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "fileWorkspaceName": "testworkspace" + }, + "responses": { + "201": { + "body": { + "name": "testworkspace", + "type": "Microsoft.Support/fileWorkspaces", + "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace", + "properties": { + "createdOn": "2022-08-24T20:18:19Z", + "expirationTime": "2022-08-25T20:18:19Z" + } + } + } + }, + "operationId": "FileWorkspacesNoSubscription_Create", + "title": "Create a file workspace" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateFileWorkspaceForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/CreateFileWorkspaceForSubscription.json new file mode 100644 index 000000000000..0b4eb73a7e63 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateFileWorkspaceForSubscription.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "fileWorkspaceName": "testworkspace", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" + }, + "responses": { + "201": { + "body": { + "name": "testworkspace", + "type": "Microsoft.Support/fileWorkspaces", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/fileWorkspaces/testworkspace", + "properties": { + "createdOn": "2022-08-24T20:18:19Z", + "expirationTime": "2022-08-25T20:18:19Z" + } + } + } + }, + "operationId": "FileWorkspaces_Create", + "title": "Create a file workspace for a subscription" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateGenericQuotaTicket.json b/specification/support/Support.Management/examples/2024-04-01/CreateGenericQuotaTicket.json new file mode 100644 index 000000000000..f80ef80ab1e0 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateGenericQuotaTicket.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createSupportTicketParameters": { + "properties": { + "description": "Increase the maximum throughput per container limit to 10000 for account foo bar", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cosmosdb_problemClassification_guid", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "title": "my title" + } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "Increase the maximum throughput per container limit to 10000 for account foo bar", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Cosmos DB", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cosmosdb_problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for services that do not require additional details in the quotaTicketDetails object" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateMachineLearningQuotaTicketForDedicatedCores.json b/specification/support/Support.Management/examples/2024-04-01/CreateMachineLearningQuotaTicketForDedicatedCores.json new file mode 100644 index 000000000000..c49285a0cc8e --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateMachineLearningQuotaTicketForDedicatedCores.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createSupportTicketParameters": { + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "BatchAml", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"VMFamily\":\"standardA0_A7Family\",\"NewLimit\":200,\"Type\":\"Dedicated\"}", + "region": "EastUS" + } + ] + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" + } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Machine Learning service", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "Account", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"VMFamily\":\"standardA0_A7Family\",\"NewLimit\":200,\"Type\":\"Dedicated\"}", + "region": "EastUS" + } + ] + }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for specific VM family cores for Machine Learning service" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateMachineLearningQuotaTicketForLowPriorityCores.json b/specification/support/Support.Management/examples/2024-04-01/CreateMachineLearningQuotaTicketForLowPriorityCores.json new file mode 100644 index 000000000000..63c2c619eec6 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateMachineLearningQuotaTicketForLowPriorityCores.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createSupportTicketParameters": { + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "BatchAml", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"NewLimit\":200,\"Type\":\"LowPriority\"}", + "region": "EastUS" + } + ] + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" + } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Machine Learning service", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "Account", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"NewLimit\":200,\"Type\":\"LowPriority\"}", + "region": "EastUS" + } + ] + }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for Low-priority cores for Machine Learning service" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateNoSubscriptionSupportTicketCommunication.json b/specification/support/Support.Management/examples/2024-04-01/CreateNoSubscriptionSupportTicketCommunication.json new file mode 100644 index 000000000000..584ebd449357 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateNoSubscriptionSupportTicketCommunication.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "communicationName": "testcommunication", + "createCommunicationParameters": { + "properties": { + "body": "This is a test message from a customer!", + "sender": "user@contoso.com", + "subject": "This is a test message from a customer!" + } + }, + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testcommunication", + "type": "Microsoft.Support/communications", + "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testcommunication", + "properties": { + "body": "This is a test message from a customer!", + "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-10T20:18:19Z", + "sender": "user@contoso.com", + "subject": "This is a test message from a customer!" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "CommunicationsNoSubscription_Create", + "title": "AddCommunicationToNoSubscriptionTicket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatabaseQuotaTicketForDTUs.json b/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatabaseQuotaTicketForDTUs.json new file mode 100644 index 000000000000..75d065ce776c --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatabaseQuotaTicketForDTUs.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createSupportTicketParameters": { + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "DTUs", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"ServerName\":\"testserver\",\"NewLimit\":54000}", + "region": "EastUS" + } + ] + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" + } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "SQL database", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "DTUs", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"ServerName\":\"testserver\",\"NewLimit\":54000}", + "region": "EastUS" + } + ] + }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for DTUs for SQL Database" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatabaseQuotaTicketForServers.json b/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatabaseQuotaTicketForServers.json new file mode 100644 index 000000000000..6ef1bc13ce2c --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatabaseQuotaTicketForServers.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createSupportTicketParameters": { + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "Servers", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"NewLimit\":200}", + "region": "EastUS" + } + ] + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" + } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "SQL database", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "Servers", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"NewLimit\":200}", + "region": "EastUS" + } + ] + }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for Servers for SQL Database" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatawarehouseQuotaTicketForDTUs.json b/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatawarehouseQuotaTicketForDTUs.json new file mode 100644 index 000000000000..f55c2e6f41ee --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatawarehouseQuotaTicketForDTUs.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createSupportTicketParameters": { + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "DTUs", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"ServerName\":\"testserver\",\"NewLimit\":54000}", + "region": "EastUS" + } + ] + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" + } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "SQL Data Warehouse", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "DTUs", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"ServerName\":\"testserver\",\"NewLimit\":54000}", + "region": "EastUS" + } + ] + }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for DTUs for Azure Synapse Analytics" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatawarehouseQuotaTicketForServers.json b/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatawarehouseQuotaTicketForServers.json new file mode 100644 index 000000000000..3d0d387b8706 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatawarehouseQuotaTicketForServers.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createSupportTicketParameters": { + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "Servers", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"NewLimit\":200}", + "region": "EastUS" + } + ] + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" + } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "SQL Data Warehouse", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "Servers", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"NewLimit\":200}", + "region": "EastUS" + } + ] + }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for Servers for Azure Synapse Analytics" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateSqlManagedInstanceQuotaTicket.json b/specification/support/Support.Management/examples/2024-04-01/CreateSqlManagedInstanceQuotaTicket.json new file mode 100644 index 000000000000..1a351d7ff189 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateSqlManagedInstanceQuotaTicket.json @@ -0,0 +1,108 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createSupportTicketParameters": { + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_managedinstance_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "SQLMI", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"NewLimit\":200, \"Metadata\":null, \"Type\":\"vCore\"}", + "region": "EastUS" + }, + { + "payload": "{\"NewLimit\":200, \"Metadata\":null, \"Type\":\"Subnet\"}", + "region": "EastUS" + } + ] + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" + } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "SQL Database Managed Instance", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", + "quotaTicketDetails": { + "quotaChangeRequestSubType": "SQLMI", + "quotaChangeRequestVersion": "1.0", + "quotaChangeRequests": [ + { + "payload": "{\"NewLimit\":200, \"Metadata\":null, \"Type\":\"vCore\"}", + "region": "EastUS" + }, + { + "payload": "{\"NewLimit\":200, \"Metadata\":null, \"Type\":\"Subnet\"}", + "region": "EastUS" + } + ] + }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for Azure SQL managed instance" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateSubMgmtSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/CreateSubMgmtSupportTicket.json new file mode 100644 index 000000000000..e07824aba0d5 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateSubMgmtSupportTicket.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createSupportTicketParameters": { + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" + } + }, + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Transfer ownership of my subscription", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "SupportTicketsNoSubscription_Create", + "title": "Create a ticket for Subscription Management related issues" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateSubMgmtSupportTicketForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/CreateSubMgmtSupportTicketForSubscription.json new file mode 100644 index 000000000000..57d35dd4fa0d --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateSubMgmtSupportTicketForSubscription.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createSupportTicketParameters": { + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "No", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" + } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "No", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Transfer ownership of my subscription", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket for Subscription Management related issues for a subscription" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateSupportTicketCommunication.json b/specification/support/Support.Management/examples/2024-04-01/CreateSupportTicketCommunication.json new file mode 100644 index 000000000000..0a7f9aa99d17 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateSupportTicketCommunication.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "communicationName": "testcommunication", + "createCommunicationParameters": { + "properties": { + "body": "This is a test message from a customer!", + "sender": "user@contoso.com", + "subject": "This is a test message from a customer!" + } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testcommunication", + "type": "Microsoft.Support/communications", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testcommunication", + "properties": { + "body": "This is a test message from a customer!", + "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-10T20:18:19Z", + "sender": "user@contoso.com", + "subject": "This is a test message from a customer!" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "Communications_Create", + "title": "AddCommunicationToSubscriptionTicket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateTechnicalSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/CreateTechnicalSupportTicket.json new file mode 100644 index 000000000000..d77189a9fb88 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateTechnicalSupportTicket.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createSupportTicketParameters": { + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid/problemClassifications/problemClassification_guid", + "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": [ + { + "type": "virtualmachinerunninglinuxservice", + "userConsent": "Yes" + } + ], + "serviceId": "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" + } + }, + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "virtualmachinerunninglinuxservice", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "SupportTicketsNoSubscription_Create", + "title": "Create a ticket for Technical issue related to a specific resource" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateTechnicalSupportTicketForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/CreateTechnicalSupportTicketForSubscription.json new file mode 100644 index 000000000000..2be49dbedc8a --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/CreateTechnicalSupportTicketForSubscription.json @@ -0,0 +1,101 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "createSupportTicketParameters": { + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid/problemClassifications/problemClassification_guid", + "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": [ + { + "type": "virtualmachinerunninglinuxservice", + "userConsent": "Yes" + } + ], + "serviceId": "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "technicalTicketDetails": { + "resourceId": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + }, + "title": "my title" + } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "virtualmachinerunninglinuxservice", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "technicalTicketDetails": { + "resourceId": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + }, + "title": "my title" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } + } + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket for Technical issue related to a specific resource for a subscription" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/GetCommunicationDetailsForSubscriptionSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/GetCommunicationDetailsForSubscriptionSupportTicket.json new file mode 100644 index 000000000000..0dd42bede836 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/GetCommunicationDetailsForSubscriptionSupportTicket.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "communicationName": "testmessage", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testmessage", + "type": "Microsoft.Support/communications", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage", + "properties": { + "body": "this is a test message", + "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-10T20:18:19Z", + "sender": "user@contoso.com", + "subject": "this is a test message" + } + } + } + }, + "operationId": "Communications_Get", + "title": "Get communication details for a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/GetCommunicationDetailsForSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/GetCommunicationDetailsForSupportTicket.json new file mode 100644 index 000000000000..5dbbc0810f02 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/GetCommunicationDetailsForSupportTicket.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "communicationName": "testmessage", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testmessage", + "type": "Microsoft.Support/communications", + "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage", + "properties": { + "body": "this is a test message", + "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2016-08-24T20:18:19Z", + "sender": "user@contoso.com", + "subject": "this is a test message" + } + } + } + }, + "operationId": "CommunicationsNoSubscription_Get", + "title": "Get communication details for a no-subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/GetFileDetails.json b/specification/support/Support.Management/examples/2024-04-01/GetFileDetails.json new file mode 100644 index 000000000000..8d4c0f8582f2 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/GetFileDetails.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "fileName": "test.txt", + "fileWorkspaceName": "testworkspace" + }, + "responses": { + "200": { + "body": { + "name": "test.txt", + "type": "Microsoft.Support/files", + "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt", + "properties": { + "chunkSize": 41423, + "createdOn": "2022-08-24T20:18:19Z", + "fileSize": 41423, + "numberOfChunks": 1 + } + } + } + }, + "operationId": "FilesNoSubscription_Get", + "title": "Get details of a subscription file" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/GetFileDetailsForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/GetFileDetailsForSubscription.json new file mode 100644 index 000000000000..87a1e1d89e17 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/GetFileDetailsForSubscription.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "fileName": "test.txt", + "fileWorkspaceName": "testworkspace", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" + }, + "responses": { + "200": { + "body": { + "name": "test.txt", + "type": "Microsoft.Support/files", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt", + "properties": { + "chunkSize": 41423, + "createdOn": "2022-08-24T20:18:19Z", + "fileSize": 41423, + "numberOfChunks": 1 + } + } + } + }, + "operationId": "Files_Get", + "title": "Get details of a subscription file" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/GetFileWorkspaceDetails.json b/specification/support/Support.Management/examples/2024-04-01/GetFileWorkspaceDetails.json new file mode 100644 index 000000000000..50bcfcacaa36 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/GetFileWorkspaceDetails.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "fileWorkspaceName": "testworkspace" + }, + "responses": { + "200": { + "body": { + "name": "testworkspace", + "type": "Microsoft.Support/fileWorkspaces", + "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace", + "properties": { + "createdOn": "2022-08-24T20:18:19Z", + "expirationTime": "2022-08-25T20:18:19Z" + } + } + } + }, + "operationId": "FileWorkspacesNoSubscription_Get", + "title": "Get details of a file workspace" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/GetFileWorkspaceDetailsForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/GetFileWorkspaceDetailsForSubscription.json new file mode 100644 index 000000000000..19a64f9000ed --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/GetFileWorkspaceDetailsForSubscription.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "fileWorkspaceName": "testworkspace", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" + }, + "responses": { + "200": { + "body": { + "name": "testworkspace", + "type": "Microsoft.Support/fileWorkspaces", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/fileWorkspaces/testworkspace", + "properties": { + "createdOn": "2022-08-24T20:18:19Z", + "expirationTime": "2022-08-25T20:18:19Z" + } + } + } + }, + "operationId": "FileWorkspaces_Get", + "title": "Get details of a subscription file workspace" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/GetProblemClassification.json b/specification/support/Support.Management/examples/2024-04-01/GetProblemClassification.json new file mode 100644 index 000000000000..8fae37ca8a6f --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/GetProblemClassification.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "problemClassificationName": "problemClassification_guid", + "serviceName": "service_guid" + }, + "responses": { + "200": { + "body": { + "name": "problemClassification_guid", + "type": "Microsoft.Support/problemClassifications", + "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid", + "properties": { + "displayName": "Reservation Management / Exchanges and Refunds" + } + } + } + }, + "operationId": "ProblemClassifications_Get", + "title": "Gets details of problemClassification for Azure service" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/GetService.json b/specification/support/Support.Management/examples/2024-04-01/GetService.json new file mode 100644 index 000000000000..48100e54d1b4 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/GetService.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "serviceName": "service_guid" + }, + "responses": { + "200": { + "body": { + "name": "service_guid", + "type": "Microsoft.Support/services", + "id": "/providers/Microsoft.Support/services/service_guid", + "properties": { + "displayName": "Virtual Machine running Windows", + "resourceTypes": [ + "MICROSOFT.CLASSICCOMPUTE/VIRTUALMACHINES", + "MICROSOFT.COMPUTE/VIRTUALMACHINES" + ] + } + } + } + }, + "operationId": "Services_Get", + "title": "Gets details of the Azure service" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/GetSubscriptionSupportTicketDetails.json b/specification/support/Support.Management/examples/2024-04-01/GetSubscriptionSupportTicketDetails.json new file mode 100644 index 000000000000..37658ffac027 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/GetSubscriptionSupportTicketDetails.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "No", + "contactDetails": { + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "minimal", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183770", + "title": "Test - please ignore" + } + } + } + }, + "operationId": "SupportTickets_Get", + "title": "Get details of a subscription ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/GetSupportTicketDetails.json b/specification/support/Support.Management/examples/2024-04-01/GetSupportTicketDetails.json new file mode 100644 index 000000000000..44c8d8c296ad --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/GetSupportTicketDetails.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "minimal", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183770", + "title": "Test - please ignore" + } + } + } + }, + "operationId": "SupportTicketsNoSubscription_Get", + "title": "Get details of a ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/GetchatTranscriptDetailsForSubscriptionSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/GetchatTranscriptDetailsForSubscriptionSupportTicket.json new file mode 100644 index 000000000000..25b0d544f03f --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/GetchatTranscriptDetailsForSubscriptionSupportTicket.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "chatTranscriptName": "69586795-45e9-45b5-bd9e-c9bb237d3e44", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testmessage", + "type": "Microsoft.Support/chatTranscripts", + "id": "/providers/Microsoft.Support/supportTickets/testticket/chatTranscripts/69586795-45e9-45b5-bd9e-c9bb237d3e44", + "properties": { + "messages": [ + { + "body": "Hi again", + "communicationDirection": "outbound", + "contentType": "text", + "createdDate": "2020-03-23T20:18:19Z", + "sender": "support engineer 2" + }, + { + "body": "hello", + "communicationDirection": "inbound", + "contentType": "text", + "createdDate": "2020-03-23T20:19:16Z", + "sender": "user" + } + ] + } + } + } + }, + "operationId": "ChatTranscripts_Get", + "title": "Get chat transcript details for a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/GetchatTranscriptDetailsForSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/GetchatTranscriptDetailsForSupportTicket.json new file mode 100644 index 000000000000..1f27c4b612f2 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/GetchatTranscriptDetailsForSupportTicket.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "chatTranscriptName": "b371192a-b094-4a71-b093-7246029b0a54", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "name": "testmessage", + "type": "Microsoft.Support/chatTranscripts", + "id": "/providers/Microsoft.Support/supportTickets/testticket/chatTranscripts/b371192a-b094-4a71-b093-7246029b0a54", + "properties": { + "messages": [ + { + "body": "Hi again", + "communicationDirection": "outbound", + "contentType": "text", + "createdDate": "2020-03-25T20:18:19Z", + "sender": "support engineer 2" + }, + { + "body": "hello", + "communicationDirection": "inbound", + "contentType": "text", + "createdDate": "2020-03-25T20:19:16Z", + "sender": "user" + } + ] + } + } + } + }, + "operationId": "ChatTranscriptsNoSubscription_Get", + "title": "Get chat transcript details for a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListChatTranscriptsForSubscriptionSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/ListChatTranscriptsForSubscriptionSupportTicket.json new file mode 100644 index 000000000000..d05107bfda84 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListChatTranscriptsForSubscriptionSupportTicket.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "55989c71-1727-4cd9-abad-ddb8770f71cd", + "type": "Microsoft.Support/chatTranscripts", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/2207120020000085/chatTranscripts/55989c71-1727-4cd9-abad-ddb8770f71cd", + "properties": { + "messages": [ + { + "body": "Hi", + "communicationDirection": "outbound", + "contentType": "text", + "createdDate": "2020-03-24T20:18:19Z", + "sender": "support engineer" + }, + { + "body": "hi", + "communicationDirection": "inbound", + "contentType": "text", + "createdDate": "2020-03-24T20:19:16Z", + "sender": "user" + } + ], + "startTime": "2023-08-22T22:46:35Z" + } + }, + { + "name": "f15051e3-a2f2-489f-9e64-8cfa203f44f8", + "type": "Microsoft.Support/chatTranscripts", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/2207120020000085/chatTranscripts/f15051e3-a2f2-489f-9e64-8cfa203f44f8", + "properties": { + "messages": [ + { + "body": "Hi again", + "communicationDirection": "outbound", + "contentType": "text", + "createdDate": "2020-03-25T20:18:19Z", + "sender": "support engineer 2" + }, + { + "body": "hello", + "communicationDirection": "inbound", + "contentType": "text", + "createdDate": "2020-03-25T20:19:16Z", + "sender": "user" + } + ], + "startTime": "2023-08-22T22:46:35Z" + } + } + ] + } + } + }, + "operationId": "ChatTranscripts_List", + "title": "List chat transcripts for a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListChatTranscriptsForSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/ListChatTranscriptsForSupportTicket.json new file mode 100644 index 000000000000..4a4782223572 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListChatTranscriptsForSupportTicket.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "55989c71-1727-4cd9-abad-ddb8770f71cd", + "type": "Microsoft.Support/chatTranscripts", + "id": "/providers/Microsoft.Support/supportTickets/2207120020000085/chatTranscripts/55989c71-1727-4cd9-abad-ddb8770f71cd", + "properties": { + "messages": [ + { + "body": "Hi", + "communicationDirection": "outbound", + "contentType": "text", + "createdDate": "2020-03-24T20:18:19Z", + "sender": "support engineer" + }, + { + "body": "hi", + "communicationDirection": "inbound", + "contentType": "text", + "createdDate": "2020-03-24T20:19:16Z", + "sender": "user" + } + ], + "startTime": "2023-08-22T22:46:35Z" + } + }, + { + "name": "f15051e3-a2f2-489f-9e64-8cfa203f44f8", + "type": "Microsoft.Support/chatTranscripts", + "id": "/providers/Microsoft.Support/supportTickets/2207120020000085/chatTranscripts/f15051e3-a2f2-489f-9e64-8cfa203f44f8", + "properties": { + "messages": [ + { + "body": "Hi again", + "communicationDirection": "outbound", + "contentType": "text", + "createdDate": "2020-03-25T20:18:19Z", + "sender": "support engineer 2" + }, + { + "body": "hello", + "communicationDirection": "inbound", + "contentType": "text", + "createdDate": "2020-03-25T20:19:16Z", + "sender": "user" + } + ], + "startTime": "2023-08-22T22:46:35Z" + } + } + ] + } + } + }, + "operationId": "ChatTranscriptsNoSubscription_List", + "title": "List chat transcripts for a no-subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListCommunicationsForSubscriptionSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/ListCommunicationsForSubscriptionSupportTicket.json new file mode 100644 index 000000000000..972de19508fd --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListCommunicationsForSubscriptionSupportTicket.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testmessage1", + "type": "Microsoft.Support/communications", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1", + "properties": { + "body": "this is a test message", + "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-24T20:18:19Z", + "sender": "user@contoso.com", + "subject": "this is a test message" + } + }, + { + "name": "testmessage2", + "type": "Microsoft.Support/communications", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2", + "properties": { + "body": "test", + "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-29T10:53:19Z", + "sender": "user@contoso.com", + "subject": "test" + } + } + ] + } + } + }, + "operationId": "Communications_List", + "title": "List communications for a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListCommunicationsForSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/ListCommunicationsForSupportTicket.json new file mode 100644 index 000000000000..a810eb3bac8f --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListCommunicationsForSupportTicket.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testmessage1", + "type": "Microsoft.Support/communications", + "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1", + "properties": { + "body": "this is a test message", + "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-24T20:18:19Z", + "sender": "user@contoso.com", + "subject": "this is a test message" + } + }, + { + "name": "testmessage2", + "type": "Microsoft.Support/communications", + "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2", + "properties": { + "body": "test", + "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-29T10:53:19Z", + "sender": "user@contoso.com", + "subject": "test" + } + } + ] + } + } + }, + "operationId": "CommunicationsNoSubscription_List", + "title": "List communications for a no-subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListFilesForSubscriptionUnderFileWorkspace.json b/specification/support/Support.Management/examples/2024-04-01/ListFilesForSubscriptionUnderFileWorkspace.json new file mode 100644 index 000000000000..a1131e259751 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListFilesForSubscriptionUnderFileWorkspace.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "fileWorkspaceName": "testworkspace", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test1.txt", + "type": "Microsoft.Support/files", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test1.txt", + "properties": { + "chunkSize": 41423, + "createdOn": "2022-08-24T20:18:19Z", + "fileSize": 41423, + "numberOfChunks": 1 + } + }, + { + "name": "test2.txt", + "type": "Microsoft.Support/files", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test2.txt", + "properties": { + "chunkSize": 41423, + "createdOn": "2022-08-24T20:18:19Z", + "fileSize": 41423, + "numberOfChunks": 1 + } + } + ] + } + } + }, + "operationId": "Files_List", + "title": "List files under a workspace for a subscription" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListFilesUnderFileWorkspace.json b/specification/support/Support.Management/examples/2024-04-01/ListFilesUnderFileWorkspace.json new file mode 100644 index 000000000000..364149aeef3d --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListFilesUnderFileWorkspace.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "fileWorkspaceName": "testworkspace" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test1.txt", + "type": "Microsoft.Support/files", + "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test1.txt", + "properties": { + "chunkSize": 41423, + "createdOn": "2022-08-24T20:18:19Z", + "fileSize": 41423, + "numberOfChunks": 1 + } + }, + { + "name": "test1.txt", + "type": "Microsoft.Support/files", + "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test1.txt", + "properties": { + "chunkSize": 41423, + "createdOn": "2022-08-24T20:18:19Z", + "fileSize": 41423, + "numberOfChunks": 1 + } + } + ] + } + } + }, + "operationId": "FilesNoSubscription_List", + "title": "List files under a workspace" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListOperations.json b/specification/support/Support.Management/examples/2024-04-01/ListOperations.json new file mode 100644 index 000000000000..fd5b00abd989 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListOperations.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "api-version": "2024-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" + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "Get all operations" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListProblemClassifications.json b/specification/support/Support.Management/examples/2024-04-01/ListProblemClassifications.json new file mode 100644 index 000000000000..50671c435ce0 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListProblemClassifications.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "serviceName": "service_guid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "problemClassification_guid_1", + "type": "Microsoft.Support/problemClassifications", + "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_1", + "properties": { + "displayName": "Reservation Management / Exchanges and Refunds", + "secondaryConsentEnabled": [ + { + "type": "DatabricksConsent", + "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." + } + ] + } + }, + { + "name": "problemClassification_guid_2", + "type": "Microsoft.Support/problemClassifications", + "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_2", + "properties": { + "displayName": "Reservation Management / Request Invoices", + "secondaryConsentEnabled": [ + { + "type": "DatabricksConsent", + "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." + } + ] + } + }, + { + "name": "problemClassification_guid_3", + "type": "Microsoft.Support/problemClassifications", + "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_3", + "properties": { + "displayName": "Reservation Management / Other Iissues or Requests", + "secondaryConsentEnabled": [ + { + "type": "DatabricksConsent", + "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." + } + ] + } + }, + { + "name": "problemClassification_guid_4", + "type": "Microsoft.Support/problemClassifications", + "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_4", + "properties": { + "displayName": "Other General Billing Questions", + "secondaryConsentEnabled": [ + { + "type": "DatabricksConsent", + "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." + } + ] + } + } + ] + } + } + }, + "operationId": "ProblemClassifications_List", + "title": "Gets list of problemClassifications for a service for which a support ticket can be created" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListServices.json b/specification/support/Support.Management/examples/2024-04-01/ListServices.json new file mode 100644 index 000000000000..12fb4b8e8781 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListServices.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "api-version": "2024-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "service_guid_1", + "type": "Microsoft.Support/services", + "id": "/providers/Microsoft.Support/services/service_guid_1", + "properties": { + "displayName": "Billing", + "resourceTypes": [] + } + }, + { + "name": "service_guid_2", + "type": "Microsoft.Support/services", + "id": "/providers/Microsoft.Support/services/service_guid_2", + "properties": { + "displayName": "Service and subscription limits (quotas)", + "resourceTypes": [] + } + }, + { + "name": "service_guid_3", + "type": "Microsoft.Support/services", + "id": "/providers/Microsoft.Support/services/service_guid_3", + "properties": { + "displayName": "Subscription management", + "resourceTypes": [] + } + }, + { + "name": "service_guid_4", + "type": "Microsoft.Support/services", + "id": "/providers/Microsoft.Support/services/service_guid_4", + "properties": { + "displayName": "Data Explorer", + "resourceTypes": [ + "MICROSOFT.KUSTO/CLUSTERS", + "MICROSOFT.KUSTO/DATABASES" + ] + } + }, + { + "name": "service_guid_5", + "type": "Microsoft.Support/services", + "id": "/providers/Microsoft.Support/services/service_guid_5", + "properties": { + "displayName": "Virtual Machine running Windows", + "resourceTypes": [ + "MICROSOFT.CLASSICCOMPUTE/VIRTUALMACHINES", + "MICROSOFT.COMPUTE/VIRTUALMACHINES" + ] + } + }, + { + "name": "service_guid_6", + "type": "Microsoft.Support/services", + "id": "/providers/Microsoft.Support/services/service_guid_6", + "properties": { + "displayName": "Virtual Machine running Linux", + "resourceTypes": [ + "MICROSOFT.CLASSICCOMPUTE/VIRTUALMACHINES", + "MICROSOFT.COMPUTE/VIRTUALMACHINES" + ] + } + }, + { + "name": "service_guid_7", + "type": "Microsoft.Support/services", + "id": "/providers/Microsoft.Support/services/service_guid_7", + "properties": { + "displayName": "Virtual Network", + "resourceTypes": [ + "MICROSOFT.NETWORK/VIRTUALNETWORKS", + "MICROSOFT.CLASSICNETWORK/VIRTUALNETWORKS" + ] + } + } + ] + } + } + }, + "operationId": "Services_List", + "title": "Gets list of services for which a support ticket can be created" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTickets.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTickets.json new file mode 100644 index 000000000000..d32601be25c8 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTickets.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "api-version": "2024-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + }, + { + "name": "testticket2", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket2", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "No", + "contactDetails": { + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "minimal", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183771", + "title": "Test - please ignore" + } + } + ] + } + } + }, + "operationId": "SupportTicketsNoSubscription_List", + "title": "List support tickets" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsBySubscription.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsBySubscription.json new file mode 100644 index 000000000000..9a9b7f565386 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsBySubscription.json @@ -0,0 +1,108 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "technicalTicketDetails": { + "resourceId": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + }, + "title": "my title" + } + }, + { + "name": "testticket2", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket2", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "No", + "contactDetails": { + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "minimal", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183771", + "title": "Test - please ignore" + } + } + ] + } + } + }, + "operationId": "SupportTickets_List", + "title": "List support tickets for a subscription" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json new file mode 100644 index 000000000000..e270eb9e696d --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json @@ -0,0 +1,105 @@ +{ + "parameters": { + "$filter": "createdDate ge 2020-03-10T22:08:51Z and status eq 'Open'", + "api-version": "2024-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-11T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-12T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-12T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-11T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + }, + { + "name": "testticket2", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket2", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "No", + "contactDetails": { + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-11T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-12T21:36:18Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-12T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-11T21:36:18Z" + }, + "severity": "minimal", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183771", + "title": "Test - please ignore" + } + } + ] + } + } + }, + "operationId": "SupportTicketsNoSubscription_List", + "title": "List support tickets created on or after a certain date and in open state" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json new file mode 100644 index 000000000000..2203d55670fb --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "$filter": "createdDate ge 2020-03-10T22:08:51Z and status eq 'Open'", + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-11T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-12T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-12T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-11T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "technicalTicketDetails": { + "resourceId": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + }, + "title": "my title" + } + }, + { + "name": "testticket2", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket2", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "No", + "contactDetails": { + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-11T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-12T21:36:18Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-12T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-11T21:36:18Z" + }, + "severity": "minimal", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183771", + "title": "Test - please ignore" + } + } + ] + } + } + }, + "operationId": "SupportTickets_List", + "title": "List support tickets created on or after a certain date and in open state for a subscription" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json new file mode 100644 index 000000000000..f6540f578d29 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json @@ -0,0 +1,112 @@ +{ + "parameters": { + "$filter": "createdDate ge 2020-03-10T22:08:51Z and status eq 'Updating'", + "api-version": "2024-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-11T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-12T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-12T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-11T21:36:18Z" + }, + "severity": "moderate", + "status": "Updating", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + }, + { + "name": "testticket2", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket2", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-11T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-12T21:36:18Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-12T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-11T21:36:18Z" + }, + "severity": "minimal", + "status": "Updating", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183771", + "title": "Test - please ignore" + } + } + ] + } + } + }, + "operationId": "SupportTicketsNoSubscription_List", + "title": "List support tickets created on or after a certain date and in updating state" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json new file mode 100644 index 000000000000..b2708a7256dd --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "$filter": "createdDate ge 2020-03-10T22:08:51Z and status eq 'Updating'", + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-11T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-12T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-12T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-11T21:36:18Z" + }, + "severity": "moderate", + "status": "Updating", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "technicalTicketDetails": { + "resourceId": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + }, + "title": "my title" + } + }, + { + "name": "testticket2", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket2", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-11T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-12T21:36:18Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-12T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-11T21:36:18Z" + }, + "severity": "minimal", + "status": "Updating", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183771", + "title": "Test - please ignore" + } + } + ] + } + } + }, + "operationId": "SupportTickets_List", + "title": "List support tickets created on or after a certain date and in updating state for a subscription" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInOpenState.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInOpenState.json new file mode 100644 index 000000000000..e2358c66f004 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInOpenState.json @@ -0,0 +1,105 @@ +{ + "parameters": { + "$filter": "status eq 'Open'", + "api-version": "2024-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + }, + { + "name": "testticket2", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket2", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "No", + "contactDetails": { + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "minimal", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183771", + "title": "Test - please ignore" + } + } + ] + } + } + }, + "operationId": "SupportTicketsNoSubscription_List", + "title": "List support tickets in open state" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInOpenStateBySubscription.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInOpenStateBySubscription.json new file mode 100644 index 000000000000..75f009ddebbe --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInOpenStateBySubscription.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "$filter": "status eq 'Open'", + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "technicalTicketDetails": { + "resourceId": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + }, + "title": "my title" + } + }, + { + "name": "testticket2", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket2", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "No", + "contactDetails": { + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "minimal", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183771", + "title": "Test - please ignore" + } + } + ] + } + } + }, + "operationId": "SupportTickets_List", + "title": "List support tickets in open state for a subscription" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInUpdatingState.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInUpdatingState.json new file mode 100644 index 000000000000..01c071d75178 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInUpdatingState.json @@ -0,0 +1,105 @@ +{ + "parameters": { + "$filter": "status eq 'Updating'", + "api-version": "2024-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Updating", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" + } + }, + { + "name": "testticket2", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket2", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "No", + "contactDetails": { + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "minimal", + "status": "Updating", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183771", + "title": "Test - please ignore" + } + } + ] + } + } + }, + "operationId": "SupportTicketsNoSubscription_List", + "title": "List support tickets in updating state" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInUpdatingStateBySubscription.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInUpdatingStateBySubscription.json new file mode 100644 index 000000000000..4c1c420e4497 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInUpdatingStateBySubscription.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "$filter": "status eq 'Updating'", + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "moderate", + "status": "Updating", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "technicalTicketDetails": { + "resourceId": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + }, + "title": "my title" + } + }, + { + "name": "testticket2", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket2", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "No", + "contactDetails": { + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "minimal", + "status": "Updating", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183771", + "title": "Test - please ignore" + } + } + ] + } + } + }, + "operationId": "SupportTickets_List", + "title": "List support tickets in updating state for a subscription" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsProblemClassificationIdEquals.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsProblemClassificationIdEquals.json new file mode 100644 index 000000000000..d66fa50f22a1 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsProblemClassificationIdEquals.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "$filter": "ProblemClassificationId eq 'compute_vm_problemClassification_guid'", + "api-version": "2024-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testTicket1", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testTicket1", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2022-05-04T21:52:10Z", + "enrollmentId": "", + "fileWorkspaceName": "testTicket1", + "modifiedDate": "2022-05-12T23:05:19Z", + "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", + "problemClassificationId": "/providers/Microsoft.Support/services/service_guid/problemClassifications/compute_vm_problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "service_displayName", + "serviceId": "/providers/Microsoft.Support/services/service_guid", + "severity": "minimal", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "2205060010000072", + "title": "my title" + } + }, + { + "name": "testTicket2", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testTicket2", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2022-05-04T21:38:42Z", + "fileWorkspaceName": "testTicket2", + "modifiedDate": "2022-05-04T21:39:14Z", + "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", + "problemClassificationId": "/providers/Microsoft.Support/services/service_guid/problemClassifications/compute_vm_problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "service_displayName", + "serviceId": "/providers/Microsoft.Support/services/service_guid", + "severity": "minimal", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "2205040010000077", + "title": "Test - please ignore" + } + } + ] + } + } + }, + "operationId": "SupportTicketsNoSubscription_List", + "title": "List support tickets with a certain problem classification id" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json new file mode 100644 index 000000000000..ce716e200e1b --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "$filter": "ProblemClassificationId eq 'compute_vm_problemClassification_guid'", + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testTicket1", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testTicket1", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2022-05-04T21:52:10Z", + "enrollmentId": "", + "fileWorkspaceName": "testTicket1", + "modifiedDate": "2022-05-12T23:05:19Z", + "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", + "problemClassificationId": "/providers/Microsoft.Support/services/service_guid/problemClassifications/compute_vm_problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "service_displayName", + "serviceId": "/providers/Microsoft.Support/services/service_guid", + "severity": "minimal", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "2205060010000072", + "title": "my title" + } + }, + { + "name": "testTicket2", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testTicket2", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2022-05-04T21:38:42Z", + "fileWorkspaceName": "testTicket2", + "modifiedDate": "2022-05-04T21:39:14Z", + "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", + "problemClassificationId": "/providers/Microsoft.Support/services/service_guid/problemClassifications/compute_vm_problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "service_displayName", + "serviceId": "/providers/Microsoft.Support/services/service_guid", + "severity": "minimal", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "2205040010000077", + "title": "Test - please ignore" + } + } + ] + } + } + }, + "operationId": "SupportTickets_List", + "title": "List support tickets with a certain problem classification id for a subscription" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEquals.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEquals.json new file mode 100644 index 000000000000..4813515111eb --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEquals.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "$filter": "ServiceId eq 'vm_windows_service_guid'", + "api-version": "2024-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testticket1", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2022-05-04T21:52:10Z", + "enrollmentId": "", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2022-05-12T23:05:19Z", + "problemClassificationDisplayName": "problemClassification_displayName", + "problemClassificationId": "/providers/Microsoft.Support/services/vm_windows_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Windows", + "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", + "severity": "minimal", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "2205040010000082", + "title": "my title" + } + }, + { + "name": "testticket2", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2022-05-04T21:38:42Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2022-05-04T21:39:14Z", + "problemClassificationDisplayName": "problemClassification_displayName", + "problemClassificationId": "/providers/Microsoft.Support/services/vm_windows_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Windows", + "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", + "severity": "minimal", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "2205040010000080", + "title": "Test - please ignore" + } + } + ] + } + } + }, + "operationId": "SupportTicketsNoSubscription_List", + "title": "List support tickets with a certain service id" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEqualsForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEqualsForSubscription.json new file mode 100644 index 000000000000..86c7bb713acd --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEqualsForSubscription.json @@ -0,0 +1,104 @@ +{ + "parameters": { + "$filter": "ServiceId eq 'vm_windows_service_guid'", + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testticket1", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets", + "properties": { + "description": "my description", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2022-05-04T21:52:10Z", + "enrollmentId": "", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2022-05-12T23:05:19Z", + "problemClassificationDisplayName": "problemClassification_displayName", + "problemClassificationId": "/providers/Microsoft.Support/services/vm_windows_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Windows", + "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", + "severity": "minimal", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "2205040010000082", + "title": "my title" + } + }, + { + "name": "testticket2", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "createdDate": "2022-05-04T21:38:42Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2022-05-04T21:39:14Z", + "problemClassificationDisplayName": "problemClassification_displayName", + "problemClassificationId": "/providers/Microsoft.Support/services/vm_windows_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Windows", + "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", + "severity": "minimal", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "2205040010000080", + "title": "Test - please ignore" + } + } + ] + } + } + }, + "operationId": "SupportTickets_List", + "title": "List support tickets with a certain service id for a subscription" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSubscriptionSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSubscriptionSupportTicket.json new file mode 100644 index 000000000000..c197a4b9d3a5 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSubscriptionSupportTicket.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "$filter": "communicationType eq 'web'", + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testmessage1", + "type": "Microsoft.Support/communications", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1", + "properties": { + "body": "this is a test message", + "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-10T20:18:19Z", + "sender": "user@contoso.com", + "subject": "this is a test message" + } + }, + { + "name": "testmessage2", + "type": "Microsoft.Support/communications", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2", + "properties": { + "body": "test", + "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-11T10:53:19Z", + "sender": "user@contoso.com", + "subject": "test" + } + } + ] + } + } + }, + "operationId": "Communications_List", + "title": "List web communications for a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json b/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json new file mode 100644 index 000000000000..35229d259503 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "$filter": "communicationType eq 'web' and createdDate ge 2020-03-10T22:08:51Z", + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testmessage1", + "type": "Microsoft.Support/communications", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1", + "properties": { + "body": "this is a test message", + "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-11T20:18:19Z", + "sender": "user@contoso.com", + "subject": "this is a test message" + } + }, + { + "name": "testmessage2", + "type": "Microsoft.Support/communications", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2", + "properties": { + "body": "test", + "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-12T10:53:19Z", + "sender": "user@contoso.com", + "subject": "test" + } + } + ] + } + } + }, + "operationId": "Communications_List", + "title": "List web communication created on or after a specific date for a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSupportTicket.json new file mode 100644 index 000000000000..3d731b58b5f7 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSupportTicket.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "$filter": "communicationType eq 'web'", + "api-version": "2024-04-01", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testmessage1", + "type": "Microsoft.Support/communications", + "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1", + "properties": { + "body": "this is a test message", + "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-10T20:18:19Z", + "sender": "user@contoso.com", + "subject": "this is a test message" + } + }, + { + "name": "testmessage2", + "type": "Microsoft.Support/communications", + "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2", + "properties": { + "body": "test", + "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-11T10:53:19Z", + "sender": "user@contoso.com", + "subject": "test" + } + } + ] + } + } + }, + "operationId": "CommunicationsNoSubscription_List", + "title": "List web communications for a no-subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json b/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json new file mode 100644 index 000000000000..73b589a58ca0 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "$filter": "communicationType eq 'web' and createdDate ge 2020-03-10T22:08:51Z", + "api-version": "2024-04-01", + "supportTicketName": "testticket" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testmessage1", + "type": "Microsoft.Support/communications", + "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1", + "properties": { + "body": "this is a test message", + "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-11T20:18:19Z", + "sender": "user@contoso.com", + "subject": "this is a test message" + } + }, + { + "name": "testmessage2", + "type": "Microsoft.Support/communications", + "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2", + "properties": { + "body": "test", + "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-12T10:53:19Z", + "sender": "user@contoso.com", + "subject": "test" + } + } + ] + } + } + }, + "operationId": "CommunicationsNoSubscription_List", + "title": "List web communication created on or after a specific date for a no-subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/UpdateAdvancedDiagnosticConsentOfSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/UpdateAdvancedDiagnosticConsentOfSupportTicket.json new file mode 100644 index 000000000000..0c9007c301cd --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/UpdateAdvancedDiagnosticConsentOfSupportTicket.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "supportTicketName": "testticket", + "updateSupportTicket": { + "advancedDiagnosticConsent": "Yes" + } + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "test.name@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "critical", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183770", + "title": "Test - please ignore" + } + } + } + }, + "operationId": "SupportTicketsNoSubscription_Update", + "title": "Update advanced diagnostic consent of a support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json new file mode 100644 index 000000000000..f6ca46aafd89 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket", + "updateSupportTicket": { + "advancedDiagnosticConsent": "Yes" + } + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "test.name@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "critical", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183770", + "title": "Test - please ignore" + } + } + } + }, + "operationId": "SupportTickets_Update", + "title": "Update advanced diagnostic consent of a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/UpdateContactDetailsOfSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/UpdateContactDetailsOfSupportTicket.json new file mode 100644 index 000000000000..6f41429fafd0 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/UpdateContactDetailsOfSupportTicket.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "supportTicketName": "testticket", + "updateSupportTicket": { + "contactDetails": { + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "country": "USA", + "firstName": "first name", + "lastName": "last name", + "phoneNumber": "123-456-7890", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "test.name@contoso.com" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "country": "USA", + "firstName": "first name", + "lastName": "last name", + "phoneNumber": "123-456-7890", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "test.name@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "critical", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183770", + "title": "Test - please ignore" + } + } + } + }, + "operationId": "SupportTicketsNoSubscription_Update", + "title": "Update contact details of a support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/UpdateContactDetailsOfSupportTicketForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/UpdateContactDetailsOfSupportTicketForSubscription.json new file mode 100644 index 000000000000..31fc4bc9ba0d --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/UpdateContactDetailsOfSupportTicketForSubscription.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket", + "updateSupportTicket": { + "contactDetails": { + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "country": "USA", + "firstName": "first name", + "lastName": "last name", + "phoneNumber": "123-456-7890", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "test.name@contoso.com" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "No", + "contactDetails": { + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "country": "USA", + "firstName": "first name", + "lastName": "last name", + "phoneNumber": "123-456-7890", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "test.name@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "critical", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183770", + "title": "Test - please ignore" + } + } + } + }, + "operationId": "SupportTickets_Update", + "title": "Update contact details of a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/UpdateSeverityOfSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/UpdateSeverityOfSupportTicket.json new file mode 100644 index 000000000000..80875cdc2a29 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/UpdateSeverityOfSupportTicket.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "supportTicketName": "testticket", + "updateSupportTicket": { + "severity": "critical" + } + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "test.name@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "critical", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183770", + "title": "Test - please ignore" + } + } + } + }, + "operationId": "SupportTicketsNoSubscription_Update", + "title": "Update severity of a support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/UpdateSeverityOfSupportTicketForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/UpdateSeverityOfSupportTicketForSubscription.json new file mode 100644 index 000000000000..c0f385a89e8d --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/UpdateSeverityOfSupportTicketForSubscription.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket", + "updateSupportTicket": { + "severity": "critical" + } + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "No", + "contactDetails": { + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "test.name@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "critical", + "status": "Open", + "supportEngineer": { + "emailAddress": "xyz@contoso.com" + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183770", + "title": "Test - please ignore" + } + } + } + }, + "operationId": "SupportTickets_Update", + "title": "Update severity of a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/UpdateStatusOfSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/UpdateStatusOfSupportTicket.json new file mode 100644 index 000000000000..211d334f31f0 --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/UpdateStatusOfSupportTicket.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "supportTicketName": "testticket", + "updateSupportTicket": { + "status": "closed" + } + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "Yes", + "contactDetails": { + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "test.name@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "critical", + "status": "Closed", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183770", + "title": "Test - please ignore" + } + } + } + }, + "operationId": "SupportTicketsNoSubscription_Update", + "title": "Update status of a support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/UpdateStatusOfSupportTicketForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/UpdateStatusOfSupportTicketForSubscription.json new file mode 100644 index 000000000000..debae401817a --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/UpdateStatusOfSupportTicketForSubscription.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket", + "updateSupportTicket": { + "status": "closed" + } + }, + "responses": { + "200": { + "body": { + "name": "testticket", + "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", + "properties": { + "description": "This is a test - please ignore", + "advancedDiagnosticConsent": "No", + "contactDetails": { + "additionalEmailAddresses": [ + "tname@contoso.com", + "teamtest@contoso.com" + ], + "country": "USA", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "test.name@contoso.com" + }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "serviceLevelAgreement": { + "expirationTime": "2020-03-21T17:36:18Z", + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" + }, + "severity": "critical", + "status": "Closed", + "supportEngineer": { + "emailAddress": null + }, + "supportPlanDisplayName": "Premier", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183770", + "title": "Test - please ignore" + } + } + } + }, + "operationId": "SupportTickets_Update", + "title": "Update status of a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/UploadFile.json b/specification/support/Support.Management/examples/2024-04-01/UploadFile.json new file mode 100644 index 000000000000..e1abde7ac3ea --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/UploadFile.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "fileName": "test.txt", + "fileWorkspaceName": "testworkspaceName", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "uploadFile": { + "chunkIndex": 0, + "content": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd" + } + }, + "responses": { + "204": {} + }, + "operationId": "FilesNoSubscription_Upload", + "title": "UploadFile" +} \ No newline at end of file diff --git a/specification/support/Support.Management/examples/2024-04-01/UploadFileForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/UploadFileForSubscription.json new file mode 100644 index 000000000000..e468282add6e --- /dev/null +++ b/specification/support/Support.Management/examples/2024-04-01/UploadFileForSubscription.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2024-04-01", + "fileName": "test.txt", + "fileWorkspaceName": "testworkspaceName", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "uploadFile": { + "chunkIndex": 0, + "content": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd" + } + }, + "responses": { + "204": {} + }, + "operationId": "Files_Upload", + "title": "UploadFileForSubscription" +} \ No newline at end of file diff --git a/specification/support/Support.Management/main.tsp b/specification/support/Support.Management/main.tsp new file mode 100644 index 000000000000..66bd8a1cb92f --- /dev/null +++ b/specification/support/Support.Management/main.tsp @@ -0,0 +1,52 @@ +/** + * PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS + * Generated by package: @autorest/openapi-to-typespec + * Parameters used: + * isFullCompatible: true + * guessResourceKey: false + * Version: 0.11.2 + * Date: 2025-06-24T05:04:13.825Z + */ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; +import "./back-compatible.tsp"; +import "./Service.tsp"; +import "./ProblemClassification.tsp"; +import "./SupportTicketDetails.tsp"; +import "./CommunicationDetails.tsp"; +import "./ChatTranscriptDetails.tsp"; +import "./FileWorkspaceDetails.tsp"; +import "./FileDetails.tsp"; +import "./routes.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager.Foundations; +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.Versioning; +/** + * Microsoft Azure Support Resource Provider. + */ +@armProviderNamespace +@service(#{ title: "Microsoft.Support" }) +@versioned(Versions) +@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) +namespace Microsoft.Support; + +/** + * The available API versions. + */ +enum Versions { + /** + * The 2024-04-01 API version. + */ + @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @useDependency(Azure.Core.Versions.v1_0_Preview_1) + v2024_04_01: "2024-04-01", +} + +interface Operations extends Azure.ResourceManager.Operations {} diff --git a/specification/support/Support.Management/models.tsp b/specification/support/Support.Management/models.tsp new file mode 100644 index 000000000000..bd103e4c68ed --- /dev/null +++ b/specification/support/Support.Management/models.tsp @@ -0,0 +1,827 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.Core; +using Azure.ResourceManager; +using Azure.ResourceManager.Foundations; + +namespace Microsoft.Support; + +/** + * 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. + */ +union SeverityLevel { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + minimal: "minimal", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + moderate: "moderate", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + critical: "critical", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + highestcriticalimpact: "highestcriticalimpact", +} + +/** + * Advanced diagnostic consent to be updated on the support ticket. + */ +union Consent { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Yes: "Yes", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + No: "No", +} + +/** + * Preferred contact method. + */ +union PreferredContactMethod { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + email: "email", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + phone: "phone", +} + +/** + * This property indicates if support ticket is a temporary ticket. + */ +union IsTemporaryTicket { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Yes: "Yes", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + No: "No", +} + +/** + * User consent value provided + */ +union UserConsent { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Yes: "Yes", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + No: "No", +} + +/** + * Status to be updated on the ticket. + */ +union Status { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + open: "open", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + closed: "closed", +} + +/** + * Communication type. + */ +union CommunicationType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + web: "web", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + phone: "phone", +} + +/** + * Direction of communication. + */ +union CommunicationDirection { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + inbound: "inbound", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + outbound: "outbound", +} + +/** + * Content type. + */ +union TranscriptContentType { + string, +} + +/** + * The type of identity that created the resource. + */ +union CreatedByType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + User: "User", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Application: "Application", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + ManagedIdentity: "ManagedIdentity", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Key: "Key", +} + +/** + * The type of resource. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "For backward compatibility" +enum Type { + `Microsoft.Support/supportTickets`, + `Microsoft.Support/communications`, +} + +/** + * The operation supported by Microsoft Support resource provider. + */ +model Operation { + /** + * Operation name: {provider}/{resource}/{operation}. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * The object that describes the operation. + */ + display?: OperationDisplay; +} + +/** + * The object that describes the operation. + */ +model OperationDisplay { + /** + * The description of the operation. + */ + @visibility(Lifecycle.Read) + description?: string; + + /** + * The action that users can perform, based on their permission level. + */ + @visibility(Lifecycle.Read) + operation?: string; + + /** + * Service provider: Microsoft Support. + */ + @visibility(Lifecycle.Read) + provider?: string; + + /** + * Resource on which the operation is performed. + */ + @visibility(Lifecycle.Read) + resource?: string; +} + +/** + * Collection of Service resources. + */ +@pagedResult +model ServicesListResult { + /** + * List of Service resources. + */ + @items + value?: Service[]; +} + +/** + * Details about an Azure service available for support ticket creation. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "For backward compatibility" +model ServiceProperties { + /** + * Localized name of the Azure service. + */ + displayName?: string; + + /** + * ARM Resource types. + */ + resourceTypes?: string[]; +} + +/** + * Collection of ProblemClassification resources. + */ +@pagedResult +model ProblemClassificationsListResult { + /** + * List of ProblemClassification resources. + */ + @items + value?: ProblemClassification[]; +} + +/** + * Details about a problem classification available for an Azure service. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "For backward compatibility" +model ProblemClassificationProperties { + /** + * Localized name of problem classification. + */ + displayName?: string; + + /** + * This property indicates whether secondary consent is present for problem classification + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + secondaryConsentEnabled?: SecondaryConsentEnabled[]; +} + +/** + * This property indicates whether secondary consent is present for problem classification. + */ +model SecondaryConsentEnabled { + /** + * User consent description. + */ + description?: string; + + /** + * The Azure service for which secondary consent is needed for case creation. + */ + type?: string; +} + +/** + * Input of CheckNameAvailability API. + */ +model CheckNameAvailabilityInput { + /** + * The resource name to validate. + */ + name: string; + + /** + * The type of resource. + */ + type: Type; +} + +/** + * Output of check name availability API. + */ +model CheckNameAvailabilityOutput { + /** + * Indicates whether the name is available. + */ + @visibility(Lifecycle.Read) + nameAvailable?: boolean; + + /** + * The reason why the name is not available. + */ + @visibility(Lifecycle.Read) + reason?: string; + + /** + * The detailed error message describing why the name is not available. + */ + @visibility(Lifecycle.Read) + message?: string; +} + +/** + * Describes the properties of a support ticket. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "For backward compatibility" +model SupportTicketDetailsProperties { + /** + * System generated support ticket Id that is unique. + */ + supportTicketId?: string; + + /** + * Detailed description of the question or issue. + */ + description: string; + + /** + * 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. + */ + problemClassificationId: string; + + /** + * Localized name of problem classification. + */ + @visibility(Lifecycle.Read) + problemClassificationDisplayName?: string; + + /** + * 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. + */ + severity: SeverityLevel; + + /** + * Enrollment Id associated with the support ticket. + */ + enrollmentId?: string; + + /** + * Indicates if this requires a 24x7 response from Azure. + */ + require24X7Response?: boolean; + + /** + * Advanced diagnostic consent to be updated on the support ticket. + */ + advancedDiagnosticConsent: Consent; + + /** + * Problem scoping questions associated with the support ticket. + */ + problemScopingQuestions?: string; + + /** + * Support plan id associated with the support ticket. + */ + supportPlanId?: string; + + /** + * Contact information of the user requesting to create a support ticket. + */ + contactDetails: ContactProfile; + + /** + * Service Level Agreement information for this support ticket. + */ + serviceLevelAgreement?: ServiceLevelAgreement; + + /** + * Information about the support engineer working on this support ticket. + */ + supportEngineer?: SupportEngineer; + + /** + * Support plan type associated with the support ticket. + */ + @visibility(Lifecycle.Read) + supportPlanType?: string; + + /** + * Support plan type associated with the support ticket. + */ + @visibility(Lifecycle.Read) + supportPlanDisplayName?: string; + + /** + * Title of the support ticket. + */ + title: string; + + /** + * Time in UTC (ISO 8601 format) when the problem started. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + problemStartTime?: utcDateTime; + + /** + * This is the resource Id of the Azure service resource associated with the support ticket. + */ + serviceId: string; + + /** + * Localized name of the Azure service. + */ + @visibility(Lifecycle.Read) + serviceDisplayName?: string; + + /** + * Status of the support ticket. + */ + @visibility(Lifecycle.Read) + status?: string; + + /** + * Time in UTC (ISO 8601 format) when the support ticket was created. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdDate?: utcDateTime; + + /** + * Time in UTC (ISO 8601 format) when the support ticket was last modified. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + modifiedDate?: utcDateTime; + + /** + * File workspace name. + */ + fileWorkspaceName?: string; + + /** + * This property indicates if support ticket is a temporary ticket. + */ + @visibility(Lifecycle.Read) + isTemporaryTicket?: IsTemporaryTicket; + + /** + * Additional ticket details associated with a technical support ticket request. + */ + technicalTicketDetails?: TechnicalTicketDetails; + + /** + * Additional ticket details associated with a quota support ticket request. + */ + quotaTicketDetails?: QuotaTicketDetails; + + /** + * This property indicates secondary consents for the support ticket + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + secondaryConsent?: SecondaryConsent[]; +} + +/** + * Contact information associated with the support ticket. + */ +model ContactProfile { + /** + * First name. + */ + firstName: string; + + /** + * Last name. + */ + lastName: string; + + /** + * Preferred contact method. + */ + preferredContactMethod: PreferredContactMethod; + + /** + * Primary email address. + */ + primaryEmailAddress: string; + + /** + * Additional email addresses listed will be copied on any correspondence about the support ticket. + */ + additionalEmailAddresses?: string[]; + + /** + * Phone number. This is required if preferred contact method is phone. It is also required when submitting 'critical' or 'highestcriticalimpact' severity cases. + */ + phoneNumber?: string; + + /** + * 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). + */ + preferredTimeZone: string; + + /** + * Country of the user. This is the ISO 3166-1 alpha-3 code. + */ + country: string; + + /** + * 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. + */ + preferredSupportLanguage: string; +} + +/** + * Service Level Agreement details for a support ticket. + */ +model ServiceLevelAgreement { + /** + * Time in UTC (ISO 8601 format) when the service level agreement starts. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * Time in UTC (ISO 8601 format) when the service level agreement expires. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + expirationTime?: utcDateTime; + + /** + * Service Level Agreement in minutes. + */ + @visibility(Lifecycle.Read) + slaMinutes?: int32; +} + +/** + * Support engineer information. + */ +model SupportEngineer { + /** + * Email address of the Azure Support engineer assigned to the support ticket. + */ + @visibility(Lifecycle.Read) + emailAddress?: string; +} + +/** + * Additional information for technical support ticket. + */ +model TechnicalTicketDetails { + /** + * 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. + */ + resourceId?: string; +} + +/** + * 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). + */ +model QuotaTicketDetails { + /** + * Required for certain quota types when there is a sub type, such as Batch, for which you are requesting a quota increase. + */ + quotaChangeRequestSubType?: string; + + /** + * Quota change request version. + */ + quotaChangeRequestVersion?: string; + + /** + * This property is required for providing the region and new quota limits. + */ + @OpenAPI.extension("x-ms-identifiers", #["region"]) + quotaChangeRequests?: QuotaChangeRequest[]; +} + +/** + * This property is required for providing the region and new quota limits. + */ +model QuotaChangeRequest { + /** + * Region for which the quota increase request is being made. + */ + region?: string; + + /** + * Payload of the quota increase request. + */ + payload?: string; +} + +/** + * This property indicates secondary consent for the support ticket. + */ +model SecondaryConsent { + /** + * User consent value provided + */ + userConsent?: UserConsent; + + /** + * 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; +} + +/** + * Updates severity, ticket status, contact details, advanced diagnostic consent and secondary consent in the support ticket. + */ +model UpdateSupportTicket { + /** + * Severity level. + */ + severity?: SeverityLevel; + + /** + * Status to be updated on the ticket. + */ + status?: Status; + + /** + * Contact details to be updated on the support ticket. + */ + contactDetails?: UpdateContactProfile; + + /** + * Advanced diagnostic consent to be updated on the support ticket. + */ + advancedDiagnosticConsent?: Consent; + + /** + * This property indicates secondary consents for the support ticket + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + secondaryConsent?: SecondaryConsent[]; +} + +/** + * Contact information associated with the support ticket. + */ +model UpdateContactProfile { + /** + * First name. + */ + firstName?: string; + + /** + * Last name. + */ + lastName?: string; + + /** + * Preferred contact method. + */ + preferredContactMethod?: PreferredContactMethod; + + /** + * Primary email address. + */ + primaryEmailAddress?: string; + + /** + * Email addresses listed will be copied on any correspondence about the support ticket. + */ + additionalEmailAddresses?: string[]; + + /** + * Phone number. This is required if preferred contact method is phone. It is also required when submitting 'critical' or 'highestcriticalimpact' severity cases. + */ + phoneNumber?: string; + + /** + * 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). + */ + preferredTimeZone?: string; + + /** + * Country of the user. This is the ISO 3166-1 alpha-3 code. + */ + country?: string; + + /** + * 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. + */ + preferredSupportLanguage?: string; +} + +/** + * Describes the properties of a communication resource. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "For backward compatibility" +model CommunicationDetailsProperties { + /** + * Communication type. + */ + @visibility(Lifecycle.Read) + communicationType?: CommunicationType; + + /** + * Direction of communication. + */ + @visibility(Lifecycle.Read) + communicationDirection?: CommunicationDirection; + + /** + * Email address of the sender. This property is required if called by a service principal. + */ + sender?: string; + + /** + * Subject of the communication. + */ + subject: string; + + /** + * Body of the communication. + */ + body: string; + + /** + * Time in UTC (ISO 8601 format) when the communication was created. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdDate?: utcDateTime; +} + +/** + * Describes the properties of a Chat Transcript Details resource. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "For backward compatibility" +model ChatTranscriptDetailsProperties { + /** + * List of chat transcript communication resources. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + messages?: MessageProperties[]; + + /** + * Time in UTC (ISO 8601 format) when the chat began. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; +} + +/** + * Describes the properties of a Message Details resource. + */ +model MessageProperties { + /** + * Content type. + */ + @visibility(Lifecycle.Read) + contentType?: TranscriptContentType; + + /** + * Direction of communication. + */ + @visibility(Lifecycle.Read) + communicationDirection?: CommunicationDirection; + + /** + * Name of the sender. + */ + sender?: string; + + /** + * Body of the communication. + */ + body?: string; + + /** + * Time in UTC (ISO 8601 format) when the communication was created. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdDate?: utcDateTime; +} + +/** + * Describes the properties of a file workspace. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "For backward compatibility" +model FileWorkspaceDetailsProperties { + /** + * Time in UTC (ISO 8601 format) when file workspace was created. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdOn?: utcDateTime; + + /** + * Time in UTC (ISO 8601 format) when file workspace is going to expire. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + expirationTime?: utcDateTime; +} + +/** + * Describes the properties of a file. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "For backward compatibility" +model FileDetailsProperties { + /** + * Time in UTC (ISO 8601 format) when file workspace was created. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdOn?: utcDateTime; + + /** + * Size of each chunk. The size of each chunk should be provided in bytes and must not exceed 2.5 megabytes (MB). + */ + chunkSize?: int32; + + /** + * Size of the file to be uploaded. The file size must not exceed 5 MB and should be provided in bytes. + */ + fileSize?: int32; + + /** + * Number of chunks to be uploaded. The maximum number of allowed chunks is 2. + */ + numberOfChunks?: int32; +} + +/** + * File content associated with the file under a workspace. + */ +model UploadFile { + /** + * File Content in base64 encoded format + */ + content?: string; + + /** + * Index of the uploaded chunk (Index starts at 0) + */ + chunkIndex?: int32; +} diff --git a/specification/support/Support.Management/routes.tsp b/specification/support/Support.Management/routes.tsp new file mode 100644 index 000000000000..c7bfb002e776 --- /dev/null +++ b/specification/support/Support.Management/routes.tsp @@ -0,0 +1,44 @@ +// FIXME: Operations in this file are not detected as a resource operation, please confirm the conversion result manually + +import "@azure-tools/typespec-azure-core"; +import "@typespec/rest"; +import "./models.tsp"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using TypeSpec.OpenAPI; + +namespace Microsoft.Support; + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "For backward compatibility" +interface SupportTicketsOperationGroup { + /** + * 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. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("SupportTickets_CheckNameAvailability") + @autoRoute + checkNameAvailability is ArmProviderActionSync< + Request = CheckNameAvailabilityInput, + Response = CheckNameAvailabilityOutput, + Scope = SubscriptionActionScope, + Parameters = {} + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "For backward compatibility" +interface SupportTicketsNoSubscriptionOperationGroup { + /** + * 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. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("SupportTicketsNoSubscription_CheckNameAvailability") + @autoRoute + checkNameAvailability is ArmProviderActionSync< + Request = CheckNameAvailabilityInput, + Response = CheckNameAvailabilityOutput + >; +} diff --git a/specification/support/Support.Management/tspconfig.yaml b/specification/support/Support.Management/tspconfig.yaml new file mode 100644 index 000000000000..9acd99314817 --- /dev/null +++ b/specification/support/Support.Management/tspconfig.yaml @@ -0,0 +1,13 @@ +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + omit-unreachable-types: true + emitter-output-dir: "{project-root}/.." + azure-resource-provider-folder: "resource-manager" + output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/support.json" + examples-dir: "{project-root}/examples" + arm-resource-flattening: true +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" From 9d8108a7e9287290c0037d25419479d85f17be60 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Tue, 24 Jun 2025 05:27:44 +0000 Subject: [PATCH 03/38] init swagger --- .../examples/CheckNameAvailability.json | 10 +- ...ubscriptionSupportTicketCommunication.json | 14 +- ...labilityForSupportTicketCommunication.json | 16 +- ...CheckNameAvailabilityWithSubscription.json | 14 +- ...tForSpecificBatchAccountForActiveJobs.json | 94 +- ...SpecificBatchAccountForDedicatedCores.json | 94 +- ...ecificBatchAccountForLowPriorityCores.json | 94 +- ...TicketForSpecificBatchAccountForPools.json | 94 +- ...CreateBatchQuotaTicketForSubscription.json | 94 +- .../examples/CreateBillingSupportTicket.json | 82 +- ...teBillingSupportTicketForSubscription.json | 84 +- ...CreateCoresQuotaTicketForSubscription.json | 90 +- .../2024-04-01/examples/CreateFile.json | 16 +- .../examples/CreateFileForSubscription.json | 18 +- .../examples/CreateFileWorkspace.json | 12 +- .../CreateFileWorkspaceForSubscription.json | 12 +- .../examples/CreateGenericQuotaTicket.json | 76 +- ...eLearningQuotaTicketForDedicatedCores.json | 94 +- ...earningQuotaTicketForLowPriorityCores.json | 94 +- ...ubscriptionSupportTicketCommunication.json | 36 +- .../CreateSqlDatabaseQuotaTicketForDTUs.json | 94 +- ...reateSqlDatabaseQuotaTicketForServers.json | 94 +- ...ateSqlDatawarehouseQuotaTicketForDTUs.json | 94 +- ...SqlDatawarehouseQuotaTicketForServers.json | 94 +- .../CreateSqlManagedInstanceQuotaTicket.json | 102 +- .../examples/CreateSubMgmtSupportTicket.json | 82 +- ...teSubMgmtSupportTicketForSubscription.json | 84 +- .../CreateSupportTicketCommunication.json | 38 +- .../CreateTechnicalSupportTicket.json | 108 +- ...TechnicalSupportTicketForSubscription.json | 118 +- ...onDetailsForSubscriptionSupportTicket.json | 20 +- ...tCommunicationDetailsForSupportTicket.json | 18 +- .../2024-04-01/examples/GetFileDetails.json | 14 +- .../GetFileDetailsForSubscription.json | 16 +- .../examples/GetFileWorkspaceDetails.json | 12 +- ...etFileWorkspaceDetailsForSubscription.json | 12 +- .../examples/GetProblemClassification.json | 12 +- .../2024-04-01/examples/GetService.json | 12 +- .../GetSubscriptionSupportTicketDetails.json | 50 +- .../examples/GetSupportTicketDetails.json | 50 +- ...ptDetailsForSubscriptionSupportTicket.json | 30 +- ...chatTranscriptDetailsForSupportTicket.json | 28 +- ...anscriptsForSubscriptionSupportTicket.json | 46 +- .../ListChatTranscriptsForSupportTicket.json | 46 +- ...nicationsForSubscriptionSupportTicket.json | 26 +- .../ListCommunicationsForSupportTicket.json | 26 +- ...ilesForSubscriptionUnderFileWorkspace.json | 18 +- .../examples/ListFilesUnderFileWorkspace.json | 18 +- .../2024-04-01/examples/ListOperations.json | 6 +- .../examples/ListProblemClassifications.json | 34 +- .../2024-04-01/examples/ListServices.json | 20 +- .../examples/ListSupportTickets.json | 98 +- .../ListSupportTicketsBySubscription.json | 110 +- ...TicketsCreatedOnOrAfterAndInOpenState.json | 100 +- ...OnOrAfterAndInOpenStateBySubscription.json | 110 +- ...etsCreatedOnOrAfterAndInUpdatingState.json | 114 +- ...AfterAndInUpdatingStateBySubscription.json | 110 +- .../ListSupportTicketsInOpenState.json | 100 +- ...pportTicketsInOpenStateBySubscription.json | 110 +- .../ListSupportTicketsInUpdatingState.json | 100 +- ...tTicketsInUpdatingStateBySubscription.json | 110 +- ...tTicketsProblemClassificationIdEquals.json | 80 +- ...ClassificationIdEqualsForSubscription.json | 84 +- .../ListSupportTicketsServiceIdEquals.json | 108 +- ...TicketsServiceIdEqualsForSubscription.json | 112 +- ...nicationsForSubscriptionSupportTicket.json | 28 +- ...criptionSupportTicketCreatedOnOrAfter.json | 28 +- ...ListWebCommunicationsForSupportTicket.json | 26 +- ...tionsForSupportTicketCreatedOnOrAfter.json | 26 +- ...ancedDiagnosticConsentOfSupportTicket.json | 54 +- ...ConsentOfSupportTicketForSubscription.json | 54 +- .../UpdateContactDetailsOfSupportTicket.json | 66 +- ...DetailsOfSupportTicketForSubscription.json | 66 +- .../UpdateSeverityOfSupportTicket.json | 54 +- ...everityOfSupportTicketForSubscription.json | 54 +- .../examples/UpdateStatusOfSupportTicket.json | 54 +- ...eStatusOfSupportTicketForSubscription.json | 54 +- .../2024-04-01/examples/UploadFile.json | 16 +- .../examples/UploadFileForSubscription.json | 16 +- .../stable/2024-04-01/support.json | 3537 +++++++++-------- 80 files changed, 4195 insertions(+), 3944 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailability.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailability.json index 3efcea6e0bb0..9b91ac5690e6 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailability.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailability.json @@ -9,10 +9,12 @@ "responses": { "200": { "body": { + "message": "Name not available", "nameAvailable": false, - "reason": "Name is already in use", - "message": "Name not available" + "reason": "Name is already in use" } } - } -} + }, + "operationId": "SupportTicketsNoSubscription_CheckNameAvailability", + "title": "Checks whether name is available for SupportTicket resource" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json index fc794b75342e..1feabad45786 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json @@ -1,19 +1,21 @@ { "parameters": { - "supportTicketName": "testticket", "api-version": "2024-04-01", "checkNameAvailabilityInput": { "name": "sampleName", "type": "Microsoft.Support/communications" - } + }, + "supportTicketName": "testticket" }, "responses": { "200": { "body": { + "message": "Name not available", "nameAvailable": false, - "reason": "Name is already in use", - "message": "Name not available" + "reason": "Name is already in use" } } - } -} + }, + "operationId": "CommunicationsNoSubscription_CheckNameAvailability", + "title": "Checks whether name is available for Communication resource" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityForSupportTicketCommunication.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityForSupportTicketCommunication.json index 17c98da3795c..06b33d318681 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityForSupportTicketCommunication.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityForSupportTicketCommunication.json @@ -1,20 +1,22 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", "api-version": "2024-04-01", "checkNameAvailabilityInput": { "name": "sampleName", "type": "Microsoft.Support/communications" - } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { "200": { "body": { + "message": "Name not available", "nameAvailable": false, - "reason": "Name is already in use", - "message": "Name not available" + "reason": "Name is already in use" } } - } -} + }, + "operationId": "Communications_CheckNameAvailability", + "title": "Checks whether name is available for Communication resource for a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityWithSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityWithSubscription.json index f9197b63c197..047cd6424580 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityWithSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityWithSubscription.json @@ -1,19 +1,21 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", "api-version": "2024-04-01", "checkNameAvailabilityInput": { "name": "sampleName", "type": "Microsoft.Support/supportTickets" - } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" }, "responses": { "200": { "body": { + "message": "Name not available", "nameAvailable": false, - "reason": "Name is already in use", - "message": "Name not available" + "reason": "Name is already in use" } } - } -} + }, + "operationId": "SupportTickets_CheckNameAvailability", + "title": "Checks whether name is available for a subscription support ticket resource" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json index 955c175c1da6..060027d85fec 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json @@ -1,98 +1,100 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", "api-version": "2024-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", "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", - "primaryEmailAddress": "abc@contoso.com", "preferredContactMethod": "email", - "preferredTimeZone": "Pacific Standard Time", "preferredSupportLanguage": "en-US", - "country": "usa" + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "Account", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"Jobs\"}" + "payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"Jobs\"}", + "region": "EastUS" } ] - } + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" } - } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "properties": { - "supportTicketId": "119120321001170", "description": "my description", - "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", - "problemClassificationDisplayName": "Batch", - "severity": "moderate", - "require24X7Response": false, "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "testticket", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Batch", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "Account", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"Jobs\"}" + "payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"Jobs\"}", + "region": "EastUS" } ] }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "emailAddress": null }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for Active Jobs and Job Schedules for a Batch account" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json index 21bcc3373f5d..4cb75a4299d6 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json @@ -1,98 +1,100 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", "api-version": "2024-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", "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", - "primaryEmailAddress": "abc@contoso.com", "preferredContactMethod": "email", - "preferredTimeZone": "Pacific Standard Time", "preferredSupportLanguage": "en-US", - "country": "usa" + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "Account", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"AccountName\":\"test\",\"VMFamily\":\"standardA0_A7Family\",\"NewLimit\":200,\"Type\":\"Dedicated\"}" + "payload": "{\"AccountName\":\"test\",\"VMFamily\":\"standardA0_A7Family\",\"NewLimit\":200,\"Type\":\"Dedicated\"}", + "region": "EastUS" } ] - } + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" } - } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "properties": { - "supportTicketId": "119120321001170", "description": "my description", - "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", - "problemClassificationDisplayName": "Batch", - "severity": "moderate", - "require24X7Response": false, "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "testticket", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Batch", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "Account", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"AccountName\":\"test\",\"VMFamily\":\"standardA0_A7Family\",\"NewLimit\":200,\"Type\":\"Dedicated\"}" + "payload": "{\"AccountName\":\"test\",\"VMFamily\":\"standardA0_A7Family\",\"NewLimit\":200,\"Type\":\"Dedicated\"}", + "region": "EastUS" } ] }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "emailAddress": null }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for specific VM family cores for a Batch account" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json index df819591ddbd..83df0b213325 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json @@ -1,98 +1,100 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", "api-version": "2024-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", "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", - "primaryEmailAddress": "abc@contoso.com", "preferredContactMethod": "email", - "preferredTimeZone": "Pacific Standard Time", "preferredSupportLanguage": "en-US", - "country": "usa" + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "Account", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"LowPriority\"}" + "payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"LowPriority\"}", + "region": "EastUS" } ] - } + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" } - } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "properties": { - "supportTicketId": "119120321001170", "description": "my description", - "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", - "problemClassificationDisplayName": "Batch", - "severity": "moderate", - "require24X7Response": false, "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "testticket", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Batch", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "Account", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"LowPriority\"}" + "payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"LowPriority\"}", + "region": "EastUS" } ] }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "emailAddress": null }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for Low-priority cores for a Batch account" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json index cdd4ba223c47..997e35ce24d3 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json @@ -1,98 +1,100 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", "api-version": "2024-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", "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", - "primaryEmailAddress": "abc@contoso.com", "preferredContactMethod": "email", - "preferredTimeZone": "Pacific Standard Time", "preferredSupportLanguage": "en-US", - "country": "usa" + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "Account", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"Pools\"}" + "payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"Pools\"}", + "region": "EastUS" } ] - } + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" } - } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "properties": { - "supportTicketId": "119120321001170", "description": "my description", - "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", - "problemClassificationDisplayName": "Batch", - "severity": "moderate", - "require24X7Response": false, "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "testticket", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Batch", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "Account", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"Pools\"}" + "payload": "{\"AccountName\":\"test\",\"NewLimit\":200,\"Type\":\"Pools\"}", + "region": "EastUS" } ] }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "emailAddress": null }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for Pools for a Batch account" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSubscription.json index 805670a57d42..f3be9c49f985 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSubscription.json @@ -1,98 +1,100 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", "api-version": "2024-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", "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", - "primaryEmailAddress": "abc@contoso.com", "preferredContactMethod": "email", - "preferredTimeZone": "Pacific Standard Time", "preferredSupportLanguage": "en-US", - "country": "usa" + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "Subscription", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"NewLimit\":200,\"Type\":\"Account\"}" + "payload": "{\"NewLimit\":200,\"Type\":\"Account\"}", + "region": "EastUS" } ] - } + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" } - } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "properties": { - "supportTicketId": "119120321001170", "description": "my description", - "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", - "problemClassificationDisplayName": "Batch", - "severity": "moderate", - "require24X7Response": false, "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "testticket", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Batch", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "Subscription", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"NewLimit\":200,\"Type\":\"Account\"}" + "payload": "{\"NewLimit\":200,\"Type\":\"Account\"}", + "region": "EastUS" } ] }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "emailAddress": null }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for Batch accounts for a subscription" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBillingSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBillingSupportTicket.json index a4843ba3a9cc..4aecbcf9af9f 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBillingSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBillingSupportTicket.json @@ -1,78 +1,80 @@ { "parameters": { - "supportTicketName": "testticket", "api-version": "2024-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", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "advancedDiagnosticConsent": "No", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", - "primaryEmailAddress": "abc@contoso.com", "preferredContactMethod": "email", - "preferredTimeZone": "Pacific Standard Time", "preferredSupportLanguage": "en-US", - "country": "usa" - } + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemClassificationId": "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid", + "serviceId": "/providers/Microsoft.Support/services/billing_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" } - } + }, + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", "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, "advancedDiagnosticConsent": "No", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Refund request", + "problemClassificationId": "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Billing", + "serviceId": "/providers/Microsoft.Support/services/billing_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "emailAddress": null }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "SupportTicketsNoSubscription_Create", + "title": "Create a ticket for Billing related issues" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBillingSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBillingSupportTicketForSubscription.json index 64b15d9df9d8..91847e7ac96b 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBillingSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBillingSupportTicketForSubscription.json @@ -1,79 +1,81 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", "api-version": "2024-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", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "advancedDiagnosticConsent": "No", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", - "primaryEmailAddress": "abc@contoso.com", "preferredContactMethod": "email", - "preferredTimeZone": "Pacific Standard Time", "preferredSupportLanguage": "en-US", - "country": "usa" - } + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemClassificationId": "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid", + "serviceId": "/providers/Microsoft.Support/services/billing_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" } - } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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, "advancedDiagnosticConsent": "No", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Refund request", + "problemClassificationId": "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Billing", + "serviceId": "/providers/Microsoft.Support/services/billing_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "emailAddress": null }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket for Billing related issues" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateCoresQuotaTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateCoresQuotaTicketForSubscription.json index 12af6cc2f3d5..c8bf43f1ce99 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateCoresQuotaTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateCoresQuotaTicketForSubscription.json @@ -1,96 +1,98 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", "api-version": "2024-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", "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", - "primaryEmailAddress": "abc@contoso.com", "preferredContactMethod": "email", - "preferredTimeZone": "Pacific Standard Time", "preferredSupportLanguage": "en-US", - "country": "usa" + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cores_problemClassification_guid", "quotaTicketDetails": { "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"SKU\":\"DSv3 Series\",\"NewLimit\":104}" + "payload": "{\"SKU\":\"DSv3 Series\",\"NewLimit\":104}", + "region": "EastUS" } ] - } + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" } - } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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, "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "testticket", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cores_problemClassification_guid", "quotaTicketDetails": { "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"VmFamily\":\"DSv3 Series\",\"NewLimit\":104}" + "payload": "{\"VmFamily\":\"DSv3 Series\",\"NewLimit\":104}", + "region": "EastUS" } ] }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "emailAddress": null }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for Compute VM Cores" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFile.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFile.json index ca537eeb5098..3f47261d079d 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFile.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFile.json @@ -1,7 +1,5 @@ { "parameters": { - "fileWorkspaceName": "testworkspace", - "fileName": "test.txt", "api-version": "2024-04-01", "createFileParameters": { "properties": { @@ -9,21 +7,25 @@ "fileSize": 41423, "numberOfChunks": 1 } - } + }, + "fileName": "test.txt", + "fileWorkspaceName": "testworkspace" }, "responses": { "201": { "body": { - "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt", "name": "test.txt", "type": "Microsoft.Support/files", + "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt", "properties": { - "createdOn": "2022-08-24T20:18:19Z", "chunkSize": 41423, + "createdOn": "2022-08-24T20:18:19Z", "fileSize": 41423, "numberOfChunks": 1 } } } - } -} + }, + "operationId": "FilesNoSubscription_Create", + "title": "Create a file workspace" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileForSubscription.json index 4de84e7d5517..5593045b6057 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileForSubscription.json @@ -1,8 +1,5 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "fileWorkspaceName": "testworkspace", - "fileName": "test.txt", "api-version": "2024-04-01", "createFileParameters": { "properties": { @@ -10,21 +7,26 @@ "fileSize": 41423, "numberOfChunks": 1 } - } + }, + "fileName": "test.txt", + "fileWorkspaceName": "testworkspace", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" }, "responses": { "201": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt", "name": "test.txt", "type": "Microsoft.Support/files", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt", "properties": { - "createdOn": "2022-08-24T20:18:19Z", "chunkSize": 41423, + "createdOn": "2022-08-24T20:18:19Z", "fileSize": 41423, "numberOfChunks": 1 } } } - } -} + }, + "operationId": "Files_Create", + "title": "Create a file under a subscription workspace" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileWorkspace.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileWorkspace.json index 441ae999de28..8baabbfa8dac 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileWorkspace.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileWorkspace.json @@ -1,19 +1,21 @@ { "parameters": { - "fileWorkspaceName": "testworkspace", - "api-version": "2024-04-01" + "api-version": "2024-04-01", + "fileWorkspaceName": "testworkspace" }, "responses": { "201": { "body": { - "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace", "name": "testworkspace", "type": "Microsoft.Support/fileWorkspaces", + "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace", "properties": { "createdOn": "2022-08-24T20:18:19Z", "expirationTime": "2022-08-25T20:18:19Z" } } } - } -} + }, + "operationId": "FileWorkspacesNoSubscription_Create", + "title": "Create a file workspace" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileWorkspaceForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileWorkspaceForSubscription.json index 9f498e8b5d66..0b4eb73a7e63 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileWorkspaceForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileWorkspaceForSubscription.json @@ -1,20 +1,22 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "api-version": "2024-04-01", "fileWorkspaceName": "testworkspace", - "api-version": "2024-04-01" + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" }, "responses": { "201": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/fileWorkspaces/testworkspace", "name": "testworkspace", "type": "Microsoft.Support/fileWorkspaces", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/fileWorkspaces/testworkspace", "properties": { "createdOn": "2022-08-24T20:18:19Z", "expirationTime": "2022-08-25T20:18:19Z" } } } - } -} + }, + "operationId": "FileWorkspaces_Create", + "title": "Create a file workspace for a subscription" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateGenericQuotaTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateGenericQuotaTicket.json index 14e0ff837cfe..f80ef80ab1e0 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateGenericQuotaTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateGenericQuotaTicket.json @@ -1,75 +1,77 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", "api-version": "2024-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", "advancedDiagnosticConsent": "Yes", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", - "primaryEmailAddress": "abc@contoso.com", "preferredContactMethod": "email", - "preferredTimeZone": "Pacific Standard Time", "preferredSupportLanguage": "en-US", - "country": "usa" - } + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cosmosdb_problemClassification_guid", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "title": "my title" } - } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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, "advancedDiagnosticConsent": "Yes", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Cosmos DB", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cosmosdb_problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "emailAddress": null }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for services that do not require additional details in the quotaTicketDetails object" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json index a21029c7da4d..c49285a0cc8e 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json @@ -1,98 +1,100 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", "api-version": "2024-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", "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", - "primaryEmailAddress": "abc@contoso.com", "preferredContactMethod": "email", - "preferredTimeZone": "Pacific Standard Time", "preferredSupportLanguage": "en-US", - "country": "usa" + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "BatchAml", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"VMFamily\":\"standardA0_A7Family\",\"NewLimit\":200,\"Type\":\"Dedicated\"}" + "payload": "{\"VMFamily\":\"standardA0_A7Family\",\"NewLimit\":200,\"Type\":\"Dedicated\"}", + "region": "EastUS" } ] - } + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" } - } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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, "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "testticket", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Machine Learning service", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "Account", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"VMFamily\":\"standardA0_A7Family\",\"NewLimit\":200,\"Type\":\"Dedicated\"}" + "payload": "{\"VMFamily\":\"standardA0_A7Family\",\"NewLimit\":200,\"Type\":\"Dedicated\"}", + "region": "EastUS" } ] }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "emailAddress": null }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for specific VM family cores for Machine Learning service" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json index 0cdea8782520..63c2c619eec6 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json @@ -1,98 +1,100 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", "api-version": "2024-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", "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", - "primaryEmailAddress": "abc@contoso.com", "preferredContactMethod": "email", - "preferredTimeZone": "Pacific Standard Time", "preferredSupportLanguage": "en-US", - "country": "usa" + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "BatchAml", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"NewLimit\":200,\"Type\":\"LowPriority\"}" + "payload": "{\"NewLimit\":200,\"Type\":\"LowPriority\"}", + "region": "EastUS" } ] - } + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" } - } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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, "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "testticket", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Machine Learning service", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "Account", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"NewLimit\":200,\"Type\":\"LowPriority\"}" + "payload": "{\"NewLimit\":200,\"Type\":\"LowPriority\"}", + "region": "EastUS" } ] }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "emailAddress": null }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for Low-priority cores for Machine Learning service" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateNoSubscriptionSupportTicketCommunication.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateNoSubscriptionSupportTicketCommunication.json index fed434326698..584ebd449357 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateNoSubscriptionSupportTicketCommunication.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateNoSubscriptionSupportTicketCommunication.json @@ -1,37 +1,39 @@ { "parameters": { - "supportTicketName": "testticket", - "communicationName": "testcommunication", "api-version": "2024-04-01", + "communicationName": "testcommunication", "createCommunicationParameters": { "properties": { - "subject": "This is a test message from a customer!", "body": "This is a test message from a customer!", - "sender": "user@contoso.com" + "sender": "user@contoso.com", + "subject": "This is a test message from a customer!" } - } + }, + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testcommunication", "name": "testcommunication", "type": "Microsoft.Support/communications", + "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testcommunication", "properties": { - "subject": "This is a test message from a customer!", "body": "This is a test message from a customer!", - "communicationType": "web", "communicationDirection": "outbound", + "communicationType": "web", "createdDate": "2020-03-10T20:18:19Z", - "sender": "user@contoso.com" + "sender": "user@contoso.com", + "subject": "This is a test message from a customer!" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "CommunicationsNoSubscription_Create", + "title": "AddCommunicationToNoSubscriptionTicket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatabaseQuotaTicketForDTUs.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatabaseQuotaTicketForDTUs.json index 68270dd54ac4..75d065ce776c 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatabaseQuotaTicketForDTUs.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatabaseQuotaTicketForDTUs.json @@ -1,98 +1,100 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", "api-version": "2024-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", "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", - "primaryEmailAddress": "abc@contoso.com", "preferredContactMethod": "email", - "preferredTimeZone": "Pacific Standard Time", "preferredSupportLanguage": "en-US", - "country": "usa" + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "DTUs", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"ServerName\":\"testserver\",\"NewLimit\":54000}" + "payload": "{\"ServerName\":\"testserver\",\"NewLimit\":54000}", + "region": "EastUS" } ] - } + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" } - } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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, "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "testticket", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "SQL database", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "DTUs", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"ServerName\":\"testserver\",\"NewLimit\":54000}" + "payload": "{\"ServerName\":\"testserver\",\"NewLimit\":54000}", + "region": "EastUS" } ] }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "emailAddress": null }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for DTUs for SQL Database" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatabaseQuotaTicketForServers.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatabaseQuotaTicketForServers.json index 13812e070b0c..6ef1bc13ce2c 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatabaseQuotaTicketForServers.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatabaseQuotaTicketForServers.json @@ -1,98 +1,100 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", "api-version": "2024-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", "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", - "primaryEmailAddress": "abc@contoso.com", "preferredContactMethod": "email", - "preferredTimeZone": "Pacific Standard Time", "preferredSupportLanguage": "en-US", - "country": "usa" + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "Servers", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"NewLimit\":200}" + "payload": "{\"NewLimit\":200}", + "region": "EastUS" } ] - } + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" } - } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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, "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "testticket", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "SQL database", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "Servers", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"NewLimit\":200}" + "payload": "{\"NewLimit\":200}", + "region": "EastUS" } ] }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "emailAddress": null }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for Servers for SQL Database" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json index 8883282143d5..f55c2e6f41ee 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json @@ -1,98 +1,100 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", "api-version": "2024-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", "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", - "primaryEmailAddress": "abc@contoso.com", "preferredContactMethod": "email", - "preferredTimeZone": "Pacific Standard Time", "preferredSupportLanguage": "en-US", - "country": "usa" + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "DTUs", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"ServerName\":\"testserver\",\"NewLimit\":54000}" + "payload": "{\"ServerName\":\"testserver\",\"NewLimit\":54000}", + "region": "EastUS" } ] - } + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" } - } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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, "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "testticket", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "SQL Data Warehouse", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "DTUs", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"ServerName\":\"testserver\",\"NewLimit\":54000}" + "payload": "{\"ServerName\":\"testserver\",\"NewLimit\":54000}", + "region": "EastUS" } ] }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "emailAddress": null }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for DTUs for Azure Synapse Analytics" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatawarehouseQuotaTicketForServers.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatawarehouseQuotaTicketForServers.json index f28a1a6f452a..3d0d387b8706 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatawarehouseQuotaTicketForServers.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatawarehouseQuotaTicketForServers.json @@ -1,98 +1,100 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", "api-version": "2024-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", "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", - "primaryEmailAddress": "abc@contoso.com", "preferredContactMethod": "email", - "preferredTimeZone": "Pacific Standard Time", "preferredSupportLanguage": "en-US", - "country": "usa" + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "Servers", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"NewLimit\":200}" + "payload": "{\"NewLimit\":200}", + "region": "EastUS" } ] - } + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" } - } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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, "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "testticket", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "SQL Data Warehouse", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "Servers", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"NewLimit\":200}" + "payload": "{\"NewLimit\":200}", + "region": "EastUS" } ] }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "emailAddress": null }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for Servers for Azure Synapse Analytics" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlManagedInstanceQuotaTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlManagedInstanceQuotaTicket.json index 0c5b3628ed08..1a351d7ff189 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlManagedInstanceQuotaTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlManagedInstanceQuotaTicket.json @@ -1,106 +1,108 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", "api-version": "2024-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", "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", - "primaryEmailAddress": "abc@contoso.com", "preferredContactMethod": "email", - "preferredTimeZone": "Pacific Standard Time", "preferredSupportLanguage": "en-US", - "country": "usa" + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" }, + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_managedinstance_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "SQLMI", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"NewLimit\":200, \"Metadata\":null, \"Type\":\"vCore\"}" + "payload": "{\"NewLimit\":200, \"Metadata\":null, \"Type\":\"vCore\"}", + "region": "EastUS" }, { - "region": "EastUS", - "payload": "{\"NewLimit\":200, \"Metadata\":null, \"Type\":\"Subnet\"}" + "payload": "{\"NewLimit\":200, \"Metadata\":null, \"Type\":\"Subnet\"}", + "region": "EastUS" } ] - } + }, + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" } - } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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, "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "testticket", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "testticket", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "SQL Database Managed Instance", + "problemClassificationId": "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", "quotaTicketDetails": { - "quotaChangeRequestVersion": "1.0", "quotaChangeRequestSubType": "SQLMI", + "quotaChangeRequestVersion": "1.0", "quotaChangeRequests": [ { - "region": "EastUS", - "payload": "{\"NewLimit\":200, \"Metadata\":null, \"Type\":\"vCore\"}" + "payload": "{\"NewLimit\":200, \"Metadata\":null, \"Type\":\"vCore\"}", + "region": "EastUS" }, { - "region": "EastUS", - "payload": "{\"NewLimit\":200, \"Metadata\":null, \"Type\":\"Subnet\"}" + "payload": "{\"NewLimit\":200, \"Metadata\":null, \"Type\":\"Subnet\"}", + "region": "EastUS" } ] }, + "require24X7Response": false, + "serviceDisplayName": "Service and subscription limits (quotas)", + "serviceId": "/providers/Microsoft.Support/services/quota_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "emailAddress": null }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket to request Quota increase for Azure SQL managed instance" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSubMgmtSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSubMgmtSupportTicket.json index 9d9f390f9297..e07824aba0d5 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSubMgmtSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSubMgmtSupportTicket.json @@ -1,78 +1,80 @@ { "parameters": { - "supportTicketName": "testticket", "api-version": "2024-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", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "advancedDiagnosticConsent": "Yes", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", - "primaryEmailAddress": "abc@contoso.com", "preferredContactMethod": "email", - "preferredTimeZone": "Pacific Standard Time", "preferredSupportLanguage": "en-US", - "country": "usa" - } + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" } - } + }, + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", "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, "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Transfer ownership of my subscription", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "emailAddress": null }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "SupportTicketsNoSubscription_Create", + "title": "Create a ticket for Subscription Management related issues" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSubMgmtSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSubMgmtSupportTicketForSubscription.json index 877f2edb0bcd..57d35dd4fa0d 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSubMgmtSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSubMgmtSupportTicketForSubscription.json @@ -1,79 +1,81 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", "api-version": "2024-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", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "advancedDiagnosticConsent": "No", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", - "primaryEmailAddress": "abc@contoso.com", "preferredContactMethod": "email", - "preferredTimeZone": "Pacific Standard Time", "preferredSupportLanguage": "en-US", - "country": "usa" - } + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" } - } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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, "advancedDiagnosticConsent": "No", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Transfer ownership of my subscription", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "emailAddress": null }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket for Subscription Management related issues for a subscription" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSupportTicketCommunication.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSupportTicketCommunication.json index ff76d30ce0af..0a7f9aa99d17 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSupportTicketCommunication.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSupportTicketCommunication.json @@ -1,38 +1,40 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", - "communicationName": "testcommunication", "api-version": "2024-04-01", + "communicationName": "testcommunication", "createCommunicationParameters": { "properties": { - "subject": "This is a test message from a customer!", "body": "This is a test message from a customer!", - "sender": "user@contoso.com" + "sender": "user@contoso.com", + "subject": "This is a test message from a customer!" } - } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testcommunication", "name": "testcommunication", "type": "Microsoft.Support/communications", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testcommunication", "properties": { - "subject": "This is a test message from a customer!", "body": "This is a test message from a customer!", - "communicationType": "web", "communicationDirection": "outbound", + "communicationType": "web", "createdDate": "2020-03-10T20:18:19Z", - "sender": "user@contoso.com" + "sender": "user@contoso.com", + "subject": "This is a test message from a customer!" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "Communications_Create", + "title": "AddCommunicationToSubscriptionTicket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateTechnicalSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateTechnicalSupportTicket.json index a6b2522892ce..d77189a9fb88 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateTechnicalSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateTechnicalSupportTicket.json @@ -1,92 +1,94 @@ { "parameters": { - "supportTicketName": "testticket", "api-version": "2024-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", "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "contactDetails": { + "country": "usa", + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" + }, "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid/problemClassifications/problemClassification_guid", "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" + "type": "virtualmachinerunninglinuxservice", + "userConsent": "Yes" } ], - "contactDetails": { - "firstName": "abc", - "lastName": "xyz", - "primaryEmailAddress": "abc@contoso.com", - "preferredContactMethod": "email", - "preferredTimeZone": "Pacific Standard Time", - "preferredSupportLanguage": "en-US", - "country": "usa" - } + "serviceId": "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "title": "my title" } - } + }, + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", "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, "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": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "virtualmachinerunninglinuxservice", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "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", - "status": "Open", - "createdDate": "2020-03-20T21:36:18Z", - "modifiedDate": "2020-03-20T21:36:23Z" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "SupportTicketsNoSubscription_Create", + "title": "Create a ticket for Technical issue related to a specific resource" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateTechnicalSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateTechnicalSupportTicketForSubscription.json index 6700900dbcfc..2be49dbedc8a 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateTechnicalSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateTechnicalSupportTicketForSubscription.json @@ -1,99 +1,101 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", "api-version": "2024-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", "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": { + "country": "usa", "firstName": "abc", "lastName": "xyz", - "primaryEmailAddress": "abc@contoso.com", "preferredContactMethod": "email", - "preferredTimeZone": "Pacific Standard Time", "preferredSupportLanguage": "en-US", - "country": "usa" + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "abc@contoso.com" }, + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid/problemClassifications/problemClassification_guid", + "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": [ + { + "type": "virtualmachinerunninglinuxservice", + "userConsent": "Yes" + } + ], + "serviceId": "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc", + "severity": "moderate", + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "technicalTicketDetails": { "resourceId": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" - } + }, + "title": "my title" } - } + }, + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01", - "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01" - } - }, "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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, "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": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" - }, - "technicalTicketDetails": { - "resourceId": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "virtualmachinerunninglinuxservice", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "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", - "status": "Open", - "createdDate": "2020-03-20T21:36:18Z", - "modifiedDate": "2020-03-20T21:36:23Z" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "technicalTicketDetails": { + "resourceId": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + }, + "title": "my title" } } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationsStatus/operationid?api-version=2024-04-01", + "location": "https://management.azure.com/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/operationResults/operationid?api-version=2024-04-01" + } } - } -} + }, + "operationId": "SupportTickets_Create", + "title": "Create a ticket for Technical issue related to a specific resource for a subscription" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json index 10f47119bba1..0dd42bede836 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json @@ -1,25 +1,27 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", + "api-version": "2024-04-01", "communicationName": "testmessage", - "api-version": "2024-04-01" + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage", "name": "testmessage", "type": "Microsoft.Support/communications", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage", "properties": { - "subject": "this is a test message", "body": "this is a test message", - "communicationType": "web", "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-10T20:18:19Z", "sender": "user@contoso.com", - "createdDate": "2020-03-10T20:18:19Z" + "subject": "this is a test message" } } } - } -} + }, + "operationId": "Communications_Get", + "title": "Get communication details for a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSupportTicket.json index 0f8cd66bd7a6..5dbbc0810f02 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSupportTicket.json @@ -1,24 +1,26 @@ { "parameters": { - "supportTicketName": "testticket", + "api-version": "2024-04-01", "communicationName": "testmessage", - "api-version": "2024-04-01" + "supportTicketName": "testticket" }, "responses": { "200": { "body": { - "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage", "name": "testmessage", "type": "Microsoft.Support/communications", + "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage", "properties": { - "subject": "this is a test message", "body": "this is a test message", - "communicationType": "web", "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2016-08-24T20:18:19Z", "sender": "user@contoso.com", - "createdDate": "2016-08-24T20:18:19Z" + "subject": "this is a test message" } } } - } -} + }, + "operationId": "CommunicationsNoSubscription_Get", + "title": "Get communication details for a no-subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetails.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetails.json index 1eb4e703e991..8d4c0f8582f2 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetails.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetails.json @@ -1,22 +1,24 @@ { "parameters": { - "fileWorkspaceName": "testworkspace", + "api-version": "2024-04-01", "fileName": "test.txt", - "api-version": "2024-04-01" + "fileWorkspaceName": "testworkspace" }, "responses": { "200": { "body": { - "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt", "name": "test.txt", "type": "Microsoft.Support/files", + "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt", "properties": { - "createdOn": "2022-08-24T20:18:19Z", "chunkSize": 41423, + "createdOn": "2022-08-24T20:18:19Z", "fileSize": 41423, "numberOfChunks": 1 } } } - } -} + }, + "operationId": "FilesNoSubscription_Get", + "title": "Get details of a subscription file" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetailsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetailsForSubscription.json index c4fbb2e00102..87a1e1d89e17 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetailsForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetailsForSubscription.json @@ -1,23 +1,25 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "fileWorkspaceName": "testworkspace", + "api-version": "2024-04-01", "fileName": "test.txt", - "api-version": "2024-04-01" + "fileWorkspaceName": "testworkspace", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" }, "responses": { "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt", "name": "test.txt", "type": "Microsoft.Support/files", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt", "properties": { - "createdOn": "2022-08-24T20:18:19Z", "chunkSize": 41423, + "createdOn": "2022-08-24T20:18:19Z", "fileSize": 41423, "numberOfChunks": 1 } } } - } -} + }, + "operationId": "Files_Get", + "title": "Get details of a subscription file" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetails.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetails.json index 0d80dd39fd70..50bcfcacaa36 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetails.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetails.json @@ -1,19 +1,21 @@ { "parameters": { - "fileWorkspaceName": "testworkspace", - "api-version": "2024-04-01" + "api-version": "2024-04-01", + "fileWorkspaceName": "testworkspace" }, "responses": { "200": { "body": { - "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace", "name": "testworkspace", "type": "Microsoft.Support/fileWorkspaces", + "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace", "properties": { "createdOn": "2022-08-24T20:18:19Z", "expirationTime": "2022-08-25T20:18:19Z" } } } - } -} + }, + "operationId": "FileWorkspacesNoSubscription_Get", + "title": "Get details of a file workspace" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetailsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetailsForSubscription.json index cc40b42abead..19a64f9000ed 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetailsForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetailsForSubscription.json @@ -1,20 +1,22 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "api-version": "2024-04-01", "fileWorkspaceName": "testworkspace", - "api-version": "2024-04-01" + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" }, "responses": { "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/fileWorkspaces/testworkspace", "name": "testworkspace", "type": "Microsoft.Support/fileWorkspaces", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/fileWorkspaces/testworkspace", "properties": { "createdOn": "2022-08-24T20:18:19Z", "expirationTime": "2022-08-25T20:18:19Z" } } } - } -} + }, + "operationId": "FileWorkspaces_Get", + "title": "Get details of a subscription file workspace" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetProblemClassification.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetProblemClassification.json index 1f6224ec25cc..8fae37ca8a6f 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetProblemClassification.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetProblemClassification.json @@ -1,19 +1,21 @@ { "parameters": { - "serviceName": "service_guid", + "api-version": "2024-04-01", "problemClassificationName": "problemClassification_guid", - "api-version": "2024-04-01" + "serviceName": "service_guid" }, "responses": { "200": { "body": { - "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid", "name": "problemClassification_guid", "type": "Microsoft.Support/problemClassifications", + "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid", "properties": { "displayName": "Reservation Management / Exchanges and Refunds" } } } - } -} + }, + "operationId": "ProblemClassifications_Get", + "title": "Gets details of problemClassification for Azure service" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetService.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetService.json index 763a32f8898e..48100e54d1b4 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetService.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetService.json @@ -1,14 +1,14 @@ { "parameters": { - "serviceName": "service_guid", - "api-version": "2024-04-01" + "api-version": "2024-04-01", + "serviceName": "service_guid" }, "responses": { "200": { "body": { - "id": "/providers/Microsoft.Support/services/service_guid", "name": "service_guid", "type": "Microsoft.Support/services", + "id": "/providers/Microsoft.Support/services/service_guid", "properties": { "displayName": "Virtual Machine running Windows", "resourceTypes": [ @@ -18,5 +18,7 @@ } } } - } -} + }, + "operationId": "Services_Get", + "title": "Gets details of the Azure service" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSubscriptionSupportTicketDetails.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSubscriptionSupportTicketDetails.json index 120d1eaf013a..37658ffac027 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSubscriptionSupportTicketDetails.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSubscriptionSupportTicketDetails.json @@ -1,52 +1,54 @@ { "parameters": { + "api-version": "2024-04-01", "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", - "api-version": "2024-04-01" + "supportTicketName": "testticket" }, "responses": { "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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": "No", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { + "country": "USA", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "minimal", + "status": "Open", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183770", + "title": "Test - please ignore" } } } - } -} + }, + "operationId": "SupportTickets_Get", + "title": "Get details of a subscription ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSupportTicketDetails.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSupportTicketDetails.json index afb76a30f656..44c8d8c296ad 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSupportTicketDetails.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSupportTicketDetails.json @@ -1,51 +1,53 @@ { "parameters": { - "supportTicketName": "testticket", - "api-version": "2024-04-01" + "api-version": "2024-04-01", + "supportTicketName": "testticket" }, "responses": { "200": { "body": { - "id": "/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", "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", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { + "country": "USA", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "minimal", + "status": "Open", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183770", + "title": "Test - please ignore" } } } - } -} + }, + "operationId": "SupportTicketsNoSubscription_Get", + "title": "Get details of a ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json index 4dfe8246314f..25b0d544f03f 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json @@ -1,35 +1,37 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", + "api-version": "2024-04-01", "chatTranscriptName": "69586795-45e9-45b5-bd9e-c9bb237d3e44", - "api-version": "2024-04-01" + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { "200": { "body": { - "id": "/providers/Microsoft.Support/supportTickets/testticket/chatTranscripts/69586795-45e9-45b5-bd9e-c9bb237d3e44", "name": "testmessage", "type": "Microsoft.Support/chatTranscripts", + "id": "/providers/Microsoft.Support/supportTickets/testticket/chatTranscripts/69586795-45e9-45b5-bd9e-c9bb237d3e44", "properties": { "messages": [ { - "contentType": "text", - "communicationDirection": "outbound", - "sender": "support engineer 2", "body": "Hi again", - "createdDate": "2020-03-23T20:18:19Z" + "communicationDirection": "outbound", + "contentType": "text", + "createdDate": "2020-03-23T20:18:19Z", + "sender": "support engineer 2" }, { - "contentType": "text", - "communicationDirection": "inbound", - "sender": "user", "body": "hello", - "createdDate": "2020-03-23T20:19:16Z" + "communicationDirection": "inbound", + "contentType": "text", + "createdDate": "2020-03-23T20:19:16Z", + "sender": "user" } ] } } } - } -} + }, + "operationId": "ChatTranscripts_Get", + "title": "Get chat transcript details for a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSupportTicket.json index 27faaa19edbc..1f27c4b612f2 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSupportTicket.json @@ -1,34 +1,36 @@ { "parameters": { - "supportTicketName": "testticket", + "api-version": "2024-04-01", "chatTranscriptName": "b371192a-b094-4a71-b093-7246029b0a54", - "api-version": "2024-04-01" + "supportTicketName": "testticket" }, "responses": { "200": { "body": { - "id": "/providers/Microsoft.Support/supportTickets/testticket/chatTranscripts/b371192a-b094-4a71-b093-7246029b0a54", "name": "testmessage", "type": "Microsoft.Support/chatTranscripts", + "id": "/providers/Microsoft.Support/supportTickets/testticket/chatTranscripts/b371192a-b094-4a71-b093-7246029b0a54", "properties": { "messages": [ { - "contentType": "text", - "communicationDirection": "outbound", - "sender": "support engineer 2", "body": "Hi again", - "createdDate": "2020-03-25T20:18:19Z" + "communicationDirection": "outbound", + "contentType": "text", + "createdDate": "2020-03-25T20:18:19Z", + "sender": "support engineer 2" }, { - "contentType": "text", - "communicationDirection": "inbound", - "sender": "user", "body": "hello", - "createdDate": "2020-03-25T20:19:16Z" + "communicationDirection": "inbound", + "contentType": "text", + "createdDate": "2020-03-25T20:19:16Z", + "sender": "user" } ] } } } - } -} + }, + "operationId": "ChatTranscriptsNoSubscription_Get", + "title": "Get chat transcript details for a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListChatTranscriptsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListChatTranscriptsForSubscriptionSupportTicket.json index 77a698094e9c..d05107bfda84 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListChatTranscriptsForSubscriptionSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListChatTranscriptsForSubscriptionSupportTicket.json @@ -1,56 +1,56 @@ { "parameters": { + "api-version": "2024-04-01", "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", - "api-version": "2024-04-01" + "supportTicketName": "testticket" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/2207120020000085/chatTranscripts/55989c71-1727-4cd9-abad-ddb8770f71cd", "name": "55989c71-1727-4cd9-abad-ddb8770f71cd", "type": "Microsoft.Support/chatTranscripts", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/2207120020000085/chatTranscripts/55989c71-1727-4cd9-abad-ddb8770f71cd", "properties": { "messages": [ { - "contentType": "text", - "communicationDirection": "outbound", - "sender": "support engineer", "body": "Hi", - "createdDate": "2020-03-24T20:18:19Z" + "communicationDirection": "outbound", + "contentType": "text", + "createdDate": "2020-03-24T20:18:19Z", + "sender": "support engineer" }, { - "contentType": "text", - "communicationDirection": "inbound", - "sender": "user", "body": "hi", - "createdDate": "2020-03-24T20:19:16Z" + "communicationDirection": "inbound", + "contentType": "text", + "createdDate": "2020-03-24T20:19:16Z", + "sender": "user" } ], "startTime": "2023-08-22T22:46:35Z" } }, { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/2207120020000085/chatTranscripts/f15051e3-a2f2-489f-9e64-8cfa203f44f8", "name": "f15051e3-a2f2-489f-9e64-8cfa203f44f8", "type": "Microsoft.Support/chatTranscripts", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/2207120020000085/chatTranscripts/f15051e3-a2f2-489f-9e64-8cfa203f44f8", "properties": { "messages": [ { - "contentType": "text", - "communicationDirection": "outbound", - "sender": "support engineer 2", "body": "Hi again", - "createdDate": "2020-03-25T20:18:19Z" + "communicationDirection": "outbound", + "contentType": "text", + "createdDate": "2020-03-25T20:18:19Z", + "sender": "support engineer 2" }, { - "contentType": "text", - "communicationDirection": "inbound", - "sender": "user", "body": "hello", - "createdDate": "2020-03-25T20:19:16Z" + "communicationDirection": "inbound", + "contentType": "text", + "createdDate": "2020-03-25T20:19:16Z", + "sender": "user" } ], "startTime": "2023-08-22T22:46:35Z" @@ -59,5 +59,7 @@ ] } } - } -} + }, + "operationId": "ChatTranscripts_List", + "title": "List chat transcripts for a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListChatTranscriptsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListChatTranscriptsForSupportTicket.json index 97ac8e3a2428..4a4782223572 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListChatTranscriptsForSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListChatTranscriptsForSupportTicket.json @@ -1,55 +1,55 @@ { "parameters": { - "supportTicketName": "testticket", - "api-version": "2024-04-01" + "api-version": "2024-04-01", + "supportTicketName": "testticket" }, "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", + "id": "/providers/Microsoft.Support/supportTickets/2207120020000085/chatTranscripts/55989c71-1727-4cd9-abad-ddb8770f71cd", "properties": { "messages": [ { - "contentType": "text", - "communicationDirection": "outbound", - "sender": "support engineer", "body": "Hi", - "createdDate": "2020-03-24T20:18:19Z" + "communicationDirection": "outbound", + "contentType": "text", + "createdDate": "2020-03-24T20:18:19Z", + "sender": "support engineer" }, { - "contentType": "text", - "communicationDirection": "inbound", - "sender": "user", "body": "hi", - "createdDate": "2020-03-24T20:19:16Z" + "communicationDirection": "inbound", + "contentType": "text", + "createdDate": "2020-03-24T20:19:16Z", + "sender": "user" } ], "startTime": "2023-08-22T22:46:35Z" } }, { - "id": "/providers/Microsoft.Support/supportTickets/2207120020000085/chatTranscripts/f15051e3-a2f2-489f-9e64-8cfa203f44f8", "name": "f15051e3-a2f2-489f-9e64-8cfa203f44f8", "type": "Microsoft.Support/chatTranscripts", + "id": "/providers/Microsoft.Support/supportTickets/2207120020000085/chatTranscripts/f15051e3-a2f2-489f-9e64-8cfa203f44f8", "properties": { "messages": [ { - "contentType": "text", - "communicationDirection": "outbound", - "sender": "support engineer 2", "body": "Hi again", - "createdDate": "2020-03-25T20:18:19Z" + "communicationDirection": "outbound", + "contentType": "text", + "createdDate": "2020-03-25T20:18:19Z", + "sender": "support engineer 2" }, { - "contentType": "text", - "communicationDirection": "inbound", - "sender": "user", "body": "hello", - "createdDate": "2020-03-25T20:19:16Z" + "communicationDirection": "inbound", + "contentType": "text", + "createdDate": "2020-03-25T20:19:16Z", + "sender": "user" } ], "startTime": "2023-08-22T22:46:35Z" @@ -58,5 +58,7 @@ ] } } - } -} + }, + "operationId": "ChatTranscriptsNoSubscription_List", + "title": "List chat transcripts for a no-subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListCommunicationsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListCommunicationsForSubscriptionSupportTicket.json index 67dddcc25b73..972de19508fd 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListCommunicationsForSubscriptionSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListCommunicationsForSubscriptionSupportTicket.json @@ -1,41 +1,43 @@ { "parameters": { + "api-version": "2024-04-01", "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", - "api-version": "2024-04-01" + "supportTicketName": "testticket" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1", "name": "testmessage1", "type": "Microsoft.Support/communications", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1", "properties": { - "subject": "this is a test message", "body": "this is a test message", - "communicationType": "web", "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-24T20:18:19Z", "sender": "user@contoso.com", - "createdDate": "2020-03-24T20:18:19Z" + "subject": "this is a test message" } }, { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2", "name": "testmessage2", "type": "Microsoft.Support/communications", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2", "properties": { - "subject": "test", "body": "test", - "communicationType": "web", "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-29T10:53:19Z", "sender": "user@contoso.com", - "createdDate": "2020-03-29T10:53:19Z" + "subject": "test" } } ] } } - } -} + }, + "operationId": "Communications_List", + "title": "List communications for a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListCommunicationsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListCommunicationsForSupportTicket.json index f4093a0ee673..a810eb3bac8f 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListCommunicationsForSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListCommunicationsForSupportTicket.json @@ -1,40 +1,42 @@ { "parameters": { - "supportTicketName": "testticket", - "api-version": "2024-04-01" + "api-version": "2024-04-01", + "supportTicketName": "testticket" }, "responses": { "200": { "body": { "value": [ { - "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1", "name": "testmessage1", "type": "Microsoft.Support/communications", + "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1", "properties": { - "subject": "this is a test message", "body": "this is a test message", - "communicationType": "web", "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-24T20:18:19Z", "sender": "user@contoso.com", - "createdDate": "2020-03-24T20:18:19Z" + "subject": "this is a test message" } }, { - "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2", "name": "testmessage2", "type": "Microsoft.Support/communications", + "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2", "properties": { - "subject": "test", "body": "test", - "communicationType": "web", "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-29T10:53:19Z", "sender": "user@contoso.com", - "createdDate": "2020-03-29T10:53:19Z" + "subject": "test" } } ] } } - } -} + }, + "operationId": "CommunicationsNoSubscription_List", + "title": "List communications for a no-subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListFilesForSubscriptionUnderFileWorkspace.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListFilesForSubscriptionUnderFileWorkspace.json index 800db501f906..a1131e259751 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListFilesForSubscriptionUnderFileWorkspace.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListFilesForSubscriptionUnderFileWorkspace.json @@ -1,31 +1,31 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "api-version": "2024-04-01", "fileWorkspaceName": "testworkspace", - "api-version": "2024-04-01" + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test1.txt", "name": "test1.txt", "type": "Microsoft.Support/files", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test1.txt", "properties": { - "createdOn": "2022-08-24T20:18:19Z", "chunkSize": 41423, + "createdOn": "2022-08-24T20:18:19Z", "fileSize": 41423, "numberOfChunks": 1 } }, { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test2.txt", "name": "test2.txt", "type": "Microsoft.Support/files", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test2.txt", "properties": { - "createdOn": "2022-08-24T20:18:19Z", "chunkSize": 41423, + "createdOn": "2022-08-24T20:18:19Z", "fileSize": 41423, "numberOfChunks": 1 } @@ -33,5 +33,7 @@ ] } } - } -} + }, + "operationId": "Files_List", + "title": "List files under a workspace for a subscription" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListFilesUnderFileWorkspace.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListFilesUnderFileWorkspace.json index 4a68fec424e1..364149aeef3d 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListFilesUnderFileWorkspace.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListFilesUnderFileWorkspace.json @@ -1,30 +1,30 @@ { "parameters": { - "fileWorkspaceName": "testworkspace", - "api-version": "2024-04-01" + "api-version": "2024-04-01", + "fileWorkspaceName": "testworkspace" }, "responses": { "200": { "body": { "value": [ { - "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test1.txt", "name": "test1.txt", "type": "Microsoft.Support/files", + "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test1.txt", "properties": { - "createdOn": "2022-08-24T20:18:19Z", "chunkSize": 41423, + "createdOn": "2022-08-24T20:18:19Z", "fileSize": 41423, "numberOfChunks": 1 } }, { - "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test1.txt", "name": "test1.txt", "type": "Microsoft.Support/files", + "id": "/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test1.txt", "properties": { - "createdOn": "2022-08-24T20:18:19Z", "chunkSize": 41423, + "createdOn": "2022-08-24T20:18:19Z", "fileSize": 41423, "numberOfChunks": 1 } @@ -32,5 +32,7 @@ ] } } - } -} + }, + "operationId": "FilesNoSubscription_List", + "title": "List files under a workspace" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListOperations.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListOperations.json index ff5a9cac3eb6..fd5b00abd989 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListOperations.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListOperations.json @@ -90,5 +90,7 @@ ] } } - } -} + }, + "operationId": "Operations_List", + "title": "Get all operations" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListProblemClassifications.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListProblemClassifications.json index 99377285cadb..50671c435ce0 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListProblemClassifications.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListProblemClassifications.json @@ -1,64 +1,64 @@ { "parameters": { - "serviceName": "service_guid", - "api-version": "2024-04-01" + "api-version": "2024-04-01", + "serviceName": "service_guid" }, "responses": { "200": { "body": { "value": [ { - "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_1", "name": "problemClassification_guid_1", "type": "Microsoft.Support/problemClassifications", + "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_1", "properties": { "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" + "type": "DatabricksConsent", + "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." } ] } }, { - "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_2", "name": "problemClassification_guid_2", "type": "Microsoft.Support/problemClassifications", + "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_2", "properties": { "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" + "type": "DatabricksConsent", + "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." } ] } }, { - "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_3", "name": "problemClassification_guid_3", "type": "Microsoft.Support/problemClassifications", + "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_3", "properties": { "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" + "type": "DatabricksConsent", + "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." } ] } }, { - "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_4", "name": "problemClassification_guid_4", "type": "Microsoft.Support/problemClassifications", + "id": "/providers/Microsoft.Support/services/service_guid/problemClassifications/problemClassification_guid_4", "properties": { "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" + "type": "DatabricksConsent", + "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." } ] } @@ -66,5 +66,7 @@ ] } } - } -} + }, + "operationId": "ProblemClassifications_List", + "title": "Gets list of problemClassifications for a service for which a support ticket can be created" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListServices.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListServices.json index fc39118325e7..12fb4b8e8781 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListServices.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListServices.json @@ -7,36 +7,36 @@ "body": { "value": [ { - "id": "/providers/Microsoft.Support/services/service_guid_1", "name": "service_guid_1", "type": "Microsoft.Support/services", + "id": "/providers/Microsoft.Support/services/service_guid_1", "properties": { "displayName": "Billing", "resourceTypes": [] } }, { - "id": "/providers/Microsoft.Support/services/service_guid_2", "name": "service_guid_2", "type": "Microsoft.Support/services", + "id": "/providers/Microsoft.Support/services/service_guid_2", "properties": { "displayName": "Service and subscription limits (quotas)", "resourceTypes": [] } }, { - "id": "/providers/Microsoft.Support/services/service_guid_3", "name": "service_guid_3", "type": "Microsoft.Support/services", + "id": "/providers/Microsoft.Support/services/service_guid_3", "properties": { "displayName": "Subscription management", "resourceTypes": [] } }, { - "id": "/providers/Microsoft.Support/services/service_guid_4", "name": "service_guid_4", "type": "Microsoft.Support/services", + "id": "/providers/Microsoft.Support/services/service_guid_4", "properties": { "displayName": "Data Explorer", "resourceTypes": [ @@ -46,9 +46,9 @@ } }, { - "id": "/providers/Microsoft.Support/services/service_guid_5", "name": "service_guid_5", "type": "Microsoft.Support/services", + "id": "/providers/Microsoft.Support/services/service_guid_5", "properties": { "displayName": "Virtual Machine running Windows", "resourceTypes": [ @@ -58,9 +58,9 @@ } }, { - "id": "/providers/Microsoft.Support/services/service_guid_6", "name": "service_guid_6", "type": "Microsoft.Support/services", + "id": "/providers/Microsoft.Support/services/service_guid_6", "properties": { "displayName": "Virtual Machine running Linux", "resourceTypes": [ @@ -70,9 +70,9 @@ } }, { - "id": "/providers/Microsoft.Support/services/service_guid_7", "name": "service_guid_7", "type": "Microsoft.Support/services", + "id": "/providers/Microsoft.Support/services/service_guid_7", "properties": { "displayName": "Virtual Network", "resourceTypes": [ @@ -84,5 +84,7 @@ ] } } - } -} + }, + "operationId": "Services_List", + "title": "Gets list of services for which a support ticket can be created" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTickets.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTickets.json index 82324f380199..d32601be25c8 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTickets.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTickets.json @@ -7,95 +7,97 @@ "body": { "value": [ { - "id": "/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", "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, "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": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", "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" + "supportTicketId": "119120321001170", + "title": "my title" } }, { - "id": "/providers/Microsoft.Support/supportTickets/testticket2", "name": "testticket2", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket2", "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, "advancedDiagnosticConsent": "No", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { + "country": "USA", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "minimal", + "status": "Open", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183771", + "title": "Test - please ignore" } } ] } } - } -} + }, + "operationId": "SupportTicketsNoSubscription_List", + "title": "List support tickets" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsBySubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsBySubscription.json index 759279329783..9a9b7f565386 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsBySubscription.json @@ -1,106 +1,108 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "api-version": "2024-04-01" + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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, "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": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" - }, - "technicalTicketDetails": { - "resourceId": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "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", - "status": "Open", - "createdDate": "2020-03-20T21:36:18Z", - "modifiedDate": "2020-03-20T21:36:23Z" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "technicalTicketDetails": { + "resourceId": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + }, + "title": "my title" } }, { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket2", "name": "testticket2", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket2", "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, "advancedDiagnosticConsent": "No", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { + "country": "USA", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "minimal", + "status": "Open", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183771", + "title": "Test - please ignore" } } ] } } - } -} + }, + "operationId": "SupportTickets_List", + "title": "List support tickets for a subscription" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json index aea5622e3451..e270eb9e696d 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json @@ -8,96 +8,98 @@ "body": { "value": [ { - "id": "/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", "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, "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": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-11T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-12T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-11T21:36:18Z", "expirationTime": "2020-03-12T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-11T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "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", - "status": "Open", - "createdDate": "2020-03-11T21:36:18Z", - "modifiedDate": "2020-03-12T21:36:23Z" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } }, { - "id": "/providers/Microsoft.Support/supportTickets/testticket2", "name": "testticket2", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket2", "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, "advancedDiagnosticConsent": "No", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { + "country": "USA", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-11T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-12T21:36:18Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-11T21:36:18Z", "expirationTime": "2020-03-12T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-11T21:36:18Z" }, + "severity": "minimal", + "status": "Open", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183771", + "title": "Test - please ignore" } } ] } } - } -} + }, + "operationId": "SupportTicketsNoSubscription_List", + "title": "List support tickets created on or after a certain date and in open state" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json index afe415047fd8..2203d55670fb 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json @@ -1,107 +1,109 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", "$filter": "createdDate ge 2020-03-10T22:08:51Z and status eq 'Open'", - "api-version": "2024-04-01" + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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, "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": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" - }, - "technicalTicketDetails": { - "resourceId": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-11T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-12T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-11T21:36:18Z", "expirationTime": "2020-03-12T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-11T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "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", - "status": "Open", - "createdDate": "2020-03-11T21:36:18Z", - "modifiedDate": "2020-03-12T21:36:23Z" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "technicalTicketDetails": { + "resourceId": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + }, + "title": "my title" } }, { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket2", "name": "testticket2", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket2", "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, "advancedDiagnosticConsent": "No", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { + "country": "USA", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-11T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-12T21:36:18Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-11T21:36:18Z", "expirationTime": "2020-03-12T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-11T21:36:18Z" }, + "severity": "minimal", + "status": "Open", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183771", + "title": "Test - please ignore" } } ] } } - } -} + }, + "operationId": "SupportTickets_List", + "title": "List support tickets created on or after a certain date and in open state for a subscription" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json index 56782cbb856f..f6540f578d29 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json @@ -8,103 +8,105 @@ "body": { "value": [ { - "id": "/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", "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, "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": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-11T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-12T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-11T21:36:18Z", "expirationTime": "2020-03-12T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-11T21:36:18Z" }, + "severity": "moderate", + "status": "Updating", "supportEngineer": { "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", - "status": "Updating", - "createdDate": "2020-03-11T21:36:18Z", - "modifiedDate": "2020-03-12T21:36:23Z" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } }, { - "id": "/providers/Microsoft.Support/supportTickets/testticket2", "name": "testticket2", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket2", "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, "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": { + "country": "USA", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-11T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-12T21:36:18Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-11T21:36:18Z", "expirationTime": "2020-03-12T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-11T21:36:18Z" }, + "severity": "minimal", + "status": "Updating", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183771", + "title": "Test - please ignore" } } ] } } - } -} + }, + "operationId": "SupportTicketsNoSubscription_List", + "title": "List support tickets created on or after a certain date and in updating state" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json index 6ca9d5a6ff93..b2708a7256dd 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json @@ -1,107 +1,109 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", "$filter": "createdDate ge 2020-03-10T22:08:51Z and status eq 'Updating'", - "api-version": "2024-04-01" + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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, "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": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" - }, - "technicalTicketDetails": { - "resourceId": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-11T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-12T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-11T21:36:18Z", "expirationTime": "2020-03-12T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-11T21:36:18Z" }, + "severity": "moderate", + "status": "Updating", "supportEngineer": { "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", - "status": "Updating", - "createdDate": "2020-03-11T21:36:18Z", - "modifiedDate": "2020-03-12T21:36:23Z" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "technicalTicketDetails": { + "resourceId": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + }, + "title": "my title" } }, { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket2", "name": "testticket2", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket2", "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, "advancedDiagnosticConsent": "Yes", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { + "country": "USA", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-11T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-12T21:36:18Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-11T21:36:18Z", "expirationTime": "2020-03-12T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-11T21:36:18Z" }, + "severity": "minimal", + "status": "Updating", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183771", + "title": "Test - please ignore" } } ] } } - } -} + }, + "operationId": "SupportTickets_List", + "title": "List support tickets created on or after a certain date and in updating state for a subscription" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInOpenState.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInOpenState.json index ddbc9f3c3d16..e2358c66f004 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInOpenState.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInOpenState.json @@ -8,96 +8,98 @@ "body": { "value": [ { - "id": "/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", "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, "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": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "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", - "status": "Open", - "createdDate": "2020-03-20T21:36:18Z", - "modifiedDate": "2020-03-20T21:36:23Z" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } }, { - "id": "/providers/Microsoft.Support/supportTickets/testticket2", "name": "testticket2", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket2", "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, "advancedDiagnosticConsent": "No", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { + "country": "USA", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "minimal", + "status": "Open", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183771", + "title": "Test - please ignore" } } ] } } - } -} + }, + "operationId": "SupportTicketsNoSubscription_List", + "title": "List support tickets in open state" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInOpenStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInOpenStateBySubscription.json index c4a359f4e3e2..75f009ddebbe 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInOpenStateBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInOpenStateBySubscription.json @@ -1,107 +1,109 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", "$filter": "status eq 'Open'", - "api-version": "2024-04-01" + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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, "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": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" - }, - "technicalTicketDetails": { - "resourceId": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Open", "supportEngineer": { "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", - "status": "Open", - "createdDate": "2020-03-20T21:36:18Z", - "modifiedDate": "2020-03-20T21:36:23Z" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "technicalTicketDetails": { + "resourceId": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + }, + "title": "my title" } }, { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket2", "name": "testticket2", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket2", "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, "advancedDiagnosticConsent": "No", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { + "country": "USA", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "minimal", + "status": "Open", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183771", + "title": "Test - please ignore" } } ] } } - } -} + }, + "operationId": "SupportTickets_List", + "title": "List support tickets in open state for a subscription" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInUpdatingState.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInUpdatingState.json index 82c3e662c8bc..01c071d75178 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInUpdatingState.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInUpdatingState.json @@ -8,96 +8,98 @@ "body": { "value": [ { - "id": "/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", "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, "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": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Updating", "supportEngineer": { "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", - "status": "Updating", - "createdDate": "2020-03-20T21:36:18Z", - "modifiedDate": "2020-03-20T21:36:23Z" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "title": "my title" } }, { - "id": "/providers/Microsoft.Support/supportTickets/testticket2", "name": "testticket2", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket2", "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, "advancedDiagnosticConsent": "No", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { + "country": "USA", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "minimal", + "status": "Updating", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183771", + "title": "Test - please ignore" } } ] } } - } -} + }, + "operationId": "SupportTicketsNoSubscription_List", + "title": "List support tickets in updating state" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInUpdatingStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInUpdatingStateBySubscription.json index b397bb08ffda..4c1c420e4497 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInUpdatingStateBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInUpdatingStateBySubscription.json @@ -1,107 +1,109 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", "$filter": "status eq 'Updating'", - "api-version": "2024-04-01" + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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, - "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": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" - }, - "technicalTicketDetails": { - "resourceId": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Connectivity / Cannot connect to virtual machine by using RDP or SSH", + "problemClassificationId": "/providers/Microsoft.Support/services/virtual_machine_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Linux", + "serviceId": "/providers/Microsoft.Support/services/virtual_machine_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "moderate", + "status": "Updating", "supportEngineer": { "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", - "status": "Updating", - "createdDate": "2020-03-20T21:36:18Z", - "modifiedDate": "2020-03-20T21:36:23Z" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "119120321001170", + "technicalTicketDetails": { + "resourceId": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + }, + "title": "my title" } }, { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket2", "name": "testticket2", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket2", "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, "advancedDiagnosticConsent": "No", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { + "country": "USA", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "minimal", + "status": "Updating", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183771", + "title": "Test - please ignore" } } ] } } - } -} + }, + "operationId": "SupportTickets_List", + "title": "List support tickets in updating state for a subscription" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsProblemClassificationIdEquals.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsProblemClassificationIdEquals.json index 15072d0ec414..d66fa50f22a1 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsProblemClassificationIdEquals.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsProblemClassificationIdEquals.json @@ -8,80 +8,82 @@ "body": { "value": [ { - "id": "/providers/Microsoft.Support/supportTickets/testTicket1", "name": "testTicket1", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testTicket1", "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": "", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "testTicket1", "advancedDiagnosticConsent": "Yes", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2022-05-04T21:52:10Z", + "enrollmentId": "", + "fileWorkspaceName": "testTicket1", + "modifiedDate": "2022-05-12T23:05:19Z", + "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", + "problemClassificationId": "/providers/Microsoft.Support/services/service_guid/problemClassifications/compute_vm_problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "service_displayName", + "serviceId": "/providers/Microsoft.Support/services/service_guid", + "severity": "minimal", + "status": "Open", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "2205060010000072", + "title": "my title" } }, { - "id": "/providers/Microsoft.Support/supportTickets/testTicket2", "name": "testTicket2", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testTicket2", "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, - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "testTicket2", "advancedDiagnosticConsent": "Yes", "contactDetails": { + "country": "USA", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2022-05-04T21:38:42Z", + "fileWorkspaceName": "testTicket2", + "modifiedDate": "2022-05-04T21:39:14Z", + "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", + "problemClassificationId": "/providers/Microsoft.Support/services/service_guid/problemClassifications/compute_vm_problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "service_displayName", + "serviceId": "/providers/Microsoft.Support/services/service_guid", + "severity": "minimal", + "status": "Open", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "2205040010000077", + "title": "Test - please ignore" } } ] } } - } -} + }, + "operationId": "SupportTicketsNoSubscription_List", + "title": "List support tickets with a certain problem classification id" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json index 44150787d5c6..ce716e200e1b 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json @@ -1,88 +1,90 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", "$filter": "ProblemClassificationId eq 'compute_vm_problemClassification_guid'", - "api-version": "2024-04-01" + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testTicket1", "name": "testTicket1", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testTicket1", "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": "", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "testTicket1", "advancedDiagnosticConsent": "Yes", "contactDetails": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2022-05-04T21:52:10Z", + "enrollmentId": "", + "fileWorkspaceName": "testTicket1", + "modifiedDate": "2022-05-12T23:05:19Z", + "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", + "problemClassificationId": "/providers/Microsoft.Support/services/service_guid/problemClassifications/compute_vm_problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "service_displayName", + "serviceId": "/providers/Microsoft.Support/services/service_guid", + "severity": "minimal", + "status": "Open", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "2205060010000072", + "title": "my title" } }, { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testTicket2", "name": "testTicket2", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testTicket2", "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, - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "testTicket2", "advancedDiagnosticConsent": "Yes", "contactDetails": { + "country": "USA", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2022-05-04T21:38:42Z", + "fileWorkspaceName": "testTicket2", + "modifiedDate": "2022-05-04T21:39:14Z", + "problemClassificationDisplayName": "Compute-VM (cores-vCPUs) subscription limit increases", + "problemClassificationId": "/providers/Microsoft.Support/services/service_guid/problemClassifications/compute_vm_problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "service_displayName", + "serviceId": "/providers/Microsoft.Support/services/service_guid", + "severity": "minimal", + "status": "Open", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "2205040010000077", + "title": "Test - please ignore" } } ] } } - } -} + }, + "operationId": "SupportTickets_List", + "title": "List support tickets with a certain problem classification id for a subscription" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEquals.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEquals.json index 32045856c6be..4813515111eb 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEquals.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEquals.json @@ -8,94 +8,96 @@ "body": { "value": [ { - "id": "/providers/Microsoft.Support/supportTickets", "name": "testticket1", "type": "Microsoft.Support/supportTickets", + "id": "/providers/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": "", - "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": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2022-05-04T21:52:10Z", + "enrollmentId": "", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2022-05-12T23:05:19Z", + "problemClassificationDisplayName": "problemClassification_displayName", + "problemClassificationId": "/providers/Microsoft.Support/services/vm_windows_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Windows", + "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", + "severity": "minimal", + "status": "Open", "supportEngineer": { "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", - "status": "Open", - "createdDate": "2022-05-04T21:52:10Z", - "modifiedDate": "2022-05-12T23:05:19Z" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "2205040010000082", + "title": "my title" } }, { - "id": "/providers/Microsoft.Support/supportTickets", "name": "testticket2", "type": "Microsoft.Support/supportTickets", + "id": "/providers/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, - "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": { + "country": "USA", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2022-05-04T21:38:42Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2022-05-04T21:39:14Z", + "problemClassificationDisplayName": "problemClassification_displayName", + "problemClassificationId": "/providers/Microsoft.Support/services/vm_windows_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Windows", + "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", + "severity": "minimal", + "status": "Open", "supportEngineer": { "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", - "status": "Open", - "createdDate": "2022-05-04T21:38:42Z", - "modifiedDate": "2022-05-04T21:39:14Z" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "2205040010000080", + "title": "Test - please ignore" } } ] } } - } -} + }, + "operationId": "SupportTicketsNoSubscription_List", + "title": "List support tickets with a certain service id" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEqualsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEqualsForSubscription.json index bc9e05ca003f..86c7bb713acd 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEqualsForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEqualsForSubscription.json @@ -1,102 +1,104 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", "$filter": "ServiceId eq 'vm_windows_service_guid'", - "api-version": "2024-04-01" + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets", "name": "testticket1", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/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": "", - "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": { + "country": "usa", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "usa", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2022-05-04T21:52:10Z", + "enrollmentId": "", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2022-05-12T23:05:19Z", + "problemClassificationDisplayName": "problemClassification_displayName", + "problemClassificationId": "/providers/Microsoft.Support/services/vm_windows_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Windows", + "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", + "severity": "minimal", + "status": "Open", "supportEngineer": { "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", - "status": "Open", - "createdDate": "2022-05-04T21:52:10Z", - "modifiedDate": "2022-05-12T23:05:19Z" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "2205040010000082", + "title": "my title" } }, { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets", "name": "testticket2", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/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, - "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": { + "country": "USA", "firstName": "abc", "lastName": "xyz", "preferredContactMethod": "email", - "primaryEmailAddress": "abc@contoso.com", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "abc@contoso.com" }, + "createdDate": "2022-05-04T21:38:42Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2022-05-04T21:39:14Z", + "problemClassificationDisplayName": "problemClassification_displayName", + "problemClassificationId": "/providers/Microsoft.Support/services/vm_windows_service_guid/problemClassifications/problemClassification_guid", + "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\"}}]}", + "require24X7Response": false, + "secondaryConsent": [ + { + "type": "VirtualMachine", + "userConsent": "Yes" + } + ], + "serviceDisplayName": "Virtual Machine running Windows", + "serviceId": "/providers/Microsoft.Support/services/vm_windows_service_guid", + "severity": "minimal", + "status": "Open", "supportEngineer": { "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", - "status": "Open", - "createdDate": "2022-05-04T21:38:42Z", - "modifiedDate": "2022-05-04T21:39:14Z" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "2205040010000080", + "title": "Test - please ignore" } } ] } } - } -} + }, + "operationId": "SupportTickets_List", + "title": "List support tickets with a certain service id for a subscription" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicket.json index 7470e90d7b58..c197a4b9d3a5 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicket.json @@ -1,42 +1,44 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", "$filter": "communicationType eq 'web'", - "api-version": "2024-04-01" + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1", "name": "testmessage1", "type": "Microsoft.Support/communications", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1", "properties": { - "subject": "this is a test message", "body": "this is a test message", - "communicationType": "web", "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-10T20:18:19Z", "sender": "user@contoso.com", - "createdDate": "2020-03-10T20:18:19Z" + "subject": "this is a test message" } }, { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2", "name": "testmessage2", "type": "Microsoft.Support/communications", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2", "properties": { - "subject": "test", "body": "test", - "communicationType": "web", "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-11T10:53:19Z", "sender": "user@contoso.com", - "createdDate": "2020-03-11T10:53:19Z" + "subject": "test" } } ] } } - } -} + }, + "operationId": "Communications_List", + "title": "List web communications for a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json index 7d207ec09444..35229d259503 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json @@ -1,42 +1,44 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "supportTicketName": "testticket", "$filter": "communicationType eq 'web' and createdDate ge 2020-03-10T22:08:51Z", - "api-version": "2024-04-01" + "api-version": "2024-04-01", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", + "supportTicketName": "testticket" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1", "name": "testmessage1", "type": "Microsoft.Support/communications", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1", "properties": { - "subject": "this is a test message", "body": "this is a test message", - "communicationType": "web", "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-11T20:18:19Z", "sender": "user@contoso.com", - "createdDate": "2020-03-11T20:18:19Z" + "subject": "this is a test message" } }, { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2", "name": "testmessage2", "type": "Microsoft.Support/communications", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2", "properties": { - "subject": "test", "body": "test", - "communicationType": "web", "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-12T10:53:19Z", "sender": "user@contoso.com", - "createdDate": "2020-03-12T10:53:19Z" + "subject": "test" } } ] } } - } -} + }, + "operationId": "Communications_List", + "title": "List web communication created on or after a specific date for a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSupportTicket.json index 434eaa0d9453..3d731b58b5f7 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSupportTicket.json @@ -1,41 +1,43 @@ { "parameters": { - "supportTicketName": "testticket", "$filter": "communicationType eq 'web'", - "api-version": "2024-04-01" + "api-version": "2024-04-01", + "supportTicketName": "testticket" }, "responses": { "200": { "body": { "value": [ { - "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1", "name": "testmessage1", "type": "Microsoft.Support/communications", + "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1", "properties": { - "subject": "this is a test message", "body": "this is a test message", - "communicationType": "web", "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-10T20:18:19Z", "sender": "user@contoso.com", - "createdDate": "2020-03-10T20:18:19Z" + "subject": "this is a test message" } }, { - "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2", "name": "testmessage2", "type": "Microsoft.Support/communications", + "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2", "properties": { - "subject": "test", "body": "test", - "communicationType": "web", "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-11T10:53:19Z", "sender": "user@contoso.com", - "createdDate": "2020-03-11T10:53:19Z" + "subject": "test" } } ] } } - } -} + }, + "operationId": "CommunicationsNoSubscription_List", + "title": "List web communications for a no-subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json index 4cec37402504..73b589a58ca0 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json @@ -1,41 +1,43 @@ { "parameters": { - "supportTicketName": "testticket", "$filter": "communicationType eq 'web' and createdDate ge 2020-03-10T22:08:51Z", - "api-version": "2024-04-01" + "api-version": "2024-04-01", + "supportTicketName": "testticket" }, "responses": { "200": { "body": { "value": [ { - "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1", "name": "testmessage1", "type": "Microsoft.Support/communications", + "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage1", "properties": { - "subject": "this is a test message", "body": "this is a test message", - "communicationType": "web", "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-11T20:18:19Z", "sender": "user@contoso.com", - "createdDate": "2020-03-11T20:18:19Z" + "subject": "this is a test message" } }, { - "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2", "name": "testmessage2", "type": "Microsoft.Support/communications", + "id": "/providers/Microsoft.Support/supportTickets/testticket/communications/testmessage2", "properties": { - "subject": "test", "body": "test", - "communicationType": "web", "communicationDirection": "outbound", + "communicationType": "web", + "createdDate": "2020-03-12T10:53:19Z", "sender": "user@contoso.com", - "createdDate": "2020-03-12T10:53:19Z" + "subject": "test" } } ] } } - } -} + }, + "operationId": "CommunicationsNoSubscription_List", + "title": "List web communication created on or after a specific date for a no-subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json index 1acf7a63cc46..0c9007c301cd 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json @@ -1,7 +1,7 @@ { "parameters": { - "supportTicketName": "testticket", "api-version": "2024-04-01", + "supportTicketName": "testticket", "updateSupportTicket": { "advancedDiagnosticConsent": "Yes" } @@ -9,50 +9,52 @@ "responses": { "200": { "body": { - "id": "/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", "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", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "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" + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "test.name@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "critical", + "status": "Open", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183770", + "title": "Test - please ignore" } } } - } -} + }, + "operationId": "SupportTicketsNoSubscription_Update", + "title": "Update advanced diagnostic consent of a support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json index 26c50169fecd..f6ca46aafd89 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json @@ -1,8 +1,8 @@ { "parameters": { + "api-version": "2024-04-01", "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", "supportTicketName": "testticket", - "api-version": "2024-04-01", "updateSupportTicket": { "advancedDiagnosticConsent": "Yes" } @@ -10,50 +10,52 @@ "responses": { "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "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" + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "test.name@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "critical", + "status": "Open", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183770", + "title": "Test - please ignore" } } } - } -} + }, + "operationId": "SupportTickets_Update", + "title": "Update advanced diagnostic consent of a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateContactDetailsOfSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateContactDetailsOfSupportTicket.json index 0787bc01868a..6f41429fafd0 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateContactDetailsOfSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateContactDetailsOfSupportTicket.json @@ -1,72 +1,74 @@ { "parameters": { - "supportTicketName": "testticket", "api-version": "2024-04-01", + "supportTicketName": "testticket", "updateSupportTicket": { "contactDetails": { - "firstName": "first name", - "lastName": "last name", - "preferredContactMethod": "email", - "primaryEmailAddress": "test.name@contoso.com", "additionalEmailAddresses": [ "tname@contoso.com", "teamtest@contoso.com" ], + "country": "USA", + "firstName": "first name", + "lastName": "last name", "phoneNumber": "123-456-7890", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "test.name@contoso.com" } } }, "responses": { "200": { "body": { - "id": "/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", "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", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { - "firstName": "first name", - "lastName": "last name", - "preferredContactMethod": "email", - "primaryEmailAddress": "test.name@contoso.com", "additionalEmailAddresses": [ "tname@contoso.com", "teamtest@contoso.com" ], + "country": "USA", + "firstName": "first name", + "lastName": "last name", "phoneNumber": "123-456-7890", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "test.name@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "critical", + "status": "Open", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183770", + "title": "Test - please ignore" } } } - } -} + }, + "operationId": "SupportTicketsNoSubscription_Update", + "title": "Update contact details of a support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateContactDetailsOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateContactDetailsOfSupportTicketForSubscription.json index d7a3512b2080..31fc4bc9ba0d 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateContactDetailsOfSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateContactDetailsOfSupportTicketForSubscription.json @@ -1,73 +1,75 @@ { "parameters": { + "api-version": "2024-04-01", "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", "supportTicketName": "testticket", - "api-version": "2024-04-01", "updateSupportTicket": { "contactDetails": { - "firstName": "first name", - "lastName": "last name", - "preferredContactMethod": "email", - "primaryEmailAddress": "test.name@contoso.com", "additionalEmailAddresses": [ "tname@contoso.com", "teamtest@contoso.com" ], + "country": "USA", + "firstName": "first name", + "lastName": "last name", "phoneNumber": "123-456-7890", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "test.name@contoso.com" } } }, "responses": { "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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": "No", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "contactDetails": { - "firstName": "first name", - "lastName": "last name", - "preferredContactMethod": "email", - "primaryEmailAddress": "test.name@contoso.com", "additionalEmailAddresses": [ "tname@contoso.com", "teamtest@contoso.com" ], + "country": "USA", + "firstName": "first name", + "lastName": "last name", "phoneNumber": "123-456-7890", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", "preferredTimeZone": "Pacific Standard Time", - "country": "USA", - "preferredSupportLanguage": "en-US" + "primaryEmailAddress": "test.name@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "critical", + "status": "Open", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183770", + "title": "Test - please ignore" } } } - } -} + }, + "operationId": "SupportTickets_Update", + "title": "Update contact details of a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateSeverityOfSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateSeverityOfSupportTicket.json index d444b94d8423..80875cdc2a29 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateSeverityOfSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateSeverityOfSupportTicket.json @@ -1,7 +1,7 @@ { "parameters": { - "supportTicketName": "testticket", "api-version": "2024-04-01", + "supportTicketName": "testticket", "updateSupportTicket": { "severity": "critical" } @@ -9,50 +9,52 @@ "responses": { "200": { "body": { - "id": "/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", "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", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "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" + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "test.name@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "critical", + "status": "Open", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183770", + "title": "Test - please ignore" } } } - } -} + }, + "operationId": "SupportTicketsNoSubscription_Update", + "title": "Update severity of a support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateSeverityOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateSeverityOfSupportTicketForSubscription.json index 6eefda0288d5..c0f385a89e8d 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateSeverityOfSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateSeverityOfSupportTicketForSubscription.json @@ -1,8 +1,8 @@ { "parameters": { + "api-version": "2024-04-01", "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", "supportTicketName": "testticket", - "api-version": "2024-04-01", "updateSupportTicket": { "severity": "critical" } @@ -10,50 +10,52 @@ "responses": { "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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": "No", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "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" + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "test.name@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "critical", + "status": "Open", "supportEngineer": { "emailAddress": "xyz@contoso.com" }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183770", + "title": "Test - please ignore" } } } - } -} + }, + "operationId": "SupportTickets_Update", + "title": "Update severity of a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateStatusOfSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateStatusOfSupportTicket.json index a4db1bad0cb2..211d334f31f0 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateStatusOfSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateStatusOfSupportTicket.json @@ -1,7 +1,7 @@ { "parameters": { - "supportTicketName": "testticket", "api-version": "2024-04-01", + "supportTicketName": "testticket", "updateSupportTicket": { "status": "closed" } @@ -9,50 +9,52 @@ "responses": { "200": { "body": { - "id": "/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket", "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", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "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" + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "test.name@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "critical", + "status": "Closed", "supportEngineer": { "emailAddress": null }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183770", + "title": "Test - please ignore" } } } - } -} + }, + "operationId": "SupportTicketsNoSubscription_Update", + "title": "Update status of a support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateStatusOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateStatusOfSupportTicketForSubscription.json index 1bb76bf09c8f..debae401817a 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateStatusOfSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateStatusOfSupportTicketForSubscription.json @@ -1,8 +1,8 @@ { "parameters": { + "api-version": "2024-04-01", "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", "supportTicketName": "testticket", - "api-version": "2024-04-01", "updateSupportTicket": { "status": "closed" } @@ -10,50 +10,52 @@ "responses": { "200": { "body": { - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "name": "testticket", "type": "Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket", "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": "No", - "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", - "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", "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" + "firstName": "abc", + "lastName": "xyz", + "preferredContactMethod": "email", + "preferredSupportLanguage": "en-US", + "preferredTimeZone": "Pacific Standard Time", + "primaryEmailAddress": "test.name@contoso.com" }, + "createdDate": "2020-03-20T21:36:18Z", + "fileWorkspaceName": "6f16735c-1530836f-e9970f1a-2e49-47b7-96cd-9746b83aa066", + "modifiedDate": "2020-03-20T21:36:23Z", + "problemClassificationDisplayName": "Add or Edit VAT, TAX ID, or PO Number", + "problemClassificationId": "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/problemClassification_guid", + "require24X7Response": false, + "serviceDisplayName": "Subscription management", + "serviceId": "/providers/Microsoft.Support/services/subscription_management_service_guid", "serviceLevelAgreement": { - "startTime": "2020-03-20T21:36:18Z", "expirationTime": "2020-03-21T17:36:18Z", - "slaMinutes": 240 + "slaMinutes": 240, + "startTime": "2020-03-20T21:36:18Z" }, + "severity": "critical", + "status": "Closed", "supportEngineer": { "emailAddress": null }, - "supportPlanType": "Premier", "supportPlanDisplayName": "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" + "supportPlanId": "U291cmNlOlNDTSxDbGFyaWZ5SW5zdGFsbGF0aW9uU2l0ZUlkOjcsTGluZUl0ZW1JZDo5ODY1NzIyOSxDb250cmFjdElkOjk4NjU5MTk0LFN1YnNjcmlwdGlvbklkOjc2Y2I3N2ZhLThiMTctNGVhYi05NDkzLWI2NWRhY2U5OTgxMyw=", + "supportPlanType": "Premier", + "supportTicketId": "118032014183770", + "title": "Test - please ignore" } } } - } -} + }, + "operationId": "SupportTickets_Update", + "title": "Update status of a subscription support ticket" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UploadFile.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UploadFile.json index 3ef0ca4a075c..e1abde7ac3ea 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UploadFile.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UploadFile.json @@ -1,15 +1,17 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "fileWorkspaceName": "testworkspaceName", - "fileName": "test.txt", "api-version": "2024-04-01", + "fileName": "test.txt", + "fileWorkspaceName": "testworkspaceName", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", "uploadFile": { - "content": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd", - "chunkIndex": 0 + "chunkIndex": 0, + "content": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd" } }, "responses": { "204": {} - } -} + }, + "operationId": "FilesNoSubscription_Upload", + "title": "UploadFile" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UploadFileForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UploadFileForSubscription.json index 3ef0ca4a075c..e468282add6e 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UploadFileForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UploadFileForSubscription.json @@ -1,15 +1,17 @@ { "parameters": { - "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", - "fileWorkspaceName": "testworkspaceName", - "fileName": "test.txt", "api-version": "2024-04-01", + "fileName": "test.txt", + "fileWorkspaceName": "testworkspaceName", + "subscriptionId": "132d901f-189d-4381-9214-fe68e27e05a1", "uploadFile": { - "content": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd", - "chunkIndex": 0 + "chunkIndex": 0, + "content": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABd" } }, "responses": { "204": {} - } -} + }, + "operationId": "Files_Upload", + "title": "UploadFileForSubscription" +} \ No newline at end of file diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json index c6edd5b490cc..f09c78cbb49a 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json @@ -1,18 +1,23 @@ { "swagger": "2.0", "info": { - "version": "2024-04-01", "title": "Microsoft.Support", - "description": "Microsoft Azure Support Resource Provider." + "version": "2024-04-01", + "description": "Microsoft Azure Support Resource Provider.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] }, - "host": "management.azure.com", "schemes": [ "https" ], - "consumes": [ + "host": "management.azure.com", + "produces": [ "application/json" ], - "produces": [ + "consumes": [ "application/json" ], "security": [ @@ -24,681 +29,673 @@ ], "securityDefinitions": { "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", "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." + } } }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Services" + }, + { + "name": "ProblemClassifications" + }, + { + "name": "SupportTickets" + }, + { + "name": "SupportTicketsNoSubscription" + }, + { + "name": "Communications" + }, + { + "name": "CommunicationsNoSubscription" + }, + { + "name": "ChatTranscripts" + }, + { + "name": "ChatTranscriptsNoSubscription" + }, + { + "name": "FileWorkspaces" + }, + { + "name": "FileWorkspacesNoSubscription" + }, + { + "name": "Files" + }, + { + "name": "FilesNoSubscription" + } + ], "paths": { - "/providers/Microsoft.Support/operations": { - "get": { - "tags": [ - "Operations" - ], - "description": "This lists all the available Microsoft Support REST API operations.", - "operationId": "Operations_List", + "/providers/Microsoft.Support/checkNameAvailability": { + "post": { + "operationId": "SupportTicketsNoSubscription_CheckNameAvailability", + "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.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "body", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } } ], "responses": { "200": { - "description": "Successfully retrieved list of operations.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/OperationsListResult" + "$ref": "#/definitions/CheckNameAvailabilityOutput" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": null - }, "x-ms-examples": { - "Get all operations": { - "$ref": "./examples/ListOperations.json" + "Checks whether name is available for SupportTicket resource": { + "$ref": "./examples/CheckNameAvailability.json" } } } }, - "/providers/Microsoft.Support/services": { + "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": { "get": { + "operationId": "FileWorkspacesNoSubscription_Get", "tags": [ - "Services" + "FileWorkspacesNoSubscription" ], - "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", + "description": "Gets details for a specific file workspace.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "fileWorkspaceName", + "in": "path", + "description": "The name of the FileWorkspaceDetails", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Successfully retrieved list of the Azure services available for support.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ServicesListResult" + "$ref": "#/definitions/FileWorkspaceDetails" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": null - }, "x-ms-examples": { - "Gets list of services for which a support ticket can be created": { - "$ref": "./examples/ListServices.json" + "Get details of a file workspace": { + "$ref": "./examples/GetFileWorkspaceDetails.json" } } - } - }, - "/providers/Microsoft.Support/services/{serviceName}": { - "get": { + }, + "put": { + "operationId": "FileWorkspacesNoSubscription_Create", "tags": [ - "Services" + "FileWorkspacesNoSubscription" ], - "description": "Gets a specific Azure service for support ticket creation.", - "operationId": "Services_Get", + "description": "Creates a new file workspace.", "parameters": [ { - "name": "serviceName", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "fileWorkspaceName", "in": "path", - "description": "Name of the Azure service.", + "description": "The name of the FileWorkspaceDetails", "required": true, "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/FileWorkspaceDetails" + } } ], "responses": { - "200": { - "description": "Successfully retrieved Azure service for support ticket creation.", + "201": { + "description": "Resource 'FileWorkspaceDetails' create operation succeeded", "schema": { - "$ref": "#/definitions/Service" + "$ref": "#/definitions/FileWorkspaceDetails" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Gets details of the Azure service": { - "$ref": "./examples/GetService.json" + "Create a file workspace": { + "$ref": "./examples/CreateFileWorkspace.json" } } } }, - "/providers/Microsoft.Support/services/{serviceName}/problemClassifications": { + "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files": { "get": { + "operationId": "FilesNoSubscription_List", "tags": [ - "ProblemClassifications" + "FilesNoSubscription" ], - "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", + "description": "Lists all the Files information under a workspace for an Azure subscription.", "parameters": [ { - "name": "serviceName", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "fileWorkspaceName", "in": "path", - "description": "Name of the Azure service for which the problem classifications need to be retrieved.", + "description": "The name of the FileWorkspaceDetails", "required": true, "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "Successfully retrieved list of problem classifications for the specified Azure service.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ProblemClassificationsListResult" + "$ref": "#/definitions/FileDetailsListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "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" + "List files under a workspace": { + "$ref": "./examples/ListFilesUnderFileWorkspace.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/providers/Microsoft.Support/services/{serviceName}/problemClassifications/{problemClassificationName}": { + "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { "get": { + "operationId": "FilesNoSubscription_Get", "tags": [ - "ProblemClassifications" + "FilesNoSubscription" ], - "description": "Get problem classification details for a specific Azure service.", - "operationId": "ProblemClassifications_Get", + "description": "Returns details of a specific file in a work space.", "parameters": [ { - "name": "serviceName", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "fileWorkspaceName", "in": "path", - "description": "Name of the Azure service available for support.", + "description": "The name of the FileWorkspaceDetails", "required": true, "type": "string" }, { - "name": "problemClassificationName", + "name": "fileName", "in": "path", - "description": "Name of problem classification.", + "description": "The name of the FileDetails", "required": true, "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "Successfully retrieved problem classification details.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ProblemClassification" + "$ref": "#/definitions/FileDetails" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Gets details of problemClassification for Azure service": { - "$ref": "./examples/GetProblemClassification.json" + "Get details of a subscription file": { + "$ref": "./examples/GetFileDetails.json" } } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/checkNameAvailability": { - "post": { + }, + "put": { + "operationId": "FilesNoSubscription_Create", "tags": [ - "SupportTickets" + "FilesNoSubscription" ], - "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 a subscription support ticket resource": { - "$ref": "./examples/CheckNameAvailabilityWithSubscription.json" - } - }, + "description": "Creates a new file under a workspace.", "parameters": [ { - "name": "checkNameAvailabilityInput", - "in": "body", - "description": "Input to check.", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "fileWorkspaceName", + "in": "path", + "description": "The name of the FileWorkspaceDetails", "required": true, - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityInput" - } + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "name": "fileName", + "in": "path", + "description": "The name of the FileDetails", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "createFileParameters", + "in": "body", + "description": "Create file object", + "required": true, + "schema": { + "$ref": "#/definitions/FileDetails" + } } ], "responses": { - "200": { - "description": "OK. The request has succeeded.", + "201": { + "description": "Resource 'FileDetails' create operation succeeded", "schema": { - "$ref": "#/definitions/CheckNameAvailabilityOutput" + "$ref": "#/definitions/FileDetails" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Create a file workspace": { + "$ref": "./examples/CreateFile.json" + } } } }, - "/providers/Microsoft.Support/checkNameAvailability": { + "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload": { "post": { + "operationId": "FilesNoSubscription_Upload", "tags": [ - "SupportTickets" + "FilesNoSubscription" ], - "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" - } - }, + "description": "This API allows you to upload content to a file", "parameters": [ { - "name": "checkNameAvailabilityInput", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "fileWorkspaceName", + "in": "path", + "description": "The name of the FileWorkspaceDetails", + "required": true, + "type": "string" + }, + { + "name": "fileName", + "in": "path", + "description": "The name of the FileDetails", + "required": true, + "type": "string" + }, + { + "name": "uploadFile", "in": "body", - "description": "Input to check.", + "description": "UploadFile object", "required": true, "schema": { - "$ref": "#/definitions/CheckNameAvailabilityInput" + "$ref": "#/definitions/UploadFile" } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityOutput" - } + "204": { + "description": "There is no content to send for this request, but the headers may be useful." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "UploadFile": { + "$ref": "./examples/UploadFile.json" + } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets": { + "/providers/Microsoft.Support/operations": { "get": { + "operationId": "Operations_List", "tags": [ - "SupportTickets" + "Operations" ], - "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", + "description": "List the operations for the provider", "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "Successfully retrieved support tickets.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/SupportTicketsListResult" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "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 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" - }, - "List support tickets with a certain problem classification id for a subscription": { - "$ref": "./examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json" + "Get all operations": { + "$ref": "./examples/ListOperations.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/providers/Microsoft.Support/supportTickets": { + "/providers/Microsoft.Support/services": { "get": { + "operationId": "Services_List", "tags": [ - "SupportTickets" + "Services" ], - "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", + "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.", "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "Successfully retrieved support tickets.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/SupportTicketsListResult" + "$ref": "#/definitions/ServicesListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "List support tickets": { - "$ref": "./examples/ListSupportTickets.json" - }, - "List support tickets in open state": { - "$ref": "./examples/ListSupportTicketsInOpenState.json" - }, - "List support tickets created on or after a certain date and in open state": { - "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json" - }, - "List support tickets in updating state": { - "$ref": "./examples/ListSupportTicketsInUpdatingState.json" - }, - "List support tickets created on or after a certain date and in updating state": { - "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json" - }, - "List support tickets with a certain service id": { - "$ref": "./examples/ListSupportTicketsServiceIdEquals.json" - }, - "List support tickets with a certain problem classification id": { - "$ref": "./examples/ListSupportTicketsProblemClassificationIdEquals.json" + "Gets list of services for which a support ticket can be created": { + "$ref": "./examples/ListServices.json" } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}": { + "/providers/Microsoft.Support/services/{serviceName}": { "get": { + "operationId": "Services_Get", "tags": [ - "SupportTickets" + "Services" ], - "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", + "description": "Gets a specific Azure service for support ticket creation.", "parameters": [ { - "name": "supportTicketName", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "serviceName", "in": "path", - "description": "Support ticket name.", + "description": "Name of the Azure service.", "required": true, "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "Successfully retrieved support ticket.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/SupportTicketDetails" + "$ref": "#/definitions/Service" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Get details of a subscription ticket": { - "$ref": "./examples/GetSubscriptionSupportTicketDetails.json" + "Gets details of the Azure service": { + "$ref": "./examples/GetService.json" } } - }, - "patch": { + } + }, + "/providers/Microsoft.Support/services/{serviceName}/problemClassifications": { + "get": { + "operationId": "ProblemClassifications_List", "tags": [ - "SupportTickets" + "ProblemClassifications" ], - "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", + "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.", "parameters": [ { - "name": "supportTicketName", - "in": "path", - "description": "Support ticket name.", - "required": true, - "type": "string" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "name": "updateSupportTicket", - "in": "body", - "description": "UpdateSupportTicket object.", + "name": "serviceName", + "in": "path", + "description": "Name of the Azure service.", "required": true, - "schema": { - "$ref": "#/definitions/UpdateSupportTicket" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "type": "string" } ], "responses": { "200": { - "description": "Successfully updated support ticket.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/SupportTicketDetails" + "$ref": "#/definitions/ProblemClassificationsListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Update severity of a subscription support ticket": { - "$ref": "./examples/UpdateSeverityOfSupportTicketForSubscription.json" - }, - "Update contact details of a subscription support ticket": { - "$ref": "./examples/UpdateContactDetailsOfSupportTicketForSubscription.json" - }, - "Update status of a subscription support ticket": { - "$ref": "./examples/UpdateStatusOfSupportTicketForSubscription.json" - }, - "Update advanced diagnostic consent of a subscription support ticket": { - "$ref": "./examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json" + "Gets list of problemClassifications for a service for which a support ticket can be created": { + "$ref": "./examples/ListProblemClassifications.json" } } - }, - "put": { + } + }, + "/providers/Microsoft.Support/services/{serviceName}/problemClassifications/{problemClassificationName}": { + "get": { + "operationId": "ProblemClassifications_Get", "tags": [ - "SupportTickets" + "ProblemClassifications" ], - "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", + "description": "Get problem classification details for a specific Azure service.", "parameters": [ { - "name": "supportTicketName", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "serviceName", "in": "path", - "description": "Support ticket name.", + "description": "Name of the Azure service.", "required": true, "type": "string" }, { - "name": "createSupportTicketParameters", - "in": "body", - "description": "Support ticket request payload.", + "name": "problemClassificationName", + "in": "path", + "description": "Name of problem classification.", "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/SupportTicketDetails" + "$ref": "#/definitions/ProblemClassification" } }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets details of problemClassification for Azure service": { + "$ref": "./examples/GetProblemClassification.json" + } + } + } + }, + "/providers/Microsoft.Support/supportTickets": { + "get": { + "operationId": "SupportTicketsNoSubscription_List", + "tags": [ + "SupportTicketsNoSubscription" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "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" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "$filter", + "in": "query", + "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'.", + "required": false, + "type": "string" } ], "responses": { "200": { - "description": "OK - SupportTicket created successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/SupportTicketDetails" + "$ref": "#/definitions/SupportTicketDetailsListResult" } }, - "202": { - "description": "Accepted, SupportTicket will be created asynchronously." - }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "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" + "List support tickets": { + "$ref": "./examples/ListSupportTickets.json" }, - "Create a ticket for Subscription Management related issues for a subscription": { - "$ref": "./examples/CreateSubMgmtSupportTicketForSubscription.json" + "List support tickets created on or after a certain date and in open state": { + "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json" }, - "Create a ticket for Technical issue related to a specific resource for a subscription": { - "$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" + "List support tickets created on or after a certain date and in updating state": { + "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json" }, - "Create a ticket to request Quota increase for specific VM family cores for Machine Learning service": { - "$ref": "./examples/CreateMachineLearningQuotaTicketForDedicatedCores.json" + "List support tickets in open state": { + "$ref": "./examples/ListSupportTicketsInOpenState.json" }, - "Create a ticket to request Quota increase for Low-priority cores for Machine Learning service": { - "$ref": "./examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json" + "List support tickets in updating state": { + "$ref": "./examples/ListSupportTicketsInUpdatingState.json" }, - "Create a ticket to request Quota increase for Azure SQL managed instance": { - "$ref": "./examples/CreateSqlManagedInstanceQuotaTicket.json" + "List support tickets with a certain problem classification id": { + "$ref": "./examples/ListSupportTicketsProblemClassificationIdEquals.json" }, - "Create a ticket to request Quota increase for services that do not require additional details in the quotaTicketDetails object": { - "$ref": "./examples/CreateGenericQuotaTicket.json" + "List support tickets with a certain service id": { + "$ref": "./examples/ListSupportTicketsServiceIdEquals.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/providers/Microsoft.Support/supportTickets/{supportTicketName}": { "get": { + "operationId": "SupportTicketsNoSubscription_Get", "tags": [ - "SupportTickets" + "SupportTicketsNoSubscription" ], "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": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, { "name": "supportTicketName", "in": "path", - "description": "Support ticket name.", + "description": "The name of the SupportTicketDetails", "required": true, "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "Successfully retrieved support ticket.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/SupportTicketDetails" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } @@ -710,197 +707,239 @@ } } }, - "patch": { + "put": { + "operationId": "SupportTicketsNoSubscription_Create", "tags": [ - "SupportTickets" + "SupportTicketsNoSubscription" ], - "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", + "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.

", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, { "name": "supportTicketName", "in": "path", - "description": "Support ticket name.", + "description": "The name of the SupportTicketDetails", "required": true, "type": "string" }, { - "name": "updateSupportTicket", + "name": "createSupportTicketParameters", "in": "body", - "description": "UpdateSupportTicket object.", + "description": "Support ticket request payload.", "required": true, "schema": { - "$ref": "#/definitions/UpdateSupportTicket" + "$ref": "#/definitions/SupportTicketDetails" } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "Successfully updated support ticket.", + "description": "Resource 'SupportTicketDetails' update operation succeeded", "schema": { "$ref": "#/definitions/SupportTicketDetails" } }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Update severity of a support ticket": { - "$ref": "./examples/UpdateSeverityOfSupportTicket.json" - }, - "Update contact details of a support ticket": { - "$ref": "./examples/UpdateContactDetailsOfSupportTicket.json" + "Create a ticket for Billing related issues": { + "$ref": "./examples/CreateBillingSupportTicket.json" }, - "Update status of a support ticket": { - "$ref": "./examples/UpdateStatusOfSupportTicket.json" + "Create a ticket for Subscription Management related issues": { + "$ref": "./examples/CreateSubMgmtSupportTicket.json" }, - "Update advanced diagnostic consent of a support ticket": { - "$ref": "./examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json" + "Create a ticket for Technical issue related to a specific resource": { + "$ref": "./examples/CreateTechnicalSupportTicket.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true }, - "put": { + "patch": { + "operationId": "SupportTicketsNoSubscription_Update", "tags": [ - "SupportTickets" + "SupportTicketsNoSubscription" ], - "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", + "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.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, { "name": "supportTicketName", "in": "path", - "description": "Support ticket name.", + "description": "The name of the SupportTicketDetails", "required": true, "type": "string" }, { - "name": "createSupportTicketParameters", + "name": "updateSupportTicket", "in": "body", - "description": "Support ticket request payload.", + "description": "UpdateSupportTicket object.", "required": true, "schema": { - "$ref": "#/definitions/SupportTicketDetails" + "$ref": "#/definitions/UpdateSupportTicket" } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "OK - SupportTicket created successfully.", + "description": "Azure operation completed 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.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "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" + "Update advanced diagnostic consent of a support ticket": { + "$ref": "./examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json" }, - "Create a ticket for Subscription Management related issues": { - "$ref": "./examples/CreateSubMgmtSupportTicket.json" + "Update contact details of a support ticket": { + "$ref": "./examples/UpdateContactDetailsOfSupportTicket.json" }, - "Create a ticket for Technical issue related to a specific resource": { - "$ref": "./examples/CreateTechnicalSupportTicket.json" + "Update severity of a support ticket": { + "$ref": "./examples/UpdateSeverityOfSupportTicket.json" + }, + "Update status of a support ticket": { + "$ref": "./examples/UpdateStatusOfSupportTicket.json" } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": { - "post": { + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts": { + "get": { + "operationId": "ChatTranscriptsNoSubscription_List", "tags": [ - "Communications" + "ChatTranscriptsNoSubscription" ], - "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 for a subscription support ticket": { - "$ref": "./examples/CheckNameAvailabilityForSupportTicketCommunication.json" - } - }, + "description": "Lists all chat transcripts for a support ticket", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, { "name": "supportTicketName", "in": "path", - "description": "Support ticket name.", + "description": "The name of the SupportTicketDetails", "required": true, "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ChatTranscriptDetailsListResult" + } }, - { - "name": "checkNameAvailabilityInput", - "in": "body", - "description": "Input to check.", - "required": true, + "default": { + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/CheckNameAvailabilityInput" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } + } + }, + "x-ms-examples": { + "List chat transcripts for a no-subscription support ticket": { + "$ref": "./examples/ListChatTranscriptsForSupportTicket.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}": { + "get": { + "operationId": "ChatTranscriptsNoSubscription_Get", + "tags": [ + "ChatTranscriptsNoSubscription" + ], + "description": "Returns chatTranscript details for a no subscription support ticket.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "name": "supportTicketName", + "in": "path", + "description": "The name of the SupportTicketDetails", + "required": true, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "chatTranscriptName", + "in": "path", + "description": "The name of the ChatTranscriptDetails", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CheckNameAvailabilityOutput" + "$ref": "#/definitions/ChatTranscriptDetails" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Get chat transcript details for a subscription support ticket": { + "$ref": "./examples/GetchatTranscriptDetailsForSupportTicket.json" + } } } }, "/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": { "post": { + "operationId": "CommunicationsNoSubscription_CheckNameAvailability", "tags": [ - "Communications" + "SupportTicketsNoSubscription" ], "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": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, { "name": "supportTicketName", "in": "path", - "description": "Support ticket name.", + "description": "The name of the SupportTicketDetails", "required": true, "type": "string" }, @@ -912,39 +951,44 @@ "schema": { "$ref": "#/definitions/CheckNameAvailabilityInput" } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/CheckNameAvailabilityOutput" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "Checks whether name is available for Communication resource": { + "$ref": "./examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json" + } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": { + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": { "get": { + "operationId": "CommunicationsNoSubscription_List", "tags": [ - "Communications" + "CommunicationsNoSubscription" ], "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": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, { "name": "supportTicketName", "in": "path", - "description": "Support ticket name.", + "description": "The name of the SupportTicketDetails", "required": true, "type": "string" }, @@ -959,1542 +1003,1934 @@ { "name": "$filter", "in": "query", + "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.", "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "type": "string" } ], "responses": { "200": { - "description": "Successfully retrieved communications for a support ticket.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CommunicationsListResult" + "$ref": "#/definitions/CommunicationDetailsListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "List communications for a subscription support ticket": { - "$ref": "./examples/ListCommunicationsForSubscriptionSupportTicket.json" + "List communications for a no-subscription support ticket": { + "$ref": "./examples/ListCommunicationsForSupportTicket.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 no-subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json" }, - "List web communication created on or after a specific date for a subscription support ticket": { - "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json" + "List web communications for a no-subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSupportTicket.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": { + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { "get": { + "operationId": "CommunicationsNoSubscription_Get", "tags": [ - "Communications" + "CommunicationsNoSubscription" ], - "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": "CommunicationsNoSubscription_List", + "description": "Returns communication details for a support ticket.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, { "name": "supportTicketName", "in": "path", - "description": "Support ticket name", + "description": "The name of the SupportTicketDetails", "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "communicationName", + "in": "path", + "description": "The name of the CommunicationDetails", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Successfully retrieved communications for a support ticket.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CommunicationsListResult" + "$ref": "#/definitions/CommunicationDetails" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "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" + "Get communication details for a no-subscription support ticket": { + "$ref": "./examples/GetCommunicationDetailsForSupportTicket.json" } } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { - "get": { + }, + "put": { + "operationId": "CommunicationsNoSubscription_Create", "tags": [ - "Communications" + "CommunicationsNoSubscription" ], - "description": "Returns communication details for a support ticket.", - "operationId": "Communications_Get", + "description": "Adds a new customer communication to an Azure support ticket.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, { "name": "supportTicketName", "in": "path", - "description": "Support ticket name.", + "description": "The name of the SupportTicketDetails", "required": true, "type": "string" }, { "name": "communicationName", "in": "path", - "description": "Communication name.", + "description": "The name of the CommunicationDetails", "required": true, "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "createCommunicationParameters", + "in": "body", + "description": "Communication object.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } } ], "responses": { "200": { - "description": "Successfully retrieved communication details.", + "description": "Resource 'CommunicationDetails' update operation succeeded", "schema": { "$ref": "#/definitions/CommunicationDetails" } }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Get communication details for a subscription support ticket": { - "$ref": "./examples/GetCommunicationDetailsForSubscriptionSupportTicket.json" + "AddCommunicationToNoSubscriptionTicket": { + "$ref": "./examples/CreateNoSubscriptionSupportTicketCommunication.json" } - } - }, - "put": { - "tags": [ - "Communications" - ], - "description": "Adds a new customer communication to an Azure support ticket.", - "operationId": "Communications_Create", + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/checkNameAvailability": { + "post": { + "operationId": "SupportTickets_CheckNameAvailability", + "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.", "parameters": [ { - "name": "supportTicketName", - "in": "path", - "description": "Support ticket name.", - "required": true, - "type": "string" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "name": "communicationName", - "in": "path", - "description": "Communication name.", - "required": true, - "type": "string" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "name": "createCommunicationParameters", + "name": "body", "in": "body", - "description": "Communication object.", + "description": "The request body", "required": true, "schema": { - "$ref": "#/definitions/CommunicationDetails" + "$ref": "#/definitions/CheckNameAvailabilityInput" } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "OK - Communication created successfully.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/CommunicationDetails" + "$ref": "#/definitions/CheckNameAvailabilityOutput" } }, - "202": { - "description": "Accepted - Communication will be created asynchronously." - }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "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" + "Checks whether name is available for a subscription support ticket resource": { + "$ref": "./examples/CheckNameAvailabilityWithSubscription.json" } } } }, - "/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": { "get": { + "operationId": "FileWorkspaces_Get", "tags": [ - "Communications" + "FileWorkspaces" ], - "description": "Returns communication details for a support ticket.", - "operationId": "CommunicationsNoSubscription_Get", + "description": "Gets details for a specific file workspace in an Azure subscription.", "parameters": [ { - "name": "supportTicketName", - "in": "path", - "description": "Support ticket name.", - "required": true, - "type": "string" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "name": "communicationName", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "fileWorkspaceName", "in": "path", - "description": "Communication name.", + "description": "The name of the FileWorkspaceDetails", "required": true, "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "Successfully retrieved communication details.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CommunicationDetails" + "$ref": "#/definitions/FileWorkspaceDetails" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Get communication details for a no-subscription support ticket": { - "$ref": "./examples/GetCommunicationDetailsForSupportTicket.json" + "Get details of a subscription file workspace": { + "$ref": "./examples/GetFileWorkspaceDetailsForSubscription.json" } } }, "put": { + "operationId": "FileWorkspaces_Create", "tags": [ - "Communications" + "FileWorkspaces" ], - "description": "Adds a new customer communication to an Azure support ticket.", - "operationId": "CommunicationsNoSubscription_Create", + "description": "Creates a new file workspace for the specified subscription.", "parameters": [ { - "name": "supportTicketName", - "in": "path", - "description": "Support ticket name.", - "required": true, - "type": "string" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "name": "communicationName", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "fileWorkspaceName", "in": "path", - "description": "Communication name.", + "description": "The name of the FileWorkspaceDetails", "required": true, "type": "string" }, { - "name": "createCommunicationParameters", + "name": "resource", "in": "body", - "description": "Communication object.", + "description": "Resource create parameters.", "required": true, "schema": { - "$ref": "#/definitions/CommunicationDetails" + "$ref": "#/definitions/FileWorkspaceDetails" } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { - "200": { - "description": "OK - Communication created successfully.", + "201": { + "description": "Resource 'FileWorkspaceDetails' create operation succeeded", "schema": { - "$ref": "#/definitions/CommunicationDetails" - } - }, - "202": { - "description": "Accepted - Communication will be created asynchronously.", - "headers": { - "Location": { - "type": "string" - } + "$ref": "#/definitions/FileWorkspaceDetails" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { - "AddCommunicationToNoSubscriptionTicket": { - "$ref": "./examples/CreateNoSubscriptionSupportTicketCommunication.json" + "Create a file workspace for a subscription": { + "$ref": "./examples/CreateFileWorkspaceForSubscription.json" } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files": { "get": { + "operationId": "Files_List", "tags": [ - "ChatTranscripts" + "Files" ], - "description": "Lists all chat transcripts for a support ticket under subscription", - "operationId": "ChatTranscripts_List", + "description": "Lists all the Files information under a workspace for an Azure subscription.", "parameters": [ { - "name": "supportTicketName", - "in": "path", - "description": "Support ticket name.", - "required": true, - "type": "string" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "fileWorkspaceName", + "in": "path", + "description": "The name of the FileWorkspaceDetails", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Successfully retrieved chat transcripts for a support ticket under a subscription.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ChatTranscriptsListResult" + "$ref": "#/definitions/FileDetailsListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "List chat transcripts for a subscription support ticket": { - "$ref": "./examples/ListChatTranscriptsForSubscriptionSupportTicket.json" + "List files under a workspace for a subscription": { + "$ref": "./examples/ListFilesForSubscriptionUnderFileWorkspace.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { "get": { + "operationId": "Files_Get", "tags": [ - "ChatTranscripts" + "Files" ], - "description": "Lists all chat transcripts for a support ticket", - "operationId": "ChatTranscriptsNoSubscription_List", + "description": "Returns details of a specific file in a work space.", "parameters": [ { - "name": "supportTicketName", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "fileWorkspaceName", "in": "path", - "description": "Support ticket name", + "description": "The name of the FileWorkspaceDetails", "required": true, "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "fileName", + "in": "path", + "description": "The name of the FileDetails", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Successfully retrieved chat transcripts for a support ticket.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ChatTranscriptsListResult" + "$ref": "#/definitions/FileDetails" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "List chat transcripts for a no-subscription support ticket": { - "$ref": "./examples/ListChatTranscriptsForSupportTicket.json" + "Get details of a subscription file": { + "$ref": "./examples/GetFileDetailsForSubscription.json" } } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}": { - "get": { + }, + "put": { + "operationId": "Files_Create", "tags": [ - "ChatTranscripts" + "Files" ], - "description": "Returns chatTranscript details for a support ticket under a subscription.", - "operationId": "ChatTranscripts_Get", + "description": "Creates a new file under a workspace for the specified subscription.", "parameters": [ { - "name": "supportTicketName", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "fileWorkspaceName", "in": "path", - "description": "Support ticket name.", + "description": "The name of the FileWorkspaceDetails", "required": true, "type": "string" }, { - "name": "chatTranscriptName", + "name": "fileName", "in": "path", - "description": "ChatTranscript name.", + "description": "The name of the FileDetails", "required": true, "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "createFileParameters", + "in": "body", + "description": "Create file object", + "required": true, + "schema": { + "$ref": "#/definitions/FileDetails" + } } ], "responses": { - "200": { - "description": "Successfully retrieved chat transcript details for a subscription ticket.", + "201": { + "description": "Resource 'FileDetails' create operation succeeded", "schema": { - "$ref": "#/definitions/ChatTranscriptDetails" + "$ref": "#/definitions/FileDetails" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Get chat transcript details for a subscription support ticket": { - "$ref": "./examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json" + "Create a file under a subscription workspace": { + "$ref": "./examples/CreateFileForSubscription.json" } } } }, - "/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}": { - "get": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload": { + "post": { + "operationId": "Files_Upload", "tags": [ - "chatTranscripts" + "Files" ], - "description": "Returns chatTranscript details for a no subscription support ticket.", - "operationId": "ChatTranscriptsNoSubscription_Get", + "description": "This API allows you to upload content to a file", "parameters": [ { - "name": "supportTicketName", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "fileWorkspaceName", "in": "path", - "description": "Support ticket name.", + "description": "The name of the FileWorkspaceDetails", "required": true, "type": "string" }, { - "name": "chatTranscriptName", + "name": "fileName", "in": "path", - "description": "ChatTranscript name.", + "description": "The name of the FileDetails", "required": true, "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "uploadFile", + "in": "body", + "description": "UploadFile object", + "required": true, + "schema": { + "$ref": "#/definitions/UploadFile" + } } ], "responses": { - "200": { - "description": "Successfully retrieved chat transcript details.", - "schema": { - "$ref": "#/definitions/ChatTranscriptDetails" - } + "204": { + "description": "There is no content to send for this request, but the headers may be useful." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Get chat transcript details for a subscription support ticket": { - "$ref": "./examples/GetchatTranscriptDetailsForSupportTicket.json" + "UploadFileForSubscription": { + "$ref": "./examples/UploadFileForSubscription.json" } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets": { "get": { + "operationId": "SupportTickets_List", "tags": [ - "FileWorkspaces" + "SupportTickets" ], - "description": "Gets details for a specific file workspace in an Azure subscription.", - "operationId": "FileWorkspaces_Get", + "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.", "parameters": [ { - "name": "fileWorkspaceName", - "in": "path", - "description": "File Workspace Name", - "required": true, - "type": "string" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "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", + "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'.", + "required": false, + "type": "string" } ], "responses": { "200": { - "description": "Successfully retrieved file workspace.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" + "$ref": "#/definitions/SupportTicketDetailsListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "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", - "pattern": "^[0-9a-zA-Z_\\-. ]+$" + "List support tickets created on or after a certain date and in open state for a subscription": { + "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json" }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "List support tickets created on or after a certain date and in updating state for a subscription": { + "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json" }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "201": { - "description": "Created - File workspace created successfully", - "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" - } + "List support tickets for a subscription": { + "$ref": "./examples/ListSupportTicketsBySubscription.json" }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } + "List support tickets in open state for a subscription": { + "$ref": "./examples/ListSupportTicketsInOpenStateBySubscription.json" + }, + "List support tickets in updating state for a subscription": { + "$ref": "./examples/ListSupportTicketsInUpdatingStateBySubscription.json" + }, + "List support tickets with a certain problem classification id for a subscription": { + "$ref": "./examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json" + }, + "List support tickets with a certain service id for a subscription": { + "$ref": "./examples/ListSupportTicketsServiceIdEqualsForSubscription.json" } }, - "x-ms-examples": { - "Create a file workspace for a subscription": { - "$ref": "./examples/CreateFileWorkspaceForSubscription.json" - } + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}": { "get": { + "operationId": "SupportTickets_Get", "tags": [ - "FileWorkspaces" + "SupportTickets" ], - "description": "Gets details for a specific file workspace.", - "operationId": "FileWorkspacesNoSubscription_Get", + "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.", "parameters": [ { - "name": "fileWorkspaceName", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "supportTicketName", "in": "path", - "description": "File Workspace Name", + "description": "The name of the SupportTicketDetails", "required": true, "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "Successfully retrieved file workspace.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" + "$ref": "#/definitions/SupportTicketDetails" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Get details of a file workspace": { - "$ref": "./examples/GetFileWorkspaceDetails.json" + "Get details of a subscription ticket": { + "$ref": "./examples/GetSubscriptionSupportTicketDetails.json" } } }, "put": { + "operationId": "SupportTickets_Create", "tags": [ - "FileWorkspaces" + "SupportTickets" ], - "description": "Creates a new file workspace.", - "operationId": "FileWorkspacesNoSubscription_Create", + "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.", "parameters": [ { - "name": "fileWorkspaceName", - "in": "path", - "description": "File workspace name.", - "required": true, - "type": "string", - "pattern": "^[0-9a-zA-Z_\\-. ]+$" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "201": { - "description": "Created - File workspace created successfully", - "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" - } + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "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 workspace for an Azure subscription.", - "operationId": "Files_List", - "parameters": [ { - "name": "fileWorkspaceName", + "name": "supportTicketName", "in": "path", - "description": "File Workspace Name", + "description": "The name of the SupportTicketDetails", "required": true, "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "createSupportTicketParameters", + "in": "body", + "description": "Support ticket request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } } ], "responses": { "200": { - "description": "Successfully retrieved files under a file workspace.", + "description": "Resource 'SupportTicketDetails' update operation succeeded", "schema": { - "$ref": "#/definitions/FilesListResult" + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "List files under a workspace for a subscription": { - "$ref": "./examples/ListFilesForSubscriptionUnderFileWorkspace.json" - } - } - } - }, - "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files": { - "get": { + "Create a ticket for Billing related issues": { + "$ref": "./examples/CreateBillingSupportTicketForSubscription.json" + }, + "Create a ticket for Subscription Management related issues for a subscription": { + "$ref": "./examples/CreateSubMgmtSupportTicketForSubscription.json" + }, + "Create a ticket for Technical issue related to a specific resource for a subscription": { + "$ref": "./examples/CreateTechnicalSupportTicketForSubscription.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 Azure SQL managed instance": { + "$ref": "./examples/CreateSqlManagedInstanceQuotaTicket.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 Compute VM Cores": { + "$ref": "./examples/CreateCoresQuotaTicketForSubscription.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 DTUs for SQL Database": { + "$ref": "./examples/CreateSqlDatabaseQuotaTicketForDTUs.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 Low-priority cores for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.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 Servers for Azure Synapse Analytics": { + "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForServers.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 services that do not require additional details in the quotaTicketDetails object": { + "$ref": "./examples/CreateGenericQuotaTicket.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 specific VM family cores for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "SupportTickets_Update", "tags": [ - "Files" + "SupportTickets" ], - "description": "Lists all the Files information under a workspace for an Azure subscription.", - "operationId": "FilesNoSubscription_List", + "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.", "parameters": [ { - "name": "fileWorkspaceName", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "supportTicketName", "in": "path", - "description": "File Workspace Name", + "description": "The name of the SupportTicketDetails", "required": true, "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "updateSupportTicket", + "in": "body", + "description": "UpdateSupportTicket object.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateSupportTicket" + } } ], "responses": { "200": { - "description": "Successfully retrieved files under a file workspace.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/FilesListResult" + "$ref": "#/definitions/SupportTicketDetails" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "List files under a workspace": { - "$ref": "./examples/ListFilesUnderFileWorkspace.json" + "Update advanced diagnostic consent of a subscription support ticket": { + "$ref": "./examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json" + }, + "Update contact details of a subscription support ticket": { + "$ref": "./examples/UpdateContactDetailsOfSupportTicketForSubscription.json" + }, + "Update severity of a subscription support ticket": { + "$ref": "./examples/UpdateSeverityOfSupportTicketForSubscription.json" + }, + "Update status of a subscription support ticket": { + "$ref": "./examples/UpdateStatusOfSupportTicketForSubscription.json" } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts": { "get": { + "operationId": "ChatTranscripts_List", "tags": [ - "Files" + "ChatTranscripts" ], - "description": "Returns details of a specific file in a work space.", - "operationId": "Files_Get", + "description": "Lists all chat transcripts for a support ticket under subscription", "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": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "supportTicketName", + "in": "path", + "description": "The name of the SupportTicketDetails", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Successfully retrieved file details.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/FileDetails" + "$ref": "#/definitions/ChatTranscriptDetailsListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Get details of a subscription file": { - "$ref": "./examples/GetFileDetailsForSubscription.json" + "List chat transcripts for a subscription support ticket": { + "$ref": "./examples/ListChatTranscriptsForSubscriptionSupportTicket.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}": { + "get": { + "operationId": "ChatTranscripts_Get", "tags": [ - "Files" + "ChatTranscripts" ], - "description": "Creates a new file under a workspace for the specified subscription.", - "operationId": "Files_Create", + "description": "Returns chatTranscript details for a support ticket under a subscription.", "parameters": [ { - "name": "fileWorkspaceName", - "in": "path", - "description": "File workspace name.", - "required": true, - "type": "string", - "pattern": "^[0-9a-zA-Z_\\-. ]+$" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "name": "fileName", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "supportTicketName", "in": "path", - "description": "File name.", + "description": "The name of the SupportTicketDetails", "required": true, "type": "string" }, { - "name": "createFileParameters", - "in": "body", - "description": "Create file object", + "name": "chatTranscriptName", + "in": "path", + "description": "The name of the ChatTranscriptDetails", "required": true, - "schema": { - "$ref": "#/definitions/FileDetails" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "type": "string" } ], "responses": { - "201": { - "description": "Created - File created successfully", + "200": { + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/FileDetails" + "$ref": "#/definitions/ChatTranscriptDetails" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Create a file under a subscription workspace": { - "$ref": "./examples/CreateFileForSubscription.json" + "Get chat transcript details for a subscription support ticket": { + "$ref": "./examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json" } } } }, - "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { - "get": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": { + "post": { + "operationId": "Communications_CheckNameAvailability", "tags": [ - "Files" + "SupportTickets" ], - "description": "Returns details of a specific file in a work space.", - "operationId": "FilesNoSubscription_Get", + "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.", "parameters": [ { - "name": "fileWorkspaceName", - "in": "path", - "description": "File Workspace Name", - "required": true, - "type": "string" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "name": "fileName", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "supportTicketName", "in": "path", - "description": "File Name", + "description": "The name of the SupportTicketDetails", "required": true, "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "checkNameAvailabilityInput", + "in": "body", + "description": "Input to check.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } } ], "responses": { "200": { - "description": "Successfully retrieved file details.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/FileDetails" + "$ref": "#/definitions/CheckNameAvailabilityOutput" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Get details of a subscription file": { - "$ref": "./examples/GetFileDetails.json" + "Checks whether name is available for Communication resource for a subscription support ticket": { + "$ref": "./examples/CheckNameAvailabilityForSupportTicketCommunication.json" } } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": { + "get": { + "operationId": "Communications_List", "tags": [ - "Files" + "Communications" ], - "description": "Creates a new file under a workspace.", - "operationId": "FilesNoSubscription_Create", + "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.", "parameters": [ { - "name": "fileWorkspaceName", - "in": "path", - "description": "File workspace name.", - "required": true, - "type": "string", - "pattern": "^[0-9a-zA-Z_\\-. ]+$" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "name": "fileName", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "supportTicketName", "in": "path", - "description": "File name.", + "description": "The name of the SupportTicketDetails", "required": true, "type": "string" }, { - "name": "createFileParameters", - "in": "body", - "description": "Create file object", - "required": true, - "schema": { - "$ref": "#/definitions/FileDetails" - } + "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" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "$filter", + "in": "query", + "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.", + "required": false, + "type": "string" } ], "responses": { - "201": { - "description": "Created - File created successfully", + "200": { + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/FileDetails" + "$ref": "#/definitions/CommunicationDetailsListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Create a file workspace": { - "$ref": "./examples/CreateFile.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload": { - "post": { + "List communications for a subscription support ticket": { + "$ref": "./examples/ListCommunicationsForSubscriptionSupportTicket.json" + }, + "List web communication created on or after a specific date for a subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json" + }, + "List web communications for a subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicket.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { + "get": { + "operationId": "Communications_Get", "tags": [ - "Files" + "Communications" ], - "description": "This API allows you to upload content to a file", - "operationId": "Files_Upload", + "description": "Returns communication details for a support ticket.", "parameters": [ { - "name": "fileWorkspaceName", - "in": "path", - "description": "File WorkspaceName", - "required": true, - "type": "string" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "name": "fileName", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "supportTicketName", "in": "path", - "description": "File Name", + "description": "The name of the SupportTicketDetails", "required": true, "type": "string" }, { - "name": "uploadFile", - "in": "body", - "description": "UploadFile object", + "name": "communicationName", + "in": "path", + "description": "The name of the CommunicationDetails", "required": true, - "schema": { - "$ref": "#/definitions/UploadFile" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "type": "string" } ], "responses": { - "204": { - "description": "Successfully uploaded file content." + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "UploadFileForSubscription": { - "$ref": "./examples/UploadFileForSubscription.json" + "Get communication details for a subscription support ticket": { + "$ref": "./examples/GetCommunicationDetailsForSubscriptionSupportTicket.json" } } - } - }, - "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload": { - "post": { + }, + "put": { + "operationId": "Communications_Create", "tags": [ - "Files" + "Communications" ], - "description": "This API allows you to upload content to a file", - "operationId": "FilesNoSubscription_Upload", + "description": "Adds a new customer communication to an Azure support ticket.", "parameters": [ { - "name": "fileWorkspaceName", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "supportTicketName", "in": "path", - "description": "File WorkspaceName", + "description": "The name of the SupportTicketDetails", "required": true, "type": "string" }, { - "name": "fileName", + "name": "communicationName", "in": "path", - "description": "File Name", + "description": "The name of the CommunicationDetails", "required": true, "type": "string" }, { - "name": "uploadFile", + "name": "createCommunicationParameters", "in": "body", - "description": "UploadFile object", + "description": "Communication object.", "required": true, "schema": { - "$ref": "#/definitions/UploadFile" + "$ref": "#/definitions/CommunicationDetails" } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { - "204": { - "description": "Successfully uploaded file content." + "200": { + "description": "Resource 'CommunicationDetails' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "UploadFile": { - "$ref": "./examples/UploadFile.json" + "AddCommunicationToSubscriptionTicket": { + "$ref": "./examples/CreateSupportTicketCommunication.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } } }, "definitions": { - "OperationsListResult": { - "description": "The list of operations supported by Microsoft Support resource provider.", + "ChatTranscriptDetails": { + "type": "object", + "description": "Object that represents a Chat Transcript resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ChatTranscriptDetailsProperties", + "description": "Properties of the resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ChatTranscriptDetailsListResult": { + "type": "object", + "description": "The response of a ChatTranscriptDetails list operation.", "properties": { "value": { - "description": "The list of operations supported by Microsoft Support resource provider.", "type": "array", + "description": "The ChatTranscriptDetails items on this page", "items": { - "$ref": "#/definitions/Operation" - }, - "x-ms-identifiers": [ - "name" - ] + "$ref": "#/definitions/ChatTranscriptDetails" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "Operation": { - "description": "The operation supported by Microsoft Support resource provider.", + "ChatTranscriptDetailsProperties": { "type": "object", + "description": "Describes the properties of a Chat Transcript Details resource.", "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}.", + "messages": { + "type": "array", + "description": "List of chat transcript communication resources.", + "items": { + "$ref": "#/definitions/MessageProperties" + }, + "x-ms-identifiers": [] + }, + "startTime": { "type": "string", + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the chat began.", "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.", + "CheckNameAvailabilityInput": { "type": "object", + "description": "Input of CheckNameAvailability API.", "properties": { - "value": { - "description": "List of Service resources.", - "type": "array", - "items": { - "$ref": "#/definitions/Service" - } + "name": { + "type": "string", + "description": "The resource name to validate." + }, + "type": { + "$ref": "#/definitions/Type", + "description": "The type of resource." } - } + }, + "required": [ + "name", + "type" + ] }, - "Service": { - "description": "Object that represents a Service resource.", + "CheckNameAvailabilityOutput": { "type": "object", + "description": "Output of check name availability API.", "properties": { - "id": { - "description": "Id of the resource.", - "type": "string", + "nameAvailable": { + "type": "boolean", + "description": "Indicates whether the name is available.", "readOnly": true }, - "name": { - "description": "Name of the resource.", + "reason": { "type": "string", + "description": "The reason why the name is not available.", "readOnly": true }, - "type": { - "description": "Type of the resource 'Microsoft.Support/services'.", + "message": { "type": "string", + "description": "The detailed error message describing why the name is not available.", "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.", + "CommunicationDetails": { "type": "object", + "description": "Object that represents a Communication resource.", "properties": { - "displayName": { - "description": "Localized name of the Azure service.", - "type": "string" - }, - "resourceTypes": { - "description": "ARM Resource types.", - "type": "array", - "items": { - "type": "string" - } + "properties": { + "$ref": "#/definitions/CommunicationDetailsProperties", + "description": "Properties of the resource.", + "x-ms-client-flatten": true } - } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] }, - "ProblemClassificationsListResult": { - "description": "Collection of ProblemClassification resources.", + "CommunicationDetailsListResult": { "type": "object", + "description": "The response of a CommunicationDetails list operation.", "properties": { "value": { - "description": "List of ProblemClassification resources.", "type": "array", + "description": "The CommunicationDetails items on this page", "items": { - "$ref": "#/definitions/ProblemClassification" + "$ref": "#/definitions/CommunicationDetails" } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "ProblemClassification": { - "description": "ProblemClassification resource object.", + "CommunicationDetailsProperties": { "type": "object", + "description": "Describes the properties of a communication resource.", "properties": { - "id": { - "description": "Id of the resource.", - "type": "string", + "communicationType": { + "$ref": "#/definitions/CommunicationType", + "description": "Communication type.", "readOnly": true }, - "name": { - "description": "Name of the resource.", - "type": "string", + "communicationDirection": { + "$ref": "#/definitions/CommunicationDirection", + "description": "Direction of communication.", "readOnly": true }, - "type": { - "description": "Type of the resource 'Microsoft.Support/problemClassification'.", + "sender": { "type": "string", - "readOnly": true + "description": "Email address of the sender. This property is required if called by a service principal." }, - "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" + "subject": { + "type": "string", + "description": "Subject of the communication." }, - "secondaryConsentEnabled": { - "description": "This property indicates whether secondary consent is present for problem classification", - "type": "array", - "items": { - "$ref": "#/definitions/SecondaryConsentEnabled" - }, - "x-ms-identifiers": [] + "body": { + "type": "string", + "description": "Body of the communication." + }, + "createdDate": { + "type": "string", + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the communication was created.", + "readOnly": true } + }, + "required": [ + "subject", + "body" + ] + }, + "CommunicationDirection": { + "type": "string", + "description": "Direction of communication.", + "enum": [ + "inbound", + "outbound" + ], + "x-ms-enum": { + "name": "CommunicationDirection", + "modelAsString": true, + "values": [ + { + "name": "inbound", + "value": "inbound" + }, + { + "name": "outbound", + "value": "outbound" + } + ] } }, - "SecondaryConsentEnabled": { - "description": "This property indicates whether secondary consent is present for problem classification.", - "type": "object", - "properties": { - "description": { - "description": "User consent description.", - "type": "string" - }, - "type": { - "description": "The Azure service for which secondary consent is needed for case creation.", - "type": "string" - } + "CommunicationType": { + "type": "string", + "description": "Communication type.", + "enum": [ + "web", + "phone" + ], + "x-ms-enum": { + "name": "CommunicationType", + "modelAsString": true, + "values": [ + { + "name": "web", + "value": "web" + }, + { + "name": "phone", + "value": "phone" + } + ] } }, - "CheckNameAvailabilityInput": { - "description": "Input of CheckNameAvailability API.", - "type": "object", - "required": [ - "name", - "type" + "Consent": { + "type": "string", + "description": "Advanced diagnostic consent to be updated on the support ticket.", + "enum": [ + "Yes", + "No" ], - "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 + "x-ms-enum": { + "name": "Consent", + "modelAsString": true, + "values": [ + { + "name": "Yes", + "value": "Yes" }, - "description": "The type of resource." - } + { + "name": "No", + "value": "No" + } + ] } }, - "CheckNameAvailabilityOutput": { - "description": "Output of check name availability API.", + "ContactProfile": { "type": "object", + "description": "Contact information associated with the support ticket.", "properties": { - "nameAvailable": { - "description": "Indicates whether the name is available.", - "readOnly": true, - "type": "boolean" + "firstName": { + "type": "string", + "description": "First name." }, - "reason": { - "description": "The reason why the name is not available.", - "readOnly": true, - "type": "string" + "lastName": { + "type": "string", + "description": "Last name." }, - "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.", + "preferredContactMethod": { + "$ref": "#/definitions/PreferredContactMethod", + "description": "Preferred contact method." + }, + "primaryEmailAddress": { + "type": "string", + "description": "Primary email address." + }, + "additionalEmailAddresses": { "type": "array", + "description": "Additional email addresses listed will be copied on any correspondence about the support ticket.", "items": { - "$ref": "#/definitions/SupportTicketDetails" + "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.", - "required": [ - "properties" - ], - "type": "object", - "properties": { - "id": { - "description": "Id of the resource.", + "phoneNumber": { "type": "string", - "readOnly": true + "description": "Phone number. This is required if preferred contact method is phone. It is also required when submitting 'critical' or 'highestcriticalimpact' severity cases." }, - "name": { - "description": "Name of the resource.", + "preferredTimeZone": { "type": "string", - "readOnly": true + "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": { - "description": "Type of the resource 'Microsoft.Support/supportTickets'.", + "country": { "type": "string", - "readOnly": true + "description": "Country of the user. This is the ISO 3166-1 alpha-3 code." }, + "preferredSupportLanguage": { + "type": "string", + "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." + } + }, + "required": [ + "firstName", + "lastName", + "preferredContactMethod", + "primaryEmailAddress", + "preferredTimeZone", + "country", + "preferredSupportLanguage" + ] + }, + "FileDetails": { + "type": "object", + "description": "Object that represents File Details resource", + "properties": { "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SupportTicketDetailsProperties", - "description": "Properties of the resource." + "$ref": "#/definitions/FileDetailsProperties", + "description": "Properties of the resource", + "x-ms-client-flatten": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] }, - "CommunicationsListResult": { - "description": "Collection of Communication resources.", + "FileDetailsListResult": { "type": "object", + "description": "The response of a FileDetails list operation.", "properties": { "value": { - "description": "List of Communication resources.", "type": "array", + "description": "The FileDetails items on this page", "items": { - "$ref": "#/definitions/CommunicationDetails" + "$ref": "#/definitions/FileDetails" } }, "nextLink": { - "description": "The URI to fetch the next page of Communication resources.", - "type": "string" + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } - } - }, - "CommunicationDetails": { - "x-ms-azure-resource": true, - "description": "Object that represents a Communication resource.", + }, "required": [ - "properties" - ], + "value" + ] + }, + "FileDetailsProperties": { "type": "object", + "description": "Describes the properties of a file.", "properties": { - "id": { - "description": "Id of the resource.", + "createdOn": { "type": "string", + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when file workspace was created.", "readOnly": true }, - "name": { - "description": "Name of the resource.", + "chunkSize": { + "type": "integer", + "format": "int32", + "description": "Size of each chunk. The size of each chunk should be provided in bytes and must not exceed 2.5 megabytes (MB)." + }, + "fileSize": { + "type": "integer", + "format": "int32", + "description": "Size of the file to be uploaded. The file size must not exceed 5 MB and should be provided in bytes." + }, + "numberOfChunks": { + "type": "integer", + "format": "int32", + "description": "Number of chunks to be uploaded. The maximum number of allowed chunks is 2." + } + } + }, + "FileWorkspaceDetails": { + "type": "object", + "description": "Object that represents FileWorkspaceDetails resource", + "properties": { + "properties": { + "$ref": "#/definitions/FileWorkspaceDetailsProperties", + "description": "Properties of the resource", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "FileWorkspaceDetailsProperties": { + "type": "object", + "description": "Describes the properties of a file workspace.", + "properties": { + "createdOn": { "type": "string", + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when file workspace was created.", "readOnly": true }, - "type": { - "description": "Type of the resource 'Microsoft.Support/communications'.", + "expirationTime": { "type": "string", + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when file workspace is going to expire.", "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" + "IsTemporaryTicket": { + "type": "string", + "description": "This property indicates if support ticket is a temporary ticket.", + "enum": [ + "Yes", + "No" ], + "x-ms-enum": { + "name": "IsTemporaryTicket", + "modelAsString": true, + "values": [ + { + "name": "Yes", + "value": "Yes" + }, + { + "name": "No", + "value": "No" + } + ] + } + }, + "MessageProperties": { "type": "object", + "description": "Describes the properties of a Message Details resource.", "properties": { - "communicationType": { - "description": "Communication type.", - "enum": [ - "web", - "phone" - ], - "type": "string", - "x-ms-enum": { - "name": "CommunicationType", - "modelAsString": true - }, + "contentType": { + "$ref": "#/definitions/TranscriptContentType", + "description": "Content type.", "readOnly": true }, "communicationDirection": { + "$ref": "#/definitions/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" + "type": "string", + "description": "Name of the sender." }, "body": { - "description": "Body of the communication.", - "type": "string" + "type": "string", + "description": "Body of the communication." }, "createdDate": { + "type": "string", "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", - "advancedDiagnosticConsent" + "PreferredContactMethod": { + "type": "string", + "description": "Preferred contact method.", + "enum": [ + "email", + "phone" ], + "x-ms-enum": { + "name": "PreferredContactMethod", + "modelAsString": true, + "values": [ + { + "name": "email", + "value": "email" + }, + { + "name": "phone", + "value": "phone" + } + ] + } + }, + "ProblemClassification": { "type": "object", + "description": "ProblemClassification resource 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": { + "properties": { + "$ref": "#/definitions/ProblemClassificationProperties", + "description": "Properties of the resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ProblemClassificationProperties": { + "type": "object", + "description": "Details about a problem classification available for an Azure service.", + "properties": { + "displayName": { "type": "string", - "description": "Localized name of problem classification.", - "readOnly": true + "description": "Localized name of problem classification." }, - "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 + "secondaryConsentEnabled": { + "type": "array", + "description": "This property indicates whether secondary consent is present for problem classification", + "items": { + "$ref": "#/definitions/SecondaryConsentEnabled" + }, + "x-ms-identifiers": [] + } + } + }, + "ProblemClassificationsListResult": { + "type": "object", + "description": "Collection of ProblemClassification resources.", + "properties": { + "value": { + "type": "array", + "description": "List of ProblemClassification resources.", + "items": { + "$ref": "#/definitions/ProblemClassification" + } + } + } + }, + "QuotaChangeRequest": { + "type": "object", + "description": "This property is required for providing the region and new quota limits.", + "properties": { + "region": { + "type": "string", + "description": "Region for which the quota increase request is being made." + }, + "payload": { + "type": "string", + "description": "Payload of the quota increase request." + } + } + }, + "QuotaTicketDetails": { + "type": "object", + "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).", + "properties": { + "quotaChangeRequestSubType": { + "type": "string", + "description": "Required for certain quota types when there is a sub type, such as Batch, for which you are requesting a quota increase." + }, + "quotaChangeRequestVersion": { + "type": "string", + "description": "Quota change request version." + }, + "quotaChangeRequests": { + "type": "array", + "description": "This property is required for providing the region and new quota limits.", + "items": { + "$ref": "#/definitions/QuotaChangeRequest" + }, + "x-ms-identifiers": [ + "region" + ] + } + } + }, + "SecondaryConsent": { + "type": "object", + "description": "This property indicates secondary consent for the support ticket.", + "properties": { + "userConsent": { + "$ref": "#/definitions/UserConsent", + "description": "User consent value provided" + }, + "type": { + "type": "string", + "description": "The service name for which the secondary consent is being provided. The value needs to be retrieved from the Problem Classification API response." + } + } + }, + "SecondaryConsentEnabled": { + "type": "object", + "description": "This property indicates whether secondary consent is present for problem classification.", + "properties": { + "description": { + "type": "string", + "description": "User consent description." + }, + "type": { + "type": "string", + "description": "The Azure service for which secondary consent is needed for case creation." + } + } + }, + "Service": { + "type": "object", + "description": "Object that represents a Service resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ServiceProperties", + "description": "Properties of the resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ServiceLevelAgreement": { + "type": "object", + "description": "Service Level Agreement details for a support ticket.", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the service level agreement starts.", + "readOnly": true + }, + "expirationTime": { + "type": "string", + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when the service level agreement expires.", + "readOnly": true + }, + "slaMinutes": { + "type": "integer", + "format": "int32", + "description": "Service Level Agreement in minutes.", + "readOnly": true + } + } + }, + "ServiceProperties": { + "type": "object", + "description": "Details about an Azure service available for support ticket creation.", + "properties": { + "displayName": { + "type": "string", + "description": "Localized name of the Azure service." + }, + "resourceTypes": { + "type": "array", + "description": "ARM Resource types.", + "items": { + "type": "string" + } + } + } + }, + "ServicesListResult": { + "type": "object", + "description": "Collection of Service resources.", + "properties": { + "value": { + "type": "array", + "description": "List of Service resources.", + "items": { + "$ref": "#/definitions/Service" + } + } + } + }, + "SeverityLevel": { + "type": "string", + "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" + ], + "x-ms-enum": { + "name": "SeverityLevel", + "modelAsString": true, + "values": [ + { + "name": "minimal", + "value": "minimal" + }, + { + "name": "moderate", + "value": "moderate" + }, + { + "name": "critical", + "value": "critical" + }, + { + "name": "highestcriticalimpact", + "value": "highestcriticalimpact" + } + ] + } + }, + "Status": { + "type": "string", + "description": "Status to be updated on the ticket.", + "enum": [ + "open", + "closed" + ], + "x-ms-enum": { + "name": "Status", + "modelAsString": true, + "values": [ + { + "name": "open", + "value": "open" + }, + { + "name": "closed", + "value": "closed" + } + ] + } + }, + "SupportEngineer": { + "type": "object", + "description": "Support engineer information.", + "properties": { + "emailAddress": { + "type": "string", + "description": "Email address of the Azure Support engineer assigned to the support ticket.", + "readOnly": true + } + } + }, + "SupportTicketDetails": { + "type": "object", + "description": "Object that represents SupportTicketDetails resource.", + "properties": { + "properties": { + "$ref": "#/definitions/SupportTicketDetailsProperties", + "description": "Properties of the resource.", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "SupportTicketDetailsListResult": { + "type": "object", + "description": "The response of a SupportTicketDetails list operation.", + "properties": { + "value": { + "type": "array", + "description": "The SupportTicketDetails items on this page", + "items": { + "$ref": "#/definitions/SupportTicketDetails" } }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SupportTicketDetailsProperties": { + "type": "object", + "description": "Describes the properties of a support ticket.", + "properties": { + "supportTicketId": { + "type": "string", + "description": "System generated support ticket Id that is unique." + }, + "description": { + "type": "string", + "description": "Detailed description of the question or issue." + }, + "problemClassificationId": { + "type": "string", + "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." + }, + "problemClassificationDisplayName": { + "type": "string", + "description": "Localized name of problem classification.", + "readOnly": true + }, + "severity": { + "$ref": "#/definitions/SeverityLevel", + "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." + }, "enrollmentId": { - "description": "Enrollment Id associated with the support ticket.", - "type": "string" + "type": "string", + "description": "Enrollment Id associated with the support ticket." }, "require24X7Response": { - "description": "Indicates if this requires a 24x7 response from Azure.", - "type": "boolean" + "type": "boolean", + "description": "Indicates if this requires a 24x7 response from Azure." }, "advancedDiagnosticConsent": { - "description": "Advanced diagnostic consent to be updated on the support ticket.", - "enum": [ - "Yes", - "No" - ], - "type": "string", - "x-ms-enum": { - "name": "Consent", - "modelAsString": true - } + "$ref": "#/definitions/Consent", + "description": "Advanced diagnostic consent to be updated on the support ticket." }, "problemScopingQuestions": { - "description": "Problem scoping questions associated with the support ticket.", - "type": "string" + "type": "string", + "description": "Problem scoping questions associated with the support ticket." }, "supportPlanId": { - "description": "Support plan id associated with the support ticket.", - "type": "string" + "type": "string", + "description": "Support plan id associated with the support ticket." }, "contactDetails": { "$ref": "#/definitions/ContactProfile", @@ -2509,27 +2945,27 @@ "description": "Information about the support engineer working on this support ticket." }, "supportPlanType": { - "description": "Support plan type associated with the support ticket.", "type": "string", + "description": "Support plan type associated with the support ticket.", "readOnly": true }, "supportPlanDisplayName": { - "description": "Support plan type associated with the support ticket.", "type": "string", + "description": "Support plan type associated with the support ticket.", "readOnly": true }, "title": { - "description": "Title of the support ticket.", - "type": "string" + "type": "string", + "description": "Title of the support ticket." }, "problemStartTime": { + "type": "string", "format": "date-time", - "description": "Time in UTC (ISO 8601 format) when the problem started.", - "type": "string" + "description": "Time in UTC (ISO 8601 format) when the problem started." }, "serviceId": { - "description": "This is the resource Id of the Azure service resource associated with the support ticket.", - "type": "string" + "type": "string", + "description": "This is the resource Id of the Azure service resource associated with the support ticket." }, "serviceDisplayName": { "type": "string", @@ -2537,37 +2973,29 @@ "readOnly": true }, "status": { - "description": "Status of the support ticket.", "type": "string", + "description": "Status of the support ticket.", "readOnly": true }, "createdDate": { + "type": "string", "format": "date-time", "description": "Time in UTC (ISO 8601 format) when the support ticket was created.", - "type": "string", "readOnly": true }, "modifiedDate": { + "type": "string", "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" + "type": "string", + "description": "File workspace name." }, "isTemporaryTicket": { + "$ref": "#/definitions/IsTemporaryTicket", "description": "This property indicates if support ticket is a temporary ticket.", - "enum": [ - "Yes", - "No" - ], - "type": "string", - "x-ms-enum": { - "name": "IsTemporaryTicket", - "modelAsString": true - }, "readOnly": true }, "technicalTicketDetails": { @@ -2579,284 +3007,118 @@ "description": "Additional ticket details associated with a quota support ticket request." }, "secondaryConsent": { - "description": "This property indicates secondary consents for the support ticket", "type": "array", + "description": "This property indicates secondary consents for the support ticket", "items": { "$ref": "#/definitions/SecondaryConsent" }, "x-ms-identifiers": [] } - } - }, - "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 - } - } + }, + "required": [ + "description", + "problemClassificationId", + "severity", + "advancedDiagnosticConsent", + "contactDetails", + "title", + "serviceId" + ] }, - "SupportEngineer": { - "description": "Support engineer information.", + "TechnicalTicketDetails": { "type": "object", + "description": "Additional information for technical support ticket.", "properties": { - "emailAddress": { - "description": "Email address of the Azure Support engineer assigned to the support ticket.", + "resourceId": { "type": "string", - "readOnly": true + "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." } } }, - "ContactProfile": { - "description": "Contact information associated with the support ticket.", - "required": [ - "firstName", - "lastName", - "preferredContactMethod", - "primaryEmailAddress", - "preferredTimeZone", - "country", - "preferredSupportLanguage" + "TranscriptContentType": { + "type": "string", + "x-nullable": false + }, + "Type": { + "type": "string", + "description": "The type of resource.", + "enum": [ + "Microsoft.Support/supportTickets", + "Microsoft.Support/communications" ], - "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. It is also required when submitting 'critical' or 'highestcriticalimpact' severity cases.", - "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" - } + "x-ms-enum": { + "name": "Type", + "modelAsString": false } }, "UpdateContactProfile": { - "description": "Contact information associated with the support ticket.", "type": "object", + "description": "Contact information associated with the support ticket.", "properties": { "firstName": { - "description": "First name.", - "type": "string" + "type": "string", + "description": "First name." }, "lastName": { - "description": "Last name.", - "type": "string" + "type": "string", + "description": "Last name." }, "preferredContactMethod": { - "description": "Preferred contact method.", - "enum": [ - "email", - "phone" - ], - "type": "string", - "x-ms-enum": { - "name": "PreferredContactMethod", - "modelAsString": true - } + "$ref": "#/definitions/PreferredContactMethod", + "description": "Preferred contact method." }, "primaryEmailAddress": { - "description": "Primary email address.", - "type": "string" + "type": "string", + "description": "Primary email address." }, "additionalEmailAddresses": { - "description": "Email addresses listed will be copied on any correspondence about the support ticket.", "type": "array", + "description": "Email addresses listed will be copied on any correspondence about the support ticket.", "items": { "type": "string" } }, "phoneNumber": { - "description": "Phone number. This is required if preferred contact method is phone. It is also required when submitting 'critical' or 'highestcriticalimpact' severity cases.", - "type": "string" + "type": "string", + "description": "Phone number. This is required if preferred contact method is phone. It is also required when submitting 'critical' or 'highestcriticalimpact' severity cases." }, "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" + "type": "string", + "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)." }, "country": { - "description": "Country of the user. This is the ISO 3166-1 alpha-3 code.", - "type": "string" + "type": "string", + "description": "Country of the user. This is the ISO 3166-1 alpha-3 code." }, "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" - } - } - }, - "SecondaryConsent": { - "description": "This property indicates secondary consent for the support ticket.", - "type": "object", - "properties": { - "userConsent": { - "description": "User consent value provided", - "enum": [ - "Yes", - "No" - ], "type": "string", - "x-ms-enum": { - "name": "UserConsent", - "modelAsString": true - } - }, - "type": { - "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" + "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." } } }, "UpdateSupportTicket": { - "description": "Updates severity, ticket status, contact details, advanced diagnostic consent and secondary consent in the support ticket.", "type": "object", + "description": "Updates severity, ticket status, contact details, advanced diagnostic consent and secondary consent in the support ticket.", "properties": { "severity": { - "description": "Severity level.", - "enum": [ - "minimal", - "moderate", - "critical", - "highestcriticalimpact" - ], - "type": "string", - "x-ms-enum": { - "name": "SeverityLevel", - "modelAsString": true - } + "$ref": "#/definitions/SeverityLevel", + "description": "Severity level." }, "status": { - "description": "Status to be updated on the ticket.", - "enum": [ - "open", - "closed" - ], - "type": "string", - "x-ms-enum": { - "name": "Status", - "modelAsString": true - } + "$ref": "#/definitions/Status", + "description": "Status to be updated on the ticket." }, "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 - } + "$ref": "#/definitions/Consent", + "description": "Advanced diagnostic consent to be updated on the support ticket." }, "secondaryConsent": { - "description": "This property indicates secondary consents for the support ticket", "type": "array", + "description": "This property indicates secondary consents for the support ticket", "items": { "$ref": "#/definitions/SecondaryConsent" }, @@ -2864,212 +3126,43 @@ } } }, - "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": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ChatTranscriptDetailsProperties", - "description": "Properties of the resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ChatTranscriptDetailsProperties": { - "description": "Describes the properties of a Chat Transcript Details resource.", - "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.", - "type": "object", - "properties": { - "contentType": { - "description": "Content type.", - "type": "string", - "x-ms-enum": { - "name": "TranscriptContentType", - "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": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/FileWorkspaceDetailsProperties", - "description": "Properties of the resource" - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "FileWorkspaceDetailsProperties": { - "description": "Describes the properties of a file workspace.", - "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 - } - } - }, - "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", - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/FileDetailsProperties", - "description": "Properties of the resource" - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "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.", - "type": "string", - "readOnly": true - }, - "chunkSize": { - "description": "Size of each chunk. The size of each chunk should be provided in bytes and must not exceed 2.5 megabytes (MB).", - "type": "integer", - "format": "int32" - }, - "fileSize": { - "description": "Size of the file to be uploaded. The file size must not exceed 5 MB and should be provided in bytes.", - "type": "integer", - "format": "int32" - }, - "numberOfChunks": { - "description": "Number of chunks to be uploaded. The maximum number of allowed chunks is 2.", - "type": "integer", - "format": "int32" - } - } - }, "UploadFile": { - "description": "File content associated with the file under a workspace.", "type": "object", + "description": "File content associated with the file under a workspace.", "properties": { "content": { - "description": "File Content in base64 encoded format", - "type": "string" + "type": "string", + "description": "File Content in base64 encoded format" }, "chunkIndex": { - "description": "Index of the uploaded chunk (Index starts at 0)", "type": "integer", - "format": "int32" + "format": "int32", + "description": "Index of the uploaded chunk (Index starts at 0)" } } + }, + "UserConsent": { + "type": "string", + "description": "User consent value provided", + "enum": [ + "Yes", + "No" + ], + "x-ms-enum": { + "name": "UserConsent", + "modelAsString": true, + "values": [ + { + "name": "Yes", + "value": "Yes" + }, + { + "name": "No", + "value": "No" + } + ] + } } - } + }, + "parameters": {} } From 8566e0b20ffec6d6d4075591c2bc6c97a4291912 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Tue, 24 Jun 2025 08:11:35 +0000 Subject: [PATCH 04/38] add suppression for warning --- .../support/Support.Management/CommunicationDetails.tsp | 1 + specification/support/Support.Management/FileDetails.tsp | 1 + .../support/Support.Management/FileWorkspaceDetails.tsp | 3 ++- .../support/Support.Management/SupportTicketDetails.tsp | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/specification/support/Support.Management/CommunicationDetails.tsp b/specification/support/Support.Management/CommunicationDetails.tsp index 139c55928727..d063b6a351ba 100644 --- a/specification/support/Support.Management/CommunicationDetails.tsp +++ b/specification/support/Support.Management/CommunicationDetails.tsp @@ -107,6 +107,7 @@ interface CommunicationsNoSubscriptionOps >> > {} +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "For backward compatibility" @armResourceOperations interface CommunicationsNoSubscription { /** diff --git a/specification/support/Support.Management/FileDetails.tsp b/specification/support/Support.Management/FileDetails.tsp index e1a98481f7f5..ce2adb5e88af 100644 --- a/specification/support/Support.Management/FileDetails.tsp +++ b/specification/support/Support.Management/FileDetails.tsp @@ -94,6 +94,7 @@ interface FilesNoSubscriptionOps >> > {} +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "For backward compatibility" @armResourceOperations interface FilesNoSubscription { /** diff --git a/specification/support/Support.Management/FileWorkspaceDetails.tsp b/specification/support/Support.Management/FileWorkspaceDetails.tsp index fd2f9e991d1a..82e034fd3b14 100644 --- a/specification/support/Support.Management/FileWorkspaceDetails.tsp +++ b/specification/support/Support.Management/FileWorkspaceDetails.tsp @@ -20,7 +20,7 @@ model FileWorkspaceDetails Resource = FileWorkspaceDetails, KeyName = "fileWorkspaceName", SegmentName = "fileWorkspaces", - NamePattern = "" + NamePattern = "^[0-9a-zA-Z_\\-. ]+$" >; } @@ -72,6 +72,7 @@ interface FileWorkspacesNoSubscriptionOps >> > {} +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "For backward compatibility" @armResourceOperations interface FileWorkspacesNoSubscription { /** diff --git a/specification/support/Support.Management/SupportTicketDetails.tsp b/specification/support/Support.Management/SupportTicketDetails.tsp index 8a2874d81ece..1970d2764ef3 100644 --- a/specification/support/Support.Management/SupportTicketDetails.tsp +++ b/specification/support/Support.Management/SupportTicketDetails.tsp @@ -114,6 +114,7 @@ interface SupportTicketsNoSubscriptionOps >> > {} +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "For backward compatibility" @armResourceOperations interface SupportTicketsNoSubscription { /** From 59da5019e131c0208ab3a94986c766bfdf6a3dee Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Tue, 24 Jun 2025 08:27:37 +0000 Subject: [PATCH 05/38] fix body name --- .../support/Support.Management/back-compatible.tsp | 4 ++-- .../Microsoft.Support/stable/2024-04-01/support.json | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/support/Support.Management/back-compatible.tsp b/specification/support/Support.Management/back-compatible.tsp index 888ccad4ee0a..4b4af7f028f2 100644 --- a/specification/support/Support.Management/back-compatible.tsp +++ b/specification/support/Support.Management/back-compatible.tsp @@ -15,7 +15,7 @@ using Microsoft.Support; @@clientName(SupportTickets.update::parameters.properties, "updateSupportTicket" ); -@@clientName(SupportTickets.checkNameAvailability::parameters.body, +@@clientName(SupportTicketsNoSubscriptionOperationGroup.checkNameAvailability::parameters.body, "checkNameAvailabilityInput" ); @@clientName(SupportTicketsNoSubscription.create::parameters.resource, @@ -24,7 +24,7 @@ using Microsoft.Support; @@clientName(SupportTicketsNoSubscription.update::parameters.properties, "updateSupportTicket" ); -@@clientName(SupportTicketsNoSubscription.checkNameAvailability::parameters.body, +@@clientName(SupportTicketsOperationGroup.checkNameAvailability::parameters.body, "checkNameAvailabilityInput" ); #suppress "deprecated" "@flattenProperty decorator is not recommended to use." diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json index f09c78cbb49a..3168468b7f21 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json @@ -89,7 +89,7 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "name": "body", + "name": "checkNameAvailabilityInput", "in": "body", "description": "The request body", "required": true, @@ -944,7 +944,7 @@ "type": "string" }, { - "name": "checkNameAvailabilityInput", + "name": "body", "in": "body", "description": "Input to check.", "required": true, @@ -1169,7 +1169,7 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "name": "body", + "name": "checkNameAvailabilityInput", "in": "body", "description": "The request body", "required": true, @@ -1909,7 +1909,7 @@ "type": "string" }, { - "name": "checkNameAvailabilityInput", + "name": "body", "in": "body", "description": "Input to check.", "required": true, From 9ec86abc426da008131e219d4e9e40eec824aaf7 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Tue, 1 Jul 2025 08:56:19 +0000 Subject: [PATCH 06/38] fix breaking --- specification/support/Support.Management/back-compatible.tsp | 3 +++ .../Microsoft.Support/stable/2024-04-01/support.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/specification/support/Support.Management/back-compatible.tsp b/specification/support/Support.Management/back-compatible.tsp index 4b4af7f028f2..1163e73d6299 100644 --- a/specification/support/Support.Management/back-compatible.tsp +++ b/specification/support/Support.Management/back-compatible.tsp @@ -21,6 +21,9 @@ using Microsoft.Support; @@clientName(SupportTicketsNoSubscription.create::parameters.resource, "createSupportTicketParameters" ); +@@clientName(SupportTicketsNoSubscription.checkNameAvailability::parameters.body, + "checkNameAvailabilityInput" +); @@clientName(SupportTicketsNoSubscription.update::parameters.properties, "updateSupportTicket" ); diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json index 3168468b7f21..b3c3832c98d0 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json @@ -944,7 +944,7 @@ "type": "string" }, { - "name": "body", + "name": "checkNameAvailabilityInput", "in": "body", "description": "Input to check.", "required": true, From dff42861e0f8abf2793e7685625bb5ce2acb0a06 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Wed, 2 Jul 2025 07:19:34 +0000 Subject: [PATCH 07/38] Fix for nextlink --- .../support/Support.Management/models.tsp | 10 ++++++++++ .../stable/2024-04-01/support.json | 14 ++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/specification/support/Support.Management/models.tsp b/specification/support/Support.Management/models.tsp index bd103e4c68ed..e48f0a4fa470 100644 --- a/specification/support/Support.Management/models.tsp +++ b/specification/support/Support.Management/models.tsp @@ -184,6 +184,11 @@ model OperationDisplay { */ @pagedResult model ServicesListResult { + /** + * The link to the next page of items + */ + @nextLink + nextLink?: string; /** * List of Service resources. */ @@ -212,6 +217,11 @@ model ServiceProperties { */ @pagedResult model ProblemClassificationsListResult { + /** + * The link to the next page of items + */ + @nextLink + nextLink?: string; /** * List of ProblemClassification resources. */ diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json index b3c3832c98d0..5cfe96ed8787 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json @@ -469,6 +469,9 @@ "Gets list of services for which a support ticket can be created": { "$ref": "./examples/ListServices.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, @@ -549,6 +552,9 @@ "Gets list of problemClassifications for a service for which a support ticket can be created": { "$ref": "./examples/ListProblemClassifications.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, @@ -2637,6 +2643,10 @@ "type": "object", "description": "Collection of ProblemClassification resources.", "properties": { + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + }, "value": { "type": "array", "description": "List of ProblemClassification resources.", @@ -2773,6 +2783,10 @@ "type": "object", "description": "Collection of Service resources.", "properties": { + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + }, "value": { "type": "array", "description": "List of Service resources.", From ad1ea07975b4f3722d4d65c5a9ff7755ee004876 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Wed, 2 Jul 2025 07:45:19 +0000 Subject: [PATCH 08/38] fix for return type name of list operations --- .../ChatTranscriptDetails.tsp | 22 +- .../CommunicationDetails.tsp | 24 ++- .../Support.Management/FileDetails.tsp | 21 +- .../SupportTicketDetails.tsp | 24 ++- .../stable/2024-04-01/support.json | 196 +++++++++--------- 5 files changed, 179 insertions(+), 108 deletions(-) diff --git a/specification/support/Support.Management/ChatTranscriptDetails.tsp b/specification/support/Support.Management/ChatTranscriptDetails.tsp index 8a187140c04d..0ca569270fe0 100644 --- a/specification/support/Support.Management/ChatTranscriptDetails.tsp +++ b/specification/support/Support.Management/ChatTranscriptDetails.tsp @@ -6,6 +6,7 @@ import "./models.tsp"; import "./SupportTicketDetails.tsp"; using TypeSpec.Rest; +using Azure.Core; using Azure.ResourceManager; using TypeSpec.Http; using TypeSpec.OpenAPI; @@ -25,6 +26,23 @@ model ChatTranscriptDetails >; } +/** + * [Placeholder] Discription for page model + */ +@pagedResult +model ChatTranscriptsListResult { + /** + * [Placeholder] Discription for nextLink property + */ + @nextLink + nextLink?: string; + /** + * [Placeholder] Discription for value property + */ + @items + value: ChatTranscriptDetails[]; +} + @armResourceOperations interface ChatTranscriptOps extends Azure.ResourceManager.Legacy.LegacyOperations< @@ -57,7 +75,7 @@ interface ChatTranscripts { /** * Lists all chat transcripts for a support ticket under subscription */ - list is ChatTranscriptOps.List; + list is ChatTranscriptOps.List; } @armResourceOperations interface ChatTranscriptsNoSubscriptionOps @@ -90,7 +108,7 @@ interface ChatTranscriptsNoSubscription { /** * Lists all chat transcripts for a support ticket */ - list is ChatTranscriptsNoSubscriptionOps.List; + list is ChatTranscriptsNoSubscriptionOps.List; } @@doc(ChatTranscriptDetails.name, "ChatTranscript name."); diff --git a/specification/support/Support.Management/CommunicationDetails.tsp b/specification/support/Support.Management/CommunicationDetails.tsp index d063b6a351ba..176c1b93d89b 100644 --- a/specification/support/Support.Management/CommunicationDetails.tsp +++ b/specification/support/Support.Management/CommunicationDetails.tsp @@ -6,6 +6,7 @@ import "./models.tsp"; import "./SupportTicketDetails.tsp"; using TypeSpec.Rest; +using Azure.Core; using Azure.ResourceManager; using TypeSpec.Http; using TypeSpec.OpenAPI; @@ -28,6 +29,23 @@ model CommunicationDetails >; } +/** + * [Placeholder] Discription for page model + */ +@pagedResult +model CommunicationsListResult { + /** + * [Placeholder] Discription for nextLink property + */ + @nextLink + nextLink?: string; + /** + * [Placeholder] Discription for value property + */ + @items + value: CommunicationDetails[]; +} + @armResourceOperations interface CommunicationOps extends Azure.ResourceManager.Legacy.LegacyOperations< @@ -83,7 +101,8 @@ interface Communications { */ @query("$filter") $filter?: string; - } + }, + Response = CommunicationsListResult >; } @armResourceOperations @@ -141,7 +160,8 @@ interface CommunicationsNoSubscription { */ @query("$filter") $filter?: string; - } + }, + Response = CommunicationsListResult >; } diff --git a/specification/support/Support.Management/FileDetails.tsp b/specification/support/Support.Management/FileDetails.tsp index ce2adb5e88af..100bff034900 100644 --- a/specification/support/Support.Management/FileDetails.tsp +++ b/specification/support/Support.Management/FileDetails.tsp @@ -6,6 +6,7 @@ import "./models.tsp"; import "./FileWorkspaceDetails.tsp"; using TypeSpec.Rest; +using Azure.Core; using Azure.ResourceManager; using TypeSpec.Http; using TypeSpec.OpenAPI; @@ -24,6 +25,22 @@ model FileDetails NamePattern = "" >; } +/** + * [Placeholder] Discription for page model + */ +@pagedResult +model FilesListResult { + /** + * [Placeholder] Discription for nextLink property + */ + @nextLink + nextLink?: string; + /** + * [Placeholder] Discription for value property + */ + @items + value: FileDetails[]; +} @armResourceOperations interface FileOps @@ -66,7 +83,7 @@ interface Files { /** * Lists all the Files information under a workspace for an Azure subscription. */ - list is FileOps.List; + list is FileOps.List; /** * This API allows you to upload content to a file @@ -114,7 +131,7 @@ interface FilesNoSubscription { /** * Lists all the Files information under a workspace for an Azure subscription. */ - list is FilesNoSubscriptionOps.List; + list is FilesNoSubscriptionOps.List; /** * This API allows you to upload content to a file diff --git a/specification/support/Support.Management/SupportTicketDetails.tsp b/specification/support/Support.Management/SupportTicketDetails.tsp index 1970d2764ef3..f913a8e967fd 100644 --- a/specification/support/Support.Management/SupportTicketDetails.tsp +++ b/specification/support/Support.Management/SupportTicketDetails.tsp @@ -5,6 +5,7 @@ import "@typespec/rest"; import "./models.tsp"; using TypeSpec.Rest; +using Azure.Core; using Azure.ResourceManager; using TypeSpec.Http; using TypeSpec.OpenAPI; @@ -27,6 +28,23 @@ model SupportTicketDetails >; } +/** + * [Placeholder] Discription for page model + */ +@pagedResult +model SupportTicketsListResult { + /** + * [Placeholder] Discription for nextLink property + */ + @nextLink + nextLink?: string; + /** + * [Placeholder] Discription for value property + */ + @items + value: SupportTicketDetails[]; +} + @armResourceOperations interface SupportTicketOps extends Azure.ResourceManager.Legacy.LegacyOperations< @@ -85,7 +103,8 @@ interface SupportTickets { */ @query("$filter") $filter?: string; - } + }, + Response = SupportTicketsListResult >; /** @@ -157,7 +176,8 @@ interface SupportTicketsNoSubscription { */ @query("$filter") $filter?: string; - } + }, + Response = SupportTicketsListResult >; /** diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json index 5cfe96ed8787..7a92ecbd8387 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json @@ -227,9 +227,9 @@ ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/FileDetailsListResult" + "$ref": "#/definitions/FilesListResult" } }, "default": { @@ -634,9 +634,9 @@ ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/SupportTicketDetailsListResult" + "$ref": "#/definitions/SupportTicketsListResult" } }, "default": { @@ -862,9 +862,9 @@ ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/ChatTranscriptDetailsListResult" + "$ref": "#/definitions/ChatTranscriptsListResult" } }, "default": { @@ -1016,9 +1016,9 @@ ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/CommunicationDetailsListResult" + "$ref": "#/definitions/CommunicationsListResult" } }, "default": { @@ -1322,9 +1322,9 @@ ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/FileDetailsListResult" + "$ref": "#/definitions/FilesListResult" } }, "default": { @@ -1539,9 +1539,9 @@ ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/SupportTicketDetailsListResult" + "$ref": "#/definitions/SupportTicketsListResult" } }, "default": { @@ -1821,9 +1821,9 @@ ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/ChatTranscriptDetailsListResult" + "$ref": "#/definitions/ChatTranscriptsListResult" } }, "default": { @@ -1984,9 +1984,9 @@ ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/CommunicationDetailsListResult" + "$ref": "#/definitions/CommunicationsListResult" } }, "default": { @@ -2155,27 +2155,6 @@ } ] }, - "ChatTranscriptDetailsListResult": { - "type": "object", - "description": "The response of a ChatTranscriptDetails list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ChatTranscriptDetails items on this page", - "items": { - "$ref": "#/definitions/ChatTranscriptDetails" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, "ChatTranscriptDetailsProperties": { "type": "object", "description": "Describes the properties of a Chat Transcript Details resource.", @@ -2196,6 +2175,26 @@ } } }, + "ChatTranscriptsListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "nextLink": { + "type": "string", + "description": "[Placeholder] Discription for nextLink property" + }, + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/ChatTranscriptDetails" + } + } + }, + "required": [ + "value" + ] + }, "CheckNameAvailabilityInput": { "type": "object", "description": "Input of CheckNameAvailability API.", @@ -2254,27 +2253,6 @@ } ] }, - "CommunicationDetailsListResult": { - "type": "object", - "description": "The response of a CommunicationDetails list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CommunicationDetails items on this page", - "items": { - "$ref": "#/definitions/CommunicationDetails" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, "CommunicationDetailsProperties": { "type": "object", "description": "Describes the properties of a communication resource.", @@ -2357,6 +2335,26 @@ ] } }, + "CommunicationsListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "nextLink": { + "type": "string", + "description": "[Placeholder] Discription for nextLink property" + }, + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/CommunicationDetails" + } + } + }, + "required": [ + "value" + ] + }, "Consent": { "type": "string", "description": "Advanced diagnostic consent to be updated on the support ticket.", @@ -2449,27 +2447,6 @@ } ] }, - "FileDetailsListResult": { - "type": "object", - "description": "The response of a FileDetails list operation.", - "properties": { - "value": { - "type": "array", - "description": "The FileDetails items on this page", - "items": { - "$ref": "#/definitions/FileDetails" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, "FileDetailsProperties": { "type": "object", "description": "Describes the properties of a file.", @@ -2531,6 +2508,26 @@ } } }, + "FilesListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "nextLink": { + "type": "string", + "description": "[Placeholder] Discription for nextLink property" + }, + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/FileDetails" + } + } + }, + "required": [ + "value" + ] + }, "IsTemporaryTicket": { "type": "string", "description": "This property indicates if support ticket is a temporary ticket.", @@ -2880,27 +2877,6 @@ } ] }, - "SupportTicketDetailsListResult": { - "type": "object", - "description": "The response of a SupportTicketDetails list operation.", - "properties": { - "value": { - "type": "array", - "description": "The SupportTicketDetails items on this page", - "items": { - "$ref": "#/definitions/SupportTicketDetails" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, "SupportTicketDetailsProperties": { "type": "object", "description": "Describes the properties of a support ticket.", @@ -3039,6 +3015,26 @@ "serviceId" ] }, + "SupportTicketsListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "nextLink": { + "type": "string", + "description": "[Placeholder] Discription for nextLink property" + }, + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/SupportTicketDetails" + } + } + }, + "required": [ + "value" + ] + }, "TechnicalTicketDetails": { "type": "object", "description": "Additional information for technical support ticket.", From 090f90c3effe2e8165900763cf347e8d5befc4b2 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Mon, 7 Jul 2025 05:35:52 +0000 Subject: [PATCH 09/38] fix body name --- specification/support/Support.Management/back-compatible.tsp | 3 +++ .../Microsoft.Support/stable/2024-04-01/support.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/specification/support/Support.Management/back-compatible.tsp b/specification/support/Support.Management/back-compatible.tsp index 1163e73d6299..b4f4314f01f2 100644 --- a/specification/support/Support.Management/back-compatible.tsp +++ b/specification/support/Support.Management/back-compatible.tsp @@ -15,6 +15,9 @@ using Microsoft.Support; @@clientName(SupportTickets.update::parameters.properties, "updateSupportTicket" ); +@@clientName(SupportTickets.checkNameAvailability::parameters.body, + "checkNameAvailabilityInput" +); @@clientName(SupportTicketsNoSubscriptionOperationGroup.checkNameAvailability::parameters.body, "checkNameAvailabilityInput" ); diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json index 7a92ecbd8387..6dcf678456c2 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json @@ -1915,7 +1915,7 @@ "type": "string" }, { - "name": "body", + "name": "checkNameAvailabilityInput", "in": "body", "description": "Input to check.", "required": true, From ce6187197b9e0f920b9d37fa4fcf34bb62daed31 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Mon, 7 Jul 2025 06:55:52 +0000 Subject: [PATCH 10/38] fix for azure-async-operation --- .../support/Support.Management/CommunicationDetails.tsp | 2 ++ .../Microsoft.Support/stable/2024-04-01/support.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/specification/support/Support.Management/CommunicationDetails.tsp b/specification/support/Support.Management/CommunicationDetails.tsp index 176c1b93d89b..7464146dd007 100644 --- a/specification/support/Support.Management/CommunicationDetails.tsp +++ b/specification/support/Support.Management/CommunicationDetails.tsp @@ -138,6 +138,8 @@ interface CommunicationsNoSubscription { * Adds a new customer communication to an Azure support ticket. */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/invalid-final-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @Azure.Core.useFinalStateVia("azure-async-operation") create is CommunicationsNoSubscriptionOps.CreateOrUpdateAsync< CommunicationDetails, Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json index 6dcf678456c2..c1b64bd939b6 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json @@ -1158,7 +1158,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "azure-async-operation" }, "x-ms-long-running-operation": true } From ab709217dd1e66b36a92782aad6a478e33eef7da Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Mon, 7 Jul 2025 06:57:46 +0000 Subject: [PATCH 11/38] fix for azure-async-operation --- .../support/Support.Management/SupportTicketDetails.tsp | 2 ++ .../Microsoft.Support/stable/2024-04-01/support.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/specification/support/Support.Management/SupportTicketDetails.tsp b/specification/support/Support.Management/SupportTicketDetails.tsp index f913a8e967fd..4d82f1575e08 100644 --- a/specification/support/Support.Management/SupportTicketDetails.tsp +++ b/specification/support/Support.Management/SupportTicketDetails.tsp @@ -72,6 +72,8 @@ interface SupportTickets { * 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. */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/invalid-final-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @Azure.Core.useFinalStateVia("azure-async-operation") create is SupportTicketOps.CreateOrUpdateAsync< SupportTicketDetails, Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json index c1b64bd939b6..f992855b5607 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json @@ -1733,7 +1733,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "azure-async-operation" }, "x-ms-long-running-operation": true }, From 578b0bf3ce89ca24e10cd32f2c7e44b5d7f5b370 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Mon, 7 Jul 2025 07:09:08 +0000 Subject: [PATCH 12/38] fix for azure-async-operation --- .../support/Support.Management/CommunicationDetails.tsp | 2 ++ .../Microsoft.Support/stable/2024-04-01/support.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/specification/support/Support.Management/CommunicationDetails.tsp b/specification/support/Support.Management/CommunicationDetails.tsp index 7464146dd007..4cfe79cf392b 100644 --- a/specification/support/Support.Management/CommunicationDetails.tsp +++ b/specification/support/Support.Management/CommunicationDetails.tsp @@ -79,6 +79,8 @@ interface Communications { * Adds a new customer communication to an Azure support ticket. */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/invalid-final-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @Azure.Core.useFinalStateVia("azure-async-operation") create is CommunicationOps.CreateOrUpdateAsync< CommunicationDetails, Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json index f992855b5607..37c36f290c47 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json @@ -2132,7 +2132,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "azure-async-operation" }, "x-ms-long-running-operation": true } From 99cc2e2aa56597c00f3d6121fb89c821007d9ded Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Mon, 7 Jul 2025 07:10:41 +0000 Subject: [PATCH 13/38] fix for azure-async-operation --- .../support/Support.Management/SupportTicketDetails.tsp | 2 ++ .../Microsoft.Support/stable/2024-04-01/support.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/specification/support/Support.Management/SupportTicketDetails.tsp b/specification/support/Support.Management/SupportTicketDetails.tsp index 4d82f1575e08..dd4fd15eba23 100644 --- a/specification/support/Support.Management/SupportTicketDetails.tsp +++ b/specification/support/Support.Management/SupportTicketDetails.tsp @@ -147,6 +147,8 @@ interface SupportTicketsNoSubscription { * 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.

*/ #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/invalid-final-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @Azure.Core.useFinalStateVia("azure-async-operation") create is SupportTicketsNoSubscriptionOps.CreateOrUpdateAsync< SupportTicketDetails, Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json index 37c36f290c47..2ea7c45715bd 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json @@ -780,7 +780,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "azure-async-operation" }, "x-ms-long-running-operation": true }, From cc88fd18383b52211e42d5d807d155e9db8a98f5 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Mon, 7 Jul 2025 07:18:16 +0000 Subject: [PATCH 14/38] temp files --- specification/support-diff/API_CHANGES.md | 113 + .../support-diff/newNormalizedSwagger.json | 2456 ++++++++++++++++ .../support-diff/oldNormalizedSwagger.json | 2487 +++++++++++++++++ 3 files changed, 5056 insertions(+) create mode 100644 specification/support-diff/API_CHANGES.md create mode 100644 specification/support-diff/newNormalizedSwagger.json create mode 100644 specification/support-diff/oldNormalizedSwagger.json diff --git a/specification/support-diff/API_CHANGES.md b/specification/support-diff/API_CHANGES.md new file mode 100644 index 000000000000..135a200dac7b --- /dev/null +++ b/specification/support-diff/API_CHANGES.md @@ -0,0 +1,113 @@ +## Swagger Changes + +### Changes for `x-typespec-generated` + +| Path | Change Type | Value | +|------|------------|-------| +| `info['x-typespec-generated__added']` | added | `[{"emitter":"@azure-tools/typespec-autorest"}]` | + +### Changes for `pattern` + +| Path | Change Type | Value | +|------|------------|-------| +| `paths['/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}'].put.parameters[0].pattern__deleted` | deleted | `^[0-9a-zA-Z_\\-. ]+$` | +| `paths['/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}'].put.parameters[0].pattern__deleted` | deleted | `^[0-9a-zA-Z_\\-. ]+$` | + +### Changes for `Operation` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.Operation__deleted` | deleted | `{"type":"object","properties":{"name":{"type":"string","readOnly":true},"display":{"properties":{"de...` | + +### Changes for `OperationsListResult` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.OperationsListResult__deleted` | deleted | `{"properties":{"value":{"type":"array","items":{"$ref":"#/definitions/Operation"},"x-ms-identifiers"...` | + +### Changes for `TranscriptContentType` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.TranscriptContentType__added` | added | `{"type":"string","x-nullable":false}` | + +### Changes for `required` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.ChatTranscriptsListResult.required__added` | added | `["value"]` | +| `definitions.CommunicationsListResult.required__added` | added | `["value"]` | +| `definitions.FilesListResult.required__added` | added | `["value"]` | +| `definitions.SupportTicketsListResult.required__added` | added | `["value"]` | + +### Changes for `allOf` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.CommunicationDetails.allOf__added` | added | `[{"$ref":"../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"}...` | +| `definitions.ProblemClassification.allOf__added` | added | `[{"$ref":"../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"}...` | +| `definitions.Service.allOf__added` | added | `[{"$ref":"../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"}...` | +| `definitions.SupportTicketDetails.allOf__added` | added | `[{"$ref":"../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"}...` | + +### Changes for `id` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.CommunicationDetails.properties.id__deleted` | deleted | `{"type":"string","readOnly":true}` | +| `definitions.ProblemClassification.properties.id__deleted` | deleted | `{"type":"string","readOnly":true}` | +| `definitions.Service.properties.id__deleted` | deleted | `{"type":"string","readOnly":true}` | +| `definitions.SupportTicketDetails.properties.id__deleted` | deleted | `{"type":"string","readOnly":true}` | + +### Changes for `name` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.CommunicationDetails.properties.name__deleted` | deleted | `{"type":"string","readOnly":true}` | +| `definitions.ProblemClassification.properties.name__deleted` | deleted | `{"type":"string","readOnly":true}` | +| `definitions.Service.properties.name__deleted` | deleted | `{"type":"string","readOnly":true}` | +| `definitions.SupportTicketDetails.properties.name__deleted` | deleted | `{"type":"string","readOnly":true}` | + +### Changes for `type` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.CommunicationDetails.properties.type__deleted` | deleted | `{"type":"string","readOnly":true}` | +| `definitions.MessageProperties.properties.contentType.type__deleted` | deleted | `string` | +| `definitions.ProblemClassification.properties.type__deleted` | deleted | `{"type":"string","readOnly":true}` | +| `definitions.Service.properties.type__deleted` | deleted | `{"type":"string","readOnly":true}` | +| `definitions.SupportTicketDetails.properties.type__deleted` | deleted | `{"type":"string","readOnly":true}` | + +### Changes for `x-ms-enum` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.MessageProperties.properties.contentType['x-ms-enum__deleted']` | deleted | `{"name":"TranscriptContentType","modelAsString":true}` | + +### Changes for `$ref` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.MessageProperties.properties.contentType.$ref__added` | added | `#/definitions/TranscriptContentType` | + +### Changes for `description` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.ProblemClassificationsListResult.description__added` | added | `[Placeholder] Discription for page model` | +| `definitions.ProblemClassificationsListResult.properties.value.description__added` | added | `[Placeholder] Discription for value property` | +| `definitions.ServicesListResult.description__added` | added | `[Placeholder] Discription for page model` | +| `definitions.ServicesListResult.properties.value.description__added` | added | `[Placeholder] Discription for value property` | + +### Changes for `nextLink` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.ProblemClassificationsListResult.properties.nextLink__added` | added | `{"type":"string","format":"uri","description":"[Placeholder] Discription for nextLink property"}` | +| `definitions.ServicesListResult.properties.nextLink__added` | added | `{"type":"string","format":"uri","description":"[Placeholder] Discription for nextLink property"}` | + +## Modified Values + +| Path | Old Value | New Value | +|------|-----------|----------| +| `paths['/providers/Microsoft.Support/operations'].get.responses.200.schema.$ref` | `#/definitions/OperationsListResult` | `../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult` | + diff --git a/specification/support-diff/newNormalizedSwagger.json b/specification/support-diff/newNormalizedSwagger.json new file mode 100644 index 000000000000..8739a40197c5 --- /dev/null +++ b/specification/support-diff/newNormalizedSwagger.json @@ -0,0 +1,2456 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft.Support", + "version": "2024-04-01", + "description": "Microsoft Azure Support Resource Provider.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "paths": { + "/providers/Microsoft.Support/checkNameAvailability": { + "post": { + "operationId": "SupportTicketsNoSubscription_CheckNameAvailability", + "parameters": [ + { + "name": "checkNameAvailabilityInput", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityOutput" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Checks whether name is available for SupportTicket resource": { + "$ref": "./examples/CheckNameAvailability.json" + } + } + } + }, + "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": { + "get": { + "operationId": "FileWorkspacesNoSubscription_Get", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/FileWorkspaceDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of a file workspace": { + "$ref": "./examples/GetFileWorkspaceDetails.json" + } + } + }, + "put": { + "operationId": "FileWorkspacesNoSubscription_Create", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/FileWorkspaceDetails" + } + } + ], + "responses": { + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/FileWorkspaceDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create a file workspace": { + "$ref": "./examples/CreateFileWorkspace.json" + } + } + } + }, + "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files": { + "get": { + "operationId": "FilesNoSubscription_List", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/FilesListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List files under a workspace": { + "$ref": "./examples/ListFilesUnderFileWorkspace.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { + "get": { + "operationId": "FilesNoSubscription_Get", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "fileName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/FileDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of a subscription file": { + "$ref": "./examples/GetFileDetails.json" + } + } + }, + "put": { + "operationId": "FilesNoSubscription_Create", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "fileName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "createFileParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/FileDetails" + } + } + ], + "responses": { + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/FileDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create a file workspace": { + "$ref": "./examples/CreateFile.json" + } + } + } + }, + "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload": { + "post": { + "operationId": "FilesNoSubscription_Upload", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "fileName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "uploadFile", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/UploadFile" + } + } + ], + "responses": { + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "UploadFile": { + "$ref": "./examples/UploadFile.json" + } + } + } + }, + "/providers/Microsoft.Support/operations": { + "get": { + "operationId": "Operations_List", + "parameters": [], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get all operations": { + "$ref": "./examples/ListOperations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Support/services": { + "get": { + "operationId": "Services_List", + "parameters": [], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ServicesListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets list of services for which a support ticket can be created": { + "$ref": "./examples/ListServices.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Support/services/{serviceName}": { + "get": { + "operationId": "Services_Get", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Service" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets details of the Azure service": { + "$ref": "./examples/GetService.json" + } + } + } + }, + "/providers/Microsoft.Support/services/{serviceName}/problemClassifications": { + "get": { + "operationId": "ProblemClassifications_List", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ProblemClassificationsListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets list of problemClassifications for a service for which a support ticket can be created": { + "$ref": "./examples/ListProblemClassifications.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Support/services/{serviceName}/problemClassifications/{problemClassificationName}": { + "get": { + "operationId": "ProblemClassifications_Get", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "problemClassificationName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ProblemClassification" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets details of problemClassification for Azure service": { + "$ref": "./examples/GetProblemClassification.json" + } + } + } + }, + "/providers/Microsoft.Support/supportTickets": { + "get": { + "operationId": "SupportTicketsNoSubscription_List", + "parameters": [ + { + "name": "$top", + "in": "query", + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/SupportTicketsListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List support tickets": { + "$ref": "./examples/ListSupportTickets.json" + }, + "List support tickets created on or after a certain date and in open state": { + "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json" + }, + "List support tickets created on or after a certain date and in updating state": { + "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json" + }, + "List support tickets in open state": { + "$ref": "./examples/ListSupportTicketsInOpenState.json" + }, + "List support tickets in updating state": { + "$ref": "./examples/ListSupportTicketsInUpdatingState.json" + }, + "List support tickets with a certain problem classification id": { + "$ref": "./examples/ListSupportTicketsProblemClassificationIdEquals.json" + }, + "List support tickets with a certain service id": { + "$ref": "./examples/ListSupportTicketsServiceIdEquals.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}": { + "get": { + "operationId": "SupportTicketsNoSubscription_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of a ticket": { + "$ref": "./examples/GetSupportTicketDetails.json" + } + } + }, + "put": { + "operationId": "SupportTicketsNoSubscription_Create", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "createSupportTicketParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "SupportTicketsNoSubscription_Update", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "updateSupportTicket", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateSupportTicket" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update advanced diagnostic consent of a support ticket": { + "$ref": "./examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json" + }, + "Update contact details of a support ticket": { + "$ref": "./examples/UpdateContactDetailsOfSupportTicket.json" + }, + "Update severity of a support ticket": { + "$ref": "./examples/UpdateSeverityOfSupportTicket.json" + }, + "Update status of a support ticket": { + "$ref": "./examples/UpdateStatusOfSupportTicket.json" + } + } + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts": { + "get": { + "operationId": "ChatTranscriptsNoSubscription_List", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ChatTranscriptsListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List chat transcripts for a no-subscription support ticket": { + "$ref": "./examples/ListChatTranscriptsForSupportTicket.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}": { + "get": { + "operationId": "ChatTranscriptsNoSubscription_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "chatTranscriptName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ChatTranscriptDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get chat transcript details for a subscription support ticket": { + "$ref": "./examples/GetchatTranscriptDetailsForSupportTicket.json" + } + } + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": { + "post": { + "operationId": "CommunicationsNoSubscription_CheckNameAvailability", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "checkNameAvailabilityInput", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityOutput" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Checks whether name is available for Communication resource": { + "$ref": "./examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json" + } + } + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": { + "get": { + "operationId": "CommunicationsNoSubscription_List", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CommunicationsListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List communications for a no-subscription support ticket": { + "$ref": "./examples/ListCommunicationsForSupportTicket.json" + }, + "List web communication created on or after a specific date for a no-subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json" + }, + "List web communications for a no-subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSupportTicket.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { + "get": { + "operationId": "CommunicationsNoSubscription_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "communicationName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get communication details for a no-subscription support ticket": { + "$ref": "./examples/GetCommunicationDetailsForSupportTicket.json" + } + } + }, + "put": { + "operationId": "CommunicationsNoSubscription_Create", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "communicationName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "createCommunicationParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AddCommunicationToNoSubscriptionTicket": { + "$ref": "./examples/CreateNoSubscriptionSupportTicketCommunication.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/checkNameAvailability": { + "post": { + "operationId": "SupportTickets_CheckNameAvailability", + "parameters": [ + { + "name": "checkNameAvailabilityInput", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityOutput" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Checks whether name is available for a subscription support ticket resource": { + "$ref": "./examples/CheckNameAvailabilityWithSubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": { + "get": { + "operationId": "FileWorkspaces_Get", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/FileWorkspaceDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of a subscription file workspace": { + "$ref": "./examples/GetFileWorkspaceDetailsForSubscription.json" + } + } + }, + "put": { + "operationId": "FileWorkspaces_Create", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resource", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/FileWorkspaceDetails" + } + } + ], + "responses": { + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/FileWorkspaceDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create a file workspace for a subscription": { + "$ref": "./examples/CreateFileWorkspaceForSubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files": { + "get": { + "operationId": "Files_List", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/FilesListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List files under a workspace for a subscription": { + "$ref": "./examples/ListFilesForSubscriptionUnderFileWorkspace.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { + "get": { + "operationId": "Files_Get", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "fileName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/FileDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of a subscription file": { + "$ref": "./examples/GetFileDetailsForSubscription.json" + } + } + }, + "put": { + "operationId": "Files_Create", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "fileName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "createFileParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/FileDetails" + } + } + ], + "responses": { + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/FileDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create a file under a subscription workspace": { + "$ref": "./examples/CreateFileForSubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload": { + "post": { + "operationId": "Files_Upload", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "fileName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "uploadFile", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/UploadFile" + } + } + ], + "responses": { + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "UploadFileForSubscription": { + "$ref": "./examples/UploadFileForSubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets": { + "get": { + "operationId": "SupportTickets_List", + "parameters": [ + { + "name": "$top", + "in": "query", + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/SupportTicketsListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List support tickets created on or after a certain date and in open state for a subscription": { + "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.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 for a subscription": { + "$ref": "./examples/ListSupportTicketsBySubscription.json" + }, + "List support tickets in open state for a subscription": { + "$ref": "./examples/ListSupportTicketsInOpenStateBySubscription.json" + }, + "List support tickets in updating state for a subscription": { + "$ref": "./examples/ListSupportTicketsInUpdatingStateBySubscription.json" + }, + "List support tickets with a certain problem classification id for a subscription": { + "$ref": "./examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json" + }, + "List support tickets with a certain service id for a subscription": { + "$ref": "./examples/ListSupportTicketsServiceIdEqualsForSubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}": { + "get": { + "operationId": "SupportTickets_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of a subscription ticket": { + "$ref": "./examples/GetSubscriptionSupportTicketDetails.json" + } + } + }, + "put": { + "operationId": "SupportTickets_Create", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "createSupportTicketParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create a ticket for Billing related issues": { + "$ref": "./examples/CreateBillingSupportTicketForSubscription.json" + }, + "Create a ticket for Subscription Management related issues for a subscription": { + "$ref": "./examples/CreateSubMgmtSupportTicketForSubscription.json" + }, + "Create a ticket for Technical issue related to a specific resource for a subscription": { + "$ref": "./examples/CreateTechnicalSupportTicketForSubscription.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 Azure SQL managed instance": { + "$ref": "./examples/CreateSqlManagedInstanceQuotaTicket.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 Compute VM Cores": { + "$ref": "./examples/CreateCoresQuotaTicketForSubscription.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 DTUs for SQL Database": { + "$ref": "./examples/CreateSqlDatabaseQuotaTicketForDTUs.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 Low-priority cores for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.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 Servers for Azure Synapse Analytics": { + "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForServers.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 services that do not require additional details in the quotaTicketDetails object": { + "$ref": "./examples/CreateGenericQuotaTicket.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 specific VM family cores for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "SupportTickets_Update", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "updateSupportTicket", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateSupportTicket" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update advanced diagnostic consent of a subscription support ticket": { + "$ref": "./examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json" + }, + "Update contact details of a subscription support ticket": { + "$ref": "./examples/UpdateContactDetailsOfSupportTicketForSubscription.json" + }, + "Update severity of a subscription support ticket": { + "$ref": "./examples/UpdateSeverityOfSupportTicketForSubscription.json" + }, + "Update status of a subscription support ticket": { + "$ref": "./examples/UpdateStatusOfSupportTicketForSubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts": { + "get": { + "operationId": "ChatTranscripts_List", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ChatTranscriptsListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List chat transcripts for a subscription support ticket": { + "$ref": "./examples/ListChatTranscriptsForSubscriptionSupportTicket.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}": { + "get": { + "operationId": "ChatTranscripts_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "chatTranscriptName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ChatTranscriptDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get chat transcript details for a subscription support ticket": { + "$ref": "./examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": { + "post": { + "operationId": "Communications_CheckNameAvailability", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "checkNameAvailabilityInput", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityOutput" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Checks whether name is available for Communication resource for a subscription support ticket": { + "$ref": "./examples/CheckNameAvailabilityForSupportTicketCommunication.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": { + "get": { + "operationId": "Communications_List", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CommunicationsListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List communications for a subscription support ticket": { + "$ref": "./examples/ListCommunicationsForSubscriptionSupportTicket.json" + }, + "List web communication created on or after a specific date for a subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json" + }, + "List web communications for a subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicket.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { + "get": { + "operationId": "Communications_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "communicationName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get communication details for a subscription support ticket": { + "$ref": "./examples/GetCommunicationDetailsForSubscriptionSupportTicket.json" + } + } + }, + "put": { + "operationId": "Communications_Create", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "communicationName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "createCommunicationParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AddCommunicationToSubscriptionTicket": { + "$ref": "./examples/CreateSupportTicketCommunication.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "ChatTranscriptDetails": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ChatTranscriptDetailsProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ChatTranscriptDetailsProperties": { + "type": "object", + "properties": { + "messages": { + "type": "array", + "items": { + "$ref": "#/definitions/MessageProperties" + } + }, + "startTime": { + "type": "string", + "format": "date-time", + "readOnly": true + } + } + }, + "ChatTranscriptsListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + }, + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/ChatTranscriptDetails" + } + } + }, + "required": [ + "value" + ] + }, + "CheckNameAvailabilityInput": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Support/supportTickets", + "Microsoft.Support/communications" + ], + "x-ms-enum": { + "name": "Type", + "modelAsString": false + } + } + }, + "required": [ + "name", + "type" + ] + }, + "CheckNameAvailabilityOutput": { + "type": "object", + "properties": { + "nameAvailable": { + "type": "boolean", + "readOnly": true + }, + "reason": { + "type": "string", + "readOnly": true + }, + "message": { + "type": "string", + "readOnly": true + } + } + }, + "CommunicationDetails": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/CommunicationDetailsProperties", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "CommunicationDetailsProperties": { + "type": "object", + "properties": { + "communicationType": { + "type": "string", + "enum": [ + "web", + "phone" + ], + "x-ms-enum": { + "name": "CommunicationType", + "modelAsString": true + }, + "readOnly": true + }, + "communicationDirection": { + "type": "string", + "enum": [ + "inbound", + "outbound" + ], + "x-ms-enum": { + "name": "CommunicationDirection", + "modelAsString": true + }, + "readOnly": true + }, + "sender": { + "type": "string" + }, + "subject": { + "type": "string" + }, + "body": { + "type": "string" + }, + "createdDate": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "required": [ + "body", + "subject" + ] + }, + "CommunicationsListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + }, + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/CommunicationDetails" + } + } + }, + "required": [ + "value" + ] + }, + "ContactProfile": { + "type": "object", + "properties": { + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "preferredContactMethod": { + "type": "string", + "enum": [ + "email", + "phone" + ], + "x-ms-enum": { + "name": "PreferredContactMethod", + "modelAsString": true + } + }, + "primaryEmailAddress": { + "type": "string" + }, + "additionalEmailAddresses": { + "type": "array", + "items": { + "type": "string" + } + }, + "phoneNumber": { + "type": "string" + }, + "preferredTimeZone": { + "type": "string" + }, + "country": { + "type": "string" + }, + "preferredSupportLanguage": { + "type": "string" + } + }, + "required": [ + "country", + "firstName", + "lastName", + "preferredContactMethod", + "preferredSupportLanguage", + "preferredTimeZone", + "primaryEmailAddress" + ] + }, + "FileDetails": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/FileDetailsProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "FileDetailsProperties": { + "type": "object", + "properties": { + "createdOn": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "chunkSize": { + "type": "integer", + "format": "int32" + }, + "fileSize": { + "type": "integer", + "format": "int32" + }, + "numberOfChunks": { + "type": "integer", + "format": "int32" + } + } + }, + "FileWorkspaceDetails": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/FileWorkspaceDetailsProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "FileWorkspaceDetailsProperties": { + "type": "object", + "properties": { + "createdOn": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "expirationTime": { + "type": "string", + "format": "date-time", + "readOnly": true + } + } + }, + "FilesListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + }, + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/FileDetails" + } + } + }, + "required": [ + "value" + ] + }, + "MessageProperties": { + "type": "object", + "properties": { + "contentType": { + "$ref": "#/definitions/TranscriptContentType", + "readOnly": true + }, + "communicationDirection": { + "type": "string", + "enum": [ + "inbound", + "outbound" + ], + "x-ms-enum": { + "name": "CommunicationDirection", + "modelAsString": true + }, + "readOnly": true + }, + "sender": { + "type": "string" + }, + "body": { + "type": "string" + }, + "createdDate": { + "type": "string", + "format": "date-time", + "readOnly": true + } + } + }, + "ProblemClassification": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ProblemClassificationProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ProblemClassificationProperties": { + "type": "object", + "properties": { + "displayName": { + "type": "string" + }, + "secondaryConsentEnabled": { + "type": "array", + "items": { + "$ref": "#/definitions/SecondaryConsentEnabled" + } + } + } + }, + "ProblemClassificationsListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + }, + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/ProblemClassification" + } + } + } + }, + "QuotaChangeRequest": { + "type": "object", + "properties": { + "region": { + "type": "string" + }, + "payload": { + "type": "string" + } + } + }, + "QuotaTicketDetails": { + "type": "object", + "properties": { + "quotaChangeRequestSubType": { + "type": "string" + }, + "quotaChangeRequestVersion": { + "type": "string" + }, + "quotaChangeRequests": { + "type": "array", + "items": { + "$ref": "#/definitions/QuotaChangeRequest" + }, + "x-ms-identifiers": [ + "region" + ] + } + } + }, + "SecondaryConsent": { + "type": "object", + "properties": { + "userConsent": { + "type": "string", + "enum": [ + "Yes", + "No" + ], + "x-ms-enum": { + "name": "UserConsent", + "modelAsString": true + } + }, + "type": { + "type": "string" + } + } + }, + "SecondaryConsentEnabled": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "Service": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ServiceProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ServiceLevelAgreement": { + "type": "object", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "expirationTime": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "slaMinutes": { + "type": "integer", + "format": "int32", + "readOnly": true + } + } + }, + "ServiceProperties": { + "type": "object", + "properties": { + "displayName": { + "type": "string" + }, + "resourceTypes": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ServicesListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + }, + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/Service" + } + } + } + }, + "SupportEngineer": { + "type": "object", + "properties": { + "emailAddress": { + "type": "string", + "readOnly": true + } + } + }, + "SupportTicketDetails": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/SupportTicketDetailsProperties", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "SupportTicketDetailsProperties": { + "type": "object", + "properties": { + "supportTicketId": { + "type": "string" + }, + "description": { + "type": "string" + }, + "problemClassificationId": { + "type": "string" + }, + "problemClassificationDisplayName": { + "type": "string", + "readOnly": true + }, + "severity": { + "type": "string", + "enum": [ + "minimal", + "moderate", + "critical", + "highestcriticalimpact" + ], + "x-ms-enum": { + "name": "SeverityLevel", + "modelAsString": true + } + }, + "enrollmentId": { + "type": "string" + }, + "require24X7Response": { + "type": "boolean" + }, + "advancedDiagnosticConsent": { + "type": "string", + "enum": [ + "Yes", + "No" + ], + "x-ms-enum": { + "name": "Consent", + "modelAsString": true + } + }, + "problemScopingQuestions": { + "type": "string" + }, + "supportPlanId": { + "type": "string" + }, + "contactDetails": { + "$ref": "#/definitions/ContactProfile" + }, + "serviceLevelAgreement": { + "$ref": "#/definitions/ServiceLevelAgreement" + }, + "supportEngineer": { + "$ref": "#/definitions/SupportEngineer" + }, + "supportPlanType": { + "type": "string", + "readOnly": true + }, + "supportPlanDisplayName": { + "type": "string", + "readOnly": true + }, + "title": { + "type": "string" + }, + "problemStartTime": { + "type": "string", + "format": "date-time" + }, + "serviceId": { + "type": "string" + }, + "serviceDisplayName": { + "type": "string", + "readOnly": true + }, + "status": { + "type": "string", + "readOnly": true + }, + "createdDate": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedDate": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "fileWorkspaceName": { + "type": "string" + }, + "isTemporaryTicket": { + "type": "string", + "enum": [ + "Yes", + "No" + ], + "x-ms-enum": { + "name": "IsTemporaryTicket", + "modelAsString": true + }, + "readOnly": true + }, + "technicalTicketDetails": { + "$ref": "#/definitions/TechnicalTicketDetails" + }, + "quotaTicketDetails": { + "$ref": "#/definitions/QuotaTicketDetails" + }, + "secondaryConsent": { + "type": "array", + "items": { + "$ref": "#/definitions/SecondaryConsent" + } + } + }, + "required": [ + "advancedDiagnosticConsent", + "contactDetails", + "description", + "problemClassificationId", + "serviceId", + "severity", + "title" + ] + }, + "SupportTicketsListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + }, + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/SupportTicketDetails" + } + } + }, + "required": [ + "value" + ] + }, + "TechnicalTicketDetails": { + "type": "object", + "properties": { + "resourceId": { + "type": "string" + } + } + }, + "TranscriptContentType": { + "type": "string", + "x-nullable": false + }, + "UpdateContactProfile": { + "type": "object", + "properties": { + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "preferredContactMethod": { + "type": "string", + "enum": [ + "email", + "phone" + ], + "x-ms-enum": { + "name": "PreferredContactMethod", + "modelAsString": true + } + }, + "primaryEmailAddress": { + "type": "string" + }, + "additionalEmailAddresses": { + "type": "array", + "items": { + "type": "string" + } + }, + "phoneNumber": { + "type": "string" + }, + "preferredTimeZone": { + "type": "string" + }, + "country": { + "type": "string" + }, + "preferredSupportLanguage": { + "type": "string" + } + } + }, + "UpdateSupportTicket": { + "type": "object", + "properties": { + "severity": { + "type": "string", + "enum": [ + "minimal", + "moderate", + "critical", + "highestcriticalimpact" + ], + "x-ms-enum": { + "name": "SeverityLevel", + "modelAsString": true + } + }, + "status": { + "type": "string", + "enum": [ + "open", + "closed" + ], + "x-ms-enum": { + "name": "Status", + "modelAsString": true + } + }, + "contactDetails": { + "$ref": "#/definitions/UpdateContactProfile" + }, + "advancedDiagnosticConsent": { + "type": "string", + "enum": [ + "Yes", + "No" + ], + "x-ms-enum": { + "name": "Consent", + "modelAsString": true + } + }, + "secondaryConsent": { + "type": "array", + "items": { + "$ref": "#/definitions/SecondaryConsent" + } + } + } + }, + "UploadFile": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "chunkIndex": { + "type": "integer", + "format": "int32" + } + } + } + }, + "parameters": {} +} \ No newline at end of file diff --git a/specification/support-diff/oldNormalizedSwagger.json b/specification/support-diff/oldNormalizedSwagger.json new file mode 100644 index 000000000000..6ebc555001e9 --- /dev/null +++ b/specification/support-diff/oldNormalizedSwagger.json @@ -0,0 +1,2487 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft.Support", + "version": "2024-04-01", + "description": "Microsoft Azure Support Resource Provider." + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "paths": { + "/providers/Microsoft.Support/checkNameAvailability": { + "post": { + "operationId": "SupportTicketsNoSubscription_CheckNameAvailability", + "parameters": [ + { + "name": "checkNameAvailabilityInput", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityOutput" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Checks whether name is available for SupportTicket resource": { + "$ref": "./examples/CheckNameAvailability.json" + } + } + } + }, + "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": { + "get": { + "operationId": "FileWorkspacesNoSubscription_Get", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/FileWorkspaceDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of a file workspace": { + "$ref": "./examples/GetFileWorkspaceDetails.json" + } + } + }, + "put": { + "operationId": "FileWorkspacesNoSubscription_Create", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" + } + ], + "responses": { + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/FileWorkspaceDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create a file workspace": { + "$ref": "./examples/CreateFileWorkspace.json" + } + } + } + }, + "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files": { + "get": { + "operationId": "FilesNoSubscription_List", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/FilesListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List files under a workspace": { + "$ref": "./examples/ListFilesUnderFileWorkspace.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { + "get": { + "operationId": "FilesNoSubscription_Get", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "fileName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/FileDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of a subscription file": { + "$ref": "./examples/GetFileDetails.json" + } + } + }, + "put": { + "operationId": "FilesNoSubscription_Create", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" + }, + { + "name": "fileName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "createFileParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/FileDetails" + } + } + ], + "responses": { + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/FileDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create a file workspace": { + "$ref": "./examples/CreateFile.json" + } + } + } + }, + "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload": { + "post": { + "operationId": "FilesNoSubscription_Upload", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "fileName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "uploadFile", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/UploadFile" + } + } + ], + "responses": { + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "UploadFile": { + "$ref": "./examples/UploadFile.json" + } + } + } + }, + "/providers/Microsoft.Support/operations": { + "get": { + "operationId": "Operations_List", + "parameters": [], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/OperationsListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get all operations": { + "$ref": "./examples/ListOperations.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Support/services": { + "get": { + "operationId": "Services_List", + "parameters": [], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ServicesListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets list of services for which a support ticket can be created": { + "$ref": "./examples/ListServices.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Support/services/{serviceName}": { + "get": { + "operationId": "Services_Get", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Service" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets details of the Azure service": { + "$ref": "./examples/GetService.json" + } + } + } + }, + "/providers/Microsoft.Support/services/{serviceName}/problemClassifications": { + "get": { + "operationId": "ProblemClassifications_List", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ProblemClassificationsListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets list of problemClassifications for a service for which a support ticket can be created": { + "$ref": "./examples/ListProblemClassifications.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Support/services/{serviceName}/problemClassifications/{problemClassificationName}": { + "get": { + "operationId": "ProblemClassifications_Get", + "parameters": [ + { + "name": "serviceName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "problemClassificationName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ProblemClassification" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets details of problemClassification for Azure service": { + "$ref": "./examples/GetProblemClassification.json" + } + } + } + }, + "/providers/Microsoft.Support/supportTickets": { + "get": { + "operationId": "SupportTicketsNoSubscription_List", + "parameters": [ + { + "name": "$top", + "in": "query", + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/SupportTicketsListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List support tickets": { + "$ref": "./examples/ListSupportTickets.json" + }, + "List support tickets created on or after a certain date and in open state": { + "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json" + }, + "List support tickets created on or after a certain date and in updating state": { + "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json" + }, + "List support tickets in open state": { + "$ref": "./examples/ListSupportTicketsInOpenState.json" + }, + "List support tickets in updating state": { + "$ref": "./examples/ListSupportTicketsInUpdatingState.json" + }, + "List support tickets with a certain problem classification id": { + "$ref": "./examples/ListSupportTicketsProblemClassificationIdEquals.json" + }, + "List support tickets with a certain service id": { + "$ref": "./examples/ListSupportTicketsServiceIdEquals.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}": { + "get": { + "operationId": "SupportTicketsNoSubscription_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of a ticket": { + "$ref": "./examples/GetSupportTicketDetails.json" + } + } + }, + "put": { + "operationId": "SupportTicketsNoSubscription_Create", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "createSupportTicketParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "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" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "SupportTicketsNoSubscription_Update", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "updateSupportTicket", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateSupportTicket" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update advanced diagnostic consent of a support ticket": { + "$ref": "./examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json" + }, + "Update contact details of a support ticket": { + "$ref": "./examples/UpdateContactDetailsOfSupportTicket.json" + }, + "Update severity of a support ticket": { + "$ref": "./examples/UpdateSeverityOfSupportTicket.json" + }, + "Update status of a support ticket": { + "$ref": "./examples/UpdateStatusOfSupportTicket.json" + } + } + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts": { + "get": { + "operationId": "ChatTranscriptsNoSubscription_List", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ChatTranscriptsListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List chat transcripts for a no-subscription support ticket": { + "$ref": "./examples/ListChatTranscriptsForSupportTicket.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}": { + "get": { + "operationId": "ChatTranscriptsNoSubscription_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "chatTranscriptName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ChatTranscriptDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get chat transcript details for a subscription support ticket": { + "$ref": "./examples/GetchatTranscriptDetailsForSupportTicket.json" + } + } + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": { + "post": { + "operationId": "CommunicationsNoSubscription_CheckNameAvailability", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "checkNameAvailabilityInput", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityOutput" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Checks whether name is available for Communication resource": { + "$ref": "./examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json" + } + } + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": { + "get": { + "operationId": "CommunicationsNoSubscription_List", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CommunicationsListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List communications for a no-subscription support ticket": { + "$ref": "./examples/ListCommunicationsForSupportTicket.json" + }, + "List web communication created on or after a specific date for a no-subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json" + }, + "List web communications for a no-subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSupportTicket.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { + "get": { + "operationId": "CommunicationsNoSubscription_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "communicationName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get communication details for a no-subscription support ticket": { + "$ref": "./examples/GetCommunicationDetailsForSupportTicket.json" + } + } + }, + "put": { + "operationId": "CommunicationsNoSubscription_Create", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "communicationName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "createCommunicationParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AddCommunicationToNoSubscriptionTicket": { + "$ref": "./examples/CreateNoSubscriptionSupportTicketCommunication.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/checkNameAvailability": { + "post": { + "operationId": "SupportTickets_CheckNameAvailability", + "parameters": [ + { + "name": "checkNameAvailabilityInput", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityOutput" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Checks whether name is available for a subscription support ticket resource": { + "$ref": "./examples/CheckNameAvailabilityWithSubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": { + "get": { + "operationId": "FileWorkspaces_Get", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/FileWorkspaceDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of a subscription file workspace": { + "$ref": "./examples/GetFileWorkspaceDetailsForSubscription.json" + } + } + }, + "put": { + "operationId": "FileWorkspaces_Create", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" + } + ], + "responses": { + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/FileWorkspaceDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create a file workspace for a subscription": { + "$ref": "./examples/CreateFileWorkspaceForSubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files": { + "get": { + "operationId": "Files_List", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/FilesListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List files under a workspace for a subscription": { + "$ref": "./examples/ListFilesForSubscriptionUnderFileWorkspace.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { + "get": { + "operationId": "Files_Get", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "fileName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/FileDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of a subscription file": { + "$ref": "./examples/GetFileDetailsForSubscription.json" + } + } + }, + "put": { + "operationId": "Files_Create", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" + }, + { + "name": "fileName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "createFileParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/FileDetails" + } + } + ], + "responses": { + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/FileDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create a file under a subscription workspace": { + "$ref": "./examples/CreateFileForSubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload": { + "post": { + "operationId": "Files_Upload", + "parameters": [ + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "fileName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "uploadFile", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/UploadFile" + } + } + ], + "responses": { + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "UploadFileForSubscription": { + "$ref": "./examples/UploadFileForSubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets": { + "get": { + "operationId": "SupportTickets_List", + "parameters": [ + { + "name": "$top", + "in": "query", + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/SupportTicketsListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List support tickets created on or after a certain date and in open state for a subscription": { + "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.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 for a subscription": { + "$ref": "./examples/ListSupportTicketsBySubscription.json" + }, + "List support tickets in open state for a subscription": { + "$ref": "./examples/ListSupportTicketsInOpenStateBySubscription.json" + }, + "List support tickets in updating state for a subscription": { + "$ref": "./examples/ListSupportTicketsInUpdatingStateBySubscription.json" + }, + "List support tickets with a certain problem classification id for a subscription": { + "$ref": "./examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json" + }, + "List support tickets with a certain service id for a subscription": { + "$ref": "./examples/ListSupportTicketsServiceIdEqualsForSubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}": { + "get": { + "operationId": "SupportTickets_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get details of a subscription ticket": { + "$ref": "./examples/GetSubscriptionSupportTicketDetails.json" + } + } + }, + "put": { + "operationId": "SupportTickets_Create", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "createSupportTicketParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create a ticket for Billing related issues": { + "$ref": "./examples/CreateBillingSupportTicketForSubscription.json" + }, + "Create a ticket for Subscription Management related issues for a subscription": { + "$ref": "./examples/CreateSubMgmtSupportTicketForSubscription.json" + }, + "Create a ticket for Technical issue related to a specific resource for a subscription": { + "$ref": "./examples/CreateTechnicalSupportTicketForSubscription.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 Azure SQL managed instance": { + "$ref": "./examples/CreateSqlManagedInstanceQuotaTicket.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 Compute VM Cores": { + "$ref": "./examples/CreateCoresQuotaTicketForSubscription.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 DTUs for SQL Database": { + "$ref": "./examples/CreateSqlDatabaseQuotaTicketForDTUs.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 Low-priority cores for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.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 Servers for Azure Synapse Analytics": { + "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForServers.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 services that do not require additional details in the quotaTicketDetails object": { + "$ref": "./examples/CreateGenericQuotaTicket.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 specific VM family cores for a Batch account": { + "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "SupportTickets_Update", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "updateSupportTicket", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateSupportTicket" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update advanced diagnostic consent of a subscription support ticket": { + "$ref": "./examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json" + }, + "Update contact details of a subscription support ticket": { + "$ref": "./examples/UpdateContactDetailsOfSupportTicketForSubscription.json" + }, + "Update severity of a subscription support ticket": { + "$ref": "./examples/UpdateSeverityOfSupportTicketForSubscription.json" + }, + "Update status of a subscription support ticket": { + "$ref": "./examples/UpdateStatusOfSupportTicketForSubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts": { + "get": { + "operationId": "ChatTranscripts_List", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ChatTranscriptsListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List chat transcripts for a subscription support ticket": { + "$ref": "./examples/ListChatTranscriptsForSubscriptionSupportTicket.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}": { + "get": { + "operationId": "ChatTranscripts_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "chatTranscriptName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ChatTranscriptDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get chat transcript details for a subscription support ticket": { + "$ref": "./examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": { + "post": { + "operationId": "Communications_CheckNameAvailability", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "checkNameAvailabilityInput", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityOutput" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Checks whether name is available for Communication resource for a subscription support ticket": { + "$ref": "./examples/CheckNameAvailabilityForSupportTicketCommunication.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": { + "get": { + "operationId": "Communications_List", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CommunicationsListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List communications for a subscription support ticket": { + "$ref": "./examples/ListCommunicationsForSubscriptionSupportTicket.json" + }, + "List web communication created on or after a specific date for a subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json" + }, + "List web communications for a subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicket.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { + "get": { + "operationId": "Communications_Get", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "communicationName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get communication details for a subscription support ticket": { + "$ref": "./examples/GetCommunicationDetailsForSubscriptionSupportTicket.json" + } + } + }, + "put": { + "operationId": "Communications_Create", + "parameters": [ + { + "name": "supportTicketName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "communicationName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "createCommunicationParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "202": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AddCommunicationToSubscriptionTicket": { + "$ref": "./examples/CreateSupportTicketCommunication.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "ChatTranscriptDetails": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ChatTranscriptDetailsProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ChatTranscriptDetailsProperties": { + "type": "object", + "properties": { + "messages": { + "type": "array", + "items": { + "$ref": "#/definitions/MessageProperties" + } + }, + "startTime": { + "type": "string", + "format": "date-time", + "readOnly": true + } + } + }, + "ChatTranscriptsListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/ChatTranscriptDetails" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "CheckNameAvailabilityInput": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Support/supportTickets", + "Microsoft.Support/communications" + ], + "x-ms-enum": { + "name": "Type", + "modelAsString": false + } + } + }, + "required": [ + "name", + "type" + ] + }, + "CheckNameAvailabilityOutput": { + "type": "object", + "properties": { + "nameAvailable": { + "type": "boolean", + "readOnly": true + }, + "reason": { + "type": "string", + "readOnly": true + }, + "message": { + "type": "string", + "readOnly": true + } + } + }, + "CommunicationDetails": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/CommunicationDetailsProperties", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ] + }, + "CommunicationDetailsProperties": { + "type": "object", + "properties": { + "communicationType": { + "type": "string", + "enum": [ + "web", + "phone" + ], + "x-ms-enum": { + "name": "CommunicationType", + "modelAsString": true + }, + "readOnly": true + }, + "communicationDirection": { + "type": "string", + "enum": [ + "inbound", + "outbound" + ], + "x-ms-enum": { + "name": "CommunicationDirection", + "modelAsString": true + }, + "readOnly": true + }, + "sender": { + "type": "string" + }, + "subject": { + "type": "string" + }, + "body": { + "type": "string" + }, + "createdDate": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "required": [ + "body", + "subject" + ] + }, + "CommunicationsListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/CommunicationDetails" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "ContactProfile": { + "type": "object", + "properties": { + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "preferredContactMethod": { + "type": "string", + "enum": [ + "email", + "phone" + ], + "x-ms-enum": { + "name": "PreferredContactMethod", + "modelAsString": true + } + }, + "primaryEmailAddress": { + "type": "string" + }, + "additionalEmailAddresses": { + "type": "array", + "items": { + "type": "string" + } + }, + "phoneNumber": { + "type": "string" + }, + "preferredTimeZone": { + "type": "string" + }, + "country": { + "type": "string" + }, + "preferredSupportLanguage": { + "type": "string" + } + }, + "required": [ + "country", + "firstName", + "lastName", + "preferredContactMethod", + "preferredSupportLanguage", + "preferredTimeZone", + "primaryEmailAddress" + ] + }, + "FileDetails": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/FileDetailsProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "FileDetailsProperties": { + "type": "object", + "properties": { + "createdOn": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "chunkSize": { + "type": "integer", + "format": "int32" + }, + "fileSize": { + "type": "integer", + "format": "int32" + }, + "numberOfChunks": { + "type": "integer", + "format": "int32" + } + } + }, + "FileWorkspaceDetails": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/FileWorkspaceDetailsProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "FileWorkspaceDetailsProperties": { + "type": "object", + "properties": { + "createdOn": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "expirationTime": { + "type": "string", + "format": "date-time", + "readOnly": true + } + } + }, + "FilesListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/FileDetails" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "MessageProperties": { + "type": "object", + "properties": { + "contentType": { + "type": "string", + "x-ms-enum": { + "name": "TranscriptContentType", + "modelAsString": true + }, + "readOnly": true + }, + "communicationDirection": { + "type": "string", + "enum": [ + "inbound", + "outbound" + ], + "x-ms-enum": { + "name": "CommunicationDirection", + "modelAsString": true + }, + "readOnly": true + }, + "sender": { + "type": "string" + }, + "body": { + "type": "string" + }, + "createdDate": { + "type": "string", + "format": "date-time", + "readOnly": true + } + } + }, + "Operation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "readOnly": true + }, + "display": { + "properties": { + "description": { + "type": "string", + "description": "The description of the operation.", + "readOnly": true + }, + "operation": { + "type": "string", + "description": "The action that users can perform, based on their permission level.", + "readOnly": true + }, + "provider": { + "type": "string", + "description": "Service provider: Microsoft Support.", + "readOnly": true + }, + "resource": { + "type": "string", + "description": "Resource on which the operation is performed.", + "readOnly": true + } + } + } + } + }, + "OperationsListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "ProblemClassification": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/ProblemClassificationProperties", + "x-ms-client-flatten": true + } + } + }, + "ProblemClassificationProperties": { + "type": "object", + "properties": { + "displayName": { + "type": "string" + }, + "secondaryConsentEnabled": { + "type": "array", + "items": { + "$ref": "#/definitions/SecondaryConsentEnabled" + } + } + } + }, + "ProblemClassificationsListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ProblemClassification" + } + } + } + }, + "QuotaChangeRequest": { + "type": "object", + "properties": { + "region": { + "type": "string" + }, + "payload": { + "type": "string" + } + } + }, + "QuotaTicketDetails": { + "type": "object", + "properties": { + "quotaChangeRequestSubType": { + "type": "string" + }, + "quotaChangeRequestVersion": { + "type": "string" + }, + "quotaChangeRequests": { + "type": "array", + "items": { + "$ref": "#/definitions/QuotaChangeRequest" + }, + "x-ms-identifiers": [ + "region" + ] + } + } + }, + "SecondaryConsent": { + "type": "object", + "properties": { + "userConsent": { + "type": "string", + "enum": [ + "Yes", + "No" + ], + "x-ms-enum": { + "name": "UserConsent", + "modelAsString": true + } + }, + "type": { + "type": "string" + } + } + }, + "SecondaryConsentEnabled": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "Service": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/ServiceProperties", + "x-ms-client-flatten": true + } + } + }, + "ServiceLevelAgreement": { + "type": "object", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "expirationTime": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "slaMinutes": { + "type": "integer", + "format": "int32", + "readOnly": true + } + } + }, + "ServiceProperties": { + "type": "object", + "properties": { + "displayName": { + "type": "string" + }, + "resourceTypes": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ServicesListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Service" + } + } + } + }, + "SupportEngineer": { + "type": "object", + "properties": { + "emailAddress": { + "type": "string", + "readOnly": true + } + } + }, + "SupportTicketDetails": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/SupportTicketDetailsProperties", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ] + }, + "SupportTicketDetailsProperties": { + "type": "object", + "properties": { + "supportTicketId": { + "type": "string" + }, + "description": { + "type": "string" + }, + "problemClassificationId": { + "type": "string" + }, + "problemClassificationDisplayName": { + "type": "string", + "readOnly": true + }, + "severity": { + "type": "string", + "enum": [ + "minimal", + "moderate", + "critical", + "highestcriticalimpact" + ], + "x-ms-enum": { + "name": "SeverityLevel", + "modelAsString": true + } + }, + "enrollmentId": { + "type": "string" + }, + "require24X7Response": { + "type": "boolean" + }, + "advancedDiagnosticConsent": { + "type": "string", + "enum": [ + "Yes", + "No" + ], + "x-ms-enum": { + "name": "Consent", + "modelAsString": true + } + }, + "problemScopingQuestions": { + "type": "string" + }, + "supportPlanId": { + "type": "string" + }, + "contactDetails": { + "$ref": "#/definitions/ContactProfile" + }, + "serviceLevelAgreement": { + "$ref": "#/definitions/ServiceLevelAgreement" + }, + "supportEngineer": { + "$ref": "#/definitions/SupportEngineer" + }, + "supportPlanType": { + "type": "string", + "readOnly": true + }, + "supportPlanDisplayName": { + "type": "string", + "readOnly": true + }, + "title": { + "type": "string" + }, + "problemStartTime": { + "type": "string", + "format": "date-time" + }, + "serviceId": { + "type": "string" + }, + "serviceDisplayName": { + "type": "string", + "readOnly": true + }, + "status": { + "type": "string", + "readOnly": true + }, + "createdDate": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedDate": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "fileWorkspaceName": { + "type": "string" + }, + "isTemporaryTicket": { + "type": "string", + "enum": [ + "Yes", + "No" + ], + "x-ms-enum": { + "name": "IsTemporaryTicket", + "modelAsString": true + }, + "readOnly": true + }, + "technicalTicketDetails": { + "$ref": "#/definitions/TechnicalTicketDetails" + }, + "quotaTicketDetails": { + "$ref": "#/definitions/QuotaTicketDetails" + }, + "secondaryConsent": { + "type": "array", + "items": { + "$ref": "#/definitions/SecondaryConsent" + } + } + }, + "required": [ + "advancedDiagnosticConsent", + "contactDetails", + "description", + "problemClassificationId", + "serviceId", + "severity", + "title" + ] + }, + "SupportTicketsListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/SupportTicketDetails" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "TechnicalTicketDetails": { + "type": "object", + "properties": { + "resourceId": { + "type": "string" + } + } + }, + "UpdateContactProfile": { + "type": "object", + "properties": { + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "preferredContactMethod": { + "type": "string", + "enum": [ + "email", + "phone" + ], + "x-ms-enum": { + "name": "PreferredContactMethod", + "modelAsString": true + } + }, + "primaryEmailAddress": { + "type": "string" + }, + "additionalEmailAddresses": { + "type": "array", + "items": { + "type": "string" + } + }, + "phoneNumber": { + "type": "string" + }, + "preferredTimeZone": { + "type": "string" + }, + "country": { + "type": "string" + }, + "preferredSupportLanguage": { + "type": "string" + } + } + }, + "UpdateSupportTicket": { + "type": "object", + "properties": { + "severity": { + "type": "string", + "enum": [ + "minimal", + "moderate", + "critical", + "highestcriticalimpact" + ], + "x-ms-enum": { + "name": "SeverityLevel", + "modelAsString": true + } + }, + "status": { + "type": "string", + "enum": [ + "open", + "closed" + ], + "x-ms-enum": { + "name": "Status", + "modelAsString": true + } + }, + "contactDetails": { + "$ref": "#/definitions/UpdateContactProfile" + }, + "advancedDiagnosticConsent": { + "type": "string", + "enum": [ + "Yes", + "No" + ], + "x-ms-enum": { + "name": "Consent", + "modelAsString": true + } + }, + "secondaryConsent": { + "type": "array", + "items": { + "$ref": "#/definitions/SecondaryConsent" + } + } + } + }, + "UploadFile": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "chunkIndex": { + "type": "integer", + "format": "int32" + } + } + } + }, + "parameters": {} +} \ No newline at end of file From 645ee1daa2ab2342d77992a741e8994da5f8f294 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Tue, 8 Jul 2025 08:26:16 +0000 Subject: [PATCH 15/38] add @clientLocation and remove @operationId --- .../support/Support.Management/back-compatible.tsp | 6 ++++++ specification/support/Support.Management/routes.tsp | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/specification/support/Support.Management/back-compatible.tsp b/specification/support/Support.Management/back-compatible.tsp index b4f4314f01f2..d2ab6a130a6d 100644 --- a/specification/support/Support.Management/back-compatible.tsp +++ b/specification/support/Support.Management/back-compatible.tsp @@ -59,3 +59,9 @@ using Microsoft.Support; @@clientName(FilesNoSubscription.upload::parameters.body, "uploadFile"); #suppress "deprecated" "@flattenProperty decorator is not recommended to use." @@flattenProperty(FileDetails.properties); + +// @@clientLocation decorators for operations with custom @operationId +// These ensure consistent operationId generation in the output +@@clientLocation(SupportTicketsOperationGroup.checkNameAvailability, + "SupportTickets" +); diff --git a/specification/support/Support.Management/routes.tsp b/specification/support/Support.Management/routes.tsp index c7bfb002e776..839515a658a6 100644 --- a/specification/support/Support.Management/routes.tsp +++ b/specification/support/Support.Management/routes.tsp @@ -19,7 +19,6 @@ interface SupportTicketsOperationGroup { * 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. */ #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" - @operationId("SupportTickets_CheckNameAvailability") @autoRoute checkNameAvailability is ArmProviderActionSync< Request = CheckNameAvailabilityInput, From da42cd507ebdbe4a2c6a2d739f03fdd2f27640a7 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Tue, 8 Jul 2025 08:44:26 +0000 Subject: [PATCH 16/38] use @clientLocation to replace @operationId --- specification/support-diff/API_CHANGES.md | 15 +- specification/support-diff/diff.json | 321 ++++++++++++++++++ .../support-diff/newNormalizedSwagger.json | 10 +- .../support-diff/oldNormalizedSwagger.json | 2 + .../SupportTicketDetails.tsp | 3 +- .../Support.Management/back-compatible.tsp | 9 +- .../support/Support.Management/routes.tsp | 1 - .../stable/2024-04-01/support.json | 8 +- 8 files changed, 343 insertions(+), 26 deletions(-) create mode 100644 specification/support-diff/diff.json diff --git a/specification/support-diff/API_CHANGES.md b/specification/support-diff/API_CHANGES.md index 135a200dac7b..877987253d68 100644 --- a/specification/support-diff/API_CHANGES.md +++ b/specification/support-diff/API_CHANGES.md @@ -1,11 +1,5 @@ ## Swagger Changes -### Changes for `x-typespec-generated` - -| Path | Change Type | Value | -|------|------------|-------| -| `info['x-typespec-generated__added']` | added | `[{"emitter":"@azure-tools/typespec-autorest"}]` | - ### Changes for `pattern` | Path | Change Type | Value | @@ -17,13 +11,13 @@ | Path | Change Type | Value | |------|------------|-------| -| `definitions.Operation__deleted` | deleted | `{"type":"object","properties":{"name":{"type":"string","readOnly":true},"display":{"properties":{"de...` | +| `definitions.Operation__deleted` | deleted | `{"type":"object","properties":{"name":{"type":"string","readOnly":true},"display":{"type":"object","...` | ### Changes for `OperationsListResult` | Path | Change Type | Value | |------|------------|-------| -| `definitions.OperationsListResult__deleted` | deleted | `{"properties":{"value":{"type":"array","items":{"$ref":"#/definitions/Operation"},"x-ms-identifiers"...` | +| `definitions.OperationsListResult__deleted` | deleted | `{"type":"object","properties":{"value":{"type":"array","items":{"$ref":"#/definitions/Operation"},"x...` | ### Changes for `TranscriptContentType` @@ -72,7 +66,6 @@ | Path | Change Type | Value | |------|------------|-------| | `definitions.CommunicationDetails.properties.type__deleted` | deleted | `{"type":"string","readOnly":true}` | -| `definitions.MessageProperties.properties.contentType.type__deleted` | deleted | `string` | | `definitions.ProblemClassification.properties.type__deleted` | deleted | `{"type":"string","readOnly":true}` | | `definitions.Service.properties.type__deleted` | deleted | `{"type":"string","readOnly":true}` | | `definitions.SupportTicketDetails.properties.type__deleted` | deleted | `{"type":"string","readOnly":true}` | @@ -83,11 +76,11 @@ |------|------------|-------| | `definitions.MessageProperties.properties.contentType['x-ms-enum__deleted']` | deleted | `{"name":"TranscriptContentType","modelAsString":true}` | -### Changes for `$ref` +### Changes for `x-nullable` | Path | Change Type | Value | |------|------------|-------| -| `definitions.MessageProperties.properties.contentType.$ref__added` | added | `#/definitions/TranscriptContentType` | +| `definitions.MessageProperties.properties.contentType['x-nullable__added']` | added | `false` | ### Changes for `description` diff --git a/specification/support-diff/diff.json b/specification/support-diff/diff.json new file mode 100644 index 000000000000..4a23bac9b155 --- /dev/null +++ b/specification/support-diff/diff.json @@ -0,0 +1,321 @@ +{ + "paths": { + "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": { + "put": { + "parameters": [ + [ + "~", + { + "pattern__deleted": "^[0-9a-zA-Z_\\-. ]+$" + } + ], + [ + "+", + { + "name": "resource", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/FileWorkspaceDetails" + } + } + ] + ] + } + }, + "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { + "put": { + "parameters": [ + [ + "-", + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" + } + ], + [ + "+", + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + } + ], + [ + " " + ], + [ + " " + ] + ] + } + }, + "/providers/Microsoft.Support/operations": { + "get": { + "responses": { + "200": { + "schema": { + "$ref": { + "__old": "#/definitions/OperationsListResult", + "__new": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": { + "put": { + "parameters": [ + [ + "~", + { + "pattern__deleted": "^[0-9a-zA-Z_\\-. ]+$" + } + ], + [ + "+", + { + "name": "resource", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/FileWorkspaceDetails" + } + } + ] + ] + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { + "put": { + "parameters": [ + [ + "-", + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" + } + ], + [ + "+", + { + "name": "fileWorkspaceName", + "in": "path", + "required": true, + "type": "string" + } + ], + [ + " " + ], + [ + " " + ] + ] + } + } + }, + "definitions": { + "Operation__deleted": { + "type": "object", + "properties": { + "name": { + "type": "string", + "readOnly": true + }, + "display": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The description of the operation.", + "readOnly": true + }, + "operation": { + "type": "string", + "description": "The action that users can perform, based on their permission level.", + "readOnly": true + }, + "provider": { + "type": "string", + "description": "Service provider: Microsoft Support.", + "readOnly": true + }, + "resource": { + "type": "string", + "description": "Resource on which the operation is performed.", + "readOnly": true + } + } + } + } + }, + "OperationsListResult__deleted": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "TranscriptContentType__added": { + "type": "string", + "x-nullable": false + }, + "ChatTranscriptsListResult": { + "required__added": [ + "value" + ] + }, + "CommunicationDetails": { + "allOf__added": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "id__deleted": { + "type": "string", + "readOnly": true + }, + "name__deleted": { + "type": "string", + "readOnly": true + }, + "type__deleted": { + "type": "string", + "readOnly": true + } + } + }, + "CommunicationsListResult": { + "required__added": [ + "value" + ] + }, + "FilesListResult": { + "required__added": [ + "value" + ] + }, + "MessageProperties": { + "properties": { + "contentType": { + "x-ms-enum__deleted": { + "name": "TranscriptContentType", + "modelAsString": true + }, + "x-nullable__added": false + } + } + }, + "ProblemClassification": { + "allOf__added": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "id__deleted": { + "type": "string", + "readOnly": true + }, + "name__deleted": { + "type": "string", + "readOnly": true + }, + "type__deleted": { + "type": "string", + "readOnly": true + } + } + }, + "ProblemClassificationsListResult": { + "description__added": "[Placeholder] Discription for page model", + "properties": { + "nextLink__added": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + }, + "value": { + "description__added": "[Placeholder] Discription for value property" + } + } + }, + "Service": { + "allOf__added": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "id__deleted": { + "type": "string", + "readOnly": true + }, + "name__deleted": { + "type": "string", + "readOnly": true + }, + "type__deleted": { + "type": "string", + "readOnly": true + } + } + }, + "ServicesListResult": { + "description__added": "[Placeholder] Discription for page model", + "properties": { + "nextLink__added": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + }, + "value": { + "description__added": "[Placeholder] Discription for value property" + } + } + }, + "SupportTicketDetails": { + "allOf__added": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "id__deleted": { + "type": "string", + "readOnly": true + }, + "name__deleted": { + "type": "string", + "readOnly": true + }, + "type__deleted": { + "type": "string", + "readOnly": true + } + } + }, + "SupportTicketsListResult": { + "required__added": [ + "value" + ] + } + } +} \ No newline at end of file diff --git a/specification/support-diff/newNormalizedSwagger.json b/specification/support-diff/newNormalizedSwagger.json index 8739a40197c5..38f333048b3b 100644 --- a/specification/support-diff/newNormalizedSwagger.json +++ b/specification/support-diff/newNormalizedSwagger.json @@ -3,12 +3,7 @@ "info": { "title": "Microsoft.Support", "version": "2024-04-01", - "description": "Microsoft Azure Support Resource Provider.", - "x-typespec-generated": [ - { - "emitter": "@azure-tools/typespec-autorest" - } - ] + "description": "Microsoft Azure Support Resource Provider." }, "produces": [ "application/json" @@ -1952,7 +1947,8 @@ "type": "object", "properties": { "contentType": { - "$ref": "#/definitions/TranscriptContentType", + "type": "string", + "x-nullable": false, "readOnly": true }, "communicationDirection": { diff --git a/specification/support-diff/oldNormalizedSwagger.json b/specification/support-diff/oldNormalizedSwagger.json index 6ebc555001e9..dd0cd7ebb3dc 100644 --- a/specification/support-diff/oldNormalizedSwagger.json +++ b/specification/support-diff/oldNormalizedSwagger.json @@ -1973,6 +1973,7 @@ "readOnly": true }, "display": { + "type": "object", "properties": { "description": { "type": "string", @@ -1999,6 +2000,7 @@ } }, "OperationsListResult": { + "type": "object", "properties": { "value": { "type": "array", diff --git a/specification/support/Support.Management/SupportTicketDetails.tsp b/specification/support/Support.Management/SupportTicketDetails.tsp index dd4fd15eba23..dee007eef4cc 100644 --- a/specification/support/Support.Management/SupportTicketDetails.tsp +++ b/specification/support/Support.Management/SupportTicketDetails.tsp @@ -38,6 +38,7 @@ model SupportTicketsListResult { */ @nextLink nextLink?: string; + /** * [Placeholder] Discription for value property */ @@ -113,7 +114,6 @@ interface SupportTickets { * 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. */ #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" - @operationId("Communications_CheckNameAvailability") checkNameAvailability is SupportTicketOps.ActionSync< SupportTicketDetails, CheckNameAvailabilityInput, @@ -188,7 +188,6 @@ interface SupportTicketsNoSubscription { * 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. */ #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" - @operationId("CommunicationsNoSubscription_CheckNameAvailability") checkNameAvailability is SupportTicketsNoSubscriptionOps.ActionSync< SupportTicketDetails, CheckNameAvailabilityInput, diff --git a/specification/support/Support.Management/back-compatible.tsp b/specification/support/Support.Management/back-compatible.tsp index d2ab6a130a6d..1653a5a6d38e 100644 --- a/specification/support/Support.Management/back-compatible.tsp +++ b/specification/support/Support.Management/back-compatible.tsp @@ -62,6 +62,13 @@ using Microsoft.Support; // @@clientLocation decorators for operations with custom @operationId // These ensure consistent operationId generation in the output +@@clientLocation(SupportTickets.checkNameAvailability, Communications); @@clientLocation(SupportTicketsOperationGroup.checkNameAvailability, - "SupportTickets" + SupportTickets +); +@@clientLocation(SupportTicketsNoSubscriptionOperationGroup.checkNameAvailability, + SupportTicketsNoSubscription +); +@@clientLocation(SupportTicketsNoSubscription.checkNameAvailability, + CommunicationsNoSubscription ); diff --git a/specification/support/Support.Management/routes.tsp b/specification/support/Support.Management/routes.tsp index 839515a658a6..88c78b784a08 100644 --- a/specification/support/Support.Management/routes.tsp +++ b/specification/support/Support.Management/routes.tsp @@ -34,7 +34,6 @@ interface SupportTicketsNoSubscriptionOperationGroup { * 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. */ #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" - @operationId("SupportTicketsNoSubscription_CheckNameAvailability") @autoRoute checkNameAvailability is ArmProviderActionSync< Request = CheckNameAvailabilityInput, diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json index 2ea7c45715bd..7effb1f60eaa 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json @@ -49,16 +49,16 @@ "name": "ProblemClassifications" }, { - "name": "SupportTickets" + "name": "Communications" }, { - "name": "SupportTicketsNoSubscription" + "name": "SupportTickets" }, { - "name": "Communications" + "name": "CommunicationsNoSubscription" }, { - "name": "CommunicationsNoSubscription" + "name": "SupportTicketsNoSubscription" }, { "name": "ChatTranscripts" From 1409802f3c9f302ce184e92c0141050f5b175f46 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Tue, 8 Jul 2025 09:00:13 +0000 Subject: [PATCH 17/38] format --- specification/support-diff/API_CHANGES.md | 106 - specification/support-diff/diff.json | 321 --- .../support-diff/newNormalizedSwagger.json | 2452 ---------------- .../support-diff/oldNormalizedSwagger.json | 2489 ----------------- .../ChatTranscriptDetails.tsp | 17 +- .../CommunicationDetails.tsp | 7 +- .../Support.Management/FileDetails.tsp | 7 +- .../SupportTicketDetails.tsp | 6 +- .../stable/2024-04-01/support.json | 24 +- 9 files changed, 35 insertions(+), 5394 deletions(-) delete mode 100644 specification/support-diff/API_CHANGES.md delete mode 100644 specification/support-diff/diff.json delete mode 100644 specification/support-diff/newNormalizedSwagger.json delete mode 100644 specification/support-diff/oldNormalizedSwagger.json diff --git a/specification/support-diff/API_CHANGES.md b/specification/support-diff/API_CHANGES.md deleted file mode 100644 index 877987253d68..000000000000 --- a/specification/support-diff/API_CHANGES.md +++ /dev/null @@ -1,106 +0,0 @@ -## Swagger Changes - -### Changes for `pattern` - -| Path | Change Type | Value | -|------|------------|-------| -| `paths['/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}'].put.parameters[0].pattern__deleted` | deleted | `^[0-9a-zA-Z_\\-. ]+$` | -| `paths['/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}'].put.parameters[0].pattern__deleted` | deleted | `^[0-9a-zA-Z_\\-. ]+$` | - -### Changes for `Operation` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.Operation__deleted` | deleted | `{"type":"object","properties":{"name":{"type":"string","readOnly":true},"display":{"type":"object","...` | - -### Changes for `OperationsListResult` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.OperationsListResult__deleted` | deleted | `{"type":"object","properties":{"value":{"type":"array","items":{"$ref":"#/definitions/Operation"},"x...` | - -### Changes for `TranscriptContentType` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.TranscriptContentType__added` | added | `{"type":"string","x-nullable":false}` | - -### Changes for `required` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.ChatTranscriptsListResult.required__added` | added | `["value"]` | -| `definitions.CommunicationsListResult.required__added` | added | `["value"]` | -| `definitions.FilesListResult.required__added` | added | `["value"]` | -| `definitions.SupportTicketsListResult.required__added` | added | `["value"]` | - -### Changes for `allOf` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.CommunicationDetails.allOf__added` | added | `[{"$ref":"../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"}...` | -| `definitions.ProblemClassification.allOf__added` | added | `[{"$ref":"../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"}...` | -| `definitions.Service.allOf__added` | added | `[{"$ref":"../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"}...` | -| `definitions.SupportTicketDetails.allOf__added` | added | `[{"$ref":"../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"}...` | - -### Changes for `id` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.CommunicationDetails.properties.id__deleted` | deleted | `{"type":"string","readOnly":true}` | -| `definitions.ProblemClassification.properties.id__deleted` | deleted | `{"type":"string","readOnly":true}` | -| `definitions.Service.properties.id__deleted` | deleted | `{"type":"string","readOnly":true}` | -| `definitions.SupportTicketDetails.properties.id__deleted` | deleted | `{"type":"string","readOnly":true}` | - -### Changes for `name` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.CommunicationDetails.properties.name__deleted` | deleted | `{"type":"string","readOnly":true}` | -| `definitions.ProblemClassification.properties.name__deleted` | deleted | `{"type":"string","readOnly":true}` | -| `definitions.Service.properties.name__deleted` | deleted | `{"type":"string","readOnly":true}` | -| `definitions.SupportTicketDetails.properties.name__deleted` | deleted | `{"type":"string","readOnly":true}` | - -### Changes for `type` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.CommunicationDetails.properties.type__deleted` | deleted | `{"type":"string","readOnly":true}` | -| `definitions.ProblemClassification.properties.type__deleted` | deleted | `{"type":"string","readOnly":true}` | -| `definitions.Service.properties.type__deleted` | deleted | `{"type":"string","readOnly":true}` | -| `definitions.SupportTicketDetails.properties.type__deleted` | deleted | `{"type":"string","readOnly":true}` | - -### Changes for `x-ms-enum` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.MessageProperties.properties.contentType['x-ms-enum__deleted']` | deleted | `{"name":"TranscriptContentType","modelAsString":true}` | - -### Changes for `x-nullable` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.MessageProperties.properties.contentType['x-nullable__added']` | added | `false` | - -### Changes for `description` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.ProblemClassificationsListResult.description__added` | added | `[Placeholder] Discription for page model` | -| `definitions.ProblemClassificationsListResult.properties.value.description__added` | added | `[Placeholder] Discription for value property` | -| `definitions.ServicesListResult.description__added` | added | `[Placeholder] Discription for page model` | -| `definitions.ServicesListResult.properties.value.description__added` | added | `[Placeholder] Discription for value property` | - -### Changes for `nextLink` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.ProblemClassificationsListResult.properties.nextLink__added` | added | `{"type":"string","format":"uri","description":"[Placeholder] Discription for nextLink property"}` | -| `definitions.ServicesListResult.properties.nextLink__added` | added | `{"type":"string","format":"uri","description":"[Placeholder] Discription for nextLink property"}` | - -## Modified Values - -| Path | Old Value | New Value | -|------|-----------|----------| -| `paths['/providers/Microsoft.Support/operations'].get.responses.200.schema.$ref` | `#/definitions/OperationsListResult` | `../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult` | - diff --git a/specification/support-diff/diff.json b/specification/support-diff/diff.json deleted file mode 100644 index 4a23bac9b155..000000000000 --- a/specification/support-diff/diff.json +++ /dev/null @@ -1,321 +0,0 @@ -{ - "paths": { - "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": { - "put": { - "parameters": [ - [ - "~", - { - "pattern__deleted": "^[0-9a-zA-Z_\\-. ]+$" - } - ], - [ - "+", - { - "name": "resource", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" - } - } - ] - ] - } - }, - "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { - "put": { - "parameters": [ - [ - "-", - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[0-9a-zA-Z_\\-. ]+$" - } - ], - [ - "+", - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - } - ], - [ - " " - ], - [ - " " - ] - ] - } - }, - "/providers/Microsoft.Support/operations": { - "get": { - "responses": { - "200": { - "schema": { - "$ref": { - "__old": "#/definitions/OperationsListResult", - "__new": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": { - "put": { - "parameters": [ - [ - "~", - { - "pattern__deleted": "^[0-9a-zA-Z_\\-. ]+$" - } - ], - [ - "+", - { - "name": "resource", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" - } - } - ] - ] - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { - "put": { - "parameters": [ - [ - "-", - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[0-9a-zA-Z_\\-. ]+$" - } - ], - [ - "+", - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - } - ], - [ - " " - ], - [ - " " - ] - ] - } - } - }, - "definitions": { - "Operation__deleted": { - "type": "object", - "properties": { - "name": { - "type": "string", - "readOnly": true - }, - "display": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The description of the operation.", - "readOnly": true - }, - "operation": { - "type": "string", - "description": "The action that users can perform, based on their permission level.", - "readOnly": true - }, - "provider": { - "type": "string", - "description": "Service provider: Microsoft Support.", - "readOnly": true - }, - "resource": { - "type": "string", - "description": "Resource on which the operation is performed.", - "readOnly": true - } - } - } - } - }, - "OperationsListResult__deleted": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "TranscriptContentType__added": { - "type": "string", - "x-nullable": false - }, - "ChatTranscriptsListResult": { - "required__added": [ - "value" - ] - }, - "CommunicationDetails": { - "allOf__added": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "id__deleted": { - "type": "string", - "readOnly": true - }, - "name__deleted": { - "type": "string", - "readOnly": true - }, - "type__deleted": { - "type": "string", - "readOnly": true - } - } - }, - "CommunicationsListResult": { - "required__added": [ - "value" - ] - }, - "FilesListResult": { - "required__added": [ - "value" - ] - }, - "MessageProperties": { - "properties": { - "contentType": { - "x-ms-enum__deleted": { - "name": "TranscriptContentType", - "modelAsString": true - }, - "x-nullable__added": false - } - } - }, - "ProblemClassification": { - "allOf__added": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "id__deleted": { - "type": "string", - "readOnly": true - }, - "name__deleted": { - "type": "string", - "readOnly": true - }, - "type__deleted": { - "type": "string", - "readOnly": true - } - } - }, - "ProblemClassificationsListResult": { - "description__added": "[Placeholder] Discription for page model", - "properties": { - "nextLink__added": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - }, - "value": { - "description__added": "[Placeholder] Discription for value property" - } - } - }, - "Service": { - "allOf__added": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "id__deleted": { - "type": "string", - "readOnly": true - }, - "name__deleted": { - "type": "string", - "readOnly": true - }, - "type__deleted": { - "type": "string", - "readOnly": true - } - } - }, - "ServicesListResult": { - "description__added": "[Placeholder] Discription for page model", - "properties": { - "nextLink__added": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - }, - "value": { - "description__added": "[Placeholder] Discription for value property" - } - } - }, - "SupportTicketDetails": { - "allOf__added": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "id__deleted": { - "type": "string", - "readOnly": true - }, - "name__deleted": { - "type": "string", - "readOnly": true - }, - "type__deleted": { - "type": "string", - "readOnly": true - } - } - }, - "SupportTicketsListResult": { - "required__added": [ - "value" - ] - } - } -} \ No newline at end of file diff --git a/specification/support-diff/newNormalizedSwagger.json b/specification/support-diff/newNormalizedSwagger.json deleted file mode 100644 index 38f333048b3b..000000000000 --- a/specification/support-diff/newNormalizedSwagger.json +++ /dev/null @@ -1,2452 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Microsoft.Support", - "version": "2024-04-01", - "description": "Microsoft Azure Support Resource Provider." - }, - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "paths": { - "/providers/Microsoft.Support/checkNameAvailability": { - "post": { - "operationId": "SupportTicketsNoSubscription_CheckNameAvailability", - "parameters": [ - { - "name": "checkNameAvailabilityInput", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityInput" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityOutput" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Checks whether name is available for SupportTicket resource": { - "$ref": "./examples/CheckNameAvailability.json" - } - } - } - }, - "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": { - "get": { - "operationId": "FileWorkspacesNoSubscription_Get", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of a file workspace": { - "$ref": "./examples/GetFileWorkspaceDetails.json" - } - } - }, - "put": { - "operationId": "FileWorkspacesNoSubscription_Create", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resource", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" - } - } - ], - "responses": { - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create a file workspace": { - "$ref": "./examples/CreateFileWorkspace.json" - } - } - } - }, - "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files": { - "get": { - "operationId": "FilesNoSubscription_List", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/FilesListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List files under a workspace": { - "$ref": "./examples/ListFilesUnderFileWorkspace.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { - "get": { - "operationId": "FilesNoSubscription_Get", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "fileName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/FileDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of a subscription file": { - "$ref": "./examples/GetFileDetails.json" - } - } - }, - "put": { - "operationId": "FilesNoSubscription_Create", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "fileName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "createFileParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/FileDetails" - } - } - ], - "responses": { - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/FileDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create a file workspace": { - "$ref": "./examples/CreateFile.json" - } - } - } - }, - "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload": { - "post": { - "operationId": "FilesNoSubscription_Upload", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "fileName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "uploadFile", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/UploadFile" - } - } - ], - "responses": { - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "UploadFile": { - "$ref": "./examples/UploadFile.json" - } - } - } - }, - "/providers/Microsoft.Support/operations": { - "get": { - "operationId": "Operations_List", - "parameters": [], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get all operations": { - "$ref": "./examples/ListOperations.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Support/services": { - "get": { - "operationId": "Services_List", - "parameters": [], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ServicesListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Gets list of services for which a support ticket can be created": { - "$ref": "./examples/ListServices.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Support/services/{serviceName}": { - "get": { - "operationId": "Services_Get", - "parameters": [ - { - "name": "serviceName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Service" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Gets details of the Azure service": { - "$ref": "./examples/GetService.json" - } - } - } - }, - "/providers/Microsoft.Support/services/{serviceName}/problemClassifications": { - "get": { - "operationId": "ProblemClassifications_List", - "parameters": [ - { - "name": "serviceName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ProblemClassificationsListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Gets list of problemClassifications for a service for which a support ticket can be created": { - "$ref": "./examples/ListProblemClassifications.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Support/services/{serviceName}/problemClassifications/{problemClassificationName}": { - "get": { - "operationId": "ProblemClassifications_Get", - "parameters": [ - { - "name": "serviceName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "problemClassificationName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ProblemClassification" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Gets details of problemClassification for Azure service": { - "$ref": "./examples/GetProblemClassification.json" - } - } - } - }, - "/providers/Microsoft.Support/supportTickets": { - "get": { - "operationId": "SupportTicketsNoSubscription_List", - "parameters": [ - { - "name": "$top", - "in": "query", - "type": "integer", - "format": "int32" - }, - { - "name": "$filter", - "in": "query", - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/SupportTicketsListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List support tickets": { - "$ref": "./examples/ListSupportTickets.json" - }, - "List support tickets created on or after a certain date and in open state": { - "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json" - }, - "List support tickets created on or after a certain date and in updating state": { - "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json" - }, - "List support tickets in open state": { - "$ref": "./examples/ListSupportTicketsInOpenState.json" - }, - "List support tickets in updating state": { - "$ref": "./examples/ListSupportTicketsInUpdatingState.json" - }, - "List support tickets with a certain problem classification id": { - "$ref": "./examples/ListSupportTicketsProblemClassificationIdEquals.json" - }, - "List support tickets with a certain service id": { - "$ref": "./examples/ListSupportTicketsServiceIdEquals.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Support/supportTickets/{supportTicketName}": { - "get": { - "operationId": "SupportTicketsNoSubscription_Get", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/SupportTicketDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of a ticket": { - "$ref": "./examples/GetSupportTicketDetails.json" - } - } - }, - "put": { - "operationId": "SupportTicketsNoSubscription_Create", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "createSupportTicketParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/SupportTicketDetails" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/SupportTicketDetails" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "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" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "SupportTicketsNoSubscription_Update", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "updateSupportTicket", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateSupportTicket" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/SupportTicketDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Update advanced diagnostic consent of a support ticket": { - "$ref": "./examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json" - }, - "Update contact details of a support ticket": { - "$ref": "./examples/UpdateContactDetailsOfSupportTicket.json" - }, - "Update severity of a support ticket": { - "$ref": "./examples/UpdateSeverityOfSupportTicket.json" - }, - "Update status of a support ticket": { - "$ref": "./examples/UpdateStatusOfSupportTicket.json" - } - } - } - }, - "/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts": { - "get": { - "operationId": "ChatTranscriptsNoSubscription_List", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ChatTranscriptsListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List chat transcripts for a no-subscription support ticket": { - "$ref": "./examples/ListChatTranscriptsForSupportTicket.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}": { - "get": { - "operationId": "ChatTranscriptsNoSubscription_Get", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "chatTranscriptName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ChatTranscriptDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get chat transcript details for a subscription support ticket": { - "$ref": "./examples/GetchatTranscriptDetailsForSupportTicket.json" - } - } - } - }, - "/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": { - "post": { - "operationId": "CommunicationsNoSubscription_CheckNameAvailability", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "checkNameAvailabilityInput", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityInput" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityOutput" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Checks whether name is available for Communication resource": { - "$ref": "./examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json" - } - } - } - }, - "/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": { - "get": { - "operationId": "CommunicationsNoSubscription_List", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "$top", - "in": "query", - "type": "integer", - "format": "int32" - }, - { - "name": "$filter", - "in": "query", - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CommunicationsListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List communications for a no-subscription support ticket": { - "$ref": "./examples/ListCommunicationsForSupportTicket.json" - }, - "List web communication created on or after a specific date for a no-subscription support ticket": { - "$ref": "./examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json" - }, - "List web communications for a no-subscription support ticket": { - "$ref": "./examples/ListWebCommunicationsForSupportTicket.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { - "get": { - "operationId": "CommunicationsNoSubscription_Get", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "communicationName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CommunicationDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get communication details for a no-subscription support ticket": { - "$ref": "./examples/GetCommunicationDetailsForSupportTicket.json" - } - } - }, - "put": { - "operationId": "CommunicationsNoSubscription_Create", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "communicationName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "createCommunicationParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CommunicationDetails" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CommunicationDetails" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "AddCommunicationToNoSubscriptionTicket": { - "$ref": "./examples/CreateNoSubscriptionSupportTicketCommunication.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/checkNameAvailability": { - "post": { - "operationId": "SupportTickets_CheckNameAvailability", - "parameters": [ - { - "name": "checkNameAvailabilityInput", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityInput" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityOutput" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Checks whether name is available for a subscription support ticket resource": { - "$ref": "./examples/CheckNameAvailabilityWithSubscription.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": { - "get": { - "operationId": "FileWorkspaces_Get", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of a subscription file workspace": { - "$ref": "./examples/GetFileWorkspaceDetailsForSubscription.json" - } - } - }, - "put": { - "operationId": "FileWorkspaces_Create", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "resource", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" - } - } - ], - "responses": { - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create a file workspace for a subscription": { - "$ref": "./examples/CreateFileWorkspaceForSubscription.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files": { - "get": { - "operationId": "Files_List", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/FilesListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List files under a workspace for a subscription": { - "$ref": "./examples/ListFilesForSubscriptionUnderFileWorkspace.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { - "get": { - "operationId": "Files_Get", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "fileName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/FileDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of a subscription file": { - "$ref": "./examples/GetFileDetailsForSubscription.json" - } - } - }, - "put": { - "operationId": "Files_Create", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "fileName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "createFileParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/FileDetails" - } - } - ], - "responses": { - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/FileDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create a file under a subscription workspace": { - "$ref": "./examples/CreateFileForSubscription.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload": { - "post": { - "operationId": "Files_Upload", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "fileName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "uploadFile", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/UploadFile" - } - } - ], - "responses": { - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "UploadFileForSubscription": { - "$ref": "./examples/UploadFileForSubscription.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets": { - "get": { - "operationId": "SupportTickets_List", - "parameters": [ - { - "name": "$top", - "in": "query", - "type": "integer", - "format": "int32" - }, - { - "name": "$filter", - "in": "query", - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/SupportTicketsListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List support tickets created on or after a certain date and in open state for a subscription": { - "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.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 for a subscription": { - "$ref": "./examples/ListSupportTicketsBySubscription.json" - }, - "List support tickets in open state for a subscription": { - "$ref": "./examples/ListSupportTicketsInOpenStateBySubscription.json" - }, - "List support tickets in updating state for a subscription": { - "$ref": "./examples/ListSupportTicketsInUpdatingStateBySubscription.json" - }, - "List support tickets with a certain problem classification id for a subscription": { - "$ref": "./examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json" - }, - "List support tickets with a certain service id for a subscription": { - "$ref": "./examples/ListSupportTicketsServiceIdEqualsForSubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}": { - "get": { - "operationId": "SupportTickets_Get", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/SupportTicketDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of a subscription ticket": { - "$ref": "./examples/GetSubscriptionSupportTicketDetails.json" - } - } - }, - "put": { - "operationId": "SupportTickets_Create", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "createSupportTicketParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/SupportTicketDetails" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/SupportTicketDetails" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create a ticket for Billing related issues": { - "$ref": "./examples/CreateBillingSupportTicketForSubscription.json" - }, - "Create a ticket for Subscription Management related issues for a subscription": { - "$ref": "./examples/CreateSubMgmtSupportTicketForSubscription.json" - }, - "Create a ticket for Technical issue related to a specific resource for a subscription": { - "$ref": "./examples/CreateTechnicalSupportTicketForSubscription.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 Azure SQL managed instance": { - "$ref": "./examples/CreateSqlManagedInstanceQuotaTicket.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 Compute VM Cores": { - "$ref": "./examples/CreateCoresQuotaTicketForSubscription.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 DTUs for SQL Database": { - "$ref": "./examples/CreateSqlDatabaseQuotaTicketForDTUs.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 Low-priority cores for a Batch account": { - "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.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 Servers for Azure Synapse Analytics": { - "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForServers.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 services that do not require additional details in the quotaTicketDetails object": { - "$ref": "./examples/CreateGenericQuotaTicket.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 specific VM family cores for a Batch account": { - "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "SupportTickets_Update", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "updateSupportTicket", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateSupportTicket" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/SupportTicketDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Update advanced diagnostic consent of a subscription support ticket": { - "$ref": "./examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json" - }, - "Update contact details of a subscription support ticket": { - "$ref": "./examples/UpdateContactDetailsOfSupportTicketForSubscription.json" - }, - "Update severity of a subscription support ticket": { - "$ref": "./examples/UpdateSeverityOfSupportTicketForSubscription.json" - }, - "Update status of a subscription support ticket": { - "$ref": "./examples/UpdateStatusOfSupportTicketForSubscription.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts": { - "get": { - "operationId": "ChatTranscripts_List", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ChatTranscriptsListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List chat transcripts for a subscription support ticket": { - "$ref": "./examples/ListChatTranscriptsForSubscriptionSupportTicket.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}": { - "get": { - "operationId": "ChatTranscripts_Get", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "chatTranscriptName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ChatTranscriptDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get chat transcript details for a subscription support ticket": { - "$ref": "./examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": { - "post": { - "operationId": "Communications_CheckNameAvailability", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "checkNameAvailabilityInput", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityInput" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityOutput" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Checks whether name is available for Communication resource for a subscription support ticket": { - "$ref": "./examples/CheckNameAvailabilityForSupportTicketCommunication.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": { - "get": { - "operationId": "Communications_List", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "$top", - "in": "query", - "type": "integer", - "format": "int32" - }, - { - "name": "$filter", - "in": "query", - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CommunicationsListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List communications for a subscription support ticket": { - "$ref": "./examples/ListCommunicationsForSubscriptionSupportTicket.json" - }, - "List web communication created on or after a specific date for a subscription support ticket": { - "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json" - }, - "List web communications for a subscription support ticket": { - "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicket.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { - "get": { - "operationId": "Communications_Get", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "communicationName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CommunicationDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get communication details for a subscription support ticket": { - "$ref": "./examples/GetCommunicationDetailsForSubscriptionSupportTicket.json" - } - } - }, - "put": { - "operationId": "Communications_Create", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "communicationName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "createCommunicationParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CommunicationDetails" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CommunicationDetails" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "AddCommunicationToSubscriptionTicket": { - "$ref": "./examples/CreateSupportTicketCommunication.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - } - } - }, - "definitions": { - "ChatTranscriptDetails": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ChatTranscriptDetailsProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ChatTranscriptDetailsProperties": { - "type": "object", - "properties": { - "messages": { - "type": "array", - "items": { - "$ref": "#/definitions/MessageProperties" - } - }, - "startTime": { - "type": "string", - "format": "date-time", - "readOnly": true - } - } - }, - "ChatTranscriptsListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - }, - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/ChatTranscriptDetails" - } - } - }, - "required": [ - "value" - ] - }, - "CheckNameAvailabilityInput": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Support/supportTickets", - "Microsoft.Support/communications" - ], - "x-ms-enum": { - "name": "Type", - "modelAsString": false - } - } - }, - "required": [ - "name", - "type" - ] - }, - "CheckNameAvailabilityOutput": { - "type": "object", - "properties": { - "nameAvailable": { - "type": "boolean", - "readOnly": true - }, - "reason": { - "type": "string", - "readOnly": true - }, - "message": { - "type": "string", - "readOnly": true - } - } - }, - "CommunicationDetails": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/CommunicationDetailsProperties", - "x-ms-client-flatten": true - } - }, - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "CommunicationDetailsProperties": { - "type": "object", - "properties": { - "communicationType": { - "type": "string", - "enum": [ - "web", - "phone" - ], - "x-ms-enum": { - "name": "CommunicationType", - "modelAsString": true - }, - "readOnly": true - }, - "communicationDirection": { - "type": "string", - "enum": [ - "inbound", - "outbound" - ], - "x-ms-enum": { - "name": "CommunicationDirection", - "modelAsString": true - }, - "readOnly": true - }, - "sender": { - "type": "string" - }, - "subject": { - "type": "string" - }, - "body": { - "type": "string" - }, - "createdDate": { - "type": "string", - "format": "date-time", - "readOnly": true - } - }, - "required": [ - "body", - "subject" - ] - }, - "CommunicationsListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - }, - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/CommunicationDetails" - } - } - }, - "required": [ - "value" - ] - }, - "ContactProfile": { - "type": "object", - "properties": { - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "preferredContactMethod": { - "type": "string", - "enum": [ - "email", - "phone" - ], - "x-ms-enum": { - "name": "PreferredContactMethod", - "modelAsString": true - } - }, - "primaryEmailAddress": { - "type": "string" - }, - "additionalEmailAddresses": { - "type": "array", - "items": { - "type": "string" - } - }, - "phoneNumber": { - "type": "string" - }, - "preferredTimeZone": { - "type": "string" - }, - "country": { - "type": "string" - }, - "preferredSupportLanguage": { - "type": "string" - } - }, - "required": [ - "country", - "firstName", - "lastName", - "preferredContactMethod", - "preferredSupportLanguage", - "preferredTimeZone", - "primaryEmailAddress" - ] - }, - "FileDetails": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/FileDetailsProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "FileDetailsProperties": { - "type": "object", - "properties": { - "createdOn": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "chunkSize": { - "type": "integer", - "format": "int32" - }, - "fileSize": { - "type": "integer", - "format": "int32" - }, - "numberOfChunks": { - "type": "integer", - "format": "int32" - } - } - }, - "FileWorkspaceDetails": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/FileWorkspaceDetailsProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "FileWorkspaceDetailsProperties": { - "type": "object", - "properties": { - "createdOn": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "expirationTime": { - "type": "string", - "format": "date-time", - "readOnly": true - } - } - }, - "FilesListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - }, - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/FileDetails" - } - } - }, - "required": [ - "value" - ] - }, - "MessageProperties": { - "type": "object", - "properties": { - "contentType": { - "type": "string", - "x-nullable": false, - "readOnly": true - }, - "communicationDirection": { - "type": "string", - "enum": [ - "inbound", - "outbound" - ], - "x-ms-enum": { - "name": "CommunicationDirection", - "modelAsString": true - }, - "readOnly": true - }, - "sender": { - "type": "string" - }, - "body": { - "type": "string" - }, - "createdDate": { - "type": "string", - "format": "date-time", - "readOnly": true - } - } - }, - "ProblemClassification": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ProblemClassificationProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ProblemClassificationProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string" - }, - "secondaryConsentEnabled": { - "type": "array", - "items": { - "$ref": "#/definitions/SecondaryConsentEnabled" - } - } - } - }, - "ProblemClassificationsListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - }, - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/ProblemClassification" - } - } - } - }, - "QuotaChangeRequest": { - "type": "object", - "properties": { - "region": { - "type": "string" - }, - "payload": { - "type": "string" - } - } - }, - "QuotaTicketDetails": { - "type": "object", - "properties": { - "quotaChangeRequestSubType": { - "type": "string" - }, - "quotaChangeRequestVersion": { - "type": "string" - }, - "quotaChangeRequests": { - "type": "array", - "items": { - "$ref": "#/definitions/QuotaChangeRequest" - }, - "x-ms-identifiers": [ - "region" - ] - } - } - }, - "SecondaryConsent": { - "type": "object", - "properties": { - "userConsent": { - "type": "string", - "enum": [ - "Yes", - "No" - ], - "x-ms-enum": { - "name": "UserConsent", - "modelAsString": true - } - }, - "type": { - "type": "string" - } - } - }, - "SecondaryConsentEnabled": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "type": { - "type": "string" - } - } - }, - "Service": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ServiceProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ServiceLevelAgreement": { - "type": "object", - "properties": { - "startTime": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "expirationTime": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "slaMinutes": { - "type": "integer", - "format": "int32", - "readOnly": true - } - } - }, - "ServiceProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string" - }, - "resourceTypes": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "ServicesListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - }, - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/Service" - } - } - } - }, - "SupportEngineer": { - "type": "object", - "properties": { - "emailAddress": { - "type": "string", - "readOnly": true - } - } - }, - "SupportTicketDetails": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/SupportTicketDetailsProperties", - "x-ms-client-flatten": true - } - }, - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "SupportTicketDetailsProperties": { - "type": "object", - "properties": { - "supportTicketId": { - "type": "string" - }, - "description": { - "type": "string" - }, - "problemClassificationId": { - "type": "string" - }, - "problemClassificationDisplayName": { - "type": "string", - "readOnly": true - }, - "severity": { - "type": "string", - "enum": [ - "minimal", - "moderate", - "critical", - "highestcriticalimpact" - ], - "x-ms-enum": { - "name": "SeverityLevel", - "modelAsString": true - } - }, - "enrollmentId": { - "type": "string" - }, - "require24X7Response": { - "type": "boolean" - }, - "advancedDiagnosticConsent": { - "type": "string", - "enum": [ - "Yes", - "No" - ], - "x-ms-enum": { - "name": "Consent", - "modelAsString": true - } - }, - "problemScopingQuestions": { - "type": "string" - }, - "supportPlanId": { - "type": "string" - }, - "contactDetails": { - "$ref": "#/definitions/ContactProfile" - }, - "serviceLevelAgreement": { - "$ref": "#/definitions/ServiceLevelAgreement" - }, - "supportEngineer": { - "$ref": "#/definitions/SupportEngineer" - }, - "supportPlanType": { - "type": "string", - "readOnly": true - }, - "supportPlanDisplayName": { - "type": "string", - "readOnly": true - }, - "title": { - "type": "string" - }, - "problemStartTime": { - "type": "string", - "format": "date-time" - }, - "serviceId": { - "type": "string" - }, - "serviceDisplayName": { - "type": "string", - "readOnly": true - }, - "status": { - "type": "string", - "readOnly": true - }, - "createdDate": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "modifiedDate": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "fileWorkspaceName": { - "type": "string" - }, - "isTemporaryTicket": { - "type": "string", - "enum": [ - "Yes", - "No" - ], - "x-ms-enum": { - "name": "IsTemporaryTicket", - "modelAsString": true - }, - "readOnly": true - }, - "technicalTicketDetails": { - "$ref": "#/definitions/TechnicalTicketDetails" - }, - "quotaTicketDetails": { - "$ref": "#/definitions/QuotaTicketDetails" - }, - "secondaryConsent": { - "type": "array", - "items": { - "$ref": "#/definitions/SecondaryConsent" - } - } - }, - "required": [ - "advancedDiagnosticConsent", - "contactDetails", - "description", - "problemClassificationId", - "serviceId", - "severity", - "title" - ] - }, - "SupportTicketsListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - }, - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/SupportTicketDetails" - } - } - }, - "required": [ - "value" - ] - }, - "TechnicalTicketDetails": { - "type": "object", - "properties": { - "resourceId": { - "type": "string" - } - } - }, - "TranscriptContentType": { - "type": "string", - "x-nullable": false - }, - "UpdateContactProfile": { - "type": "object", - "properties": { - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "preferredContactMethod": { - "type": "string", - "enum": [ - "email", - "phone" - ], - "x-ms-enum": { - "name": "PreferredContactMethod", - "modelAsString": true - } - }, - "primaryEmailAddress": { - "type": "string" - }, - "additionalEmailAddresses": { - "type": "array", - "items": { - "type": "string" - } - }, - "phoneNumber": { - "type": "string" - }, - "preferredTimeZone": { - "type": "string" - }, - "country": { - "type": "string" - }, - "preferredSupportLanguage": { - "type": "string" - } - } - }, - "UpdateSupportTicket": { - "type": "object", - "properties": { - "severity": { - "type": "string", - "enum": [ - "minimal", - "moderate", - "critical", - "highestcriticalimpact" - ], - "x-ms-enum": { - "name": "SeverityLevel", - "modelAsString": true - } - }, - "status": { - "type": "string", - "enum": [ - "open", - "closed" - ], - "x-ms-enum": { - "name": "Status", - "modelAsString": true - } - }, - "contactDetails": { - "$ref": "#/definitions/UpdateContactProfile" - }, - "advancedDiagnosticConsent": { - "type": "string", - "enum": [ - "Yes", - "No" - ], - "x-ms-enum": { - "name": "Consent", - "modelAsString": true - } - }, - "secondaryConsent": { - "type": "array", - "items": { - "$ref": "#/definitions/SecondaryConsent" - } - } - } - }, - "UploadFile": { - "type": "object", - "properties": { - "content": { - "type": "string" - }, - "chunkIndex": { - "type": "integer", - "format": "int32" - } - } - } - }, - "parameters": {} -} \ No newline at end of file diff --git a/specification/support-diff/oldNormalizedSwagger.json b/specification/support-diff/oldNormalizedSwagger.json deleted file mode 100644 index dd0cd7ebb3dc..000000000000 --- a/specification/support-diff/oldNormalizedSwagger.json +++ /dev/null @@ -1,2489 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Microsoft.Support", - "version": "2024-04-01", - "description": "Microsoft Azure Support Resource Provider." - }, - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "paths": { - "/providers/Microsoft.Support/checkNameAvailability": { - "post": { - "operationId": "SupportTicketsNoSubscription_CheckNameAvailability", - "parameters": [ - { - "name": "checkNameAvailabilityInput", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityInput" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityOutput" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Checks whether name is available for SupportTicket resource": { - "$ref": "./examples/CheckNameAvailability.json" - } - } - } - }, - "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": { - "get": { - "operationId": "FileWorkspacesNoSubscription_Get", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of a file workspace": { - "$ref": "./examples/GetFileWorkspaceDetails.json" - } - } - }, - "put": { - "operationId": "FileWorkspacesNoSubscription_Create", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[0-9a-zA-Z_\\-. ]+$" - } - ], - "responses": { - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create a file workspace": { - "$ref": "./examples/CreateFileWorkspace.json" - } - } - } - }, - "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files": { - "get": { - "operationId": "FilesNoSubscription_List", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/FilesListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List files under a workspace": { - "$ref": "./examples/ListFilesUnderFileWorkspace.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { - "get": { - "operationId": "FilesNoSubscription_Get", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "fileName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/FileDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of a subscription file": { - "$ref": "./examples/GetFileDetails.json" - } - } - }, - "put": { - "operationId": "FilesNoSubscription_Create", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[0-9a-zA-Z_\\-. ]+$" - }, - { - "name": "fileName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "createFileParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/FileDetails" - } - } - ], - "responses": { - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/FileDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create a file workspace": { - "$ref": "./examples/CreateFile.json" - } - } - } - }, - "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload": { - "post": { - "operationId": "FilesNoSubscription_Upload", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "fileName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "uploadFile", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/UploadFile" - } - } - ], - "responses": { - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "UploadFile": { - "$ref": "./examples/UploadFile.json" - } - } - } - }, - "/providers/Microsoft.Support/operations": { - "get": { - "operationId": "Operations_List", - "parameters": [], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/OperationsListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get all operations": { - "$ref": "./examples/ListOperations.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Support/services": { - "get": { - "operationId": "Services_List", - "parameters": [], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ServicesListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Gets list of services for which a support ticket can be created": { - "$ref": "./examples/ListServices.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Support/services/{serviceName}": { - "get": { - "operationId": "Services_Get", - "parameters": [ - { - "name": "serviceName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Service" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Gets details of the Azure service": { - "$ref": "./examples/GetService.json" - } - } - } - }, - "/providers/Microsoft.Support/services/{serviceName}/problemClassifications": { - "get": { - "operationId": "ProblemClassifications_List", - "parameters": [ - { - "name": "serviceName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ProblemClassificationsListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Gets list of problemClassifications for a service for which a support ticket can be created": { - "$ref": "./examples/ListProblemClassifications.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Support/services/{serviceName}/problemClassifications/{problemClassificationName}": { - "get": { - "operationId": "ProblemClassifications_Get", - "parameters": [ - { - "name": "serviceName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "problemClassificationName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ProblemClassification" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Gets details of problemClassification for Azure service": { - "$ref": "./examples/GetProblemClassification.json" - } - } - } - }, - "/providers/Microsoft.Support/supportTickets": { - "get": { - "operationId": "SupportTicketsNoSubscription_List", - "parameters": [ - { - "name": "$top", - "in": "query", - "type": "integer", - "format": "int32" - }, - { - "name": "$filter", - "in": "query", - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/SupportTicketsListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List support tickets": { - "$ref": "./examples/ListSupportTickets.json" - }, - "List support tickets created on or after a certain date and in open state": { - "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json" - }, - "List support tickets created on or after a certain date and in updating state": { - "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json" - }, - "List support tickets in open state": { - "$ref": "./examples/ListSupportTicketsInOpenState.json" - }, - "List support tickets in updating state": { - "$ref": "./examples/ListSupportTicketsInUpdatingState.json" - }, - "List support tickets with a certain problem classification id": { - "$ref": "./examples/ListSupportTicketsProblemClassificationIdEquals.json" - }, - "List support tickets with a certain service id": { - "$ref": "./examples/ListSupportTicketsServiceIdEquals.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Support/supportTickets/{supportTicketName}": { - "get": { - "operationId": "SupportTicketsNoSubscription_Get", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/SupportTicketDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of a ticket": { - "$ref": "./examples/GetSupportTicketDetails.json" - } - } - }, - "put": { - "operationId": "SupportTicketsNoSubscription_Create", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "createSupportTicketParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/SupportTicketDetails" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/SupportTicketDetails" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "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" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "SupportTicketsNoSubscription_Update", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "updateSupportTicket", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateSupportTicket" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/SupportTicketDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Update advanced diagnostic consent of a support ticket": { - "$ref": "./examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json" - }, - "Update contact details of a support ticket": { - "$ref": "./examples/UpdateContactDetailsOfSupportTicket.json" - }, - "Update severity of a support ticket": { - "$ref": "./examples/UpdateSeverityOfSupportTicket.json" - }, - "Update status of a support ticket": { - "$ref": "./examples/UpdateStatusOfSupportTicket.json" - } - } - } - }, - "/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts": { - "get": { - "operationId": "ChatTranscriptsNoSubscription_List", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ChatTranscriptsListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List chat transcripts for a no-subscription support ticket": { - "$ref": "./examples/ListChatTranscriptsForSupportTicket.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}": { - "get": { - "operationId": "ChatTranscriptsNoSubscription_Get", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "chatTranscriptName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ChatTranscriptDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get chat transcript details for a subscription support ticket": { - "$ref": "./examples/GetchatTranscriptDetailsForSupportTicket.json" - } - } - } - }, - "/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": { - "post": { - "operationId": "CommunicationsNoSubscription_CheckNameAvailability", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "checkNameAvailabilityInput", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityInput" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityOutput" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Checks whether name is available for Communication resource": { - "$ref": "./examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json" - } - } - } - }, - "/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": { - "get": { - "operationId": "CommunicationsNoSubscription_List", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "$top", - "in": "query", - "type": "integer", - "format": "int32" - }, - { - "name": "$filter", - "in": "query", - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CommunicationsListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List communications for a no-subscription support ticket": { - "$ref": "./examples/ListCommunicationsForSupportTicket.json" - }, - "List web communication created on or after a specific date for a no-subscription support ticket": { - "$ref": "./examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json" - }, - "List web communications for a no-subscription support ticket": { - "$ref": "./examples/ListWebCommunicationsForSupportTicket.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { - "get": { - "operationId": "CommunicationsNoSubscription_Get", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "communicationName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CommunicationDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get communication details for a no-subscription support ticket": { - "$ref": "./examples/GetCommunicationDetailsForSupportTicket.json" - } - } - }, - "put": { - "operationId": "CommunicationsNoSubscription_Create", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "communicationName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "createCommunicationParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CommunicationDetails" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CommunicationDetails" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "AddCommunicationToNoSubscriptionTicket": { - "$ref": "./examples/CreateNoSubscriptionSupportTicketCommunication.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/checkNameAvailability": { - "post": { - "operationId": "SupportTickets_CheckNameAvailability", - "parameters": [ - { - "name": "checkNameAvailabilityInput", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityInput" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityOutput" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Checks whether name is available for a subscription support ticket resource": { - "$ref": "./examples/CheckNameAvailabilityWithSubscription.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": { - "get": { - "operationId": "FileWorkspaces_Get", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of a subscription file workspace": { - "$ref": "./examples/GetFileWorkspaceDetailsForSubscription.json" - } - } - }, - "put": { - "operationId": "FileWorkspaces_Create", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[0-9a-zA-Z_\\-. ]+$" - } - ], - "responses": { - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create a file workspace for a subscription": { - "$ref": "./examples/CreateFileWorkspaceForSubscription.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files": { - "get": { - "operationId": "Files_List", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/FilesListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List files under a workspace for a subscription": { - "$ref": "./examples/ListFilesForSubscriptionUnderFileWorkspace.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { - "get": { - "operationId": "Files_Get", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "fileName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/FileDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of a subscription file": { - "$ref": "./examples/GetFileDetailsForSubscription.json" - } - } - }, - "put": { - "operationId": "Files_Create", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[0-9a-zA-Z_\\-. ]+$" - }, - { - "name": "fileName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "createFileParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/FileDetails" - } - } - ], - "responses": { - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/FileDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create a file under a subscription workspace": { - "$ref": "./examples/CreateFileForSubscription.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload": { - "post": { - "operationId": "Files_Upload", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "fileName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "uploadFile", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/UploadFile" - } - } - ], - "responses": { - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "UploadFileForSubscription": { - "$ref": "./examples/UploadFileForSubscription.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets": { - "get": { - "operationId": "SupportTickets_List", - "parameters": [ - { - "name": "$top", - "in": "query", - "type": "integer", - "format": "int32" - }, - { - "name": "$filter", - "in": "query", - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/SupportTicketsListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List support tickets created on or after a certain date and in open state for a subscription": { - "$ref": "./examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.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 for a subscription": { - "$ref": "./examples/ListSupportTicketsBySubscription.json" - }, - "List support tickets in open state for a subscription": { - "$ref": "./examples/ListSupportTicketsInOpenStateBySubscription.json" - }, - "List support tickets in updating state for a subscription": { - "$ref": "./examples/ListSupportTicketsInUpdatingStateBySubscription.json" - }, - "List support tickets with a certain problem classification id for a subscription": { - "$ref": "./examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json" - }, - "List support tickets with a certain service id for a subscription": { - "$ref": "./examples/ListSupportTicketsServiceIdEqualsForSubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}": { - "get": { - "operationId": "SupportTickets_Get", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/SupportTicketDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get details of a subscription ticket": { - "$ref": "./examples/GetSubscriptionSupportTicketDetails.json" - } - } - }, - "put": { - "operationId": "SupportTickets_Create", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "createSupportTicketParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/SupportTicketDetails" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/SupportTicketDetails" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create a ticket for Billing related issues": { - "$ref": "./examples/CreateBillingSupportTicketForSubscription.json" - }, - "Create a ticket for Subscription Management related issues for a subscription": { - "$ref": "./examples/CreateSubMgmtSupportTicketForSubscription.json" - }, - "Create a ticket for Technical issue related to a specific resource for a subscription": { - "$ref": "./examples/CreateTechnicalSupportTicketForSubscription.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 Azure SQL managed instance": { - "$ref": "./examples/CreateSqlManagedInstanceQuotaTicket.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 Compute VM Cores": { - "$ref": "./examples/CreateCoresQuotaTicketForSubscription.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 DTUs for SQL Database": { - "$ref": "./examples/CreateSqlDatabaseQuotaTicketForDTUs.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 Low-priority cores for a Batch account": { - "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.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 Servers for Azure Synapse Analytics": { - "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForServers.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 services that do not require additional details in the quotaTicketDetails object": { - "$ref": "./examples/CreateGenericQuotaTicket.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 specific VM family cores for a Batch account": { - "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "SupportTickets_Update", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "updateSupportTicket", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateSupportTicket" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/SupportTicketDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Update advanced diagnostic consent of a subscription support ticket": { - "$ref": "./examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json" - }, - "Update contact details of a subscription support ticket": { - "$ref": "./examples/UpdateContactDetailsOfSupportTicketForSubscription.json" - }, - "Update severity of a subscription support ticket": { - "$ref": "./examples/UpdateSeverityOfSupportTicketForSubscription.json" - }, - "Update status of a subscription support ticket": { - "$ref": "./examples/UpdateStatusOfSupportTicketForSubscription.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts": { - "get": { - "operationId": "ChatTranscripts_List", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ChatTranscriptsListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List chat transcripts for a subscription support ticket": { - "$ref": "./examples/ListChatTranscriptsForSubscriptionSupportTicket.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}": { - "get": { - "operationId": "ChatTranscripts_Get", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "chatTranscriptName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ChatTranscriptDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get chat transcript details for a subscription support ticket": { - "$ref": "./examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": { - "post": { - "operationId": "Communications_CheckNameAvailability", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "checkNameAvailabilityInput", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityInput" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityOutput" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Checks whether name is available for Communication resource for a subscription support ticket": { - "$ref": "./examples/CheckNameAvailabilityForSupportTicketCommunication.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": { - "get": { - "operationId": "Communications_List", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "$top", - "in": "query", - "type": "integer", - "format": "int32" - }, - { - "name": "$filter", - "in": "query", - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CommunicationsListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List communications for a subscription support ticket": { - "$ref": "./examples/ListCommunicationsForSubscriptionSupportTicket.json" - }, - "List web communication created on or after a specific date for a subscription support ticket": { - "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json" - }, - "List web communications for a subscription support ticket": { - "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicket.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { - "get": { - "operationId": "Communications_Get", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "communicationName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CommunicationDetails" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get communication details for a subscription support ticket": { - "$ref": "./examples/GetCommunicationDetailsForSubscriptionSupportTicket.json" - } - } - }, - "put": { - "operationId": "Communications_Create", - "parameters": [ - { - "name": "supportTicketName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "communicationName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "createCommunicationParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CommunicationDetails" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CommunicationDetails" - } - }, - "202": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "AddCommunicationToSubscriptionTicket": { - "$ref": "./examples/CreateSupportTicketCommunication.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - } - } - }, - "definitions": { - "ChatTranscriptDetails": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ChatTranscriptDetailsProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ChatTranscriptDetailsProperties": { - "type": "object", - "properties": { - "messages": { - "type": "array", - "items": { - "$ref": "#/definitions/MessageProperties" - } - }, - "startTime": { - "type": "string", - "format": "date-time", - "readOnly": true - } - } - }, - "ChatTranscriptsListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/ChatTranscriptDetails" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "CheckNameAvailabilityInput": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Support/supportTickets", - "Microsoft.Support/communications" - ], - "x-ms-enum": { - "name": "Type", - "modelAsString": false - } - } - }, - "required": [ - "name", - "type" - ] - }, - "CheckNameAvailabilityOutput": { - "type": "object", - "properties": { - "nameAvailable": { - "type": "boolean", - "readOnly": true - }, - "reason": { - "type": "string", - "readOnly": true - }, - "message": { - "type": "string", - "readOnly": true - } - } - }, - "CommunicationDetails": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true - }, - "properties": { - "$ref": "#/definitions/CommunicationDetailsProperties", - "x-ms-client-flatten": true - } - }, - "required": [ - "properties" - ] - }, - "CommunicationDetailsProperties": { - "type": "object", - "properties": { - "communicationType": { - "type": "string", - "enum": [ - "web", - "phone" - ], - "x-ms-enum": { - "name": "CommunicationType", - "modelAsString": true - }, - "readOnly": true - }, - "communicationDirection": { - "type": "string", - "enum": [ - "inbound", - "outbound" - ], - "x-ms-enum": { - "name": "CommunicationDirection", - "modelAsString": true - }, - "readOnly": true - }, - "sender": { - "type": "string" - }, - "subject": { - "type": "string" - }, - "body": { - "type": "string" - }, - "createdDate": { - "type": "string", - "format": "date-time", - "readOnly": true - } - }, - "required": [ - "body", - "subject" - ] - }, - "CommunicationsListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/CommunicationDetails" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "ContactProfile": { - "type": "object", - "properties": { - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "preferredContactMethod": { - "type": "string", - "enum": [ - "email", - "phone" - ], - "x-ms-enum": { - "name": "PreferredContactMethod", - "modelAsString": true - } - }, - "primaryEmailAddress": { - "type": "string" - }, - "additionalEmailAddresses": { - "type": "array", - "items": { - "type": "string" - } - }, - "phoneNumber": { - "type": "string" - }, - "preferredTimeZone": { - "type": "string" - }, - "country": { - "type": "string" - }, - "preferredSupportLanguage": { - "type": "string" - } - }, - "required": [ - "country", - "firstName", - "lastName", - "preferredContactMethod", - "preferredSupportLanguage", - "preferredTimeZone", - "primaryEmailAddress" - ] - }, - "FileDetails": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/FileDetailsProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "FileDetailsProperties": { - "type": "object", - "properties": { - "createdOn": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "chunkSize": { - "type": "integer", - "format": "int32" - }, - "fileSize": { - "type": "integer", - "format": "int32" - }, - "numberOfChunks": { - "type": "integer", - "format": "int32" - } - } - }, - "FileWorkspaceDetails": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/FileWorkspaceDetailsProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "FileWorkspaceDetailsProperties": { - "type": "object", - "properties": { - "createdOn": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "expirationTime": { - "type": "string", - "format": "date-time", - "readOnly": true - } - } - }, - "FilesListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/FileDetails" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "MessageProperties": { - "type": "object", - "properties": { - "contentType": { - "type": "string", - "x-ms-enum": { - "name": "TranscriptContentType", - "modelAsString": true - }, - "readOnly": true - }, - "communicationDirection": { - "type": "string", - "enum": [ - "inbound", - "outbound" - ], - "x-ms-enum": { - "name": "CommunicationDirection", - "modelAsString": true - }, - "readOnly": true - }, - "sender": { - "type": "string" - }, - "body": { - "type": "string" - }, - "createdDate": { - "type": "string", - "format": "date-time", - "readOnly": true - } - } - }, - "Operation": { - "type": "object", - "properties": { - "name": { - "type": "string", - "readOnly": true - }, - "display": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The description of the operation.", - "readOnly": true - }, - "operation": { - "type": "string", - "description": "The action that users can perform, based on their permission level.", - "readOnly": true - }, - "provider": { - "type": "string", - "description": "Service provider: Microsoft Support.", - "readOnly": true - }, - "resource": { - "type": "string", - "description": "Resource on which the operation is performed.", - "readOnly": true - } - } - } - } - }, - "OperationsListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "ProblemClassification": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true - }, - "properties": { - "$ref": "#/definitions/ProblemClassificationProperties", - "x-ms-client-flatten": true - } - } - }, - "ProblemClassificationProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string" - }, - "secondaryConsentEnabled": { - "type": "array", - "items": { - "$ref": "#/definitions/SecondaryConsentEnabled" - } - } - } - }, - "ProblemClassificationsListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ProblemClassification" - } - } - } - }, - "QuotaChangeRequest": { - "type": "object", - "properties": { - "region": { - "type": "string" - }, - "payload": { - "type": "string" - } - } - }, - "QuotaTicketDetails": { - "type": "object", - "properties": { - "quotaChangeRequestSubType": { - "type": "string" - }, - "quotaChangeRequestVersion": { - "type": "string" - }, - "quotaChangeRequests": { - "type": "array", - "items": { - "$ref": "#/definitions/QuotaChangeRequest" - }, - "x-ms-identifiers": [ - "region" - ] - } - } - }, - "SecondaryConsent": { - "type": "object", - "properties": { - "userConsent": { - "type": "string", - "enum": [ - "Yes", - "No" - ], - "x-ms-enum": { - "name": "UserConsent", - "modelAsString": true - } - }, - "type": { - "type": "string" - } - } - }, - "SecondaryConsentEnabled": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "type": { - "type": "string" - } - } - }, - "Service": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true - }, - "properties": { - "$ref": "#/definitions/ServiceProperties", - "x-ms-client-flatten": true - } - } - }, - "ServiceLevelAgreement": { - "type": "object", - "properties": { - "startTime": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "expirationTime": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "slaMinutes": { - "type": "integer", - "format": "int32", - "readOnly": true - } - } - }, - "ServiceProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string" - }, - "resourceTypes": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "ServicesListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Service" - } - } - } - }, - "SupportEngineer": { - "type": "object", - "properties": { - "emailAddress": { - "type": "string", - "readOnly": true - } - } - }, - "SupportTicketDetails": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true - }, - "properties": { - "$ref": "#/definitions/SupportTicketDetailsProperties", - "x-ms-client-flatten": true - } - }, - "required": [ - "properties" - ] - }, - "SupportTicketDetailsProperties": { - "type": "object", - "properties": { - "supportTicketId": { - "type": "string" - }, - "description": { - "type": "string" - }, - "problemClassificationId": { - "type": "string" - }, - "problemClassificationDisplayName": { - "type": "string", - "readOnly": true - }, - "severity": { - "type": "string", - "enum": [ - "minimal", - "moderate", - "critical", - "highestcriticalimpact" - ], - "x-ms-enum": { - "name": "SeverityLevel", - "modelAsString": true - } - }, - "enrollmentId": { - "type": "string" - }, - "require24X7Response": { - "type": "boolean" - }, - "advancedDiagnosticConsent": { - "type": "string", - "enum": [ - "Yes", - "No" - ], - "x-ms-enum": { - "name": "Consent", - "modelAsString": true - } - }, - "problemScopingQuestions": { - "type": "string" - }, - "supportPlanId": { - "type": "string" - }, - "contactDetails": { - "$ref": "#/definitions/ContactProfile" - }, - "serviceLevelAgreement": { - "$ref": "#/definitions/ServiceLevelAgreement" - }, - "supportEngineer": { - "$ref": "#/definitions/SupportEngineer" - }, - "supportPlanType": { - "type": "string", - "readOnly": true - }, - "supportPlanDisplayName": { - "type": "string", - "readOnly": true - }, - "title": { - "type": "string" - }, - "problemStartTime": { - "type": "string", - "format": "date-time" - }, - "serviceId": { - "type": "string" - }, - "serviceDisplayName": { - "type": "string", - "readOnly": true - }, - "status": { - "type": "string", - "readOnly": true - }, - "createdDate": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "modifiedDate": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "fileWorkspaceName": { - "type": "string" - }, - "isTemporaryTicket": { - "type": "string", - "enum": [ - "Yes", - "No" - ], - "x-ms-enum": { - "name": "IsTemporaryTicket", - "modelAsString": true - }, - "readOnly": true - }, - "technicalTicketDetails": { - "$ref": "#/definitions/TechnicalTicketDetails" - }, - "quotaTicketDetails": { - "$ref": "#/definitions/QuotaTicketDetails" - }, - "secondaryConsent": { - "type": "array", - "items": { - "$ref": "#/definitions/SecondaryConsent" - } - } - }, - "required": [ - "advancedDiagnosticConsent", - "contactDetails", - "description", - "problemClassificationId", - "serviceId", - "severity", - "title" - ] - }, - "SupportTicketsListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/SupportTicketDetails" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "TechnicalTicketDetails": { - "type": "object", - "properties": { - "resourceId": { - "type": "string" - } - } - }, - "UpdateContactProfile": { - "type": "object", - "properties": { - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "preferredContactMethod": { - "type": "string", - "enum": [ - "email", - "phone" - ], - "x-ms-enum": { - "name": "PreferredContactMethod", - "modelAsString": true - } - }, - "primaryEmailAddress": { - "type": "string" - }, - "additionalEmailAddresses": { - "type": "array", - "items": { - "type": "string" - } - }, - "phoneNumber": { - "type": "string" - }, - "preferredTimeZone": { - "type": "string" - }, - "country": { - "type": "string" - }, - "preferredSupportLanguage": { - "type": "string" - } - } - }, - "UpdateSupportTicket": { - "type": "object", - "properties": { - "severity": { - "type": "string", - "enum": [ - "minimal", - "moderate", - "critical", - "highestcriticalimpact" - ], - "x-ms-enum": { - "name": "SeverityLevel", - "modelAsString": true - } - }, - "status": { - "type": "string", - "enum": [ - "open", - "closed" - ], - "x-ms-enum": { - "name": "Status", - "modelAsString": true - } - }, - "contactDetails": { - "$ref": "#/definitions/UpdateContactProfile" - }, - "advancedDiagnosticConsent": { - "type": "string", - "enum": [ - "Yes", - "No" - ], - "x-ms-enum": { - "name": "Consent", - "modelAsString": true - } - }, - "secondaryConsent": { - "type": "array", - "items": { - "$ref": "#/definitions/SecondaryConsent" - } - } - } - }, - "UploadFile": { - "type": "object", - "properties": { - "content": { - "type": "string" - }, - "chunkIndex": { - "type": "integer", - "format": "int32" - } - } - } - }, - "parameters": {} -} \ No newline at end of file diff --git a/specification/support/Support.Management/ChatTranscriptDetails.tsp b/specification/support/Support.Management/ChatTranscriptDetails.tsp index 0ca569270fe0..7e010812e37b 100644 --- a/specification/support/Support.Management/ChatTranscriptDetails.tsp +++ b/specification/support/Support.Management/ChatTranscriptDetails.tsp @@ -27,17 +27,18 @@ model ChatTranscriptDetails } /** - * [Placeholder] Discription for page model + * [Placeholder] Description for page model */ @pagedResult model ChatTranscriptsListResult { /** - * [Placeholder] Discription for nextLink property + * [Placeholder] Description for nextLink property */ @nextLink nextLink?: string; + /** - * [Placeholder] Discription for value property + * [Placeholder] Description for value property */ @items value: ChatTranscriptDetails[]; @@ -75,7 +76,10 @@ interface ChatTranscripts { /** * Lists all chat transcripts for a support ticket under subscription */ - list is ChatTranscriptOps.List; + list is ChatTranscriptOps.List< + ChatTranscriptDetails, + Response = ChatTranscriptsListResult + >; } @armResourceOperations interface ChatTranscriptsNoSubscriptionOps @@ -108,7 +112,10 @@ interface ChatTranscriptsNoSubscription { /** * Lists all chat transcripts for a support ticket */ - list is ChatTranscriptsNoSubscriptionOps.List; + list is ChatTranscriptsNoSubscriptionOps.List< + ChatTranscriptDetails, + Response = ChatTranscriptsListResult + >; } @@doc(ChatTranscriptDetails.name, "ChatTranscript name."); diff --git a/specification/support/Support.Management/CommunicationDetails.tsp b/specification/support/Support.Management/CommunicationDetails.tsp index 4cfe79cf392b..433fce7c038b 100644 --- a/specification/support/Support.Management/CommunicationDetails.tsp +++ b/specification/support/Support.Management/CommunicationDetails.tsp @@ -30,17 +30,18 @@ model CommunicationDetails } /** - * [Placeholder] Discription for page model + * [Placeholder] Description for page model */ @pagedResult model CommunicationsListResult { /** - * [Placeholder] Discription for nextLink property + * [Placeholder] Description for nextLink property */ @nextLink nextLink?: string; + /** - * [Placeholder] Discription for value property + * [Placeholder] Description for value property */ @items value: CommunicationDetails[]; diff --git a/specification/support/Support.Management/FileDetails.tsp b/specification/support/Support.Management/FileDetails.tsp index 100bff034900..b7505d34dc44 100644 --- a/specification/support/Support.Management/FileDetails.tsp +++ b/specification/support/Support.Management/FileDetails.tsp @@ -26,17 +26,18 @@ model FileDetails >; } /** - * [Placeholder] Discription for page model + * [Placeholder] Description for page model */ @pagedResult model FilesListResult { /** - * [Placeholder] Discription for nextLink property + * [Placeholder] Description for nextLink property */ @nextLink nextLink?: string; + /** - * [Placeholder] Discription for value property + * [Placeholder] Description for value property */ @items value: FileDetails[]; diff --git a/specification/support/Support.Management/SupportTicketDetails.tsp b/specification/support/Support.Management/SupportTicketDetails.tsp index dee007eef4cc..edc077a42e21 100644 --- a/specification/support/Support.Management/SupportTicketDetails.tsp +++ b/specification/support/Support.Management/SupportTicketDetails.tsp @@ -29,18 +29,18 @@ model SupportTicketDetails } /** - * [Placeholder] Discription for page model + * [Placeholder] Description for page model */ @pagedResult model SupportTicketsListResult { /** - * [Placeholder] Discription for nextLink property + * [Placeholder] Description for nextLink property */ @nextLink nextLink?: string; /** - * [Placeholder] Discription for value property + * [Placeholder] Description for value property */ @items value: SupportTicketDetails[]; diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json index 7effb1f60eaa..c37b4ce48fbd 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json @@ -2177,15 +2177,15 @@ }, "ChatTranscriptsListResult": { "type": "object", - "description": "[Placeholder] Discription for page model", + "description": "[Placeholder] Description for page model", "properties": { "nextLink": { "type": "string", - "description": "[Placeholder] Discription for nextLink property" + "description": "[Placeholder] Description for nextLink property" }, "value": { "type": "array", - "description": "[Placeholder] Discription for value property", + "description": "[Placeholder] Description for value property", "items": { "$ref": "#/definitions/ChatTranscriptDetails" } @@ -2337,15 +2337,15 @@ }, "CommunicationsListResult": { "type": "object", - "description": "[Placeholder] Discription for page model", + "description": "[Placeholder] Description for page model", "properties": { "nextLink": { "type": "string", - "description": "[Placeholder] Discription for nextLink property" + "description": "[Placeholder] Description for nextLink property" }, "value": { "type": "array", - "description": "[Placeholder] Discription for value property", + "description": "[Placeholder] Description for value property", "items": { "$ref": "#/definitions/CommunicationDetails" } @@ -2510,15 +2510,15 @@ }, "FilesListResult": { "type": "object", - "description": "[Placeholder] Discription for page model", + "description": "[Placeholder] Description for page model", "properties": { "nextLink": { "type": "string", - "description": "[Placeholder] Discription for nextLink property" + "description": "[Placeholder] Description for nextLink property" }, "value": { "type": "array", - "description": "[Placeholder] Discription for value property", + "description": "[Placeholder] Description for value property", "items": { "$ref": "#/definitions/FileDetails" } @@ -3017,15 +3017,15 @@ }, "SupportTicketsListResult": { "type": "object", - "description": "[Placeholder] Discription for page model", + "description": "[Placeholder] Description for page model", "properties": { "nextLink": { "type": "string", - "description": "[Placeholder] Discription for nextLink property" + "description": "[Placeholder] Description for nextLink property" }, "value": { "type": "array", - "description": "[Placeholder] Discription for value property", + "description": "[Placeholder] Description for value property", "items": { "$ref": "#/definitions/SupportTicketDetails" } From b696007118c0176e1fb95b8bf73dda67e826d18e Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Wed, 9 Jul 2025 04:54:19 +0000 Subject: [PATCH 18/38] format --- .../examples/2024-04-01/CheckNameAvailability.json | 2 +- ...AvailabilityForNoSubscriptionSupportTicketCommunication.json | 2 +- .../CheckNameAvailabilityForSupportTicketCommunication.json | 2 +- .../2024-04-01/CheckNameAvailabilityWithSubscription.json | 2 +- ...ateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json | 2 +- ...atchQuotaTicketForSpecificBatchAccountForDedicatedCores.json | 2 +- ...chQuotaTicketForSpecificBatchAccountForLowPriorityCores.json | 2 +- .../CreateBatchQuotaTicketForSpecificBatchAccountForPools.json | 2 +- .../2024-04-01/CreateBatchQuotaTicketForSubscription.json | 2 +- .../examples/2024-04-01/CreateBillingSupportTicket.json | 2 +- .../2024-04-01/CreateBillingSupportTicketForSubscription.json | 2 +- .../2024-04-01/CreateCoresQuotaTicketForSubscription.json | 2 +- .../Support.Management/examples/2024-04-01/CreateFile.json | 2 +- .../examples/2024-04-01/CreateFileForSubscription.json | 2 +- .../examples/2024-04-01/CreateFileWorkspace.json | 2 +- .../examples/2024-04-01/CreateFileWorkspaceForSubscription.json | 2 +- .../examples/2024-04-01/CreateGenericQuotaTicket.json | 2 +- .../CreateMachineLearningQuotaTicketForDedicatedCores.json | 2 +- .../CreateMachineLearningQuotaTicketForLowPriorityCores.json | 2 +- .../CreateNoSubscriptionSupportTicketCommunication.json | 2 +- .../2024-04-01/CreateSqlDatabaseQuotaTicketForDTUs.json | 2 +- .../2024-04-01/CreateSqlDatabaseQuotaTicketForServers.json | 2 +- .../2024-04-01/CreateSqlDatawarehouseQuotaTicketForDTUs.json | 2 +- .../2024-04-01/CreateSqlDatawarehouseQuotaTicketForServers.json | 2 +- .../2024-04-01/CreateSqlManagedInstanceQuotaTicket.json | 2 +- .../examples/2024-04-01/CreateSubMgmtSupportTicket.json | 2 +- .../2024-04-01/CreateSubMgmtSupportTicketForSubscription.json | 2 +- .../examples/2024-04-01/CreateSupportTicketCommunication.json | 2 +- .../examples/2024-04-01/CreateTechnicalSupportTicket.json | 2 +- .../2024-04-01/CreateTechnicalSupportTicketForSubscription.json | 2 +- .../GetCommunicationDetailsForSubscriptionSupportTicket.json | 2 +- .../2024-04-01/GetCommunicationDetailsForSupportTicket.json | 2 +- .../Support.Management/examples/2024-04-01/GetFileDetails.json | 2 +- .../examples/2024-04-01/GetFileDetailsForSubscription.json | 2 +- .../examples/2024-04-01/GetFileWorkspaceDetails.json | 2 +- .../2024-04-01/GetFileWorkspaceDetailsForSubscription.json | 2 +- .../examples/2024-04-01/GetProblemClassification.json | 2 +- .../Support.Management/examples/2024-04-01/GetService.json | 2 +- .../2024-04-01/GetSubscriptionSupportTicketDetails.json | 2 +- .../examples/2024-04-01/GetSupportTicketDetails.json | 2 +- .../GetchatTranscriptDetailsForSubscriptionSupportTicket.json | 2 +- .../2024-04-01/GetchatTranscriptDetailsForSupportTicket.json | 2 +- .../ListChatTranscriptsForSubscriptionSupportTicket.json | 2 +- .../2024-04-01/ListChatTranscriptsForSupportTicket.json | 2 +- .../ListCommunicationsForSubscriptionSupportTicket.json | 2 +- .../examples/2024-04-01/ListCommunicationsForSupportTicket.json | 2 +- .../2024-04-01/ListFilesForSubscriptionUnderFileWorkspace.json | 2 +- .../examples/2024-04-01/ListFilesUnderFileWorkspace.json | 2 +- .../Support.Management/examples/2024-04-01/ListOperations.json | 2 +- .../examples/2024-04-01/ListProblemClassifications.json | 2 +- .../Support.Management/examples/2024-04-01/ListServices.json | 2 +- .../examples/2024-04-01/ListSupportTickets.json | 2 +- .../examples/2024-04-01/ListSupportTicketsBySubscription.json | 2 +- .../ListSupportTicketsCreatedOnOrAfterAndInOpenState.json | 2 +- ...portTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json | 2 +- .../ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json | 2 +- ...TicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json | 2 +- .../examples/2024-04-01/ListSupportTicketsInOpenState.json | 2 +- .../2024-04-01/ListSupportTicketsInOpenStateBySubscription.json | 2 +- .../examples/2024-04-01/ListSupportTicketsInUpdatingState.json | 2 +- .../ListSupportTicketsInUpdatingStateBySubscription.json | 2 +- .../ListSupportTicketsProblemClassificationIdEquals.json | 2 +- ...portTicketsProblemClassificationIdEqualsForSubscription.json | 2 +- .../examples/2024-04-01/ListSupportTicketsServiceIdEquals.json | 2 +- .../ListSupportTicketsServiceIdEqualsForSubscription.json | 2 +- .../ListWebCommunicationsForSubscriptionSupportTicket.json | 2 +- ...municationsForSubscriptionSupportTicketCreatedOnOrAfter.json | 2 +- .../2024-04-01/ListWebCommunicationsForSupportTicket.json | 2 +- .../ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json | 2 +- .../UpdateAdvancedDiagnosticConsentOfSupportTicket.json | 2 +- ...AdvancedDiagnosticConsentOfSupportTicketForSubscription.json | 2 +- .../2024-04-01/UpdateContactDetailsOfSupportTicket.json | 2 +- .../UpdateContactDetailsOfSupportTicketForSubscription.json | 2 +- .../examples/2024-04-01/UpdateSeverityOfSupportTicket.json | 2 +- .../UpdateSeverityOfSupportTicketForSubscription.json | 2 +- .../examples/2024-04-01/UpdateStatusOfSupportTicket.json | 2 +- .../2024-04-01/UpdateStatusOfSupportTicketForSubscription.json | 2 +- .../Support.Management/examples/2024-04-01/UploadFile.json | 2 +- .../examples/2024-04-01/UploadFileForSubscription.json | 2 +- specification/support/Support.Management/models.tsp | 2 ++ 80 files changed, 81 insertions(+), 79 deletions(-) diff --git a/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailability.json b/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailability.json index 9b91ac5690e6..8eaeb0bd1f39 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailability.json +++ b/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailability.json @@ -17,4 +17,4 @@ }, "operationId": "SupportTicketsNoSubscription_CheckNameAvailability", "title": "Checks whether name is available for SupportTicket resource" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json b/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json index 1feabad45786..658a7b7540c7 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json +++ b/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json @@ -18,4 +18,4 @@ }, "operationId": "CommunicationsNoSubscription_CheckNameAvailability", "title": "Checks whether name is available for Communication resource" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityForSupportTicketCommunication.json b/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityForSupportTicketCommunication.json index 06b33d318681..42238978179e 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityForSupportTicketCommunication.json +++ b/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityForSupportTicketCommunication.json @@ -19,4 +19,4 @@ }, "operationId": "Communications_CheckNameAvailability", "title": "Checks whether name is available for Communication resource for a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityWithSubscription.json b/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityWithSubscription.json index 047cd6424580..d2a966cb8946 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityWithSubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/CheckNameAvailabilityWithSubscription.json @@ -18,4 +18,4 @@ }, "operationId": "SupportTickets_CheckNameAvailability", "title": "Checks whether name is available for a subscription support ticket resource" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json b/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json index 060027d85fec..3f9783e8c1d5 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for Active Jobs and Job Schedules for a Batch account" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json b/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json index 4cb75a4299d6..b79f68ef38d6 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for specific VM family cores for a Batch account" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json b/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json index 83df0b213325..88467d093b97 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for Low-priority cores for a Batch account" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json b/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json index 997e35ce24d3..9e4f0955f804 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for Pools for a Batch account" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSubscription.json index f3be9c49f985..f3acd00e08fb 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateBatchQuotaTicketForSubscription.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for Batch accounts for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateBillingSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/CreateBillingSupportTicket.json index 4aecbcf9af9f..78fe4870237f 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateBillingSupportTicket.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateBillingSupportTicket.json @@ -77,4 +77,4 @@ }, "operationId": "SupportTicketsNoSubscription_Create", "title": "Create a ticket for Billing related issues" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateBillingSupportTicketForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/CreateBillingSupportTicketForSubscription.json index 91847e7ac96b..1be9eccfd5b3 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateBillingSupportTicketForSubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateBillingSupportTicketForSubscription.json @@ -78,4 +78,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket for Billing related issues" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateCoresQuotaTicketForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/CreateCoresQuotaTicketForSubscription.json index c8bf43f1ce99..0fb2e25a896e 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateCoresQuotaTicketForSubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateCoresQuotaTicketForSubscription.json @@ -95,4 +95,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for Compute VM Cores" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateFile.json b/specification/support/Support.Management/examples/2024-04-01/CreateFile.json index 3f47261d079d..80492b01b61f 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateFile.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateFile.json @@ -28,4 +28,4 @@ }, "operationId": "FilesNoSubscription_Create", "title": "Create a file workspace" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateFileForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/CreateFileForSubscription.json index 5593045b6057..d5c94b09a884 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateFileForSubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateFileForSubscription.json @@ -29,4 +29,4 @@ }, "operationId": "Files_Create", "title": "Create a file under a subscription workspace" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateFileWorkspace.json b/specification/support/Support.Management/examples/2024-04-01/CreateFileWorkspace.json index 8baabbfa8dac..525f318abde8 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateFileWorkspace.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateFileWorkspace.json @@ -18,4 +18,4 @@ }, "operationId": "FileWorkspacesNoSubscription_Create", "title": "Create a file workspace" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateFileWorkspaceForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/CreateFileWorkspaceForSubscription.json index 0b4eb73a7e63..a004758e809f 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateFileWorkspaceForSubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateFileWorkspaceForSubscription.json @@ -19,4 +19,4 @@ }, "operationId": "FileWorkspaces_Create", "title": "Create a file workspace for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateGenericQuotaTicket.json b/specification/support/Support.Management/examples/2024-04-01/CreateGenericQuotaTicket.json index f80ef80ab1e0..267b2fbc6c69 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateGenericQuotaTicket.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateGenericQuotaTicket.json @@ -74,4 +74,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for services that do not require additional details in the quotaTicketDetails object" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateMachineLearningQuotaTicketForDedicatedCores.json b/specification/support/Support.Management/examples/2024-04-01/CreateMachineLearningQuotaTicketForDedicatedCores.json index c49285a0cc8e..a86841a9ab85 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateMachineLearningQuotaTicketForDedicatedCores.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateMachineLearningQuotaTicketForDedicatedCores.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for specific VM family cores for Machine Learning service" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateMachineLearningQuotaTicketForLowPriorityCores.json b/specification/support/Support.Management/examples/2024-04-01/CreateMachineLearningQuotaTicketForLowPriorityCores.json index 63c2c619eec6..a3859316333c 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateMachineLearningQuotaTicketForLowPriorityCores.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateMachineLearningQuotaTicketForLowPriorityCores.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for Low-priority cores for Machine Learning service" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateNoSubscriptionSupportTicketCommunication.json b/specification/support/Support.Management/examples/2024-04-01/CreateNoSubscriptionSupportTicketCommunication.json index 584ebd449357..2eb301f97cb2 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateNoSubscriptionSupportTicketCommunication.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateNoSubscriptionSupportTicketCommunication.json @@ -36,4 +36,4 @@ }, "operationId": "CommunicationsNoSubscription_Create", "title": "AddCommunicationToNoSubscriptionTicket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatabaseQuotaTicketForDTUs.json b/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatabaseQuotaTicketForDTUs.json index 75d065ce776c..92cf5b51c539 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatabaseQuotaTicketForDTUs.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatabaseQuotaTicketForDTUs.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for DTUs for SQL Database" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatabaseQuotaTicketForServers.json b/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatabaseQuotaTicketForServers.json index 6ef1bc13ce2c..7b8f8732c128 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatabaseQuotaTicketForServers.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatabaseQuotaTicketForServers.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for Servers for SQL Database" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatawarehouseQuotaTicketForDTUs.json b/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatawarehouseQuotaTicketForDTUs.json index f55c2e6f41ee..38bc9ae5e265 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatawarehouseQuotaTicketForDTUs.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatawarehouseQuotaTicketForDTUs.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for DTUs for Azure Synapse Analytics" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatawarehouseQuotaTicketForServers.json b/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatawarehouseQuotaTicketForServers.json index 3d0d387b8706..bfd7d0239fb8 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatawarehouseQuotaTicketForServers.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateSqlDatawarehouseQuotaTicketForServers.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for Servers for Azure Synapse Analytics" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateSqlManagedInstanceQuotaTicket.json b/specification/support/Support.Management/examples/2024-04-01/CreateSqlManagedInstanceQuotaTicket.json index 1a351d7ff189..99b1ed0305f8 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateSqlManagedInstanceQuotaTicket.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateSqlManagedInstanceQuotaTicket.json @@ -105,4 +105,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for Azure SQL managed instance" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateSubMgmtSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/CreateSubMgmtSupportTicket.json index e07824aba0d5..53d2cbe43c6f 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateSubMgmtSupportTicket.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateSubMgmtSupportTicket.json @@ -77,4 +77,4 @@ }, "operationId": "SupportTicketsNoSubscription_Create", "title": "Create a ticket for Subscription Management related issues" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateSubMgmtSupportTicketForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/CreateSubMgmtSupportTicketForSubscription.json index 57d35dd4fa0d..94e34dc034c4 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateSubMgmtSupportTicketForSubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateSubMgmtSupportTicketForSubscription.json @@ -78,4 +78,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket for Subscription Management related issues for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateSupportTicketCommunication.json b/specification/support/Support.Management/examples/2024-04-01/CreateSupportTicketCommunication.json index 0a7f9aa99d17..f4495e267700 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateSupportTicketCommunication.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateSupportTicketCommunication.json @@ -37,4 +37,4 @@ }, "operationId": "Communications_Create", "title": "AddCommunicationToSubscriptionTicket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateTechnicalSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/CreateTechnicalSupportTicket.json index d77189a9fb88..063036f04a38 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateTechnicalSupportTicket.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateTechnicalSupportTicket.json @@ -91,4 +91,4 @@ }, "operationId": "SupportTicketsNoSubscription_Create", "title": "Create a ticket for Technical issue related to a specific resource" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/CreateTechnicalSupportTicketForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/CreateTechnicalSupportTicketForSubscription.json index 2be49dbedc8a..72529e1756e1 100644 --- a/specification/support/Support.Management/examples/2024-04-01/CreateTechnicalSupportTicketForSubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/CreateTechnicalSupportTicketForSubscription.json @@ -98,4 +98,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket for Technical issue related to a specific resource for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/GetCommunicationDetailsForSubscriptionSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/GetCommunicationDetailsForSubscriptionSupportTicket.json index 0dd42bede836..7e5133a50e9b 100644 --- a/specification/support/Support.Management/examples/2024-04-01/GetCommunicationDetailsForSubscriptionSupportTicket.json +++ b/specification/support/Support.Management/examples/2024-04-01/GetCommunicationDetailsForSubscriptionSupportTicket.json @@ -24,4 +24,4 @@ }, "operationId": "Communications_Get", "title": "Get communication details for a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/GetCommunicationDetailsForSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/GetCommunicationDetailsForSupportTicket.json index 5dbbc0810f02..47714257885a 100644 --- a/specification/support/Support.Management/examples/2024-04-01/GetCommunicationDetailsForSupportTicket.json +++ b/specification/support/Support.Management/examples/2024-04-01/GetCommunicationDetailsForSupportTicket.json @@ -23,4 +23,4 @@ }, "operationId": "CommunicationsNoSubscription_Get", "title": "Get communication details for a no-subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/GetFileDetails.json b/specification/support/Support.Management/examples/2024-04-01/GetFileDetails.json index 8d4c0f8582f2..4f683068edf3 100644 --- a/specification/support/Support.Management/examples/2024-04-01/GetFileDetails.json +++ b/specification/support/Support.Management/examples/2024-04-01/GetFileDetails.json @@ -21,4 +21,4 @@ }, "operationId": "FilesNoSubscription_Get", "title": "Get details of a subscription file" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/GetFileDetailsForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/GetFileDetailsForSubscription.json index 87a1e1d89e17..fd92db834b44 100644 --- a/specification/support/Support.Management/examples/2024-04-01/GetFileDetailsForSubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/GetFileDetailsForSubscription.json @@ -22,4 +22,4 @@ }, "operationId": "Files_Get", "title": "Get details of a subscription file" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/GetFileWorkspaceDetails.json b/specification/support/Support.Management/examples/2024-04-01/GetFileWorkspaceDetails.json index 50bcfcacaa36..9263e9229845 100644 --- a/specification/support/Support.Management/examples/2024-04-01/GetFileWorkspaceDetails.json +++ b/specification/support/Support.Management/examples/2024-04-01/GetFileWorkspaceDetails.json @@ -18,4 +18,4 @@ }, "operationId": "FileWorkspacesNoSubscription_Get", "title": "Get details of a file workspace" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/GetFileWorkspaceDetailsForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/GetFileWorkspaceDetailsForSubscription.json index 19a64f9000ed..2be0db1b9aa4 100644 --- a/specification/support/Support.Management/examples/2024-04-01/GetFileWorkspaceDetailsForSubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/GetFileWorkspaceDetailsForSubscription.json @@ -19,4 +19,4 @@ }, "operationId": "FileWorkspaces_Get", "title": "Get details of a subscription file workspace" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/GetProblemClassification.json b/specification/support/Support.Management/examples/2024-04-01/GetProblemClassification.json index 8fae37ca8a6f..b6db8617e4c8 100644 --- a/specification/support/Support.Management/examples/2024-04-01/GetProblemClassification.json +++ b/specification/support/Support.Management/examples/2024-04-01/GetProblemClassification.json @@ -18,4 +18,4 @@ }, "operationId": "ProblemClassifications_Get", "title": "Gets details of problemClassification for Azure service" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/GetService.json b/specification/support/Support.Management/examples/2024-04-01/GetService.json index 48100e54d1b4..53bb366cad46 100644 --- a/specification/support/Support.Management/examples/2024-04-01/GetService.json +++ b/specification/support/Support.Management/examples/2024-04-01/GetService.json @@ -21,4 +21,4 @@ }, "operationId": "Services_Get", "title": "Gets details of the Azure service" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/GetSubscriptionSupportTicketDetails.json b/specification/support/Support.Management/examples/2024-04-01/GetSubscriptionSupportTicketDetails.json index 37658ffac027..2ad27eafbe2d 100644 --- a/specification/support/Support.Management/examples/2024-04-01/GetSubscriptionSupportTicketDetails.json +++ b/specification/support/Support.Management/examples/2024-04-01/GetSubscriptionSupportTicketDetails.json @@ -51,4 +51,4 @@ }, "operationId": "SupportTickets_Get", "title": "Get details of a subscription ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/GetSupportTicketDetails.json b/specification/support/Support.Management/examples/2024-04-01/GetSupportTicketDetails.json index 44c8d8c296ad..1259a498a742 100644 --- a/specification/support/Support.Management/examples/2024-04-01/GetSupportTicketDetails.json +++ b/specification/support/Support.Management/examples/2024-04-01/GetSupportTicketDetails.json @@ -50,4 +50,4 @@ }, "operationId": "SupportTicketsNoSubscription_Get", "title": "Get details of a ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/GetchatTranscriptDetailsForSubscriptionSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/GetchatTranscriptDetailsForSubscriptionSupportTicket.json index 25b0d544f03f..e86a606e4c5c 100644 --- a/specification/support/Support.Management/examples/2024-04-01/GetchatTranscriptDetailsForSubscriptionSupportTicket.json +++ b/specification/support/Support.Management/examples/2024-04-01/GetchatTranscriptDetailsForSubscriptionSupportTicket.json @@ -34,4 +34,4 @@ }, "operationId": "ChatTranscripts_Get", "title": "Get chat transcript details for a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/GetchatTranscriptDetailsForSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/GetchatTranscriptDetailsForSupportTicket.json index 1f27c4b612f2..01010edbd077 100644 --- a/specification/support/Support.Management/examples/2024-04-01/GetchatTranscriptDetailsForSupportTicket.json +++ b/specification/support/Support.Management/examples/2024-04-01/GetchatTranscriptDetailsForSupportTicket.json @@ -33,4 +33,4 @@ }, "operationId": "ChatTranscriptsNoSubscription_Get", "title": "Get chat transcript details for a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListChatTranscriptsForSubscriptionSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/ListChatTranscriptsForSubscriptionSupportTicket.json index d05107bfda84..5e72006befa0 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListChatTranscriptsForSubscriptionSupportTicket.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListChatTranscriptsForSubscriptionSupportTicket.json @@ -62,4 +62,4 @@ }, "operationId": "ChatTranscripts_List", "title": "List chat transcripts for a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListChatTranscriptsForSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/ListChatTranscriptsForSupportTicket.json index 4a4782223572..8783ae07526d 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListChatTranscriptsForSupportTicket.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListChatTranscriptsForSupportTicket.json @@ -61,4 +61,4 @@ }, "operationId": "ChatTranscriptsNoSubscription_List", "title": "List chat transcripts for a no-subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListCommunicationsForSubscriptionSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/ListCommunicationsForSubscriptionSupportTicket.json index 972de19508fd..2962d103ffc5 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListCommunicationsForSubscriptionSupportTicket.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListCommunicationsForSubscriptionSupportTicket.json @@ -40,4 +40,4 @@ }, "operationId": "Communications_List", "title": "List communications for a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListCommunicationsForSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/ListCommunicationsForSupportTicket.json index a810eb3bac8f..8ced985aecb3 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListCommunicationsForSupportTicket.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListCommunicationsForSupportTicket.json @@ -39,4 +39,4 @@ }, "operationId": "CommunicationsNoSubscription_List", "title": "List communications for a no-subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListFilesForSubscriptionUnderFileWorkspace.json b/specification/support/Support.Management/examples/2024-04-01/ListFilesForSubscriptionUnderFileWorkspace.json index a1131e259751..9c82d847f8de 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListFilesForSubscriptionUnderFileWorkspace.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListFilesForSubscriptionUnderFileWorkspace.json @@ -36,4 +36,4 @@ }, "operationId": "Files_List", "title": "List files under a workspace for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListFilesUnderFileWorkspace.json b/specification/support/Support.Management/examples/2024-04-01/ListFilesUnderFileWorkspace.json index 364149aeef3d..bf1767da07bf 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListFilesUnderFileWorkspace.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListFilesUnderFileWorkspace.json @@ -35,4 +35,4 @@ }, "operationId": "FilesNoSubscription_List", "title": "List files under a workspace" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListOperations.json b/specification/support/Support.Management/examples/2024-04-01/ListOperations.json index fd5b00abd989..c980a4310ef5 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListOperations.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListOperations.json @@ -93,4 +93,4 @@ }, "operationId": "Operations_List", "title": "Get all operations" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListProblemClassifications.json b/specification/support/Support.Management/examples/2024-04-01/ListProblemClassifications.json index 50671c435ce0..51b19e586cc3 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListProblemClassifications.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListProblemClassifications.json @@ -69,4 +69,4 @@ }, "operationId": "ProblemClassifications_List", "title": "Gets list of problemClassifications for a service for which a support ticket can be created" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListServices.json b/specification/support/Support.Management/examples/2024-04-01/ListServices.json index 12fb4b8e8781..17b8937a62aa 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListServices.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListServices.json @@ -87,4 +87,4 @@ }, "operationId": "Services_List", "title": "Gets list of services for which a support ticket can be created" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTickets.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTickets.json index d32601be25c8..43e5a90cd883 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListSupportTickets.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTickets.json @@ -100,4 +100,4 @@ }, "operationId": "SupportTicketsNoSubscription_List", "title": "List support tickets" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsBySubscription.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsBySubscription.json index 9a9b7f565386..ab75544cff18 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsBySubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsBySubscription.json @@ -105,4 +105,4 @@ }, "operationId": "SupportTickets_List", "title": "List support tickets for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json index e270eb9e696d..3f534f1b56d1 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json @@ -102,4 +102,4 @@ }, "operationId": "SupportTicketsNoSubscription_List", "title": "List support tickets created on or after a certain date and in open state" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json index 2203d55670fb..6cbbaf51b508 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json @@ -106,4 +106,4 @@ }, "operationId": "SupportTickets_List", "title": "List support tickets created on or after a certain date and in open state for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json index f6540f578d29..c837ff11ba5a 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json @@ -109,4 +109,4 @@ }, "operationId": "SupportTicketsNoSubscription_List", "title": "List support tickets created on or after a certain date and in updating state" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json index b2708a7256dd..c33f135235dd 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json @@ -106,4 +106,4 @@ }, "operationId": "SupportTickets_List", "title": "List support tickets created on or after a certain date and in updating state for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInOpenState.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInOpenState.json index e2358c66f004..96c2b49d75ef 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInOpenState.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInOpenState.json @@ -102,4 +102,4 @@ }, "operationId": "SupportTicketsNoSubscription_List", "title": "List support tickets in open state" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInOpenStateBySubscription.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInOpenStateBySubscription.json index 75f009ddebbe..33bb3ae013f0 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInOpenStateBySubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInOpenStateBySubscription.json @@ -106,4 +106,4 @@ }, "operationId": "SupportTickets_List", "title": "List support tickets in open state for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInUpdatingState.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInUpdatingState.json index 01c071d75178..3f3067e057e7 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInUpdatingState.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInUpdatingState.json @@ -102,4 +102,4 @@ }, "operationId": "SupportTicketsNoSubscription_List", "title": "List support tickets in updating state" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInUpdatingStateBySubscription.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInUpdatingStateBySubscription.json index 4c1c420e4497..0a69088f96c3 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInUpdatingStateBySubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsInUpdatingStateBySubscription.json @@ -106,4 +106,4 @@ }, "operationId": "SupportTickets_List", "title": "List support tickets in updating state for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsProblemClassificationIdEquals.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsProblemClassificationIdEquals.json index d66fa50f22a1..28ef0a9183ea 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsProblemClassificationIdEquals.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsProblemClassificationIdEquals.json @@ -86,4 +86,4 @@ }, "operationId": "SupportTicketsNoSubscription_List", "title": "List support tickets with a certain problem classification id" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json index ce716e200e1b..5f6270476084 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json @@ -87,4 +87,4 @@ }, "operationId": "SupportTickets_List", "title": "List support tickets with a certain problem classification id for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEquals.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEquals.json index 4813515111eb..69b16f27d762 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEquals.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEquals.json @@ -100,4 +100,4 @@ }, "operationId": "SupportTicketsNoSubscription_List", "title": "List support tickets with a certain service id" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEqualsForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEqualsForSubscription.json index 86c7bb713acd..972ac5219ece 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEqualsForSubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEqualsForSubscription.json @@ -101,4 +101,4 @@ }, "operationId": "SupportTickets_List", "title": "List support tickets with a certain service id for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSubscriptionSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSubscriptionSupportTicket.json index c197a4b9d3a5..1d75eed7ca28 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSubscriptionSupportTicket.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSubscriptionSupportTicket.json @@ -41,4 +41,4 @@ }, "operationId": "Communications_List", "title": "List web communications for a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json b/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json index 35229d259503..233bd37d9fe7 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json @@ -41,4 +41,4 @@ }, "operationId": "Communications_List", "title": "List web communication created on or after a specific date for a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSupportTicket.json index 3d731b58b5f7..27616ff9a1b8 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSupportTicket.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSupportTicket.json @@ -40,4 +40,4 @@ }, "operationId": "CommunicationsNoSubscription_List", "title": "List web communications for a no-subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json b/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json index 73b589a58ca0..680e60269c58 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json @@ -40,4 +40,4 @@ }, "operationId": "CommunicationsNoSubscription_List", "title": "List web communication created on or after a specific date for a no-subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/UpdateAdvancedDiagnosticConsentOfSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/UpdateAdvancedDiagnosticConsentOfSupportTicket.json index 0c9007c301cd..0e04b49460f6 100644 --- a/specification/support/Support.Management/examples/2024-04-01/UpdateAdvancedDiagnosticConsentOfSupportTicket.json +++ b/specification/support/Support.Management/examples/2024-04-01/UpdateAdvancedDiagnosticConsentOfSupportTicket.json @@ -57,4 +57,4 @@ }, "operationId": "SupportTicketsNoSubscription_Update", "title": "Update advanced diagnostic consent of a support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json index f6ca46aafd89..00c6585fe612 100644 --- a/specification/support/Support.Management/examples/2024-04-01/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json @@ -58,4 +58,4 @@ }, "operationId": "SupportTickets_Update", "title": "Update advanced diagnostic consent of a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/UpdateContactDetailsOfSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/UpdateContactDetailsOfSupportTicket.json index 6f41429fafd0..2acc30ee5b7d 100644 --- a/specification/support/Support.Management/examples/2024-04-01/UpdateContactDetailsOfSupportTicket.json +++ b/specification/support/Support.Management/examples/2024-04-01/UpdateContactDetailsOfSupportTicket.json @@ -71,4 +71,4 @@ }, "operationId": "SupportTicketsNoSubscription_Update", "title": "Update contact details of a support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/UpdateContactDetailsOfSupportTicketForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/UpdateContactDetailsOfSupportTicketForSubscription.json index 31fc4bc9ba0d..65c56c5fdad0 100644 --- a/specification/support/Support.Management/examples/2024-04-01/UpdateContactDetailsOfSupportTicketForSubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/UpdateContactDetailsOfSupportTicketForSubscription.json @@ -72,4 +72,4 @@ }, "operationId": "SupportTickets_Update", "title": "Update contact details of a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/UpdateSeverityOfSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/UpdateSeverityOfSupportTicket.json index 80875cdc2a29..09b311aedf72 100644 --- a/specification/support/Support.Management/examples/2024-04-01/UpdateSeverityOfSupportTicket.json +++ b/specification/support/Support.Management/examples/2024-04-01/UpdateSeverityOfSupportTicket.json @@ -57,4 +57,4 @@ }, "operationId": "SupportTicketsNoSubscription_Update", "title": "Update severity of a support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/UpdateSeverityOfSupportTicketForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/UpdateSeverityOfSupportTicketForSubscription.json index c0f385a89e8d..b714da0948a7 100644 --- a/specification/support/Support.Management/examples/2024-04-01/UpdateSeverityOfSupportTicketForSubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/UpdateSeverityOfSupportTicketForSubscription.json @@ -58,4 +58,4 @@ }, "operationId": "SupportTickets_Update", "title": "Update severity of a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/UpdateStatusOfSupportTicket.json b/specification/support/Support.Management/examples/2024-04-01/UpdateStatusOfSupportTicket.json index 211d334f31f0..392e5790a5a2 100644 --- a/specification/support/Support.Management/examples/2024-04-01/UpdateStatusOfSupportTicket.json +++ b/specification/support/Support.Management/examples/2024-04-01/UpdateStatusOfSupportTicket.json @@ -57,4 +57,4 @@ }, "operationId": "SupportTicketsNoSubscription_Update", "title": "Update status of a support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/UpdateStatusOfSupportTicketForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/UpdateStatusOfSupportTicketForSubscription.json index debae401817a..6fa82427a4f1 100644 --- a/specification/support/Support.Management/examples/2024-04-01/UpdateStatusOfSupportTicketForSubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/UpdateStatusOfSupportTicketForSubscription.json @@ -58,4 +58,4 @@ }, "operationId": "SupportTickets_Update", "title": "Update status of a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/UploadFile.json b/specification/support/Support.Management/examples/2024-04-01/UploadFile.json index e1abde7ac3ea..b831c1a67af7 100644 --- a/specification/support/Support.Management/examples/2024-04-01/UploadFile.json +++ b/specification/support/Support.Management/examples/2024-04-01/UploadFile.json @@ -14,4 +14,4 @@ }, "operationId": "FilesNoSubscription_Upload", "title": "UploadFile" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/examples/2024-04-01/UploadFileForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/UploadFileForSubscription.json index e468282add6e..b5fc359ff57f 100644 --- a/specification/support/Support.Management/examples/2024-04-01/UploadFileForSubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/UploadFileForSubscription.json @@ -14,4 +14,4 @@ }, "operationId": "Files_Upload", "title": "UploadFileForSubscription" -} \ No newline at end of file +} diff --git a/specification/support/Support.Management/models.tsp b/specification/support/Support.Management/models.tsp index e48f0a4fa470..f9cd9a15107d 100644 --- a/specification/support/Support.Management/models.tsp +++ b/specification/support/Support.Management/models.tsp @@ -189,6 +189,7 @@ model ServicesListResult { */ @nextLink nextLink?: string; + /** * List of Service resources. */ @@ -222,6 +223,7 @@ model ProblemClassificationsListResult { */ @nextLink nextLink?: string; + /** * List of ProblemClassification resources. */ From a19f2a9f927c16e44bf5b1f642380f80c89a2fbb Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Wed, 9 Jul 2025 05:51:40 +0000 Subject: [PATCH 19/38] format --- .../stable/2024-04-01/examples/CheckNameAvailability.json | 2 +- ...AvailabilityForNoSubscriptionSupportTicketCommunication.json | 2 +- .../CheckNameAvailabilityForSupportTicketCommunication.json | 2 +- .../examples/CheckNameAvailabilityWithSubscription.json | 2 +- ...ateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json | 2 +- ...atchQuotaTicketForSpecificBatchAccountForDedicatedCores.json | 2 +- ...chQuotaTicketForSpecificBatchAccountForLowPriorityCores.json | 2 +- .../CreateBatchQuotaTicketForSpecificBatchAccountForPools.json | 2 +- .../examples/CreateBatchQuotaTicketForSubscription.json | 2 +- .../stable/2024-04-01/examples/CreateBillingSupportTicket.json | 2 +- .../examples/CreateBillingSupportTicketForSubscription.json | 2 +- .../examples/CreateCoresQuotaTicketForSubscription.json | 2 +- .../stable/2024-04-01/examples/CreateFile.json | 2 +- .../stable/2024-04-01/examples/CreateFileForSubscription.json | 2 +- .../stable/2024-04-01/examples/CreateFileWorkspace.json | 2 +- .../2024-04-01/examples/CreateFileWorkspaceForSubscription.json | 2 +- .../stable/2024-04-01/examples/CreateGenericQuotaTicket.json | 2 +- .../CreateMachineLearningQuotaTicketForDedicatedCores.json | 2 +- .../CreateMachineLearningQuotaTicketForLowPriorityCores.json | 2 +- .../CreateNoSubscriptionSupportTicketCommunication.json | 2 +- .../examples/CreateSqlDatabaseQuotaTicketForDTUs.json | 2 +- .../examples/CreateSqlDatabaseQuotaTicketForServers.json | 2 +- .../examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json | 2 +- .../examples/CreateSqlDatawarehouseQuotaTicketForServers.json | 2 +- .../examples/CreateSqlManagedInstanceQuotaTicket.json | 2 +- .../stable/2024-04-01/examples/CreateSubMgmtSupportTicket.json | 2 +- .../examples/CreateSubMgmtSupportTicketForSubscription.json | 2 +- .../2024-04-01/examples/CreateSupportTicketCommunication.json | 2 +- .../2024-04-01/examples/CreateTechnicalSupportTicket.json | 2 +- .../examples/CreateTechnicalSupportTicketForSubscription.json | 2 +- .../GetCommunicationDetailsForSubscriptionSupportTicket.json | 2 +- .../examples/GetCommunicationDetailsForSupportTicket.json | 2 +- .../stable/2024-04-01/examples/GetFileDetails.json | 2 +- .../2024-04-01/examples/GetFileDetailsForSubscription.json | 2 +- .../stable/2024-04-01/examples/GetFileWorkspaceDetails.json | 2 +- .../examples/GetFileWorkspaceDetailsForSubscription.json | 2 +- .../stable/2024-04-01/examples/GetProblemClassification.json | 2 +- .../stable/2024-04-01/examples/GetService.json | 2 +- .../examples/GetSubscriptionSupportTicketDetails.json | 2 +- .../stable/2024-04-01/examples/GetSupportTicketDetails.json | 2 +- .../GetchatTranscriptDetailsForSubscriptionSupportTicket.json | 2 +- .../examples/GetchatTranscriptDetailsForSupportTicket.json | 2 +- .../ListChatTranscriptsForSubscriptionSupportTicket.json | 2 +- .../examples/ListChatTranscriptsForSupportTicket.json | 2 +- .../ListCommunicationsForSubscriptionSupportTicket.json | 2 +- .../2024-04-01/examples/ListCommunicationsForSupportTicket.json | 2 +- .../examples/ListFilesForSubscriptionUnderFileWorkspace.json | 2 +- .../stable/2024-04-01/examples/ListFilesUnderFileWorkspace.json | 2 +- .../stable/2024-04-01/examples/ListOperations.json | 2 +- .../stable/2024-04-01/examples/ListProblemClassifications.json | 2 +- .../stable/2024-04-01/examples/ListServices.json | 2 +- .../stable/2024-04-01/examples/ListSupportTickets.json | 2 +- .../2024-04-01/examples/ListSupportTicketsBySubscription.json | 2 +- .../ListSupportTicketsCreatedOnOrAfterAndInOpenState.json | 2 +- ...portTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json | 2 +- .../ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json | 2 +- ...TicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json | 2 +- .../2024-04-01/examples/ListSupportTicketsInOpenState.json | 2 +- .../examples/ListSupportTicketsInOpenStateBySubscription.json | 2 +- .../2024-04-01/examples/ListSupportTicketsInUpdatingState.json | 2 +- .../ListSupportTicketsInUpdatingStateBySubscription.json | 2 +- .../ListSupportTicketsProblemClassificationIdEquals.json | 2 +- ...portTicketsProblemClassificationIdEqualsForSubscription.json | 2 +- .../2024-04-01/examples/ListSupportTicketsServiceIdEquals.json | 2 +- .../ListSupportTicketsServiceIdEqualsForSubscription.json | 2 +- .../ListWebCommunicationsForSubscriptionSupportTicket.json | 2 +- ...municationsForSubscriptionSupportTicketCreatedOnOrAfter.json | 2 +- .../examples/ListWebCommunicationsForSupportTicket.json | 2 +- .../ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json | 2 +- .../UpdateAdvancedDiagnosticConsentOfSupportTicket.json | 2 +- ...AdvancedDiagnosticConsentOfSupportTicketForSubscription.json | 2 +- .../examples/UpdateContactDetailsOfSupportTicket.json | 2 +- .../UpdateContactDetailsOfSupportTicketForSubscription.json | 2 +- .../2024-04-01/examples/UpdateSeverityOfSupportTicket.json | 2 +- .../examples/UpdateSeverityOfSupportTicketForSubscription.json | 2 +- .../stable/2024-04-01/examples/UpdateStatusOfSupportTicket.json | 2 +- .../examples/UpdateStatusOfSupportTicketForSubscription.json | 2 +- .../stable/2024-04-01/examples/UploadFile.json | 2 +- .../stable/2024-04-01/examples/UploadFileForSubscription.json | 2 +- 79 files changed, 79 insertions(+), 79 deletions(-) diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailability.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailability.json index 9b91ac5690e6..8eaeb0bd1f39 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailability.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailability.json @@ -17,4 +17,4 @@ }, "operationId": "SupportTicketsNoSubscription_CheckNameAvailability", "title": "Checks whether name is available for SupportTicket resource" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json index 1feabad45786..658a7b7540c7 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json @@ -18,4 +18,4 @@ }, "operationId": "CommunicationsNoSubscription_CheckNameAvailability", "title": "Checks whether name is available for Communication resource" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityForSupportTicketCommunication.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityForSupportTicketCommunication.json index 06b33d318681..42238978179e 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityForSupportTicketCommunication.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityForSupportTicketCommunication.json @@ -19,4 +19,4 @@ }, "operationId": "Communications_CheckNameAvailability", "title": "Checks whether name is available for Communication resource for a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityWithSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityWithSubscription.json index 047cd6424580..d2a966cb8946 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityWithSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityWithSubscription.json @@ -18,4 +18,4 @@ }, "operationId": "SupportTickets_CheckNameAvailability", "title": "Checks whether name is available for a subscription support ticket resource" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json index 060027d85fec..3f9783e8c1d5 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for Active Jobs and Job Schedules for a Batch account" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json index 4cb75a4299d6..b79f68ef38d6 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for specific VM family cores for a Batch account" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json index 83df0b213325..88467d093b97 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for Low-priority cores for a Batch account" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json index 997e35ce24d3..9e4f0955f804 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for Pools for a Batch account" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSubscription.json index f3be9c49f985..f3acd00e08fb 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSubscription.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for Batch accounts for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBillingSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBillingSupportTicket.json index 4aecbcf9af9f..78fe4870237f 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBillingSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBillingSupportTicket.json @@ -77,4 +77,4 @@ }, "operationId": "SupportTicketsNoSubscription_Create", "title": "Create a ticket for Billing related issues" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBillingSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBillingSupportTicketForSubscription.json index 91847e7ac96b..1be9eccfd5b3 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBillingSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBillingSupportTicketForSubscription.json @@ -78,4 +78,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket for Billing related issues" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateCoresQuotaTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateCoresQuotaTicketForSubscription.json index c8bf43f1ce99..0fb2e25a896e 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateCoresQuotaTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateCoresQuotaTicketForSubscription.json @@ -95,4 +95,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for Compute VM Cores" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFile.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFile.json index 3f47261d079d..80492b01b61f 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFile.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFile.json @@ -28,4 +28,4 @@ }, "operationId": "FilesNoSubscription_Create", "title": "Create a file workspace" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileForSubscription.json index 5593045b6057..d5c94b09a884 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileForSubscription.json @@ -29,4 +29,4 @@ }, "operationId": "Files_Create", "title": "Create a file under a subscription workspace" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileWorkspace.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileWorkspace.json index 8baabbfa8dac..525f318abde8 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileWorkspace.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileWorkspace.json @@ -18,4 +18,4 @@ }, "operationId": "FileWorkspacesNoSubscription_Create", "title": "Create a file workspace" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileWorkspaceForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileWorkspaceForSubscription.json index 0b4eb73a7e63..a004758e809f 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileWorkspaceForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileWorkspaceForSubscription.json @@ -19,4 +19,4 @@ }, "operationId": "FileWorkspaces_Create", "title": "Create a file workspace for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateGenericQuotaTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateGenericQuotaTicket.json index f80ef80ab1e0..267b2fbc6c69 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateGenericQuotaTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateGenericQuotaTicket.json @@ -74,4 +74,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for services that do not require additional details in the quotaTicketDetails object" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json index c49285a0cc8e..a86841a9ab85 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for specific VM family cores for Machine Learning service" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json index 63c2c619eec6..a3859316333c 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for Low-priority cores for Machine Learning service" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateNoSubscriptionSupportTicketCommunication.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateNoSubscriptionSupportTicketCommunication.json index 584ebd449357..2eb301f97cb2 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateNoSubscriptionSupportTicketCommunication.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateNoSubscriptionSupportTicketCommunication.json @@ -36,4 +36,4 @@ }, "operationId": "CommunicationsNoSubscription_Create", "title": "AddCommunicationToNoSubscriptionTicket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatabaseQuotaTicketForDTUs.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatabaseQuotaTicketForDTUs.json index 75d065ce776c..92cf5b51c539 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatabaseQuotaTicketForDTUs.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatabaseQuotaTicketForDTUs.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for DTUs for SQL Database" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatabaseQuotaTicketForServers.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatabaseQuotaTicketForServers.json index 6ef1bc13ce2c..7b8f8732c128 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatabaseQuotaTicketForServers.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatabaseQuotaTicketForServers.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for Servers for SQL Database" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json index f55c2e6f41ee..38bc9ae5e265 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for DTUs for Azure Synapse Analytics" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatawarehouseQuotaTicketForServers.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatawarehouseQuotaTicketForServers.json index 3d0d387b8706..bfd7d0239fb8 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatawarehouseQuotaTicketForServers.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatawarehouseQuotaTicketForServers.json @@ -97,4 +97,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for Servers for Azure Synapse Analytics" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlManagedInstanceQuotaTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlManagedInstanceQuotaTicket.json index 1a351d7ff189..99b1ed0305f8 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlManagedInstanceQuotaTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlManagedInstanceQuotaTicket.json @@ -105,4 +105,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket to request Quota increase for Azure SQL managed instance" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSubMgmtSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSubMgmtSupportTicket.json index e07824aba0d5..53d2cbe43c6f 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSubMgmtSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSubMgmtSupportTicket.json @@ -77,4 +77,4 @@ }, "operationId": "SupportTicketsNoSubscription_Create", "title": "Create a ticket for Subscription Management related issues" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSubMgmtSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSubMgmtSupportTicketForSubscription.json index 57d35dd4fa0d..94e34dc034c4 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSubMgmtSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSubMgmtSupportTicketForSubscription.json @@ -78,4 +78,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket for Subscription Management related issues for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSupportTicketCommunication.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSupportTicketCommunication.json index 0a7f9aa99d17..f4495e267700 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSupportTicketCommunication.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSupportTicketCommunication.json @@ -37,4 +37,4 @@ }, "operationId": "Communications_Create", "title": "AddCommunicationToSubscriptionTicket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateTechnicalSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateTechnicalSupportTicket.json index d77189a9fb88..063036f04a38 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateTechnicalSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateTechnicalSupportTicket.json @@ -91,4 +91,4 @@ }, "operationId": "SupportTicketsNoSubscription_Create", "title": "Create a ticket for Technical issue related to a specific resource" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateTechnicalSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateTechnicalSupportTicketForSubscription.json index 2be49dbedc8a..72529e1756e1 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateTechnicalSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateTechnicalSupportTicketForSubscription.json @@ -98,4 +98,4 @@ }, "operationId": "SupportTickets_Create", "title": "Create a ticket for Technical issue related to a specific resource for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json index 0dd42bede836..7e5133a50e9b 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json @@ -24,4 +24,4 @@ }, "operationId": "Communications_Get", "title": "Get communication details for a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSupportTicket.json index 5dbbc0810f02..47714257885a 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSupportTicket.json @@ -23,4 +23,4 @@ }, "operationId": "CommunicationsNoSubscription_Get", "title": "Get communication details for a no-subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetails.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetails.json index 8d4c0f8582f2..4f683068edf3 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetails.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetails.json @@ -21,4 +21,4 @@ }, "operationId": "FilesNoSubscription_Get", "title": "Get details of a subscription file" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetailsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetailsForSubscription.json index 87a1e1d89e17..fd92db834b44 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetailsForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetailsForSubscription.json @@ -22,4 +22,4 @@ }, "operationId": "Files_Get", "title": "Get details of a subscription file" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetails.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetails.json index 50bcfcacaa36..9263e9229845 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetails.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetails.json @@ -18,4 +18,4 @@ }, "operationId": "FileWorkspacesNoSubscription_Get", "title": "Get details of a file workspace" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetailsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetailsForSubscription.json index 19a64f9000ed..2be0db1b9aa4 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetailsForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetailsForSubscription.json @@ -19,4 +19,4 @@ }, "operationId": "FileWorkspaces_Get", "title": "Get details of a subscription file workspace" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetProblemClassification.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetProblemClassification.json index 8fae37ca8a6f..b6db8617e4c8 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetProblemClassification.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetProblemClassification.json @@ -18,4 +18,4 @@ }, "operationId": "ProblemClassifications_Get", "title": "Gets details of problemClassification for Azure service" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetService.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetService.json index 48100e54d1b4..53bb366cad46 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetService.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetService.json @@ -21,4 +21,4 @@ }, "operationId": "Services_Get", "title": "Gets details of the Azure service" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSubscriptionSupportTicketDetails.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSubscriptionSupportTicketDetails.json index 37658ffac027..2ad27eafbe2d 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSubscriptionSupportTicketDetails.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSubscriptionSupportTicketDetails.json @@ -51,4 +51,4 @@ }, "operationId": "SupportTickets_Get", "title": "Get details of a subscription ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSupportTicketDetails.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSupportTicketDetails.json index 44c8d8c296ad..1259a498a742 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSupportTicketDetails.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSupportTicketDetails.json @@ -50,4 +50,4 @@ }, "operationId": "SupportTicketsNoSubscription_Get", "title": "Get details of a ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json index 25b0d544f03f..e86a606e4c5c 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json @@ -34,4 +34,4 @@ }, "operationId": "ChatTranscripts_Get", "title": "Get chat transcript details for a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSupportTicket.json index 1f27c4b612f2..01010edbd077 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSupportTicket.json @@ -33,4 +33,4 @@ }, "operationId": "ChatTranscriptsNoSubscription_Get", "title": "Get chat transcript details for a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListChatTranscriptsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListChatTranscriptsForSubscriptionSupportTicket.json index d05107bfda84..5e72006befa0 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListChatTranscriptsForSubscriptionSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListChatTranscriptsForSubscriptionSupportTicket.json @@ -62,4 +62,4 @@ }, "operationId": "ChatTranscripts_List", "title": "List chat transcripts for a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListChatTranscriptsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListChatTranscriptsForSupportTicket.json index 4a4782223572..8783ae07526d 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListChatTranscriptsForSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListChatTranscriptsForSupportTicket.json @@ -61,4 +61,4 @@ }, "operationId": "ChatTranscriptsNoSubscription_List", "title": "List chat transcripts for a no-subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListCommunicationsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListCommunicationsForSubscriptionSupportTicket.json index 972de19508fd..2962d103ffc5 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListCommunicationsForSubscriptionSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListCommunicationsForSubscriptionSupportTicket.json @@ -40,4 +40,4 @@ }, "operationId": "Communications_List", "title": "List communications for a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListCommunicationsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListCommunicationsForSupportTicket.json index a810eb3bac8f..8ced985aecb3 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListCommunicationsForSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListCommunicationsForSupportTicket.json @@ -39,4 +39,4 @@ }, "operationId": "CommunicationsNoSubscription_List", "title": "List communications for a no-subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListFilesForSubscriptionUnderFileWorkspace.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListFilesForSubscriptionUnderFileWorkspace.json index a1131e259751..9c82d847f8de 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListFilesForSubscriptionUnderFileWorkspace.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListFilesForSubscriptionUnderFileWorkspace.json @@ -36,4 +36,4 @@ }, "operationId": "Files_List", "title": "List files under a workspace for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListFilesUnderFileWorkspace.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListFilesUnderFileWorkspace.json index 364149aeef3d..bf1767da07bf 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListFilesUnderFileWorkspace.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListFilesUnderFileWorkspace.json @@ -35,4 +35,4 @@ }, "operationId": "FilesNoSubscription_List", "title": "List files under a workspace" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListOperations.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListOperations.json index fd5b00abd989..c980a4310ef5 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListOperations.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListOperations.json @@ -93,4 +93,4 @@ }, "operationId": "Operations_List", "title": "Get all operations" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListProblemClassifications.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListProblemClassifications.json index 50671c435ce0..51b19e586cc3 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListProblemClassifications.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListProblemClassifications.json @@ -69,4 +69,4 @@ }, "operationId": "ProblemClassifications_List", "title": "Gets list of problemClassifications for a service for which a support ticket can be created" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListServices.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListServices.json index 12fb4b8e8781..17b8937a62aa 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListServices.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListServices.json @@ -87,4 +87,4 @@ }, "operationId": "Services_List", "title": "Gets list of services for which a support ticket can be created" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTickets.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTickets.json index d32601be25c8..43e5a90cd883 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTickets.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTickets.json @@ -100,4 +100,4 @@ }, "operationId": "SupportTicketsNoSubscription_List", "title": "List support tickets" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsBySubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsBySubscription.json index 9a9b7f565386..ab75544cff18 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsBySubscription.json @@ -105,4 +105,4 @@ }, "operationId": "SupportTickets_List", "title": "List support tickets for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json index e270eb9e696d..3f534f1b56d1 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json @@ -102,4 +102,4 @@ }, "operationId": "SupportTicketsNoSubscription_List", "title": "List support tickets created on or after a certain date and in open state" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json index 2203d55670fb..6cbbaf51b508 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json @@ -106,4 +106,4 @@ }, "operationId": "SupportTickets_List", "title": "List support tickets created on or after a certain date and in open state for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json index f6540f578d29..c837ff11ba5a 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json @@ -109,4 +109,4 @@ }, "operationId": "SupportTicketsNoSubscription_List", "title": "List support tickets created on or after a certain date and in updating state" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json index b2708a7256dd..c33f135235dd 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json @@ -106,4 +106,4 @@ }, "operationId": "SupportTickets_List", "title": "List support tickets created on or after a certain date and in updating state for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInOpenState.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInOpenState.json index e2358c66f004..96c2b49d75ef 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInOpenState.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInOpenState.json @@ -102,4 +102,4 @@ }, "operationId": "SupportTicketsNoSubscription_List", "title": "List support tickets in open state" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInOpenStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInOpenStateBySubscription.json index 75f009ddebbe..33bb3ae013f0 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInOpenStateBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInOpenStateBySubscription.json @@ -106,4 +106,4 @@ }, "operationId": "SupportTickets_List", "title": "List support tickets in open state for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInUpdatingState.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInUpdatingState.json index 01c071d75178..3f3067e057e7 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInUpdatingState.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInUpdatingState.json @@ -102,4 +102,4 @@ }, "operationId": "SupportTicketsNoSubscription_List", "title": "List support tickets in updating state" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInUpdatingStateBySubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInUpdatingStateBySubscription.json index 4c1c420e4497..0a69088f96c3 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInUpdatingStateBySubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInUpdatingStateBySubscription.json @@ -106,4 +106,4 @@ }, "operationId": "SupportTickets_List", "title": "List support tickets in updating state for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsProblemClassificationIdEquals.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsProblemClassificationIdEquals.json index d66fa50f22a1..28ef0a9183ea 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsProblemClassificationIdEquals.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsProblemClassificationIdEquals.json @@ -86,4 +86,4 @@ }, "operationId": "SupportTicketsNoSubscription_List", "title": "List support tickets with a certain problem classification id" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json index ce716e200e1b..5f6270476084 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json @@ -87,4 +87,4 @@ }, "operationId": "SupportTickets_List", "title": "List support tickets with a certain problem classification id for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEquals.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEquals.json index 4813515111eb..69b16f27d762 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEquals.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEquals.json @@ -100,4 +100,4 @@ }, "operationId": "SupportTicketsNoSubscription_List", "title": "List support tickets with a certain service id" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEqualsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEqualsForSubscription.json index 86c7bb713acd..972ac5219ece 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEqualsForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEqualsForSubscription.json @@ -101,4 +101,4 @@ }, "operationId": "SupportTickets_List", "title": "List support tickets with a certain service id for a subscription" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicket.json index c197a4b9d3a5..1d75eed7ca28 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicket.json @@ -41,4 +41,4 @@ }, "operationId": "Communications_List", "title": "List web communications for a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json index 35229d259503..233bd37d9fe7 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json @@ -41,4 +41,4 @@ }, "operationId": "Communications_List", "title": "List web communication created on or after a specific date for a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSupportTicket.json index 3d731b58b5f7..27616ff9a1b8 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSupportTicket.json @@ -40,4 +40,4 @@ }, "operationId": "CommunicationsNoSubscription_List", "title": "List web communications for a no-subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json index 73b589a58ca0..680e60269c58 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json @@ -40,4 +40,4 @@ }, "operationId": "CommunicationsNoSubscription_List", "title": "List web communication created on or after a specific date for a no-subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json index 0c9007c301cd..0e04b49460f6 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json @@ -57,4 +57,4 @@ }, "operationId": "SupportTicketsNoSubscription_Update", "title": "Update advanced diagnostic consent of a support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json index f6ca46aafd89..00c6585fe612 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json @@ -58,4 +58,4 @@ }, "operationId": "SupportTickets_Update", "title": "Update advanced diagnostic consent of a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateContactDetailsOfSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateContactDetailsOfSupportTicket.json index 6f41429fafd0..2acc30ee5b7d 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateContactDetailsOfSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateContactDetailsOfSupportTicket.json @@ -71,4 +71,4 @@ }, "operationId": "SupportTicketsNoSubscription_Update", "title": "Update contact details of a support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateContactDetailsOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateContactDetailsOfSupportTicketForSubscription.json index 31fc4bc9ba0d..65c56c5fdad0 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateContactDetailsOfSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateContactDetailsOfSupportTicketForSubscription.json @@ -72,4 +72,4 @@ }, "operationId": "SupportTickets_Update", "title": "Update contact details of a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateSeverityOfSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateSeverityOfSupportTicket.json index 80875cdc2a29..09b311aedf72 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateSeverityOfSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateSeverityOfSupportTicket.json @@ -57,4 +57,4 @@ }, "operationId": "SupportTicketsNoSubscription_Update", "title": "Update severity of a support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateSeverityOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateSeverityOfSupportTicketForSubscription.json index c0f385a89e8d..b714da0948a7 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateSeverityOfSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateSeverityOfSupportTicketForSubscription.json @@ -58,4 +58,4 @@ }, "operationId": "SupportTickets_Update", "title": "Update severity of a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateStatusOfSupportTicket.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateStatusOfSupportTicket.json index 211d334f31f0..392e5790a5a2 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateStatusOfSupportTicket.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateStatusOfSupportTicket.json @@ -57,4 +57,4 @@ }, "operationId": "SupportTicketsNoSubscription_Update", "title": "Update status of a support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateStatusOfSupportTicketForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateStatusOfSupportTicketForSubscription.json index debae401817a..6fa82427a4f1 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateStatusOfSupportTicketForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateStatusOfSupportTicketForSubscription.json @@ -58,4 +58,4 @@ }, "operationId": "SupportTickets_Update", "title": "Update status of a subscription support ticket" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UploadFile.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UploadFile.json index e1abde7ac3ea..b831c1a67af7 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UploadFile.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UploadFile.json @@ -14,4 +14,4 @@ }, "operationId": "FilesNoSubscription_Upload", "title": "UploadFile" -} \ No newline at end of file +} diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UploadFileForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UploadFileForSubscription.json index e468282add6e..b5fc359ff57f 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UploadFileForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UploadFileForSubscription.json @@ -14,4 +14,4 @@ }, "operationId": "Files_Upload", "title": "UploadFileForSubscription" -} \ No newline at end of file +} From 3499da90f8e1cf4d85847aca44128dbf14152c69 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Wed, 9 Jul 2025 06:47:25 +0000 Subject: [PATCH 20/38] fix Swagger ModelValidation error INVALID_FORMAT --- .../2024-04-01/ListSupportTicketsServiceIdEquals.json | 4 ++-- .../ListSupportTicketsServiceIdEqualsForSubscription.json | 4 ++-- .../examples/ListSupportTicketsServiceIdEquals.json | 4 ++-- .../ListSupportTicketsServiceIdEqualsForSubscription.json | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEquals.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEquals.json index 69b16f27d762..882cb521301e 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEquals.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEquals.json @@ -10,7 +10,7 @@ { "name": "testticket1", "type": "Microsoft.Support/supportTickets", - "id": "/providers/Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket1", "properties": { "description": "my description", "advancedDiagnosticConsent": "Yes", @@ -54,7 +54,7 @@ { "name": "testticket2", "type": "Microsoft.Support/supportTickets", - "id": "/providers/Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket2", "properties": { "description": "This is a test - please ignore", "advancedDiagnosticConsent": "Yes", diff --git a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEqualsForSubscription.json b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEqualsForSubscription.json index 972ac5219ece..7ebbe14a43d1 100644 --- a/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEqualsForSubscription.json +++ b/specification/support/Support.Management/examples/2024-04-01/ListSupportTicketsServiceIdEqualsForSubscription.json @@ -11,7 +11,7 @@ { "name": "testticket1", "type": "Microsoft.Support/supportTickets", - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket1", "properties": { "description": "my description", "advancedDiagnosticConsent": "Yes", @@ -55,7 +55,7 @@ { "name": "testticket2", "type": "Microsoft.Support/supportTickets", - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket2", "properties": { "description": "This is a test - please ignore", "advancedDiagnosticConsent": "Yes", diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEquals.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEquals.json index 69b16f27d762..882cb521301e 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEquals.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEquals.json @@ -10,7 +10,7 @@ { "name": "testticket1", "type": "Microsoft.Support/supportTickets", - "id": "/providers/Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket1", "properties": { "description": "my description", "advancedDiagnosticConsent": "Yes", @@ -54,7 +54,7 @@ { "name": "testticket2", "type": "Microsoft.Support/supportTickets", - "id": "/providers/Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket2", "properties": { "description": "This is a test - please ignore", "advancedDiagnosticConsent": "Yes", diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEqualsForSubscription.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEqualsForSubscription.json index 972ac5219ece..7ebbe14a43d1 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEqualsForSubscription.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEqualsForSubscription.json @@ -11,7 +11,7 @@ { "name": "testticket1", "type": "Microsoft.Support/supportTickets", - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket1", "properties": { "description": "my description", "advancedDiagnosticConsent": "Yes", @@ -55,7 +55,7 @@ { "name": "testticket2", "type": "Microsoft.Support/supportTickets", - "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets", + "id": "/subscriptions/132d901f-189d-4381-9214-fe68e27e05a1/providers/Microsoft.Support/supportTickets/testticket2", "properties": { "description": "This is a test - please ignore", "advancedDiagnosticConsent": "Yes", From 0b43f3d11417624c41125b3c95117226b4582d03 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Wed, 9 Jul 2025 06:56:42 +0000 Subject: [PATCH 21/38] make value optional to keep compatibility with swagger --- .../ChatTranscriptDetails.tsp | 2 +- .../CommunicationDetails.tsp | 2 +- .../Support.Management/FileDetails.tsp | 2 +- .../SupportTicketDetails.tsp | 2 +- .../stable/2024-04-01/support.json | 20 ++++--------------- 5 files changed, 8 insertions(+), 20 deletions(-) diff --git a/specification/support/Support.Management/ChatTranscriptDetails.tsp b/specification/support/Support.Management/ChatTranscriptDetails.tsp index 7e010812e37b..eff139fd722b 100644 --- a/specification/support/Support.Management/ChatTranscriptDetails.tsp +++ b/specification/support/Support.Management/ChatTranscriptDetails.tsp @@ -41,7 +41,7 @@ model ChatTranscriptsListResult { * [Placeholder] Description for value property */ @items - value: ChatTranscriptDetails[]; + value?: ChatTranscriptDetails[]; } @armResourceOperations diff --git a/specification/support/Support.Management/CommunicationDetails.tsp b/specification/support/Support.Management/CommunicationDetails.tsp index 433fce7c038b..7b2399158531 100644 --- a/specification/support/Support.Management/CommunicationDetails.tsp +++ b/specification/support/Support.Management/CommunicationDetails.tsp @@ -44,7 +44,7 @@ model CommunicationsListResult { * [Placeholder] Description for value property */ @items - value: CommunicationDetails[]; + value?: CommunicationDetails[]; } @armResourceOperations diff --git a/specification/support/Support.Management/FileDetails.tsp b/specification/support/Support.Management/FileDetails.tsp index b7505d34dc44..839c33431f8a 100644 --- a/specification/support/Support.Management/FileDetails.tsp +++ b/specification/support/Support.Management/FileDetails.tsp @@ -40,7 +40,7 @@ model FilesListResult { * [Placeholder] Description for value property */ @items - value: FileDetails[]; + value?: FileDetails[]; } @armResourceOperations diff --git a/specification/support/Support.Management/SupportTicketDetails.tsp b/specification/support/Support.Management/SupportTicketDetails.tsp index edc077a42e21..142d68f2410c 100644 --- a/specification/support/Support.Management/SupportTicketDetails.tsp +++ b/specification/support/Support.Management/SupportTicketDetails.tsp @@ -43,7 +43,7 @@ model SupportTicketsListResult { * [Placeholder] Description for value property */ @items - value: SupportTicketDetails[]; + value?: SupportTicketDetails[]; } @armResourceOperations diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json index c37b4ce48fbd..355a105ae151 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json @@ -2190,10 +2190,7 @@ "$ref": "#/definitions/ChatTranscriptDetails" } } - }, - "required": [ - "value" - ] + } }, "CheckNameAvailabilityInput": { "type": "object", @@ -2350,10 +2347,7 @@ "$ref": "#/definitions/CommunicationDetails" } } - }, - "required": [ - "value" - ] + } }, "Consent": { "type": "string", @@ -2523,10 +2517,7 @@ "$ref": "#/definitions/FileDetails" } } - }, - "required": [ - "value" - ] + } }, "IsTemporaryTicket": { "type": "string", @@ -3030,10 +3021,7 @@ "$ref": "#/definitions/SupportTicketDetails" } } - }, - "required": [ - "value" - ] + } }, "TechnicalTicketDetails": { "type": "object", From a417d0a763b74dbe64536f975f557c823e5bfbb9 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Wed, 9 Jul 2025 07:15:12 +0000 Subject: [PATCH 22/38] add tspconfig.yaml --- .../support/Support.Management/tspconfig.yaml | 45 +++++++++++++++++-- 1 file changed, 42 insertions(+), 3 deletions(-) diff --git a/specification/support/Support.Management/tspconfig.yaml b/specification/support/Support.Management/tspconfig.yaml index 9acd99314817..ee3996ea662e 100644 --- a/specification/support/Support.Management/tspconfig.yaml +++ b/specification/support/Support.Management/tspconfig.yaml @@ -1,5 +1,13 @@ +parameters: + "service-dir": + default: "sdk/support" + "dependencies": + default: "" emit: - "@azure-tools/typespec-autorest" +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" options: "@azure-tools/typespec-autorest": omit-unreachable-types: true @@ -8,6 +16,37 @@ options: output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/support.json" examples-dir: "{project-root}/examples" arm-resource-flattening: true -linter: - extends: - - "@azure-tools/typespec-azure-rulesets/resource-manager" + "@azure-tools/typespec-python": + package-dir: "azure-mgmt-support" + namespace: "azure.mgmt.support" + generate-test: true + generate-sample: true + flavor: azure + "@azure-tools/typespec-csharp": + package-dir: "Azure.ResourceManager.Support" + clear-output-folder: true + model-namespace: false + namespace: "{package-dir}" + flavor: azure + "@azure-typespec/http-client-csharp": + namespace: Azure.ResourceManager.Support + model-namespace: false + "@azure-tools/typespec-ts": + package-dir: "arm-support" + package-details: + name: "@azure/arm-support" + flavor: azure + "@azure-tools/typespec-java": + package-dir: "azure-resourcemanager-support" + namespace: com.azure.resourcemanager.support + flavor: azure + "@azure-tools/typespec-go": + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + service-dir: "sdk/support" + package-dir: "armsupport" + module-version: "1.0.0" + generate-fakes: true + inject-spans: true + single-client: true + slice-elements-byval: true + flavor: azure From 27988b16a164a4bedca70a6d6b36c4f321ea3e5a Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Tue, 22 Jul 2025 06:21:40 +0000 Subject: [PATCH 23/38] customize for no body common op --- .../FileWorkspaceDetails.tsp | 6 ++- .../support/Support.Management/legacy.tsp | 49 +++++++++++++++++++ .../support/Support.Management/main.tsp | 1 + .../stable/2024-04-01/support.json | 14 ++---- 4 files changed, 57 insertions(+), 13 deletions(-) create mode 100644 specification/support/Support.Management/legacy.tsp diff --git a/specification/support/Support.Management/FileWorkspaceDetails.tsp b/specification/support/Support.Management/FileWorkspaceDetails.tsp index 82e034fd3b14..fa622279498a 100644 --- a/specification/support/Support.Management/FileWorkspaceDetails.tsp +++ b/specification/support/Support.Management/FileWorkspaceDetails.tsp @@ -80,13 +80,15 @@ interface FileWorkspacesNoSubscription { */ get is FileWorkspacesNoSubscriptionOps.Read; - // FIXME: (ArmResourceCreateOrReplace): ArmResourceCreateOrReplaceAsync/ArmResourceCreateOrReplaceSync should have a body parameter. /** * Creates a new file workspace. */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility" - create is FileWorkspacesNoSubscriptionOps.CreateOrUpdateSync< + create is Azure.ResourceManager.CustomLegacy.CreateOrUpdateWithoutBodySync< FileWorkspaceDetails, + { + ...ApiVersionParameter, + }, Response = ArmResourceCreatedSyncResponse >; } diff --git a/specification/support/Support.Management/legacy.tsp b/specification/support/Support.Management/legacy.tsp new file mode 100644 index 000000000000..62a2c0a2d32b --- /dev/null +++ b/specification/support/Support.Management/legacy.tsp @@ -0,0 +1,49 @@ +using Http; +using Rest; +using Azure.ResourceManager.Foundations; +using Azure.ResourceManager.Private; + +namespace Azure.ResourceManager.CustomLegacy; + +/** + * A resource CreateOrUpdate (PUT) + * @template Resource the resource being created or updated + * @template BaseParameters Optional. Allows overriding the operation parameters + * @template Parameters Optional. Additional parameters after the path parameters + * @template Response Optional. The success response for the createOrUpdate operation + * @template Error Optional. The error response, if non-standard. + */ +#suppress "@azure-tools/typespec-azure-core/no-private-usage" +@autoRoute +@doc("Create a {name}", Resource) +@armResourceCreateOrUpdate(Resource) +@Private.enforceConstraint(Resource, Foundations.Resource) +@put +op CreateOrUpdateWithoutBodySync< + Resource extends Foundations.SimpleResource, + BaseParameters = DefaultBaseParameters, + Parameters extends {} = {}, + Response extends {} = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< + Resource, + >, + Error extends {} = ErrorResponse +> is ArmCreateOperation< + ResourceInstanceParameters & Parameters, + Resource, + Response, + Error +>; + +/** + * @dev The base template for Azure Resource Manager PUT Operations. + * @template HttpParameters The parameter object for the operation. + * @template BodyParameter The body parameter + * @template Response The response or union of responses for success. + * @template ErrorResponse The error response. + */ +op ArmCreateOperation< + HttpParameters extends {}, + BodyParameter extends {}, + Response extends {}, + ErrorResponse extends {} +>(...HttpParameters): Response | ErrorResponse; diff --git a/specification/support/Support.Management/main.tsp b/specification/support/Support.Management/main.tsp index 66bd8a1cb92f..6e845014d5c8 100644 --- a/specification/support/Support.Management/main.tsp +++ b/specification/support/Support.Management/main.tsp @@ -21,6 +21,7 @@ import "./ChatTranscriptDetails.tsp"; import "./FileWorkspaceDetails.tsp"; import "./FileDetails.tsp"; import "./routes.tsp"; +import "./legacy.tsp"; using TypeSpec.Rest; using TypeSpec.Http; diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json index 355a105ae151..8e1872a64221 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json @@ -171,18 +171,10 @@ { "name": "fileWorkspaceName", "in": "path", - "description": "The name of the FileWorkspaceDetails", + "description": "File Workspace Name", "required": true, - "type": "string" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" - } + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" } ], "responses": { From 0af795733837d6f3345aa64113645fb3af525b65 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Tue, 22 Jul 2025 06:38:27 +0000 Subject: [PATCH 24/38] customize for no body common op --- .../Support.Management/FileWorkspaceDetails.tsp | 6 +++++- .../stable/2024-04-01/support.json | 14 +++----------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/specification/support/Support.Management/FileWorkspaceDetails.tsp b/specification/support/Support.Management/FileWorkspaceDetails.tsp index fa622279498a..94112aceab40 100644 --- a/specification/support/Support.Management/FileWorkspaceDetails.tsp +++ b/specification/support/Support.Management/FileWorkspaceDetails.tsp @@ -52,8 +52,12 @@ interface FileWorkspaces { * Creates a new file workspace for the specified subscription. */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility" - create is FileWorkspaceOps.CreateOrUpdateSync< + create is Azure.ResourceManager.CustomLegacy.CreateOrUpdateWithoutBodySync< FileWorkspaceDetails, + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + }, Response = ArmResourceCreatedSyncResponse >; } diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json index 8e1872a64221..2916962a999f 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json @@ -1255,18 +1255,10 @@ { "name": "fileWorkspaceName", "in": "path", - "description": "The name of the FileWorkspaceDetails", - "required": true, - "type": "string" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", + "description": "File Workspace Name", "required": true, - "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" - } + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" } ], "responses": { From d6a4027b09c30875beaac0561dde9210fa69d34d Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Tue, 22 Jul 2025 07:08:40 +0000 Subject: [PATCH 25/38] format --- .../Support.Management/FileWorkspaceDetails.tsp | 10 +++++----- specification/support/Support.Management/legacy.tsp | 4 +--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/specification/support/Support.Management/FileWorkspaceDetails.tsp b/specification/support/Support.Management/FileWorkspaceDetails.tsp index 94112aceab40..b5edc4c77bdf 100644 --- a/specification/support/Support.Management/FileWorkspaceDetails.tsp +++ b/specification/support/Support.Management/FileWorkspaceDetails.tsp @@ -55,8 +55,8 @@ interface FileWorkspaces { create is Azure.ResourceManager.CustomLegacy.CreateOrUpdateWithoutBodySync< FileWorkspaceDetails, { - ...ApiVersionParameter, - ...SubscriptionIdParameter, + ...ApiVersionParameter; + ...SubscriptionIdParameter; }, Response = ArmResourceCreatedSyncResponse >; @@ -90,9 +90,9 @@ interface FileWorkspacesNoSubscription { #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility" create is Azure.ResourceManager.CustomLegacy.CreateOrUpdateWithoutBodySync< FileWorkspaceDetails, - { - ...ApiVersionParameter, - }, + { + ...ApiVersionParameter; + }, Response = ArmResourceCreatedSyncResponse >; } diff --git a/specification/support/Support.Management/legacy.tsp b/specification/support/Support.Management/legacy.tsp index 62a2c0a2d32b..8b71facc079f 100644 --- a/specification/support/Support.Management/legacy.tsp +++ b/specification/support/Support.Management/legacy.tsp @@ -23,9 +23,7 @@ op CreateOrUpdateWithoutBodySync< Resource extends Foundations.SimpleResource, BaseParameters = DefaultBaseParameters, Parameters extends {} = {}, - Response extends {} = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< - Resource, - >, + Response extends {} = ArmResourceUpdatedResponse | ArmResourceCreatedResponse, Error extends {} = ErrorResponse > is ArmCreateOperation< ResourceInstanceParameters & Parameters, From 49482f1f455f6d46676b8f7cbe2961a416716284 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Tue, 22 Jul 2025 08:36:20 +0000 Subject: [PATCH 26/38] fix cspell --- specification/support/Support.Management/tspconfig.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/support/Support.Management/tspconfig.yaml b/specification/support/Support.Management/tspconfig.yaml index ee3996ea662e..f24f73cda833 100644 --- a/specification/support/Support.Management/tspconfig.yaml +++ b/specification/support/Support.Management/tspconfig.yaml @@ -44,9 +44,9 @@ options: module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" service-dir: "sdk/support" package-dir: "armsupport" - module-version: "1.0.0" + fix-const-stuttering: true + flavor: "azure" + generate-samples: true generate-fakes: true + head-as-boolean: true inject-spans: true - single-client: true - slice-elements-byval: true - flavor: azure From 802f21fa8a06fc7c703f7bd6694882184663e2e0 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Tue, 22 Jul 2025 08:50:14 +0000 Subject: [PATCH 27/38] fix ci --- specification/support/Support.Management/tspconfig.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/support/Support.Management/tspconfig.yaml b/specification/support/Support.Management/tspconfig.yaml index f24f73cda833..cb6ab7a0894b 100644 --- a/specification/support/Support.Management/tspconfig.yaml +++ b/specification/support/Support.Management/tspconfig.yaml @@ -36,6 +36,7 @@ options: package-details: name: "@azure/arm-support" flavor: azure + experimental-extensible-enums: true "@azure-tools/typespec-java": package-dir: "azure-resourcemanager-support" namespace: com.azure.resourcemanager.support From f82ec3e4b3abbfdb529b86692e04ab357a3cc7dd Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Tue, 22 Jul 2025 08:51:34 +0000 Subject: [PATCH 28/38] fix ci --- specification/support/Support.Management/tspconfig.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/support/Support.Management/tspconfig.yaml b/specification/support/Support.Management/tspconfig.yaml index cb6ab7a0894b..6044bdc1e6a4 100644 --- a/specification/support/Support.Management/tspconfig.yaml +++ b/specification/support/Support.Management/tspconfig.yaml @@ -43,7 +43,6 @@ options: flavor: azure "@azure-tools/typespec-go": module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" - service-dir: "sdk/support" package-dir: "armsupport" fix-const-stuttering: true flavor: "azure" From 70d938b074f53445bae6de9618dae058c12489fb Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Tue, 22 Jul 2025 08:52:40 +0000 Subject: [PATCH 29/38] fix ci --- specification/support/Support.Management/tspconfig.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/support/Support.Management/tspconfig.yaml b/specification/support/Support.Management/tspconfig.yaml index 6044bdc1e6a4..64a8865a43f5 100644 --- a/specification/support/Support.Management/tspconfig.yaml +++ b/specification/support/Support.Management/tspconfig.yaml @@ -42,6 +42,7 @@ options: namespace: com.azure.resourcemanager.support flavor: azure "@azure-tools/typespec-go": + service-dir: "sdk/resourcemanager/support" module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" package-dir: "armsupport" fix-const-stuttering: true From 4780d61763b34dc6188edf6fa14036d6cb63fdb5 Mon Sep 17 00:00:00 2001 From: "Jiao Di (MSFT)" <80496810+v-jiaodi@users.noreply.github.com> Date: Wed, 30 Jul 2025 13:44:36 +0800 Subject: [PATCH 30/38] resolve breaking --- specification/support/Support.Management/tspconfig.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/support/Support.Management/tspconfig.yaml b/specification/support/Support.Management/tspconfig.yaml index 64a8865a43f5..f3e7e97a7f11 100644 --- a/specification/support/Support.Management/tspconfig.yaml +++ b/specification/support/Support.Management/tspconfig.yaml @@ -33,6 +33,8 @@ options: model-namespace: false "@azure-tools/typespec-ts": package-dir: "arm-support" + typespec-title-map: + SupportClient: "MicrosoftSupport" package-details: name: "@azure/arm-support" flavor: azure From a1614439e5714a5a8effe2d433ce49cfdcd03011 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Wed, 6 Aug 2025 09:47:30 +0000 Subject: [PATCH 31/38] update for empty union --- specification/support/Support.Management/models.tsp | 9 +-------- .../Microsoft.Support/stable/2024-04-01/support.json | 6 +----- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/specification/support/Support.Management/models.tsp b/specification/support/Support.Management/models.tsp index f9cd9a15107d..674b0009b09f 100644 --- a/specification/support/Support.Management/models.tsp +++ b/specification/support/Support.Management/models.tsp @@ -103,13 +103,6 @@ union CommunicationDirection { outbound: "outbound", } -/** - * Content type. - */ -union TranscriptContentType { - string, -} - /** * The type of identity that created the resource. */ @@ -749,7 +742,7 @@ model MessageProperties { * Content type. */ @visibility(Lifecycle.Read) - contentType?: TranscriptContentType; + contentType?: string; /** * Direction of communication. diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json index 2916962a999f..6a7cf4add055 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json @@ -2530,7 +2530,7 @@ "description": "Describes the properties of a Message Details resource.", "properties": { "contentType": { - "$ref": "#/definitions/TranscriptContentType", + "type": "string", "description": "Content type.", "readOnly": true }, @@ -3017,10 +3017,6 @@ } } }, - "TranscriptContentType": { - "type": "string", - "x-nullable": false - }, "Type": { "type": "string", "description": "The type of resource.", From f6cbc25de3bfa481c745c7ac2914d4dccc201b00 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Fri, 8 Aug 2025 14:14:26 +0800 Subject: [PATCH 32/38] fix missing final result for lro --- .../support/Support.Management/CommunicationDetails.tsp | 4 ++-- .../support/Support.Management/SupportTicketDetails.tsp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/support/Support.Management/CommunicationDetails.tsp b/specification/support/Support.Management/CommunicationDetails.tsp index 7b2399158531..7fbf9d04719d 100644 --- a/specification/support/Support.Management/CommunicationDetails.tsp +++ b/specification/support/Support.Management/CommunicationDetails.tsp @@ -84,7 +84,7 @@ interface Communications { @Azure.Core.useFinalStateVia("azure-async-operation") create is CommunicationOps.CreateOrUpdateAsync< CommunicationDetails, - Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & Azure.Core.Foundations.RetryAfterHeader> >; /** @@ -145,7 +145,7 @@ interface CommunicationsNoSubscription { @Azure.Core.useFinalStateVia("azure-async-operation") create is CommunicationsNoSubscriptionOps.CreateOrUpdateAsync< CommunicationDetails, - Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & Azure.Core.Foundations.RetryAfterHeader> >; /** diff --git a/specification/support/Support.Management/SupportTicketDetails.tsp b/specification/support/Support.Management/SupportTicketDetails.tsp index 142d68f2410c..96dc45e9055e 100644 --- a/specification/support/Support.Management/SupportTicketDetails.tsp +++ b/specification/support/Support.Management/SupportTicketDetails.tsp @@ -77,7 +77,7 @@ interface SupportTickets { @Azure.Core.useFinalStateVia("azure-async-operation") create is SupportTicketOps.CreateOrUpdateAsync< SupportTicketDetails, - Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & Azure.Core.Foundations.RetryAfterHeader> >; /** @@ -151,7 +151,7 @@ interface SupportTicketsNoSubscription { @Azure.Core.useFinalStateVia("azure-async-operation") create is SupportTicketsNoSubscriptionOps.CreateOrUpdateAsync< SupportTicketDetails, - Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & Azure.Core.Foundations.RetryAfterHeader> >; /** From 810e3af909f9b06ce0cc4d14d132dc28bc8ea977 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Fri, 8 Aug 2025 06:22:03 +0000 Subject: [PATCH 33/38] update for @pageItems --- .../support/Support.Management/ChatTranscriptDetails.tsp | 3 +-- .../support/Support.Management/CommunicationDetails.tsp | 9 +++++---- specification/support/Support.Management/FileDetails.tsp | 3 +-- .../support/Support.Management/SupportTicketDetails.tsp | 9 +++++---- specification/support/Support.Management/models.tsp | 6 ++---- 5 files changed, 14 insertions(+), 16 deletions(-) diff --git a/specification/support/Support.Management/ChatTranscriptDetails.tsp b/specification/support/Support.Management/ChatTranscriptDetails.tsp index eff139fd722b..ec9d1996ac1e 100644 --- a/specification/support/Support.Management/ChatTranscriptDetails.tsp +++ b/specification/support/Support.Management/ChatTranscriptDetails.tsp @@ -29,7 +29,6 @@ model ChatTranscriptDetails /** * [Placeholder] Description for page model */ -@pagedResult model ChatTranscriptsListResult { /** * [Placeholder] Description for nextLink property @@ -40,7 +39,7 @@ model ChatTranscriptsListResult { /** * [Placeholder] Description for value property */ - @items + @pageItems value?: ChatTranscriptDetails[]; } diff --git a/specification/support/Support.Management/CommunicationDetails.tsp b/specification/support/Support.Management/CommunicationDetails.tsp index 7fbf9d04719d..6d62f4a87de6 100644 --- a/specification/support/Support.Management/CommunicationDetails.tsp +++ b/specification/support/Support.Management/CommunicationDetails.tsp @@ -32,7 +32,6 @@ model CommunicationDetails /** * [Placeholder] Description for page model */ -@pagedResult model CommunicationsListResult { /** * [Placeholder] Description for nextLink property @@ -43,7 +42,7 @@ model CommunicationsListResult { /** * [Placeholder] Description for value property */ - @items + @pageItems value?: CommunicationDetails[]; } @@ -84,7 +83,8 @@ interface Communications { @Azure.Core.useFinalStateVia("azure-async-operation") create is CommunicationOps.CreateOrUpdateAsync< CommunicationDetails, - Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & Azure.Core.Foundations.RetryAfterHeader> + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader> >; /** @@ -145,7 +145,8 @@ interface CommunicationsNoSubscription { @Azure.Core.useFinalStateVia("azure-async-operation") create is CommunicationsNoSubscriptionOps.CreateOrUpdateAsync< CommunicationDetails, - Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & Azure.Core.Foundations.RetryAfterHeader> + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader> >; /** diff --git a/specification/support/Support.Management/FileDetails.tsp b/specification/support/Support.Management/FileDetails.tsp index 839c33431f8a..b62b3067c4eb 100644 --- a/specification/support/Support.Management/FileDetails.tsp +++ b/specification/support/Support.Management/FileDetails.tsp @@ -28,7 +28,6 @@ model FileDetails /** * [Placeholder] Description for page model */ -@pagedResult model FilesListResult { /** * [Placeholder] Description for nextLink property @@ -39,7 +38,7 @@ model FilesListResult { /** * [Placeholder] Description for value property */ - @items + @pageItems value?: FileDetails[]; } diff --git a/specification/support/Support.Management/SupportTicketDetails.tsp b/specification/support/Support.Management/SupportTicketDetails.tsp index 96dc45e9055e..2c967a6fae71 100644 --- a/specification/support/Support.Management/SupportTicketDetails.tsp +++ b/specification/support/Support.Management/SupportTicketDetails.tsp @@ -31,7 +31,6 @@ model SupportTicketDetails /** * [Placeholder] Description for page model */ -@pagedResult model SupportTicketsListResult { /** * [Placeholder] Description for nextLink property @@ -42,7 +41,7 @@ model SupportTicketsListResult { /** * [Placeholder] Description for value property */ - @items + @pageItems value?: SupportTicketDetails[]; } @@ -77,7 +76,8 @@ interface SupportTickets { @Azure.Core.useFinalStateVia("azure-async-operation") create is SupportTicketOps.CreateOrUpdateAsync< SupportTicketDetails, - Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & Azure.Core.Foundations.RetryAfterHeader> + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader> >; /** @@ -151,7 +151,8 @@ interface SupportTicketsNoSubscription { @Azure.Core.useFinalStateVia("azure-async-operation") create is SupportTicketsNoSubscriptionOps.CreateOrUpdateAsync< SupportTicketDetails, - Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & Azure.Core.Foundations.RetryAfterHeader> + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader> >; /** diff --git a/specification/support/Support.Management/models.tsp b/specification/support/Support.Management/models.tsp index 674b0009b09f..ccdbb23d1cda 100644 --- a/specification/support/Support.Management/models.tsp +++ b/specification/support/Support.Management/models.tsp @@ -175,7 +175,6 @@ model OperationDisplay { /** * Collection of Service resources. */ -@pagedResult model ServicesListResult { /** * The link to the next page of items @@ -186,7 +185,7 @@ model ServicesListResult { /** * List of Service resources. */ - @items + @pageItems value?: Service[]; } @@ -209,7 +208,6 @@ model ServiceProperties { /** * Collection of ProblemClassification resources. */ -@pagedResult model ProblemClassificationsListResult { /** * The link to the next page of items @@ -220,7 +218,7 @@ model ProblemClassificationsListResult { /** * List of ProblemClassification resources. */ - @items + @pageItems value?: ProblemClassification[]; } From 4e013753950e2fdbd0bd03174b34db4d1a6302a8 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Thu, 21 Aug 2025 03:19:27 +0000 Subject: [PATCH 34/38] fix for pattern --- .../Support.Management/FileDetails.tsp | 4 ++-- .../stable/2024-04-01/support.json | 24 ++++++++++++------- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/specification/support/Support.Management/FileDetails.tsp b/specification/support/Support.Management/FileDetails.tsp index b62b3067c4eb..bc058ec14acf 100644 --- a/specification/support/Support.Management/FileDetails.tsp +++ b/specification/support/Support.Management/FileDetails.tsp @@ -53,7 +53,7 @@ interface FileOps Resource = FileWorkspaceDetails, KeyName = "fileWorkspaceName", SegmentName = "fileWorkspaces", - NamePattern = "" + NamePattern = "^[0-9a-zA-Z_\\-. ]+$" >>, }, KeysOf>, }, KeysOf Date: Thu, 28 Aug 2025 10:02:30 +0800 Subject: [PATCH 35/38] service-name --- specification/support/Support.Management/tspconfig.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/support/Support.Management/tspconfig.yaml b/specification/support/Support.Management/tspconfig.yaml index f3e7e97a7f11..e12c08d9304d 100644 --- a/specification/support/Support.Management/tspconfig.yaml +++ b/specification/support/Support.Management/tspconfig.yaml @@ -43,6 +43,7 @@ options: package-dir: "azure-resourcemanager-support" namespace: com.azure.resourcemanager.support flavor: azure + service-name: Support "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/support" module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" From 61848f9987feee9eacd8e10443b4a31428521e93 Mon Sep 17 00:00:00 2001 From: Pan Shao Date: Thu, 28 Aug 2025 13:55:58 +0800 Subject: [PATCH 36/38] remove legacy operation --- .../FileWorkspaceDetails.tsp | 17 +++---- .../support/Support.Management/legacy.tsp | 47 ------------------- .../support/Support.Management/main.tsp | 1 - .../stable/2024-04-01/support.json | 10 ++-- 4 files changed, 12 insertions(+), 63 deletions(-) delete mode 100644 specification/support/Support.Management/legacy.tsp diff --git a/specification/support/Support.Management/FileWorkspaceDetails.tsp b/specification/support/Support.Management/FileWorkspaceDetails.tsp index b5edc4c77bdf..b0fe6b46d9bb 100644 --- a/specification/support/Support.Management/FileWorkspaceDetails.tsp +++ b/specification/support/Support.Management/FileWorkspaceDetails.tsp @@ -36,7 +36,7 @@ interface FileWorkspaceOps Resource = FileWorkspaceDetails, KeyName = "fileWorkspaceName", SegmentName = "fileWorkspaces", - NamePattern = "" + NamePattern = "^[0-9a-zA-Z_\\-. ]+$" >> > {} @@ -52,12 +52,9 @@ interface FileWorkspaces { * Creates a new file workspace for the specified subscription. */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility" - create is Azure.ResourceManager.CustomLegacy.CreateOrUpdateWithoutBodySync< + create is FileWorkspaceOps.CreateOrUpdateSync< FileWorkspaceDetails, - { - ...ApiVersionParameter; - ...SubscriptionIdParameter; - }, + Request = void, Response = ArmResourceCreatedSyncResponse >; } @@ -72,7 +69,7 @@ interface FileWorkspacesNoSubscriptionOps Resource = FileWorkspaceDetails, KeyName = "fileWorkspaceName", SegmentName = "fileWorkspaces", - NamePattern = "" + NamePattern = "^[0-9a-zA-Z_\\-. ]+$" >> > {} @@ -88,11 +85,9 @@ interface FileWorkspacesNoSubscription { * Creates a new file workspace. */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility" - create is Azure.ResourceManager.CustomLegacy.CreateOrUpdateWithoutBodySync< + create is FileWorkspacesNoSubscriptionOps.CreateOrUpdateSync< FileWorkspaceDetails, - { - ...ApiVersionParameter; - }, + Request = void, Response = ArmResourceCreatedSyncResponse >; } diff --git a/specification/support/Support.Management/legacy.tsp b/specification/support/Support.Management/legacy.tsp deleted file mode 100644 index 8b71facc079f..000000000000 --- a/specification/support/Support.Management/legacy.tsp +++ /dev/null @@ -1,47 +0,0 @@ -using Http; -using Rest; -using Azure.ResourceManager.Foundations; -using Azure.ResourceManager.Private; - -namespace Azure.ResourceManager.CustomLegacy; - -/** - * A resource CreateOrUpdate (PUT) - * @template Resource the resource being created or updated - * @template BaseParameters Optional. Allows overriding the operation parameters - * @template Parameters Optional. Additional parameters after the path parameters - * @template Response Optional. The success response for the createOrUpdate operation - * @template Error Optional. The error response, if non-standard. - */ -#suppress "@azure-tools/typespec-azure-core/no-private-usage" -@autoRoute -@doc("Create a {name}", Resource) -@armResourceCreateOrUpdate(Resource) -@Private.enforceConstraint(Resource, Foundations.Resource) -@put -op CreateOrUpdateWithoutBodySync< - Resource extends Foundations.SimpleResource, - BaseParameters = DefaultBaseParameters, - Parameters extends {} = {}, - Response extends {} = ArmResourceUpdatedResponse | ArmResourceCreatedResponse, - Error extends {} = ErrorResponse -> is ArmCreateOperation< - ResourceInstanceParameters & Parameters, - Resource, - Response, - Error ->; - -/** - * @dev The base template for Azure Resource Manager PUT Operations. - * @template HttpParameters The parameter object for the operation. - * @template BodyParameter The body parameter - * @template Response The response or union of responses for success. - * @template ErrorResponse The error response. - */ -op ArmCreateOperation< - HttpParameters extends {}, - BodyParameter extends {}, - Response extends {}, - ErrorResponse extends {} ->(...HttpParameters): Response | ErrorResponse; diff --git a/specification/support/Support.Management/main.tsp b/specification/support/Support.Management/main.tsp index 6e845014d5c8..66bd8a1cb92f 100644 --- a/specification/support/Support.Management/main.tsp +++ b/specification/support/Support.Management/main.tsp @@ -21,7 +21,6 @@ import "./ChatTranscriptDetails.tsp"; import "./FileWorkspaceDetails.tsp"; import "./FileDetails.tsp"; import "./routes.tsp"; -import "./legacy.tsp"; using TypeSpec.Rest; using TypeSpec.Http; diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json index dc2dbde60124..4c6f41fa8da2 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json @@ -135,7 +135,8 @@ "in": "path", "description": "The name of the FileWorkspaceDetails", "required": true, - "type": "string" + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" } ], "responses": { @@ -171,7 +172,7 @@ { "name": "fileWorkspaceName", "in": "path", - "description": "File Workspace Name", + "description": "The name of the FileWorkspaceDetails", "required": true, "type": "string", "pattern": "^[0-9a-zA-Z_\\-. ]+$" @@ -1220,7 +1221,8 @@ "in": "path", "description": "The name of the FileWorkspaceDetails", "required": true, - "type": "string" + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" } ], "responses": { @@ -1259,7 +1261,7 @@ { "name": "fileWorkspaceName", "in": "path", - "description": "File Workspace Name", + "description": "The name of the FileWorkspaceDetails", "required": true, "type": "string", "pattern": "^[0-9a-zA-Z_\\-. ]+$" From 3fcbcdb996fbe869731aa28f06a183975a4385e7 Mon Sep 17 00:00:00 2001 From: melina5656 <140602263+melina5656@users.noreply.github.com> Date: Thu, 28 Aug 2025 13:59:29 +0800 Subject: [PATCH 37/38] Add emit-lro-options: "all" --- .../support/Support.Management/tspconfig.yaml | 1 + .../Microsoft.Support/stable/2024-04-01/support.json | 12 ++++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/specification/support/Support.Management/tspconfig.yaml b/specification/support/Support.Management/tspconfig.yaml index e12c08d9304d..c48b4e3ee5b7 100644 --- a/specification/support/Support.Management/tspconfig.yaml +++ b/specification/support/Support.Management/tspconfig.yaml @@ -16,6 +16,7 @@ options: output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/support.json" examples-dir: "{project-root}/examples" arm-resource-flattening: true + emit-lro-options: "all" "@azure-tools/typespec-python": package-dir: "azure-mgmt-support" namespace: "azure.mgmt.support" diff --git a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json index 4c6f41fa8da2..5fa3535bf9aa 100644 --- a/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json +++ b/specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/support.json @@ -777,7 +777,8 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/SupportTicketDetails" }, "x-ms-long-running-operation": true }, @@ -1155,7 +1156,8 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CommunicationDetails" }, "x-ms-long-running-operation": true } @@ -1727,7 +1729,8 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/SupportTicketDetails" }, "x-ms-long-running-operation": true }, @@ -2126,7 +2129,8 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CommunicationDetails" }, "x-ms-long-running-operation": true } From 9edc30686813e52c7f027eb8ea1c56c3d6dc5d1f Mon Sep 17 00:00:00 2001 From: Pan Shao Date: Thu, 28 Aug 2025 17:45:11 +0800 Subject: [PATCH 38/38] remove csharp config --- specification/support/Support.Management/tspconfig.yaml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/specification/support/Support.Management/tspconfig.yaml b/specification/support/Support.Management/tspconfig.yaml index c48b4e3ee5b7..6ae2bfdfb05e 100644 --- a/specification/support/Support.Management/tspconfig.yaml +++ b/specification/support/Support.Management/tspconfig.yaml @@ -23,15 +23,6 @@ options: generate-test: true generate-sample: true flavor: azure - "@azure-tools/typespec-csharp": - package-dir: "Azure.ResourceManager.Support" - clear-output-folder: true - model-namespace: false - namespace: "{package-dir}" - flavor: azure - "@azure-typespec/http-client-csharp": - namespace: Azure.ResourceManager.Support - model-namespace: false "@azure-tools/typespec-ts": package-dir: "arm-support" typespec-title-map: