diff --git a/specification/support/Support.Management/ChatTranscriptDetails.tsp b/specification/support/Support.Management/ChatTranscriptDetails.tsp new file mode 100644 index 000000000000..ec9d1996ac1e --- /dev/null +++ b/specification/support/Support.Management/ChatTranscriptDetails.tsp @@ -0,0 +1,121 @@ +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.Core; +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 = "" + >; +} + +/** + * [Placeholder] Description for page model + */ +model ChatTranscriptsListResult { + /** + * [Placeholder] Description for nextLink property + */ + @nextLink + nextLink?: string; + + /** + * [Placeholder] Description for value property + */ + @pageItems + value?: ChatTranscriptDetails[]; +} + +@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< + ChatTranscriptDetails, + Response = ChatTranscriptsListResult + >; +} +@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< + ChatTranscriptDetails, + Response = ChatTranscriptsListResult + >; +} + +@@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..6d62f4a87de6 --- /dev/null +++ b/specification/support/Support.Management/CommunicationDetails.tsp @@ -0,0 +1,179 @@ +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.Core; +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 = "" + >; +} + +/** + * [Placeholder] Description for page model + */ +model CommunicationsListResult { + /** + * [Placeholder] Description for nextLink property + */ + @nextLink + nextLink?: string; + + /** + * [Placeholder] Description for value property + */ + @pageItems + value?: CommunicationDetails[]; +} + +@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" + #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 & + Azure.Core.Foundations.RetryAfterHeader> + >; + + /** + * 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; + }, + Response = CommunicationsListResult + >; +} +@armResourceOperations +interface CommunicationsNoSubscriptionOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...KeysOf>, + }, + KeysOf> + > {} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "For backward compatibility" +@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" + #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 & + Azure.Core.Foundations.RetryAfterHeader> + >; + + /** + * 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; + }, + Response = CommunicationsListResult + >; +} + +@@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..bc058ec14acf --- /dev/null +++ b/specification/support/Support.Management/FileDetails.tsp @@ -0,0 +1,151 @@ +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.Core; +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 = "" + >; +} +/** + * [Placeholder] Description for page model + */ +model FilesListResult { + /** + * [Placeholder] Description for nextLink property + */ + @nextLink + nextLink?: string; + + /** + * [Placeholder] Description for value property + */ + @pageItems + value?: FileDetails[]; +} + +@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> + > {} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "For backward compatibility" +@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..b0fe6b46d9bb --- /dev/null +++ b/specification/support/Support.Management/FileWorkspaceDetails.tsp @@ -0,0 +1,96 @@ +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 = "^[0-9a-zA-Z_\\-. ]+$" + >; +} + +@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, + Request = void, + Response = ArmResourceCreatedSyncResponse + >; +} +@armResourceOperations +interface FileWorkspacesNoSubscriptionOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...Azure.ResourceManager.Legacy.Provider, + }, + KeysOf> + > {} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "For backward compatibility" +@armResourceOperations +interface FileWorkspacesNoSubscription { + /** + * Gets details for a specific file workspace. + */ + get is FileWorkspacesNoSubscriptionOps.Read; + + /** + * 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, + Request = void, + 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..2c967a6fae71 --- /dev/null +++ b/specification/support/Support.Management/SupportTicketDetails.tsp @@ -0,0 +1,216 @@ +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.Core; +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 = "" + >; +} + +/** + * [Placeholder] Description for page model + */ +model SupportTicketsListResult { + /** + * [Placeholder] Description for nextLink property + */ + @nextLink + nextLink?: string; + + /** + * [Placeholder] Description for value property + */ + @pageItems + value?: SupportTicketDetails[]; +} + +@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" + #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 & + Azure.Core.Foundations.RetryAfterHeader> + >; + + /** + * 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; + }, + Response = SupportTicketsListResult + >; + + /** + * 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" + checkNameAvailability is SupportTicketOps.ActionSync< + SupportTicketDetails, + CheckNameAvailabilityInput, + ArmResponse + >; +} +@armResourceOperations +interface SupportTicketsNoSubscriptionOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...Azure.ResourceManager.Legacy.Provider, + }, + KeysOf> + > {} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "For backward compatibility" +@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" + #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 & + Azure.Core.Foundations.RetryAfterHeader> + >; + + /** + * 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; + }, + Response = SupportTicketsListResult + >; + + /** + * 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" + 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..1653a5a6d38e --- /dev/null +++ b/specification/support/Support.Management/back-compatible.tsp @@ -0,0 +1,74 @@ +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(SupportTicketsNoSubscriptionOperationGroup.checkNameAvailability::parameters.body, + "checkNameAvailabilityInput" +); +@@clientName(SupportTicketsNoSubscription.create::parameters.resource, + "createSupportTicketParameters" +); +@@clientName(SupportTicketsNoSubscription.checkNameAvailability::parameters.body, + "checkNameAvailabilityInput" +); +@@clientName(SupportTicketsNoSubscription.update::parameters.properties, + "updateSupportTicket" +); +@@clientName(SupportTicketsOperationGroup.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); + +// @@clientLocation decorators for operations with custom @operationId +// These ensure consistent operationId generation in the output +@@clientLocation(SupportTickets.checkNameAvailability, Communications); +@@clientLocation(SupportTicketsOperationGroup.checkNameAvailability, + SupportTickets +); +@@clientLocation(SupportTicketsNoSubscriptionOperationGroup.checkNameAvailability, + SupportTicketsNoSubscription +); +@@clientLocation(SupportTicketsNoSubscription.checkNameAvailability, + CommunicationsNoSubscription +); 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..8eaeb0bd1f39 --- /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" +} 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..658a7b7540c7 --- /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" +} 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..42238978179e --- /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" +} 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..d2a966cb8946 --- /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" +} 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..3f9783e8c1d5 --- /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" +} 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..b79f68ef38d6 --- /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" +} 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..88467d093b97 --- /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" +} 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..9e4f0955f804 --- /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" +} 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..f3acd00e08fb --- /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" +} 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..78fe4870237f --- /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" +} 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..1be9eccfd5b3 --- /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" +} 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..0fb2e25a896e --- /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" +} 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..80492b01b61f --- /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" +} 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..d5c94b09a884 --- /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" +} 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..525f318abde8 --- /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" +} 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..a004758e809f --- /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" +} 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..267b2fbc6c69 --- /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" +} 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..a86841a9ab85 --- /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" +} 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..a3859316333c --- /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" +} 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..2eb301f97cb2 --- /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" +} 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..92cf5b51c539 --- /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" +} 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..7b8f8732c128 --- /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" +} 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..38bc9ae5e265 --- /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" +} 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..bfd7d0239fb8 --- /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" +} 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..99b1ed0305f8 --- /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" +} 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..53d2cbe43c6f --- /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" +} 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..94e34dc034c4 --- /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" +} 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..f4495e267700 --- /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" +} 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..063036f04a38 --- /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" +} 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..72529e1756e1 --- /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" +} 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..7e5133a50e9b --- /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" +} 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..47714257885a --- /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" +} 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..4f683068edf3 --- /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" +} 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..fd92db834b44 --- /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" +} 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..9263e9229845 --- /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" +} 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..2be0db1b9aa4 --- /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" +} 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..b6db8617e4c8 --- /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" +} 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..53bb366cad46 --- /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" +} 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..2ad27eafbe2d --- /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" +} 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..1259a498a742 --- /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" +} 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..e86a606e4c5c --- /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" +} 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..01010edbd077 --- /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" +} 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..5e72006befa0 --- /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" +} 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..8783ae07526d --- /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" +} 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..2962d103ffc5 --- /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" +} 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..8ced985aecb3 --- /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" +} 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..9c82d847f8de --- /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" +} 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..bf1767da07bf --- /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" +} 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..c980a4310ef5 --- /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" +} 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..51b19e586cc3 --- /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" +} 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..17b8937a62aa --- /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" +} 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..43e5a90cd883 --- /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" +} 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..ab75544cff18 --- /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" +} 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..3f534f1b56d1 --- /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" +} 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..6cbbaf51b508 --- /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" +} 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..c837ff11ba5a --- /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" +} 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..c33f135235dd --- /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" +} 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..96c2b49d75ef --- /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" +} 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..33bb3ae013f0 --- /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" +} 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..3f3067e057e7 --- /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" +} 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..0a69088f96c3 --- /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" +} 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..28ef0a9183ea --- /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" +} 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..5f6270476084 --- /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" +} 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..882cb521301e --- /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/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": "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/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": "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" +} 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..7ebbe14a43d1 --- /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/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": "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/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": "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" +} 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..1d75eed7ca28 --- /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" +} 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..233bd37d9fe7 --- /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" +} 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..27616ff9a1b8 --- /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" +} 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..680e60269c58 --- /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" +} 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..0e04b49460f6 --- /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" +} 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..00c6585fe612 --- /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" +} 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..2acc30ee5b7d --- /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" +} 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..65c56c5fdad0 --- /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" +} 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..09b311aedf72 --- /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" +} 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..b714da0948a7 --- /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" +} 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..392e5790a5a2 --- /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" +} 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..6fa82427a4f1 --- /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" +} 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..b831c1a67af7 --- /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" +} 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..b5fc359ff57f --- /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" +} 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..ccdbb23d1cda --- /dev/null +++ b/specification/support/Support.Management/models.tsp @@ -0,0 +1,830 @@ +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", +} + +/** + * 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. + */ +model ServicesListResult { + /** + * The link to the next page of items + */ + @nextLink + nextLink?: string; + + /** + * List of Service resources. + */ + @pageItems + 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. + */ +model ProblemClassificationsListResult { + /** + * The link to the next page of items + */ + @nextLink + nextLink?: string; + + /** + * List of ProblemClassification resources. + */ + @pageItems + 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?: string; + + /** + * 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..88c78b784a08 --- /dev/null +++ b/specification/support/Support.Management/routes.tsp @@ -0,0 +1,42 @@ +// 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" + @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" + @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..6ae2bfdfb05e --- /dev/null +++ b/specification/support/Support.Management/tspconfig.yaml @@ -0,0 +1,48 @@ +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 + 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 + emit-lro-options: "all" + "@azure-tools/typespec-python": + package-dir: "azure-mgmt-support" + namespace: "azure.mgmt.support" + generate-test: true + generate-sample: true + flavor: azure + "@azure-tools/typespec-ts": + package-dir: "arm-support" + typespec-title-map: + SupportClient: "MicrosoftSupport" + 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 + 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}" + package-dir: "armsupport" + fix-const-stuttering: true + flavor: "azure" + generate-samples: true + generate-fakes: true + head-as-boolean: true + inject-spans: true 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -90,5 +90,7 @@ ] } } - } + }, + "operationId": "Operations_List", + "title": "Get all operations" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -8,94 +8,96 @@ "body": { "value": [ { - "id": "/providers/Microsoft.Support/supportTickets", "name": "testticket1", "type": "Microsoft.Support/supportTickets", + "id": "/providers/Microsoft.Support/supportTickets/testticket1", "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/testticket2", "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" } 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..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 @@ -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/testticket1", "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/testticket2", "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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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" } 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..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 @@ -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,759 +29,701 @@ ], "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": "Communications" + }, + { + "name": "SupportTickets" + }, + { + "name": "CommunicationsNoSubscription" + }, + { + "name": "SupportTicketsNoSubscription" + }, + { + "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": "checkNameAvailabilityInput", + "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", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" } ], "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", - "in": "path", - "description": "Name of the Azure service.", - "required": true, - "type": "string" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "fileWorkspaceName", + "in": "path", + "description": "The name of the FileWorkspaceDetails", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" } ], "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", - "in": "path", - "description": "Name of the Azure service for which the problem classifications need to be retrieved.", - "required": true, - "type": "string" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "fileWorkspaceName", + "in": "path", + "description": "The name of the FileWorkspaceDetails", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" } ], "responses": { "200": { - "description": "Successfully retrieved list of problem classifications for the specified Azure service.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/ProblemClassificationsListResult" + "$ref": "#/definitions/FilesListResult" } }, "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" + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" }, { - "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", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" }, { - "$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", - "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", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityOutput" + "name": "fileName", + "in": "path", + "description": "The name of the FileDetails", + "required": true, + "type": "string" + }, + { + "name": "uploadFile", + "in": "body", + "description": "UploadFile object", + "required": true, + "schema": { + "$ref": "#/definitions/UploadFile" } + } + ], + "responses": { + "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" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/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" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "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, - "schema": { - "$ref": "#/definitions/SupportTicketDetails" - } - }, - { - "$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": "OK - SupportTicket created successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/SupportTicketDetails" + "$ref": "#/definitions/ProblemClassification" } }, - "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" - }, - "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 Compute VM Cores": { - "$ref": "./examples/CreateCoresQuotaTicketForSubscription.json" - }, - "Create a ticket to request Quota increase for Low-priority cores for a Batch account": { - "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json" - }, - "Create a ticket to request Quota increase for specific VM family cores for a Batch account": { - "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json" - }, - "Create a ticket to request Quota increase for Pools for a Batch account": { - "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json" - }, - "Create a ticket to request Quota increase for Active Jobs and Job Schedules for a Batch account": { - "$ref": "./examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json" - }, - "Create a ticket to request Quota increase for Batch accounts for a subscription": { - "$ref": "./examples/CreateBatchQuotaTicketForSubscription.json" - }, - "Create a ticket to request Quota increase for DTUs for SQL Database": { - "$ref": "./examples/CreateSqlDatabaseQuotaTicketForDTUs.json" - }, - "Create a ticket to request Quota increase for Servers for SQL Database": { - "$ref": "./examples/CreateSqlDatabaseQuotaTicketForServers.json" - }, - "Create a ticket to request Quota increase for DTUs for Azure Synapse Analytics": { - "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json" - }, - "Create a ticket to request Quota increase for Servers for Azure Synapse Analytics": { - "$ref": "./examples/CreateSqlDatawarehouseQuotaTicketForServers.json" - }, - "Create a ticket to request Quota increase for specific VM family cores for Machine Learning service": { - "$ref": "./examples/CreateMachineLearningQuotaTicketForDedicatedCores.json" - }, - "Create a ticket to request Quota increase for Low-priority cores for Machine Learning service": { - "$ref": "./examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json" - }, - "Create a ticket to request Quota increase for Azure SQL managed instance": { - "$ref": "./examples/CreateSqlManagedInstanceQuotaTicket.json" - }, - "Create a ticket to request Quota increase for services that do not require additional details in the quotaTicketDetails object": { - "$ref": "./examples/CreateGenericQuotaTicket.json" + "Gets details of problemClassification for Azure service": { + "$ref": "./examples/GetProblemClassification.json" } } } }, - "/providers/Microsoft.Support/supportTickets/{supportTicketName}": { + "/providers/Microsoft.Support/supportTickets": { "get": { + "operationId": "SupportTicketsNoSubscription_List", "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", + "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": [ { - "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/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
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": "Successfully retrieved support ticket.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/SupportTicketDetails" + "$ref": "#/definitions/SupportTicketsListResult" } }, "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 ticket": { - "$ref": "./examples/GetSupportTicketDetails.json" + "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" } - }, - "patch": { + } + }, + "/providers/Microsoft.Support/supportTickets/{supportTicketName}": { + "get": { + "operationId": "SupportTicketsNoSubscription_Get", "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": "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.", "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", - "in": "body", - "description": "UpdateSupportTicket object.", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateSupportTicket" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "Successfully updated 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" } } }, "x-ms-examples": { - "Update severity of a support ticket": { - "$ref": "./examples/UpdateSeverityOfSupportTicket.json" - }, - "Update contact details of a support ticket": { - "$ref": "./examples/UpdateContactDetailsOfSupportTicket.json" - }, - "Update status of a support ticket": { - "$ref": "./examples/UpdateStatusOfSupportTicket.json" - }, - "Update advanced diagnostic consent of a support ticket": { - "$ref": "./examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json" + "Get details of a ticket": { + "$ref": "./examples/GetSupportTicketDetails.json" } } }, "put": { + "operationId": "SupportTicketsNoSubscription_Create", "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", "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" }, @@ -788,37 +735,36 @@ "schema": { "$ref": "#/definitions/SupportTicketDetails" } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "OK - SupportTicket created successfully.", + "description": "Resource 'SupportTicketDetails' update operation succeeded", "schema": { "$ref": "#/definitions/SupportTicketDetails" } }, "202": { - "description": "Accepted, SupportTicket will be created asynchronously.", + "description": "Resource operation accepted.", "headers": { "Location": { - "type": "string" + "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-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" @@ -829,189 +775,224 @@ "Create a ticket for Technical issue related to a specific resource": { "$ref": "./examples/CreateTechnicalSupportTicket.json" } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": { - "post": { + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/SupportTicketDetails" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "SupportTicketsNoSubscription_Update", "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": "Communications_CheckNameAvailability", - "x-ms-examples": { - "Checks whether name is available for Communication resource for a subscription support ticket": { - "$ref": "./examples/CheckNameAvailabilityForSupportTicketCommunication.json" - } - }, + "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": "checkNameAvailabilityInput", + "name": "updateSupportTicket", "in": "body", - "description": "Input to check.", + "description": "UpdateSupportTicket object.", "required": true, "schema": { - "$ref": "#/definitions/CheckNameAvailabilityInput" + "$ref": "#/definitions/UpdateSupportTicket" } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$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" + "$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": { + "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}/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": "CommunicationsNoSubscription_CheckNameAvailability", - "x-ms-examples": { - "Checks whether name is available for Communication resource": { - "$ref": "./examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.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" - }, - { - "name": "checkNameAvailabilityInput", - "in": "body", - "description": "Input to check.", - "required": true, - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityInput" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/CheckNameAvailabilityOutput" + "$ref": "#/definitions/ChatTranscriptsListResult" } }, "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": { + "List chat transcripts for a no-subscription support ticket": { + "$ref": "./examples/ListChatTranscriptsForSupportTicket.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": { + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}": { "get": { + "operationId": "ChatTranscriptsNoSubscription_Get", "tags": [ - "Communications" + "ChatTranscriptsNoSubscription" ], - "description": "Lists all communications (attachments not included) for a support ticket.

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

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.", - "operationId": "Communications_List", + "description": "Returns chatTranscript details for a no subscription 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/SubscriptionIdParameter" + "name": "chatTranscriptName", + "in": "path", + "description": "The name of the ChatTranscriptDetails", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ChatTranscriptDetails" + } }, + "default": { + "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": [ + "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.", + "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "supportTicketName", + "in": "path", + "description": "The name of the SupportTicketDetails", + "required": true, + "type": "string" + }, + { + "name": "checkNameAvailabilityInput", + "in": "body", + "description": "Input to check.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } } ], "responses": { "200": { - "description": "Successfully retrieved communications for a support ticket.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CommunicationsListResult" + "$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": "nextLink" - }, "x-ms-examples": { - "List communications for a subscription support ticket": { - "$ref": "./examples/ListCommunicationsForSubscriptionSupportTicket.json" - }, - "List web communications for a subscription support ticket": { - "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicket.json" - }, - "List web communication created on or after a specific date for a subscription support ticket": { - "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json" + "Checks whether name is available for Communication resource": { + "$ref": "./examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json" } } } }, "/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": "CommunicationsNoSubscription_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" }, @@ -1026,111 +1007,108 @@ { "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/ApiVersionParameter" + "type": "string" } ], "responses": { "200": { - "description": "Successfully retrieved communications for a support ticket.", + "description": "The request has succeeded.", "schema": { "$ref": "#/definitions/CommunicationsListResult" } }, "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" + }, + "List web communications for a no-subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSupportTicket.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { + "/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { "get": { + "operationId": "CommunicationsNoSubscription_Get", "tags": [ - "Communications" + "CommunicationsNoSubscription" ], "description": "Returns communication details for a support ticket.", - "operationId": "Communications_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" }, { "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" } ], "responses": { "200": { - "description": "Successfully retrieved communication details.", + "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": { - "Get communication details for a subscription support ticket": { - "$ref": "./examples/GetCommunicationDetailsForSubscriptionSupportTicket.json" + "Get communication details for a no-subscription support ticket": { + "$ref": "./examples/GetCommunicationDetailsForSupportTicket.json" } } }, "put": { + "operationId": "CommunicationsNoSubscription_Create", "tags": [ - "Communications" + "CommunicationsNoSubscription" ], "description": "Adds a new customer communication to an Azure support ticket.", - "operationId": "Communications_Create", "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" }, @@ -1142,1312 +1120,1767 @@ "schema": { "$ref": "#/definitions/CommunicationDetails" } - }, - { - "$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": "Resource 'CommunicationDetails' update operation succeeded", "schema": { "$ref": "#/definitions/CommunicationDetails" } }, "202": { - "description": "Accepted - Communication will be created asynchronously." + "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-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { - "AddCommunicationToSubscriptionTicket": { - "$ref": "./examples/CreateSupportTicketCommunication.json" + "AddCommunicationToNoSubscriptionTicket": { + "$ref": "./examples/CreateNoSubscriptionSupportTicketCommunication.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CommunicationDetails" + }, + "x-ms-long-running-operation": true } }, - "/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}": { - "get": { - "tags": [ - "Communications" - ], - "description": "Returns communication details for a support ticket.", - "operationId": "CommunicationsNoSubscription_Get", + "/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" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "checkNameAvailabilityInput", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityInput" + } } ], "responses": { "200": { - "description": "Successfully retrieved communication details.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/CommunicationDetails" + "$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 communication details for a no-subscription support ticket": { - "$ref": "./examples/GetCommunicationDetailsForSupportTicket.json" + "Checks whether name is available for a subscription support ticket resource": { + "$ref": "./examples/CheckNameAvailabilityWithSubscription.json" } } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": { + "get": { + "operationId": "FileWorkspaces_Get", "tags": [ - "Communications" + "FileWorkspaces" ], - "description": "Adds a new customer communication to an Azure support ticket.", - "operationId": "CommunicationsNoSubscription_Create", + "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", - "in": "path", - "description": "Communication name.", - "required": true, - "type": "string" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "name": "createCommunicationParameters", - "in": "body", - "description": "Communication object.", + "name": "fileWorkspaceName", + "in": "path", + "description": "The name of the FileWorkspaceDetails", "required": true, - "schema": { - "$ref": "#/definitions/CommunicationDetails" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" } ], "responses": { "200": { - "description": "OK - Communication created successfully.", + "description": "Azure operation completed successfully.", "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" + "Get details of a subscription file workspace": { + "$ref": "./examples/GetFileWorkspaceDetailsForSubscription.json" } } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts": { - "get": { + }, + "put": { + "operationId": "FileWorkspaces_Create", "tags": [ - "ChatTranscripts" + "FileWorkspaces" ], - "description": "Lists all chat transcripts for a support ticket under subscription", - "operationId": "ChatTranscripts_List", + "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" }, { "$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", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" } ], "responses": { - "200": { - "description": "Successfully retrieved chat transcripts for a support ticket under a subscription.", + "201": { + "description": "Resource 'FileWorkspaceDetails' create operation succeeded", "schema": { - "$ref": "#/definitions/ChatTranscriptsListResult" + "$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": "nextLink" - }, "x-ms-examples": { - "List chat transcripts for a subscription support ticket": { - "$ref": "./examples/ListChatTranscriptsForSubscriptionSupportTicket.json" + "Create a file workspace for a subscription": { + "$ref": "./examples/CreateFileWorkspaceForSubscription.json" } } } }, - "/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", - "operationId": "ChatTranscriptsNoSubscription_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/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "fileWorkspaceName", + "in": "path", + "description": "The name of the FileWorkspaceDetails", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" } ], "responses": { "200": { - "description": "Successfully retrieved chat transcripts for a support ticket.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/ChatTranscriptsListResult" + "$ref": "#/definitions/FilesListResult" } }, "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" + "List files under a workspace for a subscription": { + "$ref": "./examples/ListFilesForSubscriptionUnderFileWorkspace.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { "get": { + "operationId": "Files_Get", "tags": [ - "ChatTranscripts" + "Files" ], - "description": "Returns chatTranscript details for a support ticket under a subscription.", - "operationId": "ChatTranscripts_Get", + "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" + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" }, { - "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" } ], "responses": { "200": { - "description": "Successfully retrieved chat transcript details for a subscription ticket.", + "description": "Azure operation completed successfully.", "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" + "Get details of a subscription file": { + "$ref": "./examples/GetFileDetailsForSubscription.json" } } - } - }, - "/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}": { - "get": { + }, + "put": { + "operationId": "Files_Create", "tags": [ - "chatTranscripts" + "Files" ], - "description": "Returns chatTranscript details for a no subscription support ticket.", - "operationId": "ChatTranscriptsNoSubscription_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" + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" }, { - "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": "createFileParameters", + "in": "body", + "description": "Create file object", + "required": true, + "schema": { + "$ref": "#/definitions/FileDetails" + } } ], "responses": { - "200": { - "description": "Successfully retrieved chat transcript details.", + "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/GetchatTranscriptDetailsForSupportTicket.json" + "Create a file under a subscription workspace": { + "$ref": "./examples/CreateFileForSubscription.json" } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}": { - "get": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload": { + "post": { + "operationId": "Files_Upload", "tags": [ - "FileWorkspaces" + "Files" ], - "description": "Gets details for a specific file workspace in an Azure subscription.", - "operationId": "FileWorkspaces_Get", + "description": "This API allows you to upload content to a file", "parameters": [ + { + "$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": "File Workspace Name", + "description": "The name of the FileWorkspaceDetails", "required": true, - "type": "string" + "type": "string", + "pattern": "^[0-9a-zA-Z_\\-. ]+$" }, { - "$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": "uploadFile", + "in": "body", + "description": "UploadFile object", + "required": true, + "schema": { + "$ref": "#/definitions/UploadFile" + } } ], "responses": { - "200": { - "description": "Successfully retrieved file workspace.", - "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" - } + "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 details of a subscription file workspace": { - "$ref": "./examples/GetFileWorkspaceDetailsForSubscription.json" + "UploadFileForSubscription": { + "$ref": "./examples/UploadFileForSubscription.json" } } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets": { + "get": { + "operationId": "SupportTickets_List", "tags": [ - "FileWorkspaces" + "SupportTickets" ], - "description": "Creates a new file workspace for the specified subscription.", - "operationId": "FileWorkspaces_Create", + "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", - "pattern": "^[0-9a-zA-Z_\\-. ]+$" + "$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": { - "201": { - "description": "Created - File workspace created successfully", + "200": { + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" + "$ref": "#/definitions/SupportTicketsListResult" } }, "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 for a subscription": { - "$ref": "./examples/CreateFileWorkspaceForSubscription.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 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" } } }, - "/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", + "$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", - "pattern": "^[0-9a-zA-Z_\\-. ]+$" + "type": "string" }, { - "$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": { - "201": { - "description": "Created - File workspace created successfully", + "200": { + "description": "Resource 'SupportTicketDetails' update operation succeeded", "schema": { - "$ref": "#/definitions/FileWorkspaceDetails" + "$ref": "#/definitions/SupportTicketDetails" } }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } + "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": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "Create a file workspace": { - "$ref": "./examples/CreateFileWorkspace.json" + "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" } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files": { - "get": { + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/SupportTicketDetails" + }, + "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": "Files_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", - "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": "supportTicketName", + "in": "path", + "description": "The name of the SupportTicketDetails", + "required": true, + "type": "string" + }, + { + "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 for a subscription": { - "$ref": "./examples/ListFilesForSubscriptionUnderFileWorkspace.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" } } } }, - "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts": { "get": { + "operationId": "ChatTranscripts_List", "tags": [ - "Files" + "ChatTranscripts" ], - "description": "Lists all the Files information under a workspace for an Azure subscription.", - "operationId": "FilesNoSubscription_List", + "description": "Lists all chat transcripts for a support ticket under subscription", "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 files under a file workspace.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/FilesListResult" + "$ref": "#/definitions/ChatTranscriptsListResult" } }, "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" + "List chat transcripts for a subscription support ticket": { + "$ref": "./examples/ListChatTranscriptsForSubscriptionSupportTicket.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}": { "get": { + "operationId": "ChatTranscripts_Get", "tags": [ - "Files" + "ChatTranscripts" ], - "description": "Returns details of a specific file in a work space.", - "operationId": "Files_Get", + "description": "Returns chatTranscript details for a support ticket under a subscription.", "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" }, { - "name": "fileName", + "name": "chatTranscriptName", "in": "path", - "description": "File Name", + "description": "The name of the ChatTranscriptDetails", "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 file details.", + "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": { - "Get details of a subscription file": { - "$ref": "./examples/GetFileDetailsForSubscription.json" + "Get chat transcript details for a subscription support ticket": { + "$ref": "./examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json" } } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/checkNameAvailability": { + "post": { + "operationId": "Communications_CheckNameAvailability", "tags": [ - "Files" + "SupportTickets" ], - "description": "Creates a new file under a workspace for the specified subscription.", - "operationId": "Files_Create", + "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", - "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", + "name": "checkNameAvailabilityInput", "in": "body", - "description": "Create file object", + "description": "Input to check.", "required": true, "schema": { - "$ref": "#/definitions/FileDetails" + "$ref": "#/definitions/CheckNameAvailabilityInput" } - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { - "201": { - "description": "Created - File created successfully", + "200": { + "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": { - "Create a file under a subscription workspace": { - "$ref": "./examples/CreateFileForSubscription.json" + "Checks whether name is available for Communication resource for a subscription support ticket": { + "$ref": "./examples/CheckNameAvailabilityForSupportTicketCommunication.json" } } } }, - "/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications": { "get": { + "operationId": "Communications_List", "tags": [ - "Files" + "Communications" ], - "description": "Returns details of a specific file in a work space.", - "operationId": "FilesNoSubscription_Get", + "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" + "$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": "$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", + "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": { "200": { - "description": "Successfully retrieved file details.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/FileDetails" + "$ref": "#/definitions/CommunicationsListResult" } }, "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" - } - } - }, - "put": { - "tags": [ - "Files" - ], - "description": "Creates a new file under a workspace.", - "operationId": "FilesNoSubscription_Create", - "parameters": [ - { - "name": "fileWorkspaceName", - "in": "path", - "description": "File workspace name.", - "required": true, - "type": "string", - "pattern": "^[0-9a-zA-Z_\\-. ]+$" - }, - { - "name": "fileName", - "in": "path", - "description": "File name.", - "required": true, - "type": "string" - }, - { - "name": "createFileParameters", - "in": "body", - "description": "Create file object", - "required": true, - "schema": { - "$ref": "#/definitions/FileDetails" - } + "List communications for a subscription support ticket": { + "$ref": "./examples/ListCommunicationsForSubscriptionSupportTicket.json" }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "201": { - "description": "Created - File created successfully", - "schema": { - "$ref": "#/definitions/FileDetails" - } + "List web communication created on or after a specific date for a subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json" }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } + "List web communications for a subscription support ticket": { + "$ref": "./examples/ListWebCommunicationsForSubscriptionSupportTicket.json" } }, - "x-ms-examples": { - "Create a file workspace": { - "$ref": "./examples/CreateFile.json" - } + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}/files/{fileName}/upload": { - "post": { + "/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": "azure-async-operation", + "final-state-schema": "#/definitions/CommunicationDetails" + }, + "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": { - "value": { - "description": "The list of operations supported by Microsoft Support resource provider.", - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "x-ms-identifiers": [ - "name" - ] + "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" + } + ] }, - "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.", + "ChatTranscriptsListResult": { "type": "object", + "description": "[Placeholder] Description for page model", "properties": { + "nextLink": { + "type": "string", + "description": "[Placeholder] Description for nextLink property" + }, "value": { - "description": "List of Service resources.", "type": "array", + "description": "[Placeholder] Description for value property", "items": { - "$ref": "#/definitions/Service" + "$ref": "#/definitions/ChatTranscriptDetails" } } } }, - "Service": { - "description": "Object that represents a Service resource.", + "CheckNameAvailabilityInput": { "type": "object", + "description": "Input of CheckNameAvailability API.", "properties": { - "id": { - "description": "Id of the resource.", + "name": { "type": "string", + "description": "The resource name to validate." + }, + "type": { + "$ref": "#/definitions/Type", + "description": "The type of resource." + } + }, + "required": [ + "name", + "type" + ] + }, + "CheckNameAvailabilityOutput": { + "type": "object", + "description": "Output of check name availability API.", + "properties": { + "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.", + "CommunicationDetailsProperties": { "type": "object", + "description": "Describes the properties of a communication resource.", "properties": { - "value": { - "description": "List of ProblemClassification resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ProblemClassification" - } - } - } - }, - "ProblemClassification": { - "description": "ProblemClassification resource object.", - "type": "object", - "properties": { - "id": { - "description": "Id of the resource.", - "type": "string", + "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." + "subject": { + "type": "string", + "description": "Subject of the communication." + }, + "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" + } + ] } }, - "ProblemClassificationProperties": { - "description": "Details about a problem classification available for an Azure service.", - "type": "object", - "properties": { - "displayName": { - "description": "Localized name of problem classification.", - "type": "string" - }, - "secondaryConsentEnabled": { - "description": "This property indicates whether secondary consent is present for problem classification", - "type": "array", - "items": { - "$ref": "#/definitions/SecondaryConsentEnabled" + "CommunicationType": { + "type": "string", + "description": "Communication type.", + "enum": [ + "web", + "phone" + ], + "x-ms-enum": { + "name": "CommunicationType", + "modelAsString": true, + "values": [ + { + "name": "web", + "value": "web" }, - "x-ms-identifiers": [] - } + { + "name": "phone", + "value": "phone" + } + ] } }, - "SecondaryConsentEnabled": { - "description": "This property indicates whether secondary consent is present for problem classification.", + "CommunicationsListResult": { "type": "object", + "description": "[Placeholder] Description for page model", "properties": { - "description": { - "description": "User consent description.", - "type": "string" + "nextLink": { + "type": "string", + "description": "[Placeholder] Description for nextLink property" }, - "type": { - "description": "The Azure service for which secondary consent is needed for case creation.", - "type": "string" + "value": { + "type": "array", + "description": "[Placeholder] Description for value property", + "items": { + "$ref": "#/definitions/CommunicationDetails" + } } } }, - "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" + "phoneNumber": { + "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": { + "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": { + "type": "string", + "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." } - } - }, - "SupportTicketDetails": { - "x-ms-azure-resource": true, - "description": "Object that represents SupportTicketDetails resource.", + }, "required": [ - "properties" - ], + "firstName", + "lastName", + "preferredContactMethod", + "primaryEmailAddress", + "preferredTimeZone", + "country", + "preferredSupportLanguage" + ] + }, + "FileDetails": { + "type": "object", + "description": "Object that represents File Details resource", + "properties": { + "properties": { + "$ref": "#/definitions/FileDetailsProperties", + "description": "Properties of the resource", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "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.", - "type": "string", - "readOnly": true + "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)." }, - "type": { - "description": "Type of the resource 'Microsoft.Support/supportTickets'.", - "type": "string", - "readOnly": true + "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." }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SupportTicketDetailsProperties", - "description": "Properties of the resource." + "numberOfChunks": { + "type": "integer", + "format": "int32", + "description": "Number of chunks to be uploaded. The maximum number of allowed chunks is 2." } } }, - "CommunicationsListResult": { - "description": "Collection of Communication resources.", + "FileWorkspaceDetails": { "type": "object", + "description": "Object that represents FileWorkspaceDetails resource", "properties": { - "value": { - "description": "List of Communication resources.", - "type": "array", - "items": { - "$ref": "#/definitions/CommunicationDetails" - } - }, - "nextLink": { - "description": "The URI to fetch the next page of Communication resources.", - "type": "string" + "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" + } + ] }, - "CommunicationDetails": { - "x-ms-azure-resource": true, - "description": "Object that represents a Communication resource.", - "required": [ - "properties" - ], + "FileWorkspaceDetailsProperties": { "type": "object", + "description": "Describes the properties of a file workspace.", "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.", + "expirationTime": { "type": "string", + "format": "date-time", + "description": "Time in UTC (ISO 8601 format) when file workspace is going to expire.", "readOnly": true - }, - "type": { - "description": "Type of the resource 'Microsoft.Support/communications'.", + } + } + }, + "FilesListResult": { + "type": "object", + "description": "[Placeholder] Description for page model", + "properties": { + "nextLink": { "type": "string", - "readOnly": true + "description": "[Placeholder] Description for nextLink property" }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/CommunicationDetailsProperties", - "description": "Properties of the resource." + "value": { + "type": "array", + "description": "[Placeholder] Description for value property", + "items": { + "$ref": "#/definitions/FileDetails" + } } } }, - "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" - ], + "contentType": { "type": "string", - "x-ms-enum": { - "name": "CommunicationType", - "modelAsString": true - }, + "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.", + "readOnly": true + } + } + }, + "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": { + "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." + }, + "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": { + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + }, + "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 } } }, - "SupportTicketDetailsProperties": { - "description": "Describes the properties of a support ticket.", + "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": { + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + }, + "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": [ - "serviceId", - "title", - "description", - "problemClassificationId", - "severity", - "contactDetails", - "advancedDiagnosticConsent" + "properties" ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "SupportTicketDetailsProperties": { "type": "object", + "description": "Describes the properties of a support ticket.", "properties": { "supportTicketId": { - "description": "System generated support ticket Id that is unique.", - "type": "string" + "type": "string", + "description": "System generated support ticket Id that is unique." }, "description": { - "description": "Detailed description of the question or issue.", - "type": "string" + "type": "string", + "description": "Detailed description of the question or issue." }, "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" + "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", @@ -2455,46 +2888,28 @@ "readOnly": true }, "severity": { - "description": "A value that indicates the urgency of the case, which in turn determines the response time according to the service level agreement of the technical support plan you have with Azure. Note: 'Highest critical impact', also known as the 'Emergency - Severe impact' level in the Azure portal is reserved only for our Premium customers.", - "enum": [ - "minimal", - "moderate", - "critical", - "highestcriticalimpact" - ], - "type": "string", - "x-ms-enum": { - "name": "SeverityLevel", - "modelAsString": true - } + "$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 +2924,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 +2952,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 +2986,131 @@ "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": [] } - } + }, + "required": [ + "description", + "problemClassificationId", + "severity", + "advancedDiagnosticConsent", + "contactDetails", + "title", + "serviceId" + ] }, - "ServiceLevelAgreement": { - "description": "Service Level Agreement details for a support ticket.", + "SupportTicketsListResult": { "type": "object", + "description": "[Placeholder] Description for page model", "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.", + "nextLink": { "type": "string", - "readOnly": true + "description": "[Placeholder] Description for nextLink property" }, - "slaMinutes": { - "description": "Service Level Agreement in minutes.", - "type": "integer", - "format": "int32", - "readOnly": true + "value": { + "type": "array", + "description": "[Placeholder] Description for value property", + "items": { + "$ref": "#/definitions/SupportTicketDetails" + } } } }, - "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" + "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 +3118,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": {} } 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 ```