diff --git a/src/Support/Support.Autorest/Az.Support.psd1 b/src/Support/Support.Autorest/Az.Support.psd1 index 5e0d3afb0dbb..536c91cde2ff 100644 --- a/src/Support/Support.Autorest/Az.Support.psd1 +++ b/src/Support/Support.Autorest/Az.Support.psd1 @@ -11,7 +11,7 @@ DotNetFrameworkVersion = '4.7.2' RequiredAssemblies = './bin/Az.Support.private.dll' FormatsToProcess = './Az.Support.format.ps1xml' - FunctionsToExport = 'Get-AzSupportChatTranscript', 'Get-AzSupportChatTranscriptsNoSubscription', 'Get-AzSupportCommunication', 'Get-AzSupportCommunicationsNoSubscription', 'Get-AzSupportFile', 'Get-AzSupportFilesNoSubscription', 'Get-AzSupportFileWorkspace', 'Get-AzSupportFileWorkspacesNoSubscription', 'Get-AzSupportProblemClassification', 'Get-AzSupportService', 'Get-AzSupportTicket', 'Get-AzSupportTicketChatTranscriptsNoSubscription', 'Get-AzSupportTicketCommunicationsNoSubscription', 'Get-AzSupportTicketsNoSubscription', 'Invoke-AzSupportUploadFile', 'Invoke-AzSupportUploadFilesNoSubscription', 'New-AzSupportCommunication', 'New-AzSupportCommunicationsNoSubscription', 'New-AzSupportFile', 'New-AzSupportFilesNoSubscription', 'New-AzSupportTicket', 'New-AzSupportTicketsNoSubscription', 'Test-AzSupportCommunicationNameAvailability', 'Test-AzSupportCommunicationsNoSubscriptionNameAvailability', 'Test-AzSupportTicketNameAvailability', 'Test-AzSupportTicketsNoSubscriptionNameAvailability', 'Update-AzSupportCommunication', 'Update-AzSupportCommunicationsNoSubscription', 'Update-AzSupportFile', 'Update-AzSupportFilesNoSubscription', 'Update-AzSupportTicket', 'Update-AzSupportTicketsNoSubscription' + FunctionsToExport = 'Get-AzSupportChatTranscript', 'Get-AzSupportChatTranscriptsNoSubscription', 'Get-AzSupportCommunication', 'Get-AzSupportCommunicationsNoSubscription', 'Get-AzSupportFile', 'Get-AzSupportFilesNoSubscription', 'Get-AzSupportFileWorkspace', 'Get-AzSupportFileWorkspacesNoSubscription', 'Get-AzSupportProblemClassification', 'Get-AzSupportService', 'Get-AzSupportTicket', 'Get-AzSupportTicketChatTranscriptsNoSubscription', 'Get-AzSupportTicketCommunicationsNoSubscription', 'Get-AzSupportTicketsNoSubscription', 'New-AzSupportCommunication', 'New-AzSupportCommunicationsNoSubscription', 'New-AzSupportFileAndUpload', 'New-AzSupportFileAndUploadNoSubscription', 'New-AzSupportFileWorkspace', 'New-AzSupportFileWorkspacesNoSubscription', 'New-AzSupportTicket', 'New-AzSupportTicketsNoSubscription', 'Test-AzSupportCommunicationNameAvailability', 'Test-AzSupportCommunicationsNoSubscriptionNameAvailability', 'Test-AzSupportTicketNameAvailability', 'Test-AzSupportTicketsNoSubscriptionNameAvailability', 'Update-AzSupportCommunication', 'Update-AzSupportCommunicationsNoSubscription', 'Update-AzSupportTicket', 'Update-AzSupportTicketsNoSubscription' PrivateData = @{ PSData = @{ Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'Support' diff --git a/src/Support/Support.Autorest/README.md b/src/Support/Support.Autorest/README.md index c645f58b7f61..0da9485bb2ad 100644 --- a/src/Support/Support.Autorest/README.md +++ b/src/Support/Support.Autorest/README.md @@ -35,13 +35,10 @@ commit: 99b27b136352e2f16c3f868857fa33157ace895f require: # readme.azure.noprofile.md is the common configuration file - $(this-folder)/../../readme.azure.noprofile.md -# - $(repo)/specification/support/resource-manager/readme.md # If the swagger has not been put in the repo, you may uncomment the following line and refer to it locally # - (this-folder)/relative-path-to-your-local-readme.md input-file: - $(repo)/specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/support.json -# try-require: -# - $(repo)/specification/support/resource-manager/readme.powershell.md # For new RP, the version is 0.1.0 module-version: 0.1.0 @@ -60,39 +57,83 @@ directive: set: format-table: properties: - # - Id - DisplayName - Name - - SecondaryConsentEnabled # Do we need this? - # - Type + - SecondaryConsentEnabled - where: model-name: Service set: format-table: properties: - # - Id - DisplayName - Name - - ResourceType # Do we need this? - # - Type + - ResourceType - where: model-name: FileDetails set: format-table: properties: - # - Id - Name - CreatedOn - ChunkSize - FileSize - NumberOfChunks - # - Type + - where: + subject: UploadFile + parameter-name: FileWorkspaceName + set: + alias: WorkspaceName + - where: + subject: UploadFilesNoSubscription + parameter-name: FileWorkspaceName + set: + alias: WorkspaceName + - where: + subject: FileWorkspacesNoSubscription + parameter-name: FileWorkspaceName + set: + alias: Name + - where: + subject: FilesNoSubscription + parameter-name: FileName + set: + alias: Name + - where: + subject: FilesNoSubscription + parameter-name: FileWorkspaceName + set: + alias: WorkspaceName + - where: + verb: New + subject: File + hide: true + - where: + verb: New + subject: FilesNoSubscription + hide: true + - where: + verb: Update + subject: File + remove: true + - where: + verb: Update + subject: FilesNoSubscription + remove: true + - where: + verb: Invoke + subject: UploadFile + hide: true + - where: + verb: Invoke + subject: UploadFilesNoSubscription + hide: true # Following are common directives which are normally required in all the RPs # 1. Remove the unexpanded parameter set # 2. For New-* cmdlets, ViaIdentity is not required # Following two directives are v4 specific - where: - variant: ^(Create|Update)(?!.*?Expanded) + variant: ^(Create|Update)(?!.*?Expanded|JsonFilePath|JsonString) + subject: ^(?!FileWorkspace|FileWorkspacesNoSubscription$).* remove: true - where: variant: ^CreateViaIdentity.*$ diff --git a/src/Support/Support.Autorest/custom/New-AzSupportFileAndUpload.ps1 b/src/Support/Support.Autorest/custom/New-AzSupportFileAndUpload.ps1 new file mode 100644 index 000000000000..e85797c82678 --- /dev/null +++ b/src/Support/Support.Autorest/custom/New-AzSupportFileAndUpload.ps1 @@ -0,0 +1,145 @@ + +# ---------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +# is regenerated. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Creates and uploads a new file under a workspace for the specified subscription. +.Description +Creates and uploads a new file under a workspace for the specified subscription. +.Example +{{ Add code here }} +.Example +{{ Add code here }} + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IFileDetails +.Link +https://learn.microsoft.com/powershell/module/az.support/new-azsupportfile +#> +function New-AzSupportFileAndUpload { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IFileDetails])] +[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(Mandatory)] + [Alias('FileWorkspaceName')] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Category('Path')] + [System.String] + # File workspace name. + ${WorkspaceName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # Azure subscription Id. + ${SubscriptionId}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Category('Body')] + [System.String] + # Path of the file to be uploaded + ${FilePath}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Category('Azure')] + [System.Management.Automation.PSObject] + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +process { + $FileName = Split-Path $FilePath -Leaf + $MaxChunkSize = 2.5 * 1024 * 1024 #2.5 MB + $MaxFileSize = 5 * 1024 * 1024 #5 MB + $FileContentBytes = Get-Content -Path $FilePath -Raw + + if($FileContentBytes -eq $Null){ + throw "File cannot be empty" + } + + $FileContentByteArray = [System.Text.Encoding]::UTF8.GetBytes($FileContentBytes) + $FileSize = $FileContentByteArray.Length + + if($FileSize -gt $MaxFileSize){ + throw "File size is greater than the maximum file size of 5 MB" + } + + $ChunkSize = If($FileSize -gt $MaxChunkSize) {$MaxChunkSize} Else {$FileSize} + $NumberOfChunks = [int][Math]::Floor($FileSize / $ChunkSize); + + If($FileSize % $ChunkSize -gt 0) + { + $NumberOfChunks++ + } + + $PSBoundParameters.Remove('FilePath') | Out-Null + New-AzSupportFile -ErrorAction Stop -Name $FileName -FileSize $FileSize -ChunkSize $ChunkSize -NumberOfChunk $NumberOfChunks @PSBoundParameters + + $chunkIndex = 0 + $startIndex = 0 + $endIndex = $ChunkSize - 1 + + while($chunkIndex -lt $NumberOfChunks){ + $FileContent = [convert]::ToBase64String($FileContentByteArray[$startIndex..$endIndex]) + Invoke-AzSupportUploadFile -ErrorAction Stop -FileName $FileName -ChunkIndex $chunkIndex -Content $FileContent @PSBoundParameters + $chunkIndex++ + $startIndex = $endIndex + 1 + $endIndex = $FileSize - 1 + } +} +} diff --git a/src/Support/Support.Autorest/custom/New-AzSupportFileAndUploadNoSubscription.ps1 b/src/Support/Support.Autorest/custom/New-AzSupportFileAndUploadNoSubscription.ps1 new file mode 100644 index 000000000000..f42b5aab7f77 --- /dev/null +++ b/src/Support/Support.Autorest/custom/New-AzSupportFileAndUploadNoSubscription.ps1 @@ -0,0 +1,139 @@ + +# ---------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +# is regenerated. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Creates and uploads a new file under a workspace for the specified subscription. +.Description +Creates and uploads a new file under a workspace for the specified subscription. +.Example +{{ Add code here }} +.Example +{{ Add code here }} + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IFileDetails +.Link +https://learn.microsoft.com/powershell/module/az.support/new-azsupportfile +#> +function New-AzSupportFileAndUploadNoSubscription { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IFileDetails])] +[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(Mandatory)] + [Alias('FileWorkspaceName')] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Category('Path')] + [System.String] + # File workspace name. + ${WorkspaceName}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Category('Body')] + [System.String] + # Path of the file to be uploaded + ${FilePath}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Category('Azure')] + [System.Management.Automation.PSObject] + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Support.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + + +process { + $FileName = Split-Path $FilePath -Leaf + $MaxChunkSize = 2.5 * 1024 * 1024 #2.5 MB + $MaxFileSize = 5 * 1024 * 1024 #5 MB + $FileContentBytes = Get-Content -Path $FilePath -Raw + + if($FileContentBytes -eq $Null){ + throw "File cannot be empty" + } + + $FileContentByteArray = [System.Text.Encoding]::UTF8.GetBytes($FileContentBytes) + $FileSize = $FileContentByteArray.Length + + if($FileSize -gt $MaxFileSize){ + throw "File size is greater than the maximum file size of 5 MB" + } + + $ChunkSize = If($FileSize -gt $MaxChunkSize) {$MaxChunkSize} Else {$FileSize} + $NumberOfChunks = [int][Math]::Floor($FileSize / $ChunkSize); + + If($FileSize % $ChunkSize -gt 0) + { + $NumberOfChunks++ + } + + $PSBoundParameters.Remove('FilePath') | Out-Null + New-AzSupportFilesNoSubscription -ErrorAction Stop -Name $FileName -FileSize $FileSize -ChunkSize $ChunkSize -NumberOfChunk $NumberOfChunks @PSBoundParameters + + $chunkIndex = 0 + $startIndex = 0 + $endIndex = $ChunkSize - 1 + + while($chunkIndex -lt $NumberOfChunks){ + $FileContent = [convert]::ToBase64String($FileContentByteArray[$startIndex..$endIndex]) + Invoke-AzSupportUploadFilesNoSubscription -ErrorAction Stop -FileName $FileName -ChunkIndex $chunkIndex -Content $FileContent @PSBoundParameters + $chunkIndex++ + $startIndex = $endIndex + 1 + $endIndex = $FileSize - 1 + } +} +} diff --git a/src/Support/Support.Autorest/docs/Az.Support.md b/src/Support/Support.Autorest/docs/Az.Support.md index 3156dcf4985f..16545d0abe05 100644 --- a/src/Support/Support.Autorest/docs/Az.Support.md +++ b/src/Support/Support.Autorest/docs/Az.Support.md @@ -62,23 +62,23 @@ 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. -### [Invoke-AzSupportUploadFile](Invoke-AzSupportUploadFile.md) -This API allows you to upload content to a file - -### [Invoke-AzSupportUploadFilesNoSubscription](Invoke-AzSupportUploadFilesNoSubscription.md) -This API allows you to upload content to a file - ### [New-AzSupportCommunication](New-AzSupportCommunication.md) Adds a new customer communication to an Azure support ticket. ### [New-AzSupportCommunicationsNoSubscription](New-AzSupportCommunicationsNoSubscription.md) Adds a new customer communication to an Azure support ticket. -### [New-AzSupportFile](New-AzSupportFile.md) -Creates a new file under a workspace for the specified subscription. +### [New-AzSupportFileAndUpload](New-AzSupportFileAndUpload.md) +Creates and uploads a new file under a workspace for the specified subscription. + +### [New-AzSupportFileAndUploadNoSubscription](New-AzSupportFileAndUploadNoSubscription.md) +Creates and uploads a new file under a workspace for the specified subscription. -### [New-AzSupportFilesNoSubscription](New-AzSupportFilesNoSubscription.md) -Creates a new file under a workspace. +### [New-AzSupportFileWorkspace](New-AzSupportFileWorkspace.md) +Creates a new file workspace for the specified subscription. + +### [New-AzSupportFileWorkspacesNoSubscription](New-AzSupportFileWorkspacesNoSubscription.md) +Creates a new file workspace. ### [New-AzSupportTicket](New-AzSupportTicket.md) Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. @@ -117,12 +117,6 @@ Adds a new customer communication to an Azure support ticket. ### [Update-AzSupportCommunicationsNoSubscription](Update-AzSupportCommunicationsNoSubscription.md) Adds a new customer communication to an Azure support ticket. -### [Update-AzSupportFile](Update-AzSupportFile.md) -Creates a new file under a workspace for the specified subscription. - -### [Update-AzSupportFilesNoSubscription](Update-AzSupportFilesNoSubscription.md) -Creates a new file under a workspace. - ### [Update-AzSupportTicket](Update-AzSupportTicket.md) 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. diff --git a/src/Support/Support.Autorest/docs/Get-AzSupportFileWorkspacesNoSubscription.md b/src/Support/Support.Autorest/docs/Get-AzSupportFileWorkspacesNoSubscription.md index 8694b5cc60ca..3bcbb2e49472 100644 --- a/src/Support/Support.Autorest/docs/Get-AzSupportFileWorkspacesNoSubscription.md +++ b/src/Support/Support.Autorest/docs/Get-AzSupportFileWorkspacesNoSubscription.md @@ -75,7 +75,7 @@ File Workspace Name ```yaml Type: System.String Parameter Sets: Get -Aliases: +Aliases: Name Required: True Position: Named diff --git a/src/Support/Support.Autorest/docs/Get-AzSupportFilesNoSubscription.md b/src/Support/Support.Autorest/docs/Get-AzSupportFilesNoSubscription.md index f6180f653c2a..439e7e2124ee 100644 --- a/src/Support/Support.Autorest/docs/Get-AzSupportFilesNoSubscription.md +++ b/src/Support/Support.Autorest/docs/Get-AzSupportFilesNoSubscription.md @@ -86,7 +86,7 @@ File Name ```yaml Type: System.String Parameter Sets: Get, GetViaIdentityFileWorkspace -Aliases: +Aliases: Name Required: True Position: Named @@ -117,7 +117,7 @@ File Workspace Name ```yaml Type: System.String Parameter Sets: Get, List -Aliases: +Aliases: WorkspaceName Required: True Position: Named diff --git a/src/Support/Support.Autorest/docs/Invoke-AzSupportUploadFile.md b/src/Support/Support.Autorest/docs/Invoke-AzSupportUploadFile.md deleted file mode 100644 index 809e2f394c4f..000000000000 --- a/src/Support/Support.Autorest/docs/Invoke-AzSupportUploadFile.md +++ /dev/null @@ -1,325 +0,0 @@ ---- -external help file: -Module Name: Az.Support -online version: https://learn.microsoft.com/powershell/module/az.support/invoke-azsupportuploadfile -schema: 2.0.0 ---- - -# Invoke-AzSupportUploadFile - -## SYNOPSIS -This API allows you to upload content to a file - -## SYNTAX - -### UploadExpanded (Default) -``` -Invoke-AzSupportUploadFile -FileName -FileWorkspaceName [-SubscriptionId ] - [-ChunkIndex ] [-Content ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] - [] -``` - -### Upload -``` -Invoke-AzSupportUploadFile -FileName -FileWorkspaceName -UploadFile - [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### UploadViaIdentity -``` -Invoke-AzSupportUploadFile -InputObject -UploadFile - [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### UploadViaIdentityExpanded -``` -Invoke-AzSupportUploadFile -InputObject [-ChunkIndex ] [-Content ] - [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### UploadViaIdentityFileWorkspace -``` -Invoke-AzSupportUploadFile -FileName -FileWorkspaceInputObject - -UploadFile [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### UploadViaIdentityFileWorkspaceExpanded -``` -Invoke-AzSupportUploadFile -FileName -FileWorkspaceInputObject - [-ChunkIndex ] [-Content ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] - [] -``` - -### UploadViaJsonFilePath -``` -Invoke-AzSupportUploadFile -FileName -FileWorkspaceName -JsonFilePath - [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### UploadViaJsonString -``` -Invoke-AzSupportUploadFile -FileName -FileWorkspaceName -JsonString - [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -This API allows you to upload content to a file - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here (remove the output block if the example doesn't have an output) }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here (remove the output block if the example doesn't have an output) }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -ChunkIndex -Index of the uploaded chunk (Index starts at 0) - -```yaml -Type: System.Single -Parameter Sets: UploadExpanded, UploadViaIdentityExpanded, UploadViaIdentityFileWorkspaceExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Content -File Content in base64 encoded format - -```yaml -Type: System.String -Parameter Sets: UploadExpanded, UploadViaIdentityExpanded, UploadViaIdentityFileWorkspaceExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The DefaultProfile parameter is not functional. -Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -FileName -File Name - -```yaml -Type: System.String -Parameter Sets: Upload, UploadExpanded, UploadViaIdentityFileWorkspace, UploadViaIdentityFileWorkspaceExpanded, UploadViaJsonFilePath, UploadViaJsonString -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -FileWorkspaceInputObject -Identity Parameter -To construct, see NOTES section for FILEWORKSPACEINPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Support.Models.ISupportIdentity -Parameter Sets: UploadViaIdentityFileWorkspace, UploadViaIdentityFileWorkspaceExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -FileWorkspaceName -File WorkspaceName - -```yaml -Type: System.String -Parameter Sets: Upload, UploadExpanded, UploadViaJsonFilePath, UploadViaJsonString -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Support.Models.ISupportIdentity -Parameter Sets: UploadViaIdentity, UploadViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -JsonFilePath -Path of Json file supplied to the Upload operation - -```yaml -Type: System.String -Parameter Sets: UploadViaJsonFilePath -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -JsonString -Json string supplied to the Upload operation - -```yaml -Type: System.String -Parameter Sets: UploadViaJsonString -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -Azure subscription Id. - -```yaml -Type: System.String -Parameter Sets: Upload, UploadExpanded, UploadViaJsonFilePath, UploadViaJsonString -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -UploadFile -File content associated with the file under a workspace. -To construct, see NOTES section for UPLOADFILE properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IUploadFile -Parameter Sets: Upload, UploadViaIdentity, UploadViaIdentityFileWorkspace -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.Support.Models.ISupportIdentity - -### Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IUploadFile - -## OUTPUTS - -### System.Boolean - -## NOTES - -## RELATED LINKS - diff --git a/src/Support/Support.Autorest/docs/Invoke-AzSupportUploadFilesNoSubscription.md b/src/Support/Support.Autorest/docs/Invoke-AzSupportUploadFilesNoSubscription.md deleted file mode 100644 index f9454747463c..000000000000 --- a/src/Support/Support.Autorest/docs/Invoke-AzSupportUploadFilesNoSubscription.md +++ /dev/null @@ -1,310 +0,0 @@ ---- -external help file: -Module Name: Az.Support -online version: https://learn.microsoft.com/powershell/module/az.support/invoke-azsupportuploadfilesnosubscription -schema: 2.0.0 ---- - -# Invoke-AzSupportUploadFilesNoSubscription - -## SYNOPSIS -This API allows you to upload content to a file - -## SYNTAX - -### UploadExpanded (Default) -``` -Invoke-AzSupportUploadFilesNoSubscription -FileName -FileWorkspaceName - [-ChunkIndex ] [-Content ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] - [] -``` - -### Upload -``` -Invoke-AzSupportUploadFilesNoSubscription -FileName -FileWorkspaceName - -UploadFile [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### UploadViaIdentity -``` -Invoke-AzSupportUploadFilesNoSubscription -InputObject -UploadFile - [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### UploadViaIdentityExpanded -``` -Invoke-AzSupportUploadFilesNoSubscription -InputObject [-ChunkIndex ] - [-Content ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### UploadViaIdentityFileWorkspace -``` -Invoke-AzSupportUploadFilesNoSubscription -FileName -FileWorkspaceInputObject - -UploadFile [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### UploadViaIdentityFileWorkspaceExpanded -``` -Invoke-AzSupportUploadFilesNoSubscription -FileName -FileWorkspaceInputObject - [-ChunkIndex ] [-Content ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] - [] -``` - -### UploadViaJsonFilePath -``` -Invoke-AzSupportUploadFilesNoSubscription -FileName -FileWorkspaceName - -JsonFilePath [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### UploadViaJsonString -``` -Invoke-AzSupportUploadFilesNoSubscription -FileName -FileWorkspaceName -JsonString - [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -This API allows you to upload content to a file - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here (remove the output block if the example doesn't have an output) }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here (remove the output block if the example doesn't have an output) }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -ChunkIndex -Index of the uploaded chunk (Index starts at 0) - -```yaml -Type: System.Single -Parameter Sets: UploadExpanded, UploadViaIdentityExpanded, UploadViaIdentityFileWorkspaceExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Content -File Content in base64 encoded format - -```yaml -Type: System.String -Parameter Sets: UploadExpanded, UploadViaIdentityExpanded, UploadViaIdentityFileWorkspaceExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The DefaultProfile parameter is not functional. -Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -FileName -File Name - -```yaml -Type: System.String -Parameter Sets: Upload, UploadExpanded, UploadViaIdentityFileWorkspace, UploadViaIdentityFileWorkspaceExpanded, UploadViaJsonFilePath, UploadViaJsonString -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -FileWorkspaceInputObject -Identity Parameter -To construct, see NOTES section for FILEWORKSPACEINPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Support.Models.ISupportIdentity -Parameter Sets: UploadViaIdentityFileWorkspace, UploadViaIdentityFileWorkspaceExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -FileWorkspaceName -File WorkspaceName - -```yaml -Type: System.String -Parameter Sets: Upload, UploadExpanded, UploadViaJsonFilePath, UploadViaJsonString -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Support.Models.ISupportIdentity -Parameter Sets: UploadViaIdentity, UploadViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -JsonFilePath -Path of Json file supplied to the Upload operation - -```yaml -Type: System.String -Parameter Sets: UploadViaJsonFilePath -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -JsonString -Json string supplied to the Upload operation - -```yaml -Type: System.String -Parameter Sets: UploadViaJsonString -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -UploadFile -File content associated with the file under a workspace. -To construct, see NOTES section for UPLOADFILE properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IUploadFile -Parameter Sets: Upload, UploadViaIdentity, UploadViaIdentityFileWorkspace -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.Support.Models.ISupportIdentity - -### Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IUploadFile - -## OUTPUTS - -### System.Boolean - -## NOTES - -## RELATED LINKS - diff --git a/src/Support/Support.Autorest/docs/New-AzSupportFilesNoSubscription.md b/src/Support/Support.Autorest/docs/New-AzSupportFileAndUpload.md similarity index 72% rename from src/Support/Support.Autorest/docs/New-AzSupportFilesNoSubscription.md rename to src/Support/Support.Autorest/docs/New-AzSupportFileAndUpload.md index 5a47e1fd99e1..b3a01345f0e5 100644 --- a/src/Support/Support.Autorest/docs/New-AzSupportFilesNoSubscription.md +++ b/src/Support/Support.Autorest/docs/New-AzSupportFileAndUpload.md @@ -1,25 +1,24 @@ --- external help file: Module Name: Az.Support -online version: https://learn.microsoft.com/powershell/module/az.support/new-azsupportfilesnosubscription +online version: https://learn.microsoft.com/powershell/module/az.support/new-azsupportfile schema: 2.0.0 --- -# New-AzSupportFilesNoSubscription +# New-AzSupportFileAndUpload ## SYNOPSIS -Creates a new file under a workspace. +Creates and uploads a new file under a workspace for the specified subscription. ## SYNTAX ``` -New-AzSupportFilesNoSubscription -FileName -FileWorkspaceName [-ChunkSize ] - [-FileSize ] [-NumberOfChunk ] [-DefaultProfile ] [-Confirm] [-WhatIf] - [] +New-AzSupportFileAndUpload -WorkspaceName -FilePath [-SubscriptionId ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Creates a new file under a workspace. +Creates and uploads a new file under a workspace for the specified subscription. ## EXAMPLES @@ -47,21 +46,6 @@ Creates a new file under a workspace. ## PARAMETERS -### -ChunkSize -Size of each chunk - -```yaml -Type: System.Single -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -DefaultProfile The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. @@ -78,8 +62,8 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -FileName -File name. +### -FilePath +Path of the file to be uploaded ```yaml Type: System.String @@ -93,28 +77,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -FileSize -Size of the file to be uploaded +### -SubscriptionId +Azure subscription Id. ```yaml -Type: System.Single +Type: System.String Parameter Sets: (All) Aliases: Required: False Position: Named -Default value: None +Default value: (Get-AzContext).Subscription.Id Accept pipeline input: False Accept wildcard characters: False ``` -### -FileWorkspaceName +### -WorkspaceName File workspace name. ```yaml Type: System.String Parameter Sets: (All) -Aliases: +Aliases: FileWorkspaceName Required: True Position: Named @@ -123,21 +107,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -NumberOfChunk -Number of chunks to be uploaded - -```yaml -Type: System.Single -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/Support/Support.Autorest/docs/New-AzSupportFile.md b/src/Support/Support.Autorest/docs/New-AzSupportFileAndUploadNoSubscription.md similarity index 65% rename from src/Support/Support.Autorest/docs/New-AzSupportFile.md rename to src/Support/Support.Autorest/docs/New-AzSupportFileAndUploadNoSubscription.md index 4d1bfa961b78..8fc5d23df708 100644 --- a/src/Support/Support.Autorest/docs/New-AzSupportFile.md +++ b/src/Support/Support.Autorest/docs/New-AzSupportFileAndUploadNoSubscription.md @@ -5,21 +5,20 @@ online version: https://learn.microsoft.com/powershell/module/az.support/new-azs schema: 2.0.0 --- -# New-AzSupportFile +# New-AzSupportFileAndUploadNoSubscription ## SYNOPSIS -Creates a new file under a workspace for the specified subscription. +Creates and uploads a new file under a workspace for the specified subscription. ## SYNTAX ``` -New-AzSupportFile -Name -WorkspaceName [-SubscriptionId ] [-ChunkSize ] - [-FileSize ] [-NumberOfChunk ] [-DefaultProfile ] [-Confirm] [-WhatIf] - [] +New-AzSupportFileAndUploadNoSubscription -WorkspaceName -FilePath + [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Creates a new file under a workspace for the specified subscription. +Creates and uploads a new file under a workspace for the specified subscription. ## EXAMPLES @@ -47,21 +46,6 @@ Creates a new file under a workspace for the specified subscription. ## PARAMETERS -### -ChunkSize -Size of each chunk - -```yaml -Type: System.Single -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -DefaultProfile The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. @@ -78,66 +62,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -FileSize -Size of the file to be uploaded - -```yaml -Type: System.Single -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -File name. +### -FilePath +Path of the file to be uploaded ```yaml Type: System.String Parameter Sets: (All) -Aliases: FileName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NumberOfChunk -Number of chunks to be uploaded - -```yaml -Type: System.Single -Parameter Sets: (All) Aliases: -Required: False +Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` -### -SubscriptionId -Azure subscription Id. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -WorkspaceName File workspace name. diff --git a/src/Support/Support.Autorest/docs/New-AzSupportFileWorkspace.md b/src/Support/Support.Autorest/docs/New-AzSupportFileWorkspace.md new file mode 100644 index 000000000000..1f1da952b27e --- /dev/null +++ b/src/Support/Support.Autorest/docs/New-AzSupportFileWorkspace.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: Az.Support +online version: https://learn.microsoft.com/powershell/module/az.support/new-azsupportfileworkspace +schema: 2.0.0 +--- + +# New-AzSupportFileWorkspace + +## SYNOPSIS +Creates a new file workspace for the specified subscription. + +## SYNTAX + +``` +New-AzSupportFileWorkspace -Name [-SubscriptionId ] [-DefaultProfile ] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new file workspace for the specified subscription. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +File workspace name. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: FileWorkspaceName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +Azure subscription Id. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IFileWorkspaceDetails + +## NOTES + +## RELATED LINKS + diff --git a/src/Support/Support.Autorest/docs/New-AzSupportFileWorkspacesNoSubscription.md b/src/Support/Support.Autorest/docs/New-AzSupportFileWorkspacesNoSubscription.md new file mode 100644 index 000000000000..969e025c88a7 --- /dev/null +++ b/src/Support/Support.Autorest/docs/New-AzSupportFileWorkspacesNoSubscription.md @@ -0,0 +1,123 @@ +--- +external help file: +Module Name: Az.Support +online version: https://learn.microsoft.com/powershell/module/az.support/new-azsupportfileworkspacesnosubscription +schema: 2.0.0 +--- + +# New-AzSupportFileWorkspacesNoSubscription + +## SYNOPSIS +Creates a new file workspace. + +## SYNTAX + +``` +New-AzSupportFileWorkspacesNoSubscription -FileWorkspaceName [-DefaultProfile ] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new file workspace. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FileWorkspaceName +File workspace name. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: Name + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IFileWorkspaceDetails + +## NOTES + +## RELATED LINKS + diff --git a/src/Support/Support.Autorest/docs/Update-AzSupportFile.md b/src/Support/Support.Autorest/docs/Update-AzSupportFile.md deleted file mode 100644 index 5d5008bd0f5a..000000000000 --- a/src/Support/Support.Autorest/docs/Update-AzSupportFile.md +++ /dev/null @@ -1,247 +0,0 @@ ---- -external help file: -Module Name: Az.Support -online version: https://learn.microsoft.com/powershell/module/az.support/update-azsupportfile -schema: 2.0.0 ---- - -# Update-AzSupportFile - -## SYNOPSIS -Creates a new file under a workspace for the specified subscription. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzSupportFile -Name -WorkspaceName [-SubscriptionId ] [-ChunkSize ] - [-FileSize ] [-NumberOfChunk ] [-DefaultProfile ] [-Confirm] [-WhatIf] - [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzSupportFile -InputObject [-ChunkSize ] [-FileSize ] - [-NumberOfChunk ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentityFileWorkspaceExpanded -``` -Update-AzSupportFile -FileWorkspaceInputObject -Name [-ChunkSize ] - [-FileSize ] [-NumberOfChunk ] [-DefaultProfile ] [-Confirm] [-WhatIf] - [] -``` - -## DESCRIPTION -Creates a new file under a workspace for the specified subscription. - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here (remove the output block if the example doesn't have an output) }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here (remove the output block if the example doesn't have an output) }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -ChunkSize -Size of each chunk - -```yaml -Type: System.Single -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The DefaultProfile parameter is not functional. -Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -FileSize -Size of the file to be uploaded - -```yaml -Type: System.Single -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -FileWorkspaceInputObject -Identity Parameter -To construct, see NOTES section for FILEWORKSPACEINPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Support.Models.ISupportIdentity -Parameter Sets: UpdateViaIdentityFileWorkspaceExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Support.Models.ISupportIdentity -Parameter Sets: UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -File name. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityFileWorkspaceExpanded -Aliases: FileName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NumberOfChunk -Number of chunks to be uploaded - -```yaml -Type: System.Single -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -Azure subscription Id. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WorkspaceName -File workspace name. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: FileWorkspaceName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.Support.Models.ISupportIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IFileDetails - -## NOTES - -## RELATED LINKS - diff --git a/src/Support/Support.Autorest/docs/Update-AzSupportFilesNoSubscription.md b/src/Support/Support.Autorest/docs/Update-AzSupportFilesNoSubscription.md deleted file mode 100644 index e9ccc8ec8d89..000000000000 --- a/src/Support/Support.Autorest/docs/Update-AzSupportFilesNoSubscription.md +++ /dev/null @@ -1,232 +0,0 @@ ---- -external help file: -Module Name: Az.Support -online version: https://learn.microsoft.com/powershell/module/az.support/update-azsupportfilesnosubscription -schema: 2.0.0 ---- - -# Update-AzSupportFilesNoSubscription - -## SYNOPSIS -Creates a new file under a workspace. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzSupportFilesNoSubscription -FileName -FileWorkspaceName [-ChunkSize ] - [-FileSize ] [-NumberOfChunk ] [-DefaultProfile ] [-Confirm] [-WhatIf] - [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzSupportFilesNoSubscription -InputObject [-ChunkSize ] [-FileSize ] - [-NumberOfChunk ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentityFileWorkspaceExpanded -``` -Update-AzSupportFilesNoSubscription -FileName -FileWorkspaceInputObject - [-ChunkSize ] [-FileSize ] [-NumberOfChunk ] [-DefaultProfile ] [-Confirm] - [-WhatIf] [] -``` - -## DESCRIPTION -Creates a new file under a workspace. - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here (remove the output block if the example doesn't have an output) }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here (remove the output block if the example doesn't have an output) }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -ChunkSize -Size of each chunk - -```yaml -Type: System.Single -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The DefaultProfile parameter is not functional. -Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -FileName -File name. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityFileWorkspaceExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -FileSize -Size of the file to be uploaded - -```yaml -Type: System.Single -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -FileWorkspaceInputObject -Identity Parameter -To construct, see NOTES section for FILEWORKSPACEINPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Support.Models.ISupportIdentity -Parameter Sets: UpdateViaIdentityFileWorkspaceExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -FileWorkspaceName -File workspace name. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Support.Models.ISupportIdentity -Parameter Sets: UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -NumberOfChunk -Number of chunks to be uploaded - -```yaml -Type: System.Single -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.Support.Models.ISupportIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IFileDetails - -## NOTES - -## RELATED LINKS - diff --git a/src/Support/Support.Autorest/examples/Invoke-AzSupportUploadFile.md b/src/Support/Support.Autorest/examples/New-AzSupportFileAndUpload.md similarity index 100% rename from src/Support/Support.Autorest/examples/Invoke-AzSupportUploadFile.md rename to src/Support/Support.Autorest/examples/New-AzSupportFileAndUpload.md diff --git a/src/Support/Support.Autorest/examples/Invoke-AzSupportUploadFilesNoSubscription.md b/src/Support/Support.Autorest/examples/New-AzSupportFileAndUploadNoSubscription.md similarity index 100% rename from src/Support/Support.Autorest/examples/Invoke-AzSupportUploadFilesNoSubscription.md rename to src/Support/Support.Autorest/examples/New-AzSupportFileAndUploadNoSubscription.md diff --git a/src/Support/Support.Autorest/examples/New-AzSupportFile.md b/src/Support/Support.Autorest/examples/New-AzSupportFileWorkspace.md similarity index 100% rename from src/Support/Support.Autorest/examples/New-AzSupportFile.md rename to src/Support/Support.Autorest/examples/New-AzSupportFileWorkspace.md diff --git a/src/Support/Support.Autorest/examples/New-AzSupportFilesNoSubscription.md b/src/Support/Support.Autorest/examples/New-AzSupportFileWorkspacesNoSubscription.md similarity index 100% rename from src/Support/Support.Autorest/examples/New-AzSupportFilesNoSubscription.md rename to src/Support/Support.Autorest/examples/New-AzSupportFileWorkspacesNoSubscription.md diff --git a/src/Support/Support.Autorest/examples/Update-AzSupportFile.md b/src/Support/Support.Autorest/examples/Update-AzSupportFile.md deleted file mode 100644 index 0371f56c36d2..000000000000 --- a/src/Support/Support.Autorest/examples/Update-AzSupportFile.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here (remove the output block if the example doesn't have an output) }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here (remove the output block if the example doesn't have an output) }} -``` - -{{ Add description here }} - diff --git a/src/Support/Support.Autorest/examples/Update-AzSupportFilesNoSubscription.md b/src/Support/Support.Autorest/examples/Update-AzSupportFilesNoSubscription.md deleted file mode 100644 index 0371f56c36d2..000000000000 --- a/src/Support/Support.Autorest/examples/Update-AzSupportFilesNoSubscription.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here (remove the output block if the example doesn't have an output) }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here (remove the output block if the example doesn't have an output) }} -``` - -{{ Add description here }} - diff --git a/src/Support/Support.Autorest/test/Get-AzSupportFile.Recording.json b/src/Support/Support.Autorest/test/Get-AzSupportFile.Recording.json new file mode 100644 index 000000000000..bc0e1f442b28 --- /dev/null +++ b/src/Support/Support.Autorest/test/Get-AzSupportFile.Recording.json @@ -0,0 +1,84 @@ +{ + "Get-AzSupportFile+[NoContext]+List+$GET+https://management.azure.com/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-0c3b99a5-4267-4823-bac3-9ce954258d71/files?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-0c3b99a5-4267-4823-bac3-9ce954258d71/files?api-version=2022-09-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "4b89a6cc-cce6-4c22-a7cf-ec36148bd130" ], + "CommandName": [ "Get-AzSupportFile" ], + "FullCommandName": [ "Get-AzSupportFile_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.3.11", "Az.Support/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-request-id": [ "c0d7f0f6-5b90-475d-99ed-0bcda9afd749" ], + "x-ms-correlation-request-id": [ "c0d7f0f6-5b90-475d-99ed-0bcda9afd749" ], + "x-ms-routing-request-id": [ "EASTUS:20240131T204836Z:c0d7f0f6-5b90-475d-99ed-0bcda9afd749" ], + "Date": [ "Wed, 31 Jan 2024 20:48:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "324" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"id\":\"/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-0c3b99a5-4267-4823-bac3-9ce954258d71/files/test2.txt\",\"name\":\"test2.txt\",\"type\":\"Microsoft.Support/files\",\"properties\":{\"createdOn\":\"2024-01-31T20:48:23Z\",\"fileSize\":4,\"chunkSize\":4,\"numberOfChunks\":1}}]}", + "isContentBase64": false + } + }, + "Get-AzSupportFile+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-0c3b99a5-4267-4823-bac3-9ce954258d71/files/test2.txt?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-0c3b99a5-4267-4823-bac3-9ce954258d71/files/test2.txt?api-version=2022-09-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "38fb9ad8-55b6-4dc2-a2f6-d9632cfaa3f1" ], + "CommandName": [ "Get-AzSupportFile" ], + "FullCommandName": [ "Get-AzSupportFile_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.3.11", "Az.Support/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-request-id": [ "3400becf-1644-4257-8530-0f22159c8371" ], + "x-ms-correlation-request-id": [ "3400becf-1644-4257-8530-0f22159c8371" ], + "x-ms-routing-request-id": [ "EASTUS:20240131T204839Z:3400becf-1644-4257-8530-0f22159c8371" ], + "Date": [ "Wed, 31 Jan 2024 20:48:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "312" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-0c3b99a5-4267-4823-bac3-9ce954258d71/files/test2.txt\",\"name\":\"test2.txt\",\"type\":\"Microsoft.Support/files\",\"properties\":{\"createdOn\":\"2024-01-31T20:48:23Z\",\"fileSize\":4,\"chunkSize\":4,\"numberOfChunks\":1}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/Support/Support.Autorest/test/Get-AzSupportFile.Tests.ps1 b/src/Support/Support.Autorest/test/Get-AzSupportFile.Tests.ps1 index 9472d0a01639..5d3490b2ac3e 100644 --- a/src/Support/Support.Autorest/test/Get-AzSupportFile.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Get-AzSupportFile.Tests.ps1 @@ -15,16 +15,20 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSupportFile')) } Describe 'Get-AzSupportFile' { - It 'List' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw + It 'List' { + $files = Get-AzSupportFile -WorkspaceName $env.FileWorkspaceNameSubscription + $files | Should -Not -BeNullOrEmpty + $files.Count | Should -BeGreaterOrEqual 1 } It 'GetViaIdentityFileWorkspace' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } - It 'Get' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw + It 'Get' { + $file = Get-AzSupportFile -Name "test2.txt" -WorkspaceName $env.FileWorkspaceNameSubscription + $file | Should -Not -BeNullOrEmpty + $file.Name | Should -Be "test2.txt" } It 'GetViaIdentity' -skip { diff --git a/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspace.Recording.json b/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspace.Recording.json new file mode 100644 index 000000000000..17c6f20ff4e5 --- /dev/null +++ b/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspace.Recording.json @@ -0,0 +1,43 @@ +{ + "Get-AzSupportFileWorkspace+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-d4adfb8c-f15c-48de-a0b0-8da419bfe51d?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-d4adfb8c-f15c-48de-a0b0-8da419bfe51d?api-version=2022-09-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "041c6579-0787-44ad-aaa1-ae473436f07b" ], + "CommandName": [ "Get-AzSupportFileWorkspace" ], + "FullCommandName": [ "Get-AzSupportFileWorkspace_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.3.11", "Az.Support/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-request-id": [ "b752c627-0706-4e1a-bb95-db1b17775e08" ], + "x-ms-correlation-request-id": [ "b752c627-0706-4e1a-bb95-db1b17775e08" ], + "x-ms-routing-request-id": [ "EASTUS:20240130T153256Z:b752c627-0706-4e1a-bb95-db1b17775e08" ], + "Date": [ "Tue, 30 Jan 2024 15:32:56 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "334" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-d4adfb8c-f15c-48de-a0b0-8da419bfe51d\",\"name\":\"test-ps-d4adfb8c-f15c-48de-a0b0-8da419bfe51d\",\"type\":\"Microsoft.Support/fileWorkspaces\",\"properties\":{\"expirationTime\":\"2024-01-31T15:32:53Z\",\"createdOn\":\"2024-01-30T15:32:53Z\"}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspace.Tests.ps1 b/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspace.Tests.ps1 index a9cd0b7576e7..8e3530d1d774 100644 --- a/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspace.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspace.Tests.ps1 @@ -15,8 +15,9 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSupportFileWorkspace')) } Describe 'Get-AzSupportFileWorkspace' { - It 'Get' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw + It 'Get' { + $fileWorkspace = Get-AzSupportFileWorkspace -Name $env.FileWorkspaceNameSubscription + $fileWorkspace.Name | Should -Be $env.FileWorkspaceNameSubscription } It 'GetViaIdentity' -skip { diff --git a/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspacesNoSubscription.Recording.json b/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspacesNoSubscription.Recording.json new file mode 100644 index 000000000000..fcd9fb18d2f5 --- /dev/null +++ b/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspacesNoSubscription.Recording.json @@ -0,0 +1,43 @@ +{ + "Get-AzSupportFileWorkspacesNoSubscription+[NoContext]+Get+$GET+https://management.azure.com/providers/Microsoft.Support/fileWorkspaces/test-ps-43ad6585-c0ac-4a13-8d0e-bb633b8b1db3?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.Support/fileWorkspaces/test-ps-43ad6585-c0ac-4a13-8d0e-bb633b8b1db3?api-version=2022-09-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "7e321a52-1564-4b97-a1c2-a57079ec53cc" ], + "CommandName": [ "Get-AzSupportFileWorkspacesNoSubscription" ], + "FullCommandName": [ "Get-AzSupportFileWorkspacesNoSubscription_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.3.11", "Az.Support/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "27f3281f-f92e-487d-bc46-0a21387d2502" ], + "x-ms-correlation-request-id": [ "27f3281f-f92e-487d-bc46-0a21387d2502" ], + "x-ms-routing-request-id": [ "EASTUS:20240130T153259Z:27f3281f-f92e-487d-bc46-0a21387d2502" ], + "Date": [ "Tue, 30 Jan 2024 15:32:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "283" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.Support/fileWorkspaces/test-ps-43ad6585-c0ac-4a13-8d0e-bb633b8b1db3\",\"name\":\"test-ps-43ad6585-c0ac-4a13-8d0e-bb633b8b1db3\",\"type\":\"Microsoft.Support/fileWorkspaces\",\"properties\":{\"expirationTime\":\"2024-01-31T15:32:54Z\",\"createdOn\":\"2024-01-30T15:32:54Z\"}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspacesNoSubscription.Tests.ps1 b/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspacesNoSubscription.Tests.ps1 index fedc1229ffcf..71a90c18b159 100644 --- a/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspacesNoSubscription.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspacesNoSubscription.Tests.ps1 @@ -15,8 +15,9 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSupportFileWorkspacesNo } Describe 'Get-AzSupportFileWorkspacesNoSubscription' { - It 'Get' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw + It 'Get' { + $fileWorkspace = Get-AzSupportFileWorkspacesNoSubscription -Name $env.FileWorkspaceNameNoSubscription + $fileWorkspace.Name | Should -Be $env.FileWorkspaceNameNoSubscription } It 'GetViaIdentity' -skip { diff --git a/src/Support/Support.Autorest/test/Get-AzSupportFilesNoSubscription.Recording.json b/src/Support/Support.Autorest/test/Get-AzSupportFilesNoSubscription.Recording.json new file mode 100644 index 000000000000..603f8c9a1970 --- /dev/null +++ b/src/Support/Support.Autorest/test/Get-AzSupportFilesNoSubscription.Recording.json @@ -0,0 +1,84 @@ +{ + "Get-AzSupportFilesNoSubscription+[NoContext]+List+$GET+https://management.azure.com/providers/Microsoft.Support/fileWorkspaces/test-ps-c3365113-f08e-4317-936c-3d948a9dc191/files?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.Support/fileWorkspaces/test-ps-c3365113-f08e-4317-936c-3d948a9dc191/files?api-version=2022-09-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "8b7d8112-3549-4b6f-b5bb-6e37f5025d6e" ], + "CommandName": [ "Get-AzSupportFilesNoSubscription" ], + "FullCommandName": [ "Get-AzSupportFilesNoSubscription_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.3.11", "Az.Support/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "5492f034-1f75-490e-9bbd-cd2cf6206655" ], + "x-ms-correlation-request-id": [ "5492f034-1f75-490e-9bbd-cd2cf6206655" ], + "x-ms-routing-request-id": [ "EASTUS:20240131T205029Z:5492f034-1f75-490e-9bbd-cd2cf6206655" ], + "Date": [ "Wed, 31 Jan 2024 20:50:29 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "273" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"id\":\"/providers/Microsoft.Support/fileWorkspaces/test-ps-c3365113-f08e-4317-936c-3d948a9dc191/files/test2.txt\",\"name\":\"test2.txt\",\"type\":\"Microsoft.Support/files\",\"properties\":{\"createdOn\":\"2024-01-31T20:50:22Z\",\"fileSize\":4,\"chunkSize\":4,\"numberOfChunks\":1}}]}", + "isContentBase64": false + } + }, + "Get-AzSupportFilesNoSubscription+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-1c0f34c3-a77f-48f8-92ed-4bc40297b575/files/test2.txt?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-1c0f34c3-a77f-48f8-92ed-4bc40297b575/files/test2.txt?api-version=2022-09-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "cf38d6d8-65c4-4d14-89a8-9873739fa276" ], + "CommandName": [ "Get-AzSupportFile" ], + "FullCommandName": [ "Get-AzSupportFile_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.3.11", "Az.Support/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-request-id": [ "cd7c5450-a2b1-4cf5-ae38-5d66e02e3c73" ], + "x-ms-correlation-request-id": [ "cd7c5450-a2b1-4cf5-ae38-5d66e02e3c73" ], + "x-ms-routing-request-id": [ "EASTUS:20240131T205032Z:cd7c5450-a2b1-4cf5-ae38-5d66e02e3c73" ], + "Date": [ "Wed, 31 Jan 2024 20:50:32 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "312" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-1c0f34c3-a77f-48f8-92ed-4bc40297b575/files/test2.txt\",\"name\":\"test2.txt\",\"type\":\"Microsoft.Support/files\",\"properties\":{\"createdOn\":\"2024-01-31T20:50:15Z\",\"fileSize\":4,\"chunkSize\":4,\"numberOfChunks\":1}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/Support/Support.Autorest/test/Get-AzSupportFilesNoSubscription.Tests.ps1 b/src/Support/Support.Autorest/test/Get-AzSupportFilesNoSubscription.Tests.ps1 index b0d8de3affe4..639460aab4e5 100644 --- a/src/Support/Support.Autorest/test/Get-AzSupportFilesNoSubscription.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Get-AzSupportFilesNoSubscription.Tests.ps1 @@ -15,16 +15,20 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSupportFilesNoSubscript } Describe 'Get-AzSupportFilesNoSubscription' { - It 'List' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw + It 'List' { + $files = Get-AzSupportFilesNoSubscription -WorkspaceName $env.FileWorkspaceNameNoSubscription + $files | Should -Not -BeNullOrEmpty + $files.Count | Should -BeGreaterOrEqual 1 } It 'GetViaIdentityFileWorkspace' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } - It 'Get' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw + It 'Get' { + $file = Get-AzSupportFile -Name "test2.txt" -WorkspaceName $env.FileWorkspaceNameSubscription + $file | Should -Not -BeNullOrEmpty + $file.Name | Should -Be "test2.txt" } It 'GetViaIdentity' -skip { diff --git a/src/Support/Support.Autorest/test/Get-AzSupportProblemClassification.Recording.json b/src/Support/Support.Autorest/test/Get-AzSupportProblemClassification.Recording.json new file mode 100644 index 000000000000..955ac8a453ab --- /dev/null +++ b/src/Support/Support.Autorest/test/Get-AzSupportProblemClassification.Recording.json @@ -0,0 +1,84 @@ +{ + "Get-AzSupportProblemClassification+[NoContext]+List+$GET+https://management.azure.com/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications?api-version=2022-09-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "5571242e-8ae1-47b7-8fdc-3dd60c4ab2e1" ], + "CommandName": [ "Get-AzSupportProblemClassification" ], + "FullCommandName": [ "Get-AzSupportProblemClassification_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.3.11", "Az.Support/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "d8545724-ece9-4f22-aa21-61fb305938b9" ], + "x-ms-correlation-request-id": [ "d8545724-ece9-4f22-aa21-61fb305938b9" ], + "x-ms-routing-request-id": [ "EASTUS:20240126T204042Z:d8545724-ece9-4f22-aa21-61fb305938b9" ], + "Date": [ "Fri, 26 Jan 2024 20:40:41 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "26238" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/3ec1a070-f242-9ecf-5a7c-e1a88ce029ef\",\"name\":\"3ec1a070-f242-9ecf-5a7c-e1a88ce029ef\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Add or update VAT, tax id, PO number or profile information\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/0c04be9f-8434-be1f-8a08-a6a25a730844\",\"name\":\"0c04be9f-8434-be1f-8a08-a6a25a730844\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Pricing / Help me discover the service prices\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/15da022a-a108-c566-b944-c6d46ccd6479\",\"name\":\"15da022a-a108-c566-b944-c6d46ccd6479\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Pricing / Help me validate or confirm my discount\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/1ca6ee84-ab07-56ee-b6d2-d508c7120710\",\"name\":\"1ca6ee84-ab07-56ee-b6d2-d508c7120710\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Pricing / I have questions about my spending limit\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/dc1655d0-baa0-76a1-8521-717732d5eb5a\",\"name\":\"dc1655d0-baa0-76a1-8521-717732d5eb5a\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Pricing / Help me use the azure price sheet API\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/a5f5229a-130c-e227-564e-b8a9cd46889d\",\"name\":\"a5f5229a-130c-e227-564e-b8a9cd46889d\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Pricing / Help me with azure calculator\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/60595739-9b86-7e7a-c25d-9cdaa50c1bb7\",\"name\":\"60595739-9b86-7e7a-c25d-9cdaa50c1bb7\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Pricing / Help understanding Marketplace pricing\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/dd3d4786-02f7-c870-a97a-ac839db5d668\",\"name\":\"dd3d4786-02f7-c870-a97a-ac839db5d668\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Manage Payment Methods / Need help updating or adding a credit card\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/a71b6140-5657-404b-f83e-a7dd1b63fcbe\",\"name\":\"a71b6140-5657-404b-f83e-a7dd1b63fcbe\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Manage Payment Methods / Switch to pay by invoice as my default payment method\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/f3f57428-9dc8-14ed-8aef-08608b50afca\",\"name\":\"f3f57428-9dc8-14ed-8aef-08608b50afca\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Manage Payment Methods / My payment method is not supported\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/820ff4e1-cf84-8e12-ffd3-9d39859eaf36\",\"name\":\"820ff4e1-cf84-8e12-ffd3-9d39859eaf36\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Manage Payment Methods / I have questions about invoice pay\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/82bab3c4-81d9-1d79-d378-28e552a15945\",\"name\":\"82bab3c4-81d9-1d79-d378-28e552a15945\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Manage Payment Methods / Need help deleting my credit card\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/e25dacdb-2c22-d5c9-108e-c43a5e43872b\",\"name\":\"e25dacdb-2c22-d5c9-108e-c43a5e43872b\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Make a Payment / Need assistance to make a payment immediately\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/8037967a-e364-eaec-d31f-6ad96f9cd5d8\",\"name\":\"8037967a-e364-eaec-d31f-6ad96f9cd5d8\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Make a Payment / Do not have permission to pay\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/0b4d6687-73c7-bdf8-3850-b6547d62dde4\",\"name\":\"0b4d6687-73c7-bdf8-3850-b6547d62dde4\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Make a Payment / My invoice shows due or past due\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/5a2df32b-7b4b-3fbb-c8b6-074c434bd2f4\",\"name\":\"5a2df32b-7b4b-3fbb-c8b6-074c434bd2f4\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Make a Payment / Need to split payment across multiple credit cards\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/f7550cf2-c00a-c3af-053e-34a3358cf87e\",\"name\":\"f7550cf2-c00a-c3af-053e-34a3358cf87e\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Make a Payment / No current bill due and am still being notified to pay\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/6fa8f384-22e6-8a05-ed17-2a120115a840\",\"name\":\"6fa8f384-22e6-8a05-ed17-2a120115a840\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Make a Payment / Request my payment history or payment confirmation\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/6a5af2ab-1163-e069-9c22-608606161a7a\",\"name\":\"6a5af2ab-1163-e069-9c22-608606161a7a\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Make a Payment / Subscription has been warned or disabled (past due)\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/8b6c2e08-cd75-c2d1-7a12-e4daf1e16f2e\",\"name\":\"8b6c2e08-cd75-c2d1-7a12-e4daf1e16f2e\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Refund request\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/41271b30-6cc3-7c87-f423-f1e4e24adde5\",\"name\":\"41271b30-6cc3-7c87-f423-f1e4e24adde5\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Cost Management / Help me understand my cost recommendations\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/9bc71cda-662c-0336-aee7-6f556d7c0fd2\",\"name\":\"9bc71cda-662c-0336-aee7-6f556d7c0fd2\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Cost Management / I have an issue with Cost Management APIs (Query, Exports, Budgets, Forecast or Usage details)\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/6bb902c6-b903-0b03-f17f-37ca5ce605c2\",\"name\":\"6bb902c6-b903-0b03-f17f-37ca5ce605c2\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Cost Management / I see costs but other data is missing or not as expected (i.e. tags, service names etc.)\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/4f8c94bd-0ef0-52b2-1714-7dd131b166fd\",\"name\":\"4f8c94bd-0ef0-52b2-1714-7dd131b166fd\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Cost Management / I need assistance with alerts, budgets or forecasted cost\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/9359c605-5360-f754-2195-99e1f42a598b\",\"name\":\"9359c605-5360-f754-2195-99e1f42a598b\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Cost Management / I see unexpected costs in \\\"Cost Analysis\\\" or in \\\"PowerBI\\\"\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/76ea362a-2219-833b-d371-d91738e4e31a\",\"name\":\"76ea362a-2219-833b-d371-d91738e4e31a\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Cost Management / Cost data is inconsistent or lagging\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/a7096926-dcd0-2504-ba61-a40ec81b9566\",\"name\":\"a7096926-dcd0-2504-ba61-a40ec81b9566\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Cost Management / I get an error when setting up exports or I didn\u0027t receive the exported file\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/750bbf33-ccd8-21b8-03be-db99ca762450\",\"name\":\"750bbf33-ccd8-21b8-03be-db99ca762450\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Cost Management / Need assistance with AWS connector issue or I see unexpected AWS costs\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/44114011-6a66-e902-c00f-e419b6b4509f\",\"name\":\"44114011-6a66-e902-c00f-e419b6b4509f\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Cost Management / I have access but cost is not loading for me\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/1347da70-df34-c898-c57c-c9cec0583a10\",\"name\":\"1347da70-df34-c898-c57c-c9cec0583a10\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Cost Management / I don\u0027t have access to view costs in Cost Management\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/d0f16bf7-e011-3f3b-1c26-3147f84e0896\",\"name\":\"d0f16bf7-e011-3f3b-1c26-3147f84e0896\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Assistance with bill / Help understanding my invoice (bill)\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/03f04074-1627-89b7-17c4-77c3c9b55b9f\",\"name\":\"03f04074-1627-89b7-17c4-77c3c9b55b9f\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Assistance with bill / Status says due but the bill has been paid\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/11289ac1-29a3-5dba-fe8c-6559600c1e73\",\"name\":\"11289ac1-29a3-5dba-fe8c-6559600c1e73\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Assistance with bill / Help with a billing discrepancy\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/3a8fd88e-339a-6504-9b84-7db4599837af\",\"name\":\"3a8fd88e-339a-6504-9b84-7db4599837af\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Assistance with bill / Help understanding Marketplace charges\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/52d1b697-5365-fa19-ab4d-d4ceaaf328d7\",\"name\":\"52d1b697-5365-fa19-ab4d-d4ceaaf328d7\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Request a copy of my bill (invoice) or usage / Cannot find my invoice in portal\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/38f682be-aeed-3200-71a0-f936d685282f\",\"name\":\"38f682be-aeed-3200-71a0-f936d685282f\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Request a copy of my bill (invoice) or usage / Do not have permissions for PDF download\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/47a98709-5a83-542e-8440-3496e3fda1c9\",\"name\":\"47a98709-5a83-542e-8440-3496e3fda1c9\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Request a copy of my bill (invoice) or usage / I did not receive my invoice in email\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/387abc16-2008-1b1f-c3e1-7afb63f5098a\",\"name\":\"387abc16-2008-1b1f-c3e1-7afb63f5098a\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Request a copy of my bill (invoice) or usage / I do not have the right permission to view my bill or usage\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/5ddfcd60-f370-9c08-a958-9cc6a8688431\",\"name\":\"5ddfcd60-f370-9c08-a958-9cc6a8688431\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Request a copy of my bill (invoice) or usage / I get an error when clicking a link in the email\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/24ef3e81-5dbb-2a40-8a4c-418cc613ef9d\",\"name\":\"24ef3e81-5dbb-2a40-8a4c-418cc613ef9d\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Request a copy of my bill (invoice) or usage / Marketplace bill or usage\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/f2e09e07-3865-ae49-5e9a-2870516cdfd9\",\"name\":\"f2e09e07-3865-ae49-5e9a-2870516cdfd9\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Request a copy of my bill (invoice) or usage / My invoice is for another subscription\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/79eb5685-3d64-be55-68dc-c41179d7c981\",\"name\":\"79eb5685-3d64-be55-68dc-c41179d7c981\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Request a copy of my bill (invoice) or usage / Need help downloading my invoice or multiple invoices\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/ecb7268e-7d07-835a-aa2b-b0f95e5ae8ff\",\"name\":\"ecb7268e-7d07-835a-aa2b-b0f95e5ae8ff\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Request a copy of my bill (invoice) or usage / Understand how to share invoices to other people\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/5c3e2a5f-619a-335b-b5ab-9dec9537d66b\",\"name\":\"5c3e2a5f-619a-335b-b5ab-9dec9537d66b\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Unexpected Charges / I\u0027m still getting charged for a cancelled service\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/5685912f-1c11-616b-1d48-54646f49a5ea\",\"name\":\"5685912f-1c11-616b-1d48-54646f49a5ea\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Unexpected Charges / Help me understand my Free Trial charges\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/30fd914b-84c4-9878-c348-87de5223dc5b\",\"name\":\"30fd914b-84c4-9878-c348-87de5223dc5b\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Unexpected Charges / Help me cancel my service or support plan\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/68765ad3-2cfe-920b-18b5-9ca977df1471\",\"name\":\"68765ad3-2cfe-920b-18b5-9ca977df1471\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Unexpected Charges / I have an issue with credit or refund or tax applied to a charge\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/d4ffa241-c319-13a5-cf72-18c8f4b9b342\",\"name\":\"d4ffa241-c319-13a5-cf72-18c8f4b9b342\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Unexpected Charges / Help understanding Azure Marketplace charges\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/98f985ac-58b0-dcd0-8a99-23f137c288d7\",\"name\":\"98f985ac-58b0-dcd0-8a99-23f137c288d7\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Unexpected Charges / My subscription was cancelled but still charged\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/37d2c92f-e1fc-9173-2daf-7f8edd412381\",\"name\":\"37d2c92f-e1fc-9173-2daf-7f8edd412381\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Disagreement with a charge (workload or service) / Issue with App Service charge\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/542043da-522c-e9e1-590f-a551ab37f7a6\",\"name\":\"542043da-522c-e9e1-590f-a551ab37f7a6\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Disagreement with a charge (workload or service) / Issue with Azure Backup charge\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/7b86583b-9733-f7c1-02b1-bd3a7fa8558e\",\"name\":\"7b86583b-9733-f7c1-02b1-bd3a7fa8558e\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Disagreement with a charge (workload or service) / Issue with charges across multiple services\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/e5bc37bf-a84c-c670-441e-c4cdb47714c5\",\"name\":\"e5bc37bf-a84c-c670-441e-c4cdb47714c5\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Disagreement with a charge (workload or service) / Issue with Compute charge\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/f8f1f8e4-8540-e805-6378-97742bb001b7\",\"name\":\"f8f1f8e4-8540-e805-6378-97742bb001b7\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Disagreement with a charge (workload or service) / Issue with Cosmos DB charge\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/0f70d968-b783-7176-a5f7-f1d92c31b8b4\",\"name\":\"0f70d968-b783-7176-a5f7-f1d92c31b8b4\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Disagreement with a charge (workload or service) / Issue with Network charge\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/26db1bad-be11-26c0-117a-99a319742140\",\"name\":\"26db1bad-be11-26c0-117a-99a319742140\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Disagreement with a charge (workload or service) / Issue with SQL or SQL DB charge\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/715fad75-73f4-0edc-57da-2c02a1f0a4b0\",\"name\":\"715fad75-73f4-0edc-57da-2c02a1f0a4b0\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Disagreement with a charge (workload or service) / Issue with Storage charge\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/d546f717-039c-b8f5-587c-8e7e332cf9ea\",\"name\":\"d546f717-039c-b8f5-587c-8e7e332cf9ea\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Disagreement with a charge (workload or service) / Service is not listed above\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/057f6615-3650-5370-57b2-e1a64af3b037\",\"name\":\"057f6615-3650-5370-57b2-e1a64af3b037\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Reserved instance requests / Cancel or change an existing reservation\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/69103c54-633a-058d-a66b-6ab02c9c806e\",\"name\":\"69103c54-633a-058d-a66b-6ab02c9c806e\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Reserved instance requests / How am I billed for Windows and SQL when reservation discounts is applied?\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/0b759e67-2619-49bf-441d-ed952a5f32c5\",\"name\":\"0b759e67-2619-49bf-441d-ed952a5f32c5\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Reserved instance requests / Reservation billing and invoice\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/f3d95681-a339-3bdb-9825-1f3c09d376f2\",\"name\":\"f3d95681-a339-3bdb-9825-1f3c09d376f2\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Reserved instance requests / Unable to purchase or questions before purchase\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/fb851540-8284-7777-9d25-ffbfe5ec8eb8\",\"name\":\"fb851540-8284-7777-9d25-ffbfe5ec8eb8\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Reserved instance requests / Which resource (VM, etc.) consumed the reservation?\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/cff282e6-4e7b-2958-af63-320cff7dcbab\",\"name\":\"cff282e6-4e7b-2958-af63-320cff7dcbab\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Reserved instance requests / Reservation underutilized or not applying to my resource\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/7ee3d30a-42e4-51ca-0e55-8bd196669a5f\",\"name\":\"7ee3d30a-42e4-51ca-0e55-8bd196669a5f\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Reserved instance requests / Help me optimize RI usage for existing resources\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/a2906ca5-ef36-e2d4-52dd-3144be0dd172\",\"name\":\"a2906ca5-ef36-e2d4-52dd-3144be0dd172\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Billing API / Download consumption data by using billing API\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/112c798f-1ff9-8168-193d-a7f171564dac\",\"name\":\"112c798f-1ff9-8168-193d-a7f171564dac\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Billing API / General billing API and EA API questions\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/0d4803c5-724f-3049-9f74-09f07d81cb1b\",\"name\":\"0d4803c5-724f-3049-9f74-09f07d81cb1b\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Account Review\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/f091b598-a0c2-772a-bee9-568d56779c04\",\"name\":\"f091b598-a0c2-772a-bee9-568d56779c04\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Savings plan for compute / Billing or invoice questions\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/944bdf7b-3375-a3f3-957b-0306ac993372\",\"name\":\"944bdf7b-3375-a3f3-957b-0306ac993372\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Savings plan for compute / Cost or usage questions\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/52e00350-405d-1e7c-e5fd-bc8f4738ed69\",\"name\":\"52e00350-405d-1e7c-e5fd-bc8f4738ed69\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Savings plan for compute / My issue is not listed\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/7caced09-0d62-891e-890d-d88e87504d08\",\"name\":\"7caced09-0d62-891e-890d-d88e87504d08\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Savings plan for compute / Questions about exchanging reservation requests for savings plan\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/5b1cbeee-4eed-b611-5a5e-774b9958f28b\",\"name\":\"5b1cbeee-4eed-b611-5a5e-774b9958f28b\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Savings plan for compute / Unable to purchase, questions prior to purchase, auto-renew\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/5aa9c6b3-2f36-a99e-d140-335a69d50188\",\"name\":\"5aa9c6b3-2f36-a99e-d140-335a69d50188\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Savings plan for compute / Understand how savings plan is applied to existing resources\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/862c2d62-79ce-bf01-2553-c2a28eccf38d\",\"name\":\"862c2d62-79ce-bf01-2553-c2a28eccf38d\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Manager Approval / EA or CSP fraud user\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/ad10b773-eebd-d629-12f4-ec2da368b18b\",\"name\":\"ad10b773-eebd-d629-12f4-ec2da368b18b\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Manager Approval / Non-CSS Misroute\"}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/e305bfcf-501d-3b47-4ef1-0a906246de59\",\"name\":\"e305bfcf-501d-3b47-4ef1-0a906246de59\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Manager Approval / Technical Misroute\"}}]}", + "isContentBase64": false + } + }, + "Get-AzSupportProblemClassification+[NoContext]+Get+$GET+https://management.azure.com/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/d0f16bf7-e011-3f3b-1c26-3147f84e0896?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/d0f16bf7-e011-3f3b-1c26-3147f84e0896?api-version=2022-09-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "82f05f05-7387-4a4c-9795-7e0703e758f0" ], + "CommandName": [ "Get-AzSupportProblemClassification" ], + "FullCommandName": [ "Get-AzSupportProblemClassification_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.3.11", "Az.Support/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "57bb896f-232c-430e-a009-6b6abb431406" ], + "x-ms-correlation-request-id": [ "57bb896f-232c-430e-a009-6b6abb431406" ], + "x-ms-routing-request-id": [ "EASTUS:20240126T204042Z:57bb896f-232c-430e-a009-6b6abb431406" ], + "Date": [ "Fri, 26 Jan 2024 20:40:41 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/d0f16bf7-e011-3f3b-1c26-3147f84e0896\",\"name\":\"d0f16bf7-e011-3f3b-1c26-3147f84e0896\",\"type\":\"Microsoft.Support/problemClassifications\",\"properties\":{\"displayName\":\"Assistance with bill / Help understanding my invoice (bill)\"}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/Support/Support.Autorest/test/Get-AzSupportProblemClassification.Tests.ps1 b/src/Support/Support.Autorest/test/Get-AzSupportProblemClassification.Tests.ps1 index 1590d131e972..4e9e86e7b173 100644 --- a/src/Support/Support.Autorest/test/Get-AzSupportProblemClassification.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Get-AzSupportProblemClassification.Tests.ps1 @@ -15,16 +15,18 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSupportProblemClassific } Describe 'Get-AzSupportProblemClassification' { - It 'List' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw + It 'List' { + $problemClassifications = Get-AzSupportProblemClassification -ServiceName $env.BillingServiceId + $problemClassifications.Count | Should -BeGreaterThan 1 } It 'GetViaIdentityService' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } - It 'Get' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw + It 'Get' { + $problemClassification = Get-AzSupportProblemClassification -ServiceName $env.BillingServiceId -Name $env.BillingProblemClassificationId + $problemClassification.Count | Should -Be 1 } It 'GetViaIdentity' -skip { diff --git a/src/Support/Support.Autorest/test/Get-AzSupportService.Recording.json b/src/Support/Support.Autorest/test/Get-AzSupportService.Recording.json new file mode 100644 index 000000000000..f7d45c7cfb9a --- /dev/null +++ b/src/Support/Support.Autorest/test/Get-AzSupportService.Recording.json @@ -0,0 +1,84 @@ +{ + "Get-AzSupportService+[NoContext]+List+$GET+https://management.azure.com/providers/Microsoft.Support/services?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.Support/services?api-version=2022-09-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "b4ce0743-e5fd-4afb-b251-d30aaa38cf0e" ], + "CommandName": [ "Get-AzSupportService" ], + "FullCommandName": [ "Get-AzSupportService_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.3.11", "Az.Support/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "5d0c55b1-c31d-4ed6-8c5c-bcdca20a2a0b" ], + "x-ms-correlation-request-id": [ "5d0c55b1-c31d-4ed6-8c5c-bcdca20a2a0b" ], + "x-ms-routing-request-id": [ "EASTUS:20240126T203957Z:5d0c55b1-c31d-4ed6-8c5c-bcdca20a2a0b" ], + "Date": [ "Fri, 26 Jan 2024 20:39:57 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "100765" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"id\":\"/providers/Microsoft.Support/services/484e2236-bc6d-b1bb-76d2-7d09278cf9ea\",\"name\":\"484e2236-bc6d-b1bb-76d2-7d09278cf9ea\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Activity Logs\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/26d8424b-0a41-4443-cbc6-0309ea8708d0\",\"name\":\"26d8424b-0a41-4443-cbc6-0309ea8708d0\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Advisor\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/1232100c-42c0-f626-2b4f-8c8a4877acad\",\"name\":\"1232100c-42c0-f626-2b4f-8c8a4877acad\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"AKS Edge Essentials\",\"resourceTypes\":[\"Microsoft.Kubernetes/connectedClusters\"]}},{\"id\":\"/providers/Microsoft.Support/services/c1840ac9-309f-f235-c0ae-4782f283b698\",\"name\":\"c1840ac9-309f-f235-c0ae-4782f283b698\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Alerts and Action Groups\",\"resourceTypes\":[\"MICROSOFT.INSIGHTS/ALERTRULES\",\"MICROSOFT.INSIGHTS/ACTIVITYLOGALERTS\",\"MICROSOFT.INSIGHTS/METRICALERTS\",\"MICROSOFT.INSIGHTS/SCHEDULEDQUERYRULES\",\"MICROSOFT.INSIGHTS/ACTIONGROUPS\",\"MICROSOFT.ALERTSMANAGEMENT/ACTIONRULES\",\"MICROSOFT.ALERTSMANAGEMENT/ALERTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/e8fe7c6f-d883-c57f-6576-cf801ca30653\",\"name\":\"e8fe7c6f-d883-c57f-6576-cf801ca30653\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Analysis Services\",\"resourceTypes\":[\"MICROSOFT.ANALYSISSERVICES/SERVERS\"]}},{\"id\":\"/providers/Microsoft.Support/services/4be91ca7-f109-c1f4-c7d0-d1377e8fb2dc\",\"name\":\"4be91ca7-f109-c1f4-c7d0-d1377e8fb2dc\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"API Center - Preview\",\"resourceTypes\":[\"Microsoft.ApiCenter\"]}},{\"id\":\"/providers/Microsoft.Support/services/07651e65-958a-0877-36f3-61bbba85d783\",\"name\":\"07651e65-958a-0877-36f3-61bbba85d783\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"API for FHIR\",\"resourceTypes\":[\"Microsoft.HealthcareApis/services\"]}},{\"id\":\"/providers/Microsoft.Support/services/b4d0e877-0166-0474-9a76-b5be30ba40e4\",\"name\":\"b4d0e877-0166-0474-9a76-b5be30ba40e4\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"API Management Service\",\"resourceTypes\":[\"MICROSOFT.APIMANAGEMENT/SERVICE\"]}},{\"id\":\"/providers/Microsoft.Support/services/862f5cc8-0f41-97a5-d2d8-940d7aba6de4\",\"name\":\"862f5cc8-0f41-97a5-d2d8-940d7aba6de4\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"App Compliance Automation Tool for Microsoft 365\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/e14f616b-42c5-4515-3d7c-67935eece51a\",\"name\":\"e14f616b-42c5-4515-3d7c-67935eece51a\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"App Configuration\",\"resourceTypes\":[\"Microsoft.AppConfiguration\"]}},{\"id\":\"/providers/Microsoft.Support/services/445c0905-55e2-4f42-d853-ec9e17a5180e\",\"name\":\"445c0905-55e2-4f42-d853-ec9e17a5180e\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"App Service Certificates\",\"resourceTypes\":[\"MICROSOFT.CERTIFICATEREGISTRATION/CERTIFICATEORDERS\"]}},{\"id\":\"/providers/Microsoft.Support/services/b7d2f8b7-7d20-cf2f-ddd5-5543ada54bd2\",\"name\":\"b7d2f8b7-7d20-cf2f-ddd5-5543ada54bd2\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"App Service Domains\",\"resourceTypes\":[\"MICROSOFT.DOMAINREGISTRATION/DOMAINS\"]}},{\"id\":\"/providers/Microsoft.Support/services/0420c0b3-5e23-1475-d8ad-c883ef940b46\",\"name\":\"0420c0b3-5e23-1475-d8ad-c883ef940b46\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"App Service on Azure Stack Hub\",\"resourceTypes\":[\"Microsoft.AzureStack/registrations\"]}},{\"id\":\"/providers/Microsoft.Support/services/101732bb-31af-ee61-7c16-d4ad77c86a50\",\"name\":\"101732bb-31af-ee61-7c16-d4ad77c86a50\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Application Gateway\",\"resourceTypes\":[\"MICROSOFT.NETWORK/APPLICATIONGATEWAYS\"]}},{\"id\":\"/providers/Microsoft.Support/services/939c13c2-cd69-70fb-0851-c219bca05cb0\",\"name\":\"939c13c2-cd69-70fb-0851-c219bca05cb0\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Application Gateway for Containers - Preview\",\"resourceTypes\":[\"microsoft.servicenetworking/trafficcontrollers\",\"microsoft.servicenetworking/trafficcontrollers/frontends\",\"microsoft.servicenetworking/trafficcontrollers/associations\"]}},{\"id\":\"/providers/Microsoft.Support/services/63df7848-ce1c-06d4-517f-2a62983372c6\",\"name\":\"63df7848-ce1c-06d4-517f-2a62983372c6\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Application Insights\",\"resourceTypes\":[\"MICROSOFT.INSIGHTS/COMPONENTS\",\"MICROSOFT.INSIGHTS/ACTIVITYLOGALERTS\",\"MICROSOFT.INSIGHTS/METRICALERTS\",\"MICROSOFT.INSIGHTS/SCHEDULEDQUERYRULES\"]}},{\"id\":\"/providers/Microsoft.Support/services/2fd37acf-7616-eae7-546b-1a78a16d11b5\",\"name\":\"2fd37acf-7616-eae7-546b-1a78a16d11b5\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"ASE\",\"resourceTypes\":[\"MICROSOFT.WEB/HOSTINGENVIRONMENTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/b661f9c2-28ee-800a-b621-118a6787a8e6\",\"name\":\"b661f9c2-28ee-800a-b621-118a6787a8e6\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Automanage for Virtual Machines\",\"resourceTypes\":[\"microsoft.automanage\"]}},{\"id\":\"/providers/Microsoft.Support/services/81437870-7683-745e-1c1f-7d9e7e2401ef\",\"name\":\"81437870-7683-745e-1c1f-7d9e7e2401ef\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Automanage Machine Configuration\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/82881226-e06c-2b57-3365-38437e84059e\",\"name\":\"82881226-e06c-2b57-3365-38437e84059e\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Autoscale\",\"resourceTypes\":[\"MICROSOFT.INSIGHTS/AUTOSCALESETTINGS\"]}},{\"id\":\"/providers/Microsoft.Support/services/500d88b2-c24c-0d5d-3b76-acfde7d6ee20\",\"name\":\"500d88b2-c24c-0d5d-3b76-acfde7d6ee20\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Avere vFXT\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/31af6335-2e73-ce48-c02e-6b9473b59f7a\",\"name\":\"31af6335-2e73-ce48-c02e-6b9473b59f7a\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure AI Studio\",\"resourceTypes\":[\"Microsoft.MachineLearningServices\",\"Microsoft.MachineLearningServices/aistudio\"]}},{\"id\":\"/providers/Microsoft.Support/services/ab3e222e-3538-2b59-d3e8-963047a08f8b\",\"name\":\"ab3e222e-3538-2b59-d3e8-963047a08f8b\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Arc enabled Data Services\",\"resourceTypes\":[\"Microsoft.AzureArcData/datacontrollers\"]}},{\"id\":\"/providers/Microsoft.Support/services/11689be9-43d7-ba72-5806-03ab87626a4a\",\"name\":\"11689be9-43d7-ba72-5806-03ab87626a4a\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Arc enabled Kubernetes\",\"resourceTypes\":[\"Microsoft.Kubernetes/connectedClusters\"]}},{\"id\":\"/providers/Microsoft.Support/services/9ef6b6ba-0bb2-e927-2ea7-32f90a97414d\",\"name\":\"9ef6b6ba-0bb2-e927-2ea7-32f90a97414d\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Arc enabled PostgreSQL - Preview\",\"resourceTypes\":[\"Microsoft.AzureArcData/postgresinstances\"]}},{\"id\":\"/providers/Microsoft.Support/services/bdb8e8ae-3bba-4c43-e8ad-36e132e481ef\",\"name\":\"bdb8e8ae-3bba-4c43-e8ad-36e132e481ef\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Arc enabled SCVMM\",\"resourceTypes\":[\"Microsoft.ScVmm\"]}},{\"id\":\"/providers/Microsoft.Support/services/17318db1-cfda-52da-b65f-68e53ba89e64\",\"name\":\"17318db1-cfda-52da-b65f-68e53ba89e64\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Arc enabled servers\",\"resourceTypes\":[\"Microsoft.hybridcompute/machines\"]}},{\"id\":\"/providers/Microsoft.Support/services/f6575f88-34bc-79d3-8693-05ee9b7ca72b\",\"name\":\"f6575f88-34bc-79d3-8693-05ee9b7ca72b\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Arc enabled SQL Managed Instance\",\"resourceTypes\":[\"Microsoft.AzureArcData/sqlmanagedinstances\"]}},{\"id\":\"/providers/Microsoft.Support/services/2d45b14d-73cf-eb4b-0dc3-6ee86904c64b\",\"name\":\"2d45b14d-73cf-eb4b-0dc3-6ee86904c64b\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Arc enabled VMware vSphere\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/216cb580-99ad-5c86-d60e-72aca32dc2a2\",\"name\":\"216cb580-99ad-5c86-d60e-72aca32dc2a2\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Arc Resource Bridge\",\"resourceTypes\":[\"Microsoft.ResourceConnector/Appliances\"]}},{\"id\":\"/providers/Microsoft.Support/services/8dfc5d56-9245-222f-19fc-dfafc3fba973\",\"name\":\"8dfc5d56-9245-222f-19fc-dfafc3fba973\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Arc-enabled SQL Server\",\"resourceTypes\":[\"Microsoft.AzureArcData/sqlServerInstances\"]}},{\"id\":\"/providers/Microsoft.Support/services/90426252-f966-63ea-cbda-cab5ceaa865d\",\"name\":\"90426252-f966-63ea-cbda-cab5ceaa865d\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Automation\",\"resourceTypes\":[\"MICROSOFT.AUTOMATION/AUTOMATIONACCOUNTS\",\"MICROSOFT.AUTOMATION/AUTOMATIONACCOUNTS/RUNBOOKS\",\"MICROSOFT.AUTOMATION/AUTOMATIONACCOUNTS/JOBS\"]}},{\"id\":\"/providers/Microsoft.Support/services/17d72dfc-8f48-94cb-05e6-5f88efdf72d7\",\"name\":\"17d72dfc-8f48-94cb-05e6-5f88efdf72d7\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Backup\",\"resourceTypes\":[\"Microsoft.RecoveryServices/vaults\",\"Microsoft.DataProtection/BackupVaults\"]}},{\"id\":\"/providers/Microsoft.Support/services/f26f06d5-c3b1-0372-8c5b-93a371ec434c\",\"name\":\"f26f06d5-c3b1-0372-8c5b-93a371ec434c\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Blueprint - Preview\",\"resourceTypes\":[\"Microsoft.Blueprint/BLUEPRINTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/58cf91d7-3a04-37d3-9818-9bd5c979d9a9\",\"name\":\"58cf91d7-3a04-37d3-9818-9bd5c979d9a9\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure CDN\",\"resourceTypes\":[\"Microsoft.Cdn/profiles\",\"Microsoft.Cdn/profiles/endpoints\",\"Microsoft.Cdn/CdnWebApplicationFirewallPolicies\"]}},{\"id\":\"/providers/Microsoft.Support/services/9db8a797-7fec-d348-fc3e-c24665973f2c\",\"name\":\"9db8a797-7fec-d348-fc3e-c24665973f2c\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Center for SAP solutions\",\"resourceTypes\":[\"Microsoft.Workloads/sapvirtualinstances\"]}},{\"id\":\"/providers/Microsoft.Support/services/6d25bd66-1b18-21ea-1c39-50d27ccbc816\",\"name\":\"6d25bd66-1b18-21ea-1c39-50d27ccbc816\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Compute Gallery\",\"resourceTypes\":[\"Microsoft.Compute/galleries\",\"Microsoft.Compute/galleries/images\",\"Microsoft.Compute/galleries/images/versions\",\"Microsoft.Compute/galleries/gallery/applications\"]}},{\"id\":\"/providers/Microsoft.Support/services/332c304e-d81f-fb73-53fa-32e02c9929b8\",\"name\":\"332c304e-d81f-fb73-53fa-32e02c9929b8\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Cosmos DB for MongoDB (vCore)\",\"resourceTypes\":[\"MICROSOFT.DOCUMENTDB/MONGOCLUSTERS\"]}},{\"id\":\"/providers/Microsoft.Support/services/aec6da31-9ef4-f890-e34c-ec1fbac8e6b1\",\"name\":\"aec6da31-9ef4-f890-e34c-ec1fbac8e6b1\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Cosmos DB for PostgreSQL\",\"resourceTypes\":[\"MICROSOFT.DBFORPOSTGRESQL/SERVERSV2\",\"Microsoft.DBforPostgreSQL/servergroupsv2\",\"MICROSOFT.DBFORPOSTGRESQL/SERVERGROUPS\"]}},{\"id\":\"/providers/Microsoft.Support/services/3f14906b-a48e-b51a-d700-b3eb7784bce8\",\"name\":\"3f14906b-a48e-b51a-d700-b3eb7784bce8\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Database for MariaDB\",\"resourceTypes\":[\"MICROSOFT.DBFORMARIADB/SERVERS\"]}},{\"id\":\"/providers/Microsoft.Support/services/7ef8ab5c-3c21-c342-8eed-2b5a8fc7fba3\",\"name\":\"7ef8ab5c-3c21-c342-8eed-2b5a8fc7fba3\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Database for MySQL flexible server\",\"resourceTypes\":[\"MICROSOFT.DBFORMYSQL/FLEXIBLESERVERS\"]}},{\"id\":\"/providers/Microsoft.Support/services/32b3cec2-0abd-1d18-68cc-9183b15b7da1\",\"name\":\"32b3cec2-0abd-1d18-68cc-9183b15b7da1\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Database for MySQL single server\",\"resourceTypes\":[\"MICROSOFT.DBFORMYSQL/SERVERS\"]}},{\"id\":\"/providers/Microsoft.Support/services/191ddd48-d790-61f4-315b-f621cdd66a91\",\"name\":\"191ddd48-d790-61f4-315b-f621cdd66a91\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Database for PostgreSQL flexible server\",\"resourceTypes\":[\"MICROSOFT.DBFORPOSTGRESQL/FLEXIBLESERVERS\"]}},{\"id\":\"/providers/Microsoft.Support/services/12a55468-fa60-8943-45e2-338011722931\",\"name\":\"12a55468-fa60-8943-45e2-338011722931\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Database for PostgreSQL single server\",\"resourceTypes\":[\"MICROSOFT.DBFORPOSTGRESQL/SERVERS\"]}},{\"id\":\"/providers/Microsoft.Support/services/b9c52334-7da1-7360-b396-0406b0c9d3b7\",\"name\":\"b9c52334-7da1-7360-b396-0406b0c9d3b7\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Dedicated Host\",\"resourceTypes\":[\"Microsoft.Compute/hostGroups\",\"Microsoft.Compute/hostGroups/hosts\"]}},{\"id\":\"/providers/Microsoft.Support/services/cd1e630f-be69-dde7-f0ee-899b33e765d6\",\"name\":\"cd1e630f-be69-dde7-f0ee-899b33e765d6\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Deployment Environments\",\"resourceTypes\":[\"Microsoft.DevCenter\",\"Microsoft.DevCenter/devCenters\"]}},{\"id\":\"/providers/Microsoft.Support/services/cd9d74ec-8333-b326-f42f-303e223e04eb\",\"name\":\"cd9d74ec-8333-b326-f42f-303e223e04eb\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure DevOps Services\",\"resourceTypes\":[\"Microsoft.Visualstudio\"]}},{\"id\":\"/providers/Microsoft.Support/services/985987a3-2363-99eb-321b-c753677e0008\",\"name\":\"985987a3-2363-99eb-321b-c753677e0008\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Digital Twins\",\"resourceTypes\":[\"Microsoft.DigitalTwins\"]}},{\"id\":\"/providers/Microsoft.Support/services/f0269138-eb6e-a81a-10e9-17965b5683d4\",\"name\":\"f0269138-eb6e-a81a-10e9-17965b5683d4\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure DNS\",\"resourceTypes\":[\"MICROSOFT.NETWORK/DNSZONES\"]}},{\"id\":\"/providers/Microsoft.Support/services/5b807b4a-60ff-3256-faf1-5934bd59b4b9\",\"name\":\"5b807b4a-60ff-3256-faf1-5934bd59b4b9\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Edge Hardware Center\",\"resourceTypes\":[\"Microsoft.EdgeOrder/OrderItems\"]}},{\"id\":\"/providers/Microsoft.Support/services/3b799b70-420a-6397-e69c-853341d0eab5\",\"name\":\"3b799b70-420a-6397-e69c-853341d0eab5\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Firewall\",\"resourceTypes\":[\"Microsoft.Network/azureFirewalls\",\"Microsoft.Network/firewallPolicies\"]}},{\"id\":\"/providers/Microsoft.Support/services/f1e803c0-d4aa-156d-8507-3f9e5e4e1504\",\"name\":\"f1e803c0-d4aa-156d-8507-3f9e5e4e1504\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Firewall Manager\",\"resourceTypes\":[\"Microsoft.Network/firewallPolicies\",\"Microsoft.Network/firewallPolicies\"]}},{\"id\":\"/providers/Microsoft.Support/services/025f80a1-8242-b74c-6a4a-f01341b8669b\",\"name\":\"025f80a1-8242-b74c-6a4a-f01341b8669b\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Fluid Relay\",\"resourceTypes\":[\"Microsoft.FluidRelay/fluidRelayServers\"]}},{\"id\":\"/providers/Microsoft.Support/services/3d598a6c-5432-adab-e87a-1dfdbb562302\",\"name\":\"3d598a6c-5432-adab-e87a-1dfdbb562302\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure FXT Edge Filer\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/be63f24b-d7d7-fac8-d753-388658582f99\",\"name\":\"be63f24b-d7d7-fac8-d753-388658582f99\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Health Data Services\",\"resourceTypes\":[\"Microsoft.HealthcareApis\",\"Microsoft.HealthcareApis/workspaces\"]}},{\"id\":\"/providers/Microsoft.Support/services/8ab9233e-aa65-ab0a-cf6f-7e4ec528556a\",\"name\":\"8ab9233e-aa65-ab0a-cf6f-7e4ec528556a\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Healthcare Bot\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/036bd7f8-ead3-3a43-e7f9-cda1e3ad0120\",\"name\":\"036bd7f8-ead3-3a43-e7f9-cda1e3ad0120\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Import-Export Service\",\"resourceTypes\":[\"Microsoft.ImportExport\",\"Microsoft.Databox/Jobs\"]}},{\"id\":\"/providers/Microsoft.Support/services/8168c456-2014-a581-dde8-d25e47d964c8\",\"name\":\"8168c456-2014-a581-dde8-d25e47d964c8\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Information Protection\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/b9bf9f58-bbd4-16a0-a6cc-85b5ead295fe\",\"name\":\"b9bf9f58-bbd4-16a0-a6cc-85b5ead295fe\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure IoT Operations - Preview\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/e29406fa-af70-5215-e29b-9c9b7f5204d3\",\"name\":\"e29406fa-af70-5215-e29b-9c9b7f5204d3\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Kinect Dev Kit\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/70d82de6-3222-8f21-71f8-1912ba5ad0ae\",\"name\":\"70d82de6-3222-8f21-71f8-1912ba5ad0ae\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Kubernetes Fleet Manager\",\"resourceTypes\":[\"Microsoft.ContainerService\",\"Microsoft.ContainerService/fleets\"]}},{\"id\":\"/providers/Microsoft.Support/services/32545be3-202c-9cd6-2031-98e763d29b5e\",\"name\":\"32545be3-202c-9cd6-2031-98e763d29b5e\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Kubernetes Service on Azure Stack HCI (AKS-HCI)\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/88a4d9f6-1d66-7b9a-32fe-e5a965e0c099\",\"name\":\"88a4d9f6-1d66-7b9a-32fe-e5a965e0c099\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Load Testing\",\"resourceTypes\":[\"Microsoft.LoadTestService\",\"Microsoft.LoadTestService/loadtests\"]}},{\"id\":\"/providers/Microsoft.Support/services/07112d69-b92c-27dd-4864-ff0d63e503fd\",\"name\":\"07112d69-b92c-27dd-4864-ff0d63e503fd\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Managed Grafana\",\"resourceTypes\":[\"Microsoft.Dashboard\",\"Microsoft.Dashboard/Grafana\"]}},{\"id\":\"/providers/Microsoft.Support/services/76cd10bf-6048-7e15-3e5a-bca3cfdd5959\",\"name\":\"76cd10bf-6048-7e15-3e5a-bca3cfdd5959\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Managed Lustre\",\"resourceTypes\":[\"Microsoft.StorageCache\"]}},{\"id\":\"/providers/Microsoft.Support/services/ef44dd7b-4344-edcf-2eb1-f6f094fd46a3\",\"name\":\"ef44dd7b-4344-edcf-2eb1-f6f094fd46a3\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Migrate\",\"resourceTypes\":[\"Microsoft.Migrate/migrateProjects\"]}},{\"id\":\"/providers/Microsoft.Support/services/06d6dec8-469a-b652-f8e8-61e47c34efef\",\"name\":\"06d6dec8-469a-b652-f8e8-61e47c34efef\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure mobile app (for Android \u0026 iOS)\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/0e7d7270-6909-a0db-7b22-771d4567032e\",\"name\":\"0e7d7270-6909-a0db-7b22-771d4567032e\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Modeling and Simulation Workbench\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/86490df1-3db5-08c6-1f6b-4138be52adb9\",\"name\":\"86490df1-3db5-08c6-1f6b-4138be52adb9\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Monitor for SAP Solutions\",\"resourceTypes\":[\"Microsoft.HanaOnAzure/sapMonitors\",\"Microsoft.Workloads/monitors\"]}},{\"id\":\"/providers/Microsoft.Support/services/3dd3fff2-078a-6981-82ed-1c74b363490a\",\"name\":\"3dd3fff2-078a-6981-82ed-1c74b363490a\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Native Palo Alto Cloud Next-Generation Firewall\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/824615f0-1b01-931d-1e1c-36516330ec6d\",\"name\":\"824615f0-1b01-931d-1e1c-36516330ec6d\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Native Qumulo Scalable File Service\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/00743e6b-ddfd-e1cb-b90e-2a9f8d1c2a52\",\"name\":\"00743e6b-ddfd-e1cb-b90e-2a9f8d1c2a52\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure NetApp Files\",\"resourceTypes\":[\"Microsoft.NetApp/netAppAccounts\",\"Microsoft.NetApp/netAppAccounts/capacityPools\",\"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\"]}},{\"id\":\"/providers/Microsoft.Support/services/1d0798a7-8ca0-280e-66d6-bee58f544e67\",\"name\":\"1d0798a7-8ca0-280e-66d6-bee58f544e67\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Network Function Manager\",\"resourceTypes\":[\"Microsoft.HybridNetwork\",\"Microsoft.HybridNetwork/networkfunctions\",\"Microsoft.HybridNetwork/devices\"]}},{\"id\":\"/providers/Microsoft.Support/services/25aa2af2-9b6e-96b5-ce85-d784a0fea138\",\"name\":\"25aa2af2-9b6e-96b5-ce85-d784a0fea138\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Object Anchors - Preview\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/809bf9f9-cdc2-6547-cbd9-117248bbbe8c\",\"name\":\"809bf9f9-cdc2-6547-cbd9-117248bbbe8c\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Operator Insights\",\"resourceTypes\":[\"Microsoft.NetworkAnalytics\"]}},{\"id\":\"/providers/Microsoft.Support/services/88f7fa12-ffd2-e080-ab1f-16aa954adbfb\",\"name\":\"88f7fa12-ffd2-e080-ab1f-16aa954adbfb\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Operator Nexus\",\"resourceTypes\":[\"Microsoft.NetworkCloud\",\"Microsoft.ManagedNetworkFabric\"]}},{\"id\":\"/providers/Microsoft.Support/services/376a9fef-266e-08ca-fdd8-e85b43d0b66e\",\"name\":\"376a9fef-266e-08ca-fdd8-e85b43d0b66e\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Operator Service Manager\",\"resourceTypes\":[\"Microsoft.HybridNetwork/publishers\",\"Microsoft.HybridNetwork/sites\",\"Microsoft.HybridNetwork/configurationGroupValues\",\"Microsoft.HybridNetwork/siteNetworkServices\",\"Microsoft.HybridNetwork/networkFunctions\"]}},{\"id\":\"/providers/Microsoft.Support/services/c8be3b31-c407-ee77-e40d-ffa6a39201bd\",\"name\":\"c8be3b31-c407-ee77-e40d-ffa6a39201bd\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Orbital\",\"resourceTypes\":[\"Microsoft.Orbital\",\"Microsoft.Orbital/Spacecrafts\",\"Microsoft.Orbital/Spacecrafts/Contacts\"]}},{\"id\":\"/providers/Microsoft.Support/services/ce34cf91-b52e-afe9-57d6-1baf3ff5a59b\",\"name\":\"ce34cf91-b52e-afe9-57d6-1baf3ff5a59b\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Payment HSM Service\",\"resourceTypes\":[\"Microsoft.HardwareSecurityModules/dedicatedHSM\"]}},{\"id\":\"/providers/Microsoft.Support/services/03dc29df-b9ef-75cc-9bce-d87f55dd0f73\",\"name\":\"03dc29df-b9ef-75cc-9bce-d87f55dd0f73\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Percept\",\"resourceTypes\":[\"Microsoft.AzurePercept/accounts\"]}},{\"id\":\"/providers/Microsoft.Support/services/10b4ca52-06e3-3064-3788-5b396ae8ff45\",\"name\":\"10b4ca52-06e3-3064-3788-5b396ae8ff45\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Policy\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/2b3d28b4-4691-86b5-8a82-22f8e26b2e5e\",\"name\":\"2b3d28b4-4691-86b5-8a82-22f8e26b2e5e\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Private 5G Core\",\"resourceTypes\":[\"Microsoft.MobileNetwork/mobilenetworks\"]}},{\"id\":\"/providers/Microsoft.Support/services/50cb0c81-4dee-0e4e-d7bd-caa5560e76af\",\"name\":\"50cb0c81-4dee-0e4e-d7bd-caa5560e76af\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Private Link\",\"resourceTypes\":[\"Microsoft.Network/privateLinkServices\",\"Microsoft.Network/privateEndpoints\"]}},{\"id\":\"/providers/Microsoft.Support/services/0dbbd8bb-01d0-3b18-97d8-091ab1b40558\",\"name\":\"0dbbd8bb-01d0-3b18-97d8-091ab1b40558\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure public Multi-Access Edge Compute (MEC)\",\"resourceTypes\":[\"Microsoft.Networking\",\"Microsoft.Compute\",\"Microsoft.Storage\"]}},{\"id\":\"/providers/Microsoft.Support/services/c20fd445-607c-6af4-8dff-7e248c950344\",\"name\":\"c20fd445-607c-6af4-8dff-7e248c950344\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Quantum - Preview\",\"resourceTypes\":[\"Microsoft.Quantum/Workspaces\"]}},{\"id\":\"/providers/Microsoft.Support/services/b701b8d6-fc99-aba8-bab9-bc2e171fa89c\",\"name\":\"b701b8d6-fc99-aba8-bab9-bc2e171fa89c\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure RedHat OpenShift\",\"resourceTypes\":[\"Microsoft.RedHatOpenShift/OpenShiftClusters\"]}},{\"id\":\"/providers/Microsoft.Support/services/cb6b214b-fbeb-8fd1-a055-3d60bbe81c28\",\"name\":\"cb6b214b-fbeb-8fd1-a055-3d60bbe81c28\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Resource Graph\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/3366336e-70d9-3450-f04d-5eecce9374fe\",\"name\":\"3366336e-70d9-3450-f04d-5eecce9374fe\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Resource Mover\",\"resourceTypes\":[\"Microsoft.Migrate/MoveCollections\"]}},{\"id\":\"/providers/Microsoft.Support/services/c0ea59a0-318d-3a01-8b10-eeb155952e7c\",\"name\":\"c0ea59a0-318d-3a01-8b10-eeb155952e7c\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Route Server\",\"resourceTypes\":[\"Microsoft.Network/virtualHubs\"]}},{\"id\":\"/providers/Microsoft.Support/services/7ab45c4c-7827-cedf-07bd-2b38f63540ae\",\"name\":\"7ab45c4c-7827-cedf-07bd-2b38f63540ae\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure RTOS\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/b1d432df-e9cc-ff08-d261-32586b843bc1\",\"name\":\"b1d432df-e9cc-ff08-d261-32586b843bc1\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Site Recovery\",\"resourceTypes\":[\"Microsoft.RecoveryServices/vaults\"]}},{\"id\":\"/providers/Microsoft.Support/services/a6475480-6048-1d77-76fc-3118551f24c1\",\"name\":\"a6475480-6048-1d77-76fc-3118551f24c1\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Sphere\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/bbc183d4-df10-8580-d10b-4123c10ae34d\",\"name\":\"bbc183d4-df10-8580-d10b-4123c10ae34d\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Spring Apps\",\"resourceTypes\":[\"Microsoft.AppPlatform/Spring\"]}},{\"id\":\"/providers/Microsoft.Support/services/2950380d-f11a-136b-1b95-017b71f25ef8\",\"name\":\"2950380d-f11a-136b-1b95-017b71f25ef8\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Stack Edge\",\"resourceTypes\":[\"Microsoft.DataBoxEdge/DataBoxEdgeDevices\"]}},{\"id\":\"/providers/Microsoft.Support/services/297c5dfa-56dd-8040-1ae5-88f78d60e055\",\"name\":\"297c5dfa-56dd-8040-1ae5-88f78d60e055\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Stack Edge Mini R\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/65f78722-e5a1-858a-6d66-0d5640d688a2\",\"name\":\"65f78722-e5a1-858a-6d66-0d5640d688a2\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Stack Edge Pro R\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/5804950e-8756-4711-367a-57965175f0ad\",\"name\":\"5804950e-8756-4711-367a-57965175f0ad\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Stack HCI\",\"resourceTypes\":[\"Microsoft.AzureStackHCI/clusters\"]}},{\"id\":\"/providers/Microsoft.Support/services/32d322a8-acae-202d-e9a9-7371dccf381b\",\"name\":\"32d322a8-acae-202d-e9a9-7371dccf381b\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Stack Hub\",\"resourceTypes\":[\"Microsoft.AzureStack/registrations\"]}},{\"id\":\"/providers/Microsoft.Support/services/47e87a02-77c6-23d1-bdd3-858d9b64d4e0\",\"name\":\"47e87a02-77c6-23d1-bdd3-858d9b64d4e0\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Stack Hub Ruggedized\",\"resourceTypes\":[\"Microsoft.AzureStack/registrations\"]}},{\"id\":\"/providers/Microsoft.Support/services/ba5ef5c8-031a-aa1e-76b6-bd58e6f5c452\",\"name\":\"ba5ef5c8-031a-aa1e-76b6-bd58e6f5c452\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Storage Mover\",\"resourceTypes\":[\"Microsoft.StorageMover/StorageMovers\"]}},{\"id\":\"/providers/Microsoft.Support/services/9fccedfd-3d56-635e-e377-c72e2cdb402f\",\"name\":\"9fccedfd-3d56-635e-e377-c72e2cdb402f\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure StorSimple 8000 Series\",\"resourceTypes\":[\"MICROSOFT.STORSIMPLE/MANAGERS\",\"MICROSOFT.STORSIMPLEBVTD2/MANAGERS\",\"MICROSOFT.HYBRIDDATA/DATAMANAGERS\"]}},{\"id\":\"/providers/Microsoft.Support/services/9f858284-99ed-c476-0dc6-75be58efedfb\",\"name\":\"9f858284-99ed-c476-0dc6-75be58efedfb\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Synapse Analytics Apache Spark Pool\",\"resourceTypes\":[\"Microsoft.Synapse/Workspaces/BigDataPools\"]}},{\"id\":\"/providers/Microsoft.Support/services/5e76fec8-ad4b-4350-47e6-9b90efd844dc\",\"name\":\"5e76fec8-ad4b-4350-47e6-9b90efd844dc\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Synapse Analytics Data Explorer Pool\",\"resourceTypes\":[\"Microsoft.Synapse/Workspaces/KustoPools\"]}},{\"id\":\"/providers/Microsoft.Support/services/6175465c-97bb-e2fe-3e94-a8ffccdb3dd1\",\"name\":\"6175465c-97bb-e2fe-3e94-a8ffccdb3dd1\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Synapse Analytics Dedicated SQL Pool\",\"resourceTypes\":[\"Microsoft.Synapse/Workspaces/SqlPools\",\"Microsoft.Sql/Servers/Databases\"]}},{\"id\":\"/providers/Microsoft.Support/services/b25ffe84-5478-16e3-3427-00fdf5a5cd91\",\"name\":\"b25ffe84-5478-16e3-3427-00fdf5a5cd91\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Synapse Analytics Pipeline and Data Flow\",\"resourceTypes\":[\"Microsoft.Synapse/Workspaces\"]}},{\"id\":\"/providers/Microsoft.Support/services/19726725-bf71-155c-a930-1fca742d1b87\",\"name\":\"19726725-bf71-155c-a930-1fca742d1b87\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Synapse Analytics Serverless SQL Pool\",\"resourceTypes\":[\"Microsoft.Synapse/Workspaces\"]}},{\"id\":\"/providers/Microsoft.Support/services/b5fc3c5d-ce14-ef83-5816-89984205d0e5\",\"name\":\"b5fc3c5d-ce14-ef83-5816-89984205d0e5\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Synapse Analytics Synapse Link\",\"resourceTypes\":[\"Microsoft.Synapse/Workspaces\"]}},{\"id\":\"/providers/Microsoft.Support/services/8d8fb5f1-f55d-f3c6-8d4b-ab84f9084bca\",\"name\":\"8d8fb5f1-f55d-f3c6-8d4b-ab84f9084bca\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Synapse Analytics Workspace\",\"resourceTypes\":[\"Microsoft.Synapse/Workspaces\"]}},{\"id\":\"/providers/Microsoft.Support/services/9112da51-73b5-92d8-3f2e-1fddb504f4b5\",\"name\":\"9112da51-73b5-92d8-3f2e-1fddb504f4b5\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Synapse Pathway\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/5c41904f-1bcf-76e4-7a54-5fc07468f3cc\",\"name\":\"5c41904f-1bcf-76e4-7a54-5fc07468f3cc\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Update Manager\",\"resourceTypes\":[\"Microsoft.HybridCompute/machines\",\"Microsoft.Maintenance/maintenanceConfigurations\",\"Microsoft.Maintenance/configurationAssignments\",\"MICROSOFT.AUTOMATION/AUTOMATIONACCOUNTS\",\"Microsoft.Compute/virtualMachines\"]}},{\"id\":\"/providers/Microsoft.Support/services/393f9162-a29a-1e9f-1972-d524c7bc7026\",\"name\":\"393f9162-a29a-1e9f-1972-d524c7bc7026\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Video Indexer\",\"resourceTypes\":[\"Microsoft.VideoIndexer/accounts\"]}},{\"id\":\"/providers/Microsoft.Support/services/63cefc01-98f2-7ef4-2b5f-0c4b268a7dad\",\"name\":\"63cefc01-98f2-7ef4-2b5f-0c4b268a7dad\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Virtual Desktop\",\"resourceTypes\":[\"Microsoft.DesktopVirtualization/workspace\",\"Microsoft.Desktopvirtualization/hostpools\",\"Microsoft.DesktopVirtualization/hostpools/hostpool/\",\"Microsoft.DesktopVirtualization/appgroup\",\"Microsoft.DesktopVirtualization/applicationgroups\",\"Microsoft.DesktopVirtualization/workspaces\",\"Microsoft.DesktopVirtualization/scalingplans\"]}},{\"id\":\"/providers/Microsoft.Support/services/0030df58-1e6e-8958-770e-1ba656360372\",\"name\":\"0030df58-1e6e-8958-770e-1ba656360372\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Virtual Network Manager\",\"resourceTypes\":[\"Microsoft.Network/networkManagers\"]}},{\"id\":\"/providers/Microsoft.Support/services/8df50d5e-6cdd-3a3a-0cb5-95dbef9e09ab\",\"name\":\"8df50d5e-6cdd-3a3a-0cb5-95dbef9e09ab\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure VM Image Builder\",\"resourceTypes\":[\"Microsoft.VirtualMachineImages\"]}},{\"id\":\"/providers/Microsoft.Support/services/e7b24d57-0431-7d60-a4bf-e28adc11d23e\",\"name\":\"e7b24d57-0431-7d60-a4bf-e28adc11d23e\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure VMware Solution\",\"resourceTypes\":[\"Microsoft.AVS/privateClouds\"]}},{\"id\":\"/providers/Microsoft.Support/services/a4ecd5be-8461-dde6-6761-353dc7d7bf54\",\"name\":\"a4ecd5be-8461-dde6-6761-353dc7d7bf54\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Web PubSub Service\",\"resourceTypes\":[\"Microsoft.SignalRService/WebPubSub\"]}},{\"id\":\"/providers/Microsoft.Support/services/ec9fcee4-7ede-9ba9-7edb-0e6b95428ea5\",\"name\":\"ec9fcee4-7ede-9ba9-7edb-0e6b95428ea5\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Azure Workbooks\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/468c696a-3e6b-a470-a3c9-1b59cd4abae4\",\"name\":\"468c696a-3e6b-a470-a3c9-1b59cd4abae4\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"BareMetal Infrastructure\",\"resourceTypes\":[\"Microsoft.HanaOnAzure/sapMonitors\",\"Microsoft.BareMetalInfrastructure/bareMetalInstances\"]}},{\"id\":\"/providers/Microsoft.Support/services/ffc9bb42-93e4-eb40-5421-ba3537f3a012\",\"name\":\"ffc9bb42-93e4-eb40-5421-ba3537f3a012\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Bastion\",\"resourceTypes\":[\"Microsoft.Network/bastionHosts\"]}},{\"id\":\"/providers/Microsoft.Support/services/3f33d852-e61f-d835-8217-a9a677d96914\",\"name\":\"3f33d852-e61f-d835-8217-a9a677d96914\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Batch Service\",\"resourceTypes\":[\"MICROSOFT.BATCH/BATCHACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc\",\"name\":\"517f2da6-78fd-0498-4e22-ad26996b1dfc\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Billing\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/a2c69e6c-34b6-fc5d-0f35-b496a071c28d\",\"name\":\"a2c69e6c-34b6-fc5d-0f35-b496a071c28d\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Blob Storage\",\"resourceTypes\":[\"MICROSOFT.CLASSICSTORAGE/STORAGEACCOUNTS\",\"MICROSOFT.STORAGE/STORAGEACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/98134488-9bd9-db12-619c-06636d1ee55e\",\"name\":\"98134488-9bd9-db12-619c-06636d1ee55e\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Bot Service\",\"resourceTypes\":[\"Microsoft.BotService/botServices\"]}},{\"id\":\"/providers/Microsoft.Support/services/b16f3aa1-e798-0090-9159-5dc3bae17c5b\",\"name\":\"b16f3aa1-e798-0090-9159-5dc3bae17c5b\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Business To Consumer (B2C) Tenants\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/275635f1-6a9b-cca1-af9e-c379b30890ff\",\"name\":\"275635f1-6a9b-cca1-af9e-c379b30890ff\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cache for Redis\",\"resourceTypes\":[\"MICROSOFT.CACHE/REDIS\"]}},{\"id\":\"/providers/Microsoft.Support/services/18f0ceb2-fe97-722d-f789-0dfcde3ab2e4\",\"name\":\"18f0ceb2-fe97-722d-f789-0dfcde3ab2e4\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cache for Redis Enterprise\",\"resourceTypes\":[\"MICROSOFT.CACHE/REDISENTERPRISE\"]}},{\"id\":\"/providers/Microsoft.Support/services/2b6e85ee-b01f-0479-f799-b37634d993e3\",\"name\":\"2b6e85ee-b01f-0479-f799-b37634d993e3\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Change Analysis\",\"resourceTypes\":[\"Microsoft.ChangeAnalysis\"]}},{\"id\":\"/providers/Microsoft.Support/services/c508dfe2-0a4d-06b0-67a2-28cef284d243\",\"name\":\"c508dfe2-0a4d-06b0-67a2-28cef284d243\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Change Tracking and Inventory\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/70e113c2-39fd-2640-f1f5-fd5a6beaefa7\",\"name\":\"70e113c2-39fd-2640-f1f5-fd5a6beaefa7\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Chaos Studio\",\"resourceTypes\":[\"Microsoft.Chaos/experiments\"]}},{\"id\":\"/providers/Microsoft.Support/services/2f9ed23d-9575-75e3-cdfb-3e9a5ad5223c\",\"name\":\"2f9ed23d-9575-75e3-cdfb-3e9a5ad5223c\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cloud App Discovery\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/c4b5fb5c-e277-0fba-1a6e-967912edac0c\",\"name\":\"c4b5fb5c-e277-0fba-1a6e-967912edac0c\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cloud Service (Extended Support) (Web roles/Worker roles)\",\"resourceTypes\":[\"Microsoft.Compute/cloudServices\",\"MICROSOFT.CLASSICCOMPUTE/DOMAINNAMES\"]}},{\"id\":\"/providers/Microsoft.Support/services/e79dcabe-5f77-3326-2112-74487e1e5f78\",\"name\":\"e79dcabe-5f77-3326-2112-74487e1e5f78\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cloud Services (Web roles/Worker roles)\",\"resourceTypes\":[\"MICROSOFT.CLASSICCOMPUTE/DOMAINNAMES\",\"Microsoft.Compute/cloudServices\"]}},{\"id\":\"/providers/Microsoft.Support/services/70a6ce77-640d-fb3b-d2e2-942c479a929b\",\"name\":\"70a6ce77-640d-fb3b-d2e2-942c479a929b\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cloud Shell\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/87112f97-cf14-d714-03cb-28af2e422e31\",\"name\":\"87112f97-cf14-d714-03cb-28af2e422e31\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cognitive Services\",\"resourceTypes\":[\"MICROSOFT.COGNITIVESERVICES/ACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/c811355a-31ae-acc0-7364-60bc67ab4ca7\",\"name\":\"c811355a-31ae-acc0-7364-60bc67ab4ca7\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cognitive Services-All-in-One Key\",\"resourceTypes\":[\"MICROSOFT.COGNITIVESERVICES/ACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/3c9e9005-bd01-4331-8483-68c4c0a9c1b9\",\"name\":\"3c9e9005-bd01-4331-8483-68c4c0a9c1b9\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cognitive Services-Anomaly Detector\",\"resourceTypes\":[\"Microsoft.CognitiveServices/Accounts\"]}},{\"id\":\"/providers/Microsoft.Support/services/9e65c540-e7ae-b43c-1e0a-ba8dc860dbbd\",\"name\":\"9e65c540-e7ae-b43c-1e0a-ba8dc860dbbd\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cognitive Services-Bing Custom Search\",\"resourceTypes\":[\"Microsoft.CognitiveServices/Accounts\"]}},{\"id\":\"/providers/Microsoft.Support/services/355c72f1-6700-8523-f274-8b65d1f10c7b\",\"name\":\"355c72f1-6700-8523-f274-8b65d1f10c7b\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cognitive Services-Bing Search\",\"resourceTypes\":[\"MICROSOFT.COGNITIVESERVICES/ACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/71e0f29e-91d4-acb4-329e-fb16cd7c366e\",\"name\":\"71e0f29e-91d4-acb4-329e-fb16cd7c366e\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cognitive Services-Bing Spell Check\",\"resourceTypes\":[\"Microsoft.CognitiveServices/Accounts\"]}},{\"id\":\"/providers/Microsoft.Support/services/00677266-37a0-73ba-d7c4-ad3c814b2b11\",\"name\":\"00677266-37a0-73ba-d7c4-ad3c814b2b11\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cognitive Services-Computer Vision\",\"resourceTypes\":[\"MICROSOFT.COGNITIVESERVICES/ACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/7f35b180-0014-494f-df00-68fc50a92976\",\"name\":\"7f35b180-0014-494f-df00-68fc50a92976\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cognitive Services-Content Moderator\",\"resourceTypes\":[\"Microsoft.CognitiveServices/Accounts\"]}},{\"id\":\"/providers/Microsoft.Support/services/6dfefaed-7312-8350-bbe6-c452fe5749c7\",\"name\":\"6dfefaed-7312-8350-bbe6-c452fe5749c7\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cognitive Services-Custom Vision\",\"resourceTypes\":[\"MICROSOFT.COGNITIVESERVICES/ACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/01cde781-0618-be89-60ce-14ca8e939c7d\",\"name\":\"01cde781-0618-be89-60ce-14ca8e939c7d\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cognitive Services-Face API\",\"resourceTypes\":[\"MICROSOFT.COGNITIVESERVICES/ACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/1a8bf6aa-6385-da93-8884-b1de5934f242\",\"name\":\"1a8bf6aa-6385-da93-8884-b1de5934f242\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cognitive Services-Form Recognizer\",\"resourceTypes\":[\"Microsoft.CognitiveServices/Accounts\"]}},{\"id\":\"/providers/Microsoft.Support/services/e78c1fb0-1fd4-7ad6-df28-6b8d6f2c803f\",\"name\":\"e78c1fb0-1fd4-7ad6-df28-6b8d6f2c803f\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cognitive Services-Immersive Reader\",\"resourceTypes\":[\"Microsoft.CognitiveServices/Accounts\"]}},{\"id\":\"/providers/Microsoft.Support/services/7faf083e-7dd5-a35b-ba18-52eeac29d9a1\",\"name\":\"7faf083e-7dd5-a35b-ba18-52eeac29d9a1\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cognitive Services-LUIS\",\"resourceTypes\":[\"MICROSOFT.COGNITIVESERVICES/ACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/97c076d2-d123-a335-a64b-362198ae7004\",\"name\":\"97c076d2-d123-a335-a64b-362198ae7004\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cognitive Services-Metrics Advisor\",\"resourceTypes\":[\"Microsoft.CognitiveServices/Accounts\"]}},{\"id\":\"/providers/Microsoft.Support/services/13fc6b1d-b65d-0800-19e3-77521c7e4e09\",\"name\":\"13fc6b1d-b65d-0800-19e3-77521c7e4e09\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cognitive Services-Personalizer\",\"resourceTypes\":[\"Microsoft.CognitiveServices/Accounts\"]}},{\"id\":\"/providers/Microsoft.Support/services/9a2cd2eb-f793-9717-a145-3497086f40b4\",\"name\":\"9a2cd2eb-f793-9717-a145-3497086f40b4\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cognitive Services-QnA Maker\",\"resourceTypes\":[\"MICROSOFT.COGNITIVESERVICES/ACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/8d2d990b-173c-fbee-3913-05e3f338b67b\",\"name\":\"8d2d990b-173c-fbee-3913-05e3f338b67b\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cognitive Services-Speech Services\",\"resourceTypes\":[\"MICROSOFT.COGNITIVESERVICES/ACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/b1bfd43f-f4f6-7e3c-4a01-ed74b71b6dd7\",\"name\":\"b1bfd43f-f4f6-7e3c-4a01-ed74b71b6dd7\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cognitive Services-Text Analytics\",\"resourceTypes\":[\"MICROSOFT.COGNITIVESERVICES/ACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/4bc4301f-b40e-080d-9252-a523f88a16e7\",\"name\":\"4bc4301f-b40e-080d-9252-a523f88a16e7\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cognitive Services-Translator Text\",\"resourceTypes\":[\"MICROSOFT.COGNITIVESERVICES/ACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/2e9d497d-e486-8d76-3582-ad201c974730\",\"name\":\"2e9d497d-e486-8d76-3582-ad201c974730\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Communication Services\",\"resourceTypes\":[\"Microsoft.Communication/CommunicationServices\"]}},{\"id\":\"/providers/Microsoft.Support/services/98594b2e-741c-7d1c-2eb5-b06e25670cc4\",\"name\":\"98594b2e-741c-7d1c-2eb5-b06e25670cc4\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Communications Gateway\",\"resourceTypes\":[\"Microsoft.VoiceServices/CommunicationsGateways\"]}},{\"id\":\"/providers/Microsoft.Support/services/6db223ca-4ea9-41b9-af8a-61a0a5b6a150\",\"name\":\"6db223ca-4ea9-41b9-af8a-61a0a5b6a150\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Confidential Ledger\",\"resourceTypes\":[\"Microsoft.ConfidentialLedger\"]}},{\"id\":\"/providers/Microsoft.Support/services/6f3d78e8-246d-880c-acec-31033f3a7a8f\",\"name\":\"6f3d78e8-246d-880c-acec-31033f3a7a8f\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Confluent on Azure\",\"resourceTypes\":[\"microsoft.confluent/organizations\"]}},{\"id\":\"/providers/Microsoft.Support/services/5bc1fc7c-358f-3640-9d3f-f051a51c1e93\",\"name\":\"5bc1fc7c-358f-3640-9d3f-f051a51c1e93\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Container Apps\",\"resourceTypes\":[\"Microsoft.App/containerapps\",\"Microsoft.App/managedenvironments\",\"Microsoft.App/jobs\"]}},{\"id\":\"/providers/Microsoft.Support/services/44557205-b0ce-df77-a5b5-5e145323f4a1\",\"name\":\"44557205-b0ce-df77-a5b5-5e145323f4a1\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Container insights\",\"resourceTypes\":[\"Microsoft.ContainerService/OpenshiftManagedclusters\"]}},{\"id\":\"/providers/Microsoft.Support/services/fd718335-8143-4759-bb14-cf7cff4f585e\",\"name\":\"fd718335-8143-4759-bb14-cf7cff4f585e\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Container Instances\",\"resourceTypes\":[\"MICROSOFT.CONTAINERINSTANCE/CONTAINERGROUPS\"]}},{\"id\":\"/providers/Microsoft.Support/services/f100a6d5-17df-c517-a2bc-ecc2a5bfb975\",\"name\":\"f100a6d5-17df-c517-a2bc-ecc2a5bfb975\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Container Registry\",\"resourceTypes\":[\"MICROSOFT.CONTAINERREGISTRY/REGISTRIES\"]}},{\"id\":\"/providers/Microsoft.Support/services/201a3899-cb54-d8ec-d02f-7b0a4fd0d67f\",\"name\":\"201a3899-cb54-d8ec-d02f-7b0a4fd0d67f\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Container Registry on Azure Stack Hub - Preview\",\"resourceTypes\":[\"Microsoft.AzureStack/registrations\"]}},{\"id\":\"/providers/Microsoft.Support/services/5a2a4812-d5f3-18a2-f6d6-5f847a5a96a1\",\"name\":\"5a2a4812-d5f3-18a2-f6d6-5f847a5a96a1\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Container Storage - Preview\",\"resourceTypes\":[\"Microsoft.ContainerStorage\"]}},{\"id\":\"/providers/Microsoft.Support/services/6c9754aa-1828-2b91-0d32-31f7774af6a7\",\"name\":\"6c9754aa-1828-2b91-0d32-31f7774af6a7\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Content Safety\",\"resourceTypes\":[\"Microsoft.Cognitive\"]}},{\"id\":\"/providers/Microsoft.Support/services/d9516a10-74b5-45f4-943d-a5281d7cf1bb\",\"name\":\"d9516a10-74b5-45f4-943d-a5281d7cf1bb\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Cosmos DB\",\"resourceTypes\":[\"MICROSOFT.DOCUMENTDB/DATABASEACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/33476b0f-7f52-9f63-56d0-5924636304ff\",\"name\":\"33476b0f-7f52-9f63-56d0-5924636304ff\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Customer Lockbox for Microsoft Azure\",\"resourceTypes\":[\"Microsoft.CustomerLockbox\"]}},{\"id\":\"/providers/Microsoft.Support/services/53cdda84-33c0-81db-6a25-adaac64419d6\",\"name\":\"53cdda84-33c0-81db-6a25-adaac64419d6\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"CycleCloud\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/a091fbc6-3624-42e8-4b3c-654a29d6958e\",\"name\":\"a091fbc6-3624-42e8-4b3c-654a29d6958e\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Data Box\",\"resourceTypes\":[\"MICROSOFT.DATABOX/JOBS\"]}},{\"id\":\"/providers/Microsoft.Support/services/5d6f97e5-c9cf-e3c7-98e0-6011d194d84f\",\"name\":\"5d6f97e5-c9cf-e3c7-98e0-6011d194d84f\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Data Box Gateway\",\"resourceTypes\":[\"Microsoft.DataBoxGateway\",\"Microsoft.Storage\",\"Microsoft.DataBoxEdge/DataBoxEdgeDevices\"]}},{\"id\":\"/providers/Microsoft.Support/services/9a7df480-f592-a980-906c-bd1fd3060aa8\",\"name\":\"9a7df480-f592-a980-906c-bd1fd3060aa8\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Data Catalog\",\"resourceTypes\":[\"MICROSOFT.DATACATALOG/CATALOGS\"]}},{\"id\":\"/providers/Microsoft.Support/services/f0bd9b83-fcdc-15ec-a9db-47068d512d4f\",\"name\":\"f0bd9b83-fcdc-15ec-a9db-47068d512d4f\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Data Collection Rules (DCR) and Agent (AMA)\",\"resourceTypes\":[\"MICROSOFT.INSIGHTS/DATACOLLECTIONRULES\",\"MICROSOFT.INSIGHTS/DATACOLLECTIONENDPOINTS\",\"MICROSOFT.INSIGHTS/DATACOLLECTIONRULEASSOCIATIONS\"]}},{\"id\":\"/providers/Microsoft.Support/services/0d06686e-fac3-fde3-a8c1-6dfbc8bd3865\",\"name\":\"0d06686e-fac3-fde3-a8c1-6dfbc8bd3865\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Data Explorer\",\"resourceTypes\":[\"Microsoft.Kusto/Clusters\",\"Microsoft.Kusto/Databases\"]}},{\"id\":\"/providers/Microsoft.Support/services/113715b9-70c6-3019-fa70-5d9f0c15c610\",\"name\":\"113715b9-70c6-3019-fa70-5d9f0c15c610\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Data Factory\",\"resourceTypes\":[\"MICROSOFT.DATAFACTORY/DATAFACTORIES\",\"MICROSOFT.DATAFACTORY/FACTORIES\"]}},{\"id\":\"/providers/Microsoft.Support/services/eea96939-cf20-792a-ed0a-f11eb11336df\",\"name\":\"eea96939-cf20-792a-ed0a-f11eb11336df\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Data Lake Analytics\",\"resourceTypes\":[\"MICROSOFT.DATALAKEANALYTICS/ACCOUNTS\",\"MICROSOFT.DATALAKEANALYTICS/ACCOUNTS/STORAGEACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/7ecbaeae-c1bc-285f-a3bd-b5a3ba00b294\",\"name\":\"7ecbaeae-c1bc-285f-a3bd-b5a3ba00b294\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Data Lake Storage Gen1\",\"resourceTypes\":[\"MICROSOFT.DATALAKESTORE/ACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/a95c4ceb-9637-4484-2205-d1162a7d2249\",\"name\":\"a95c4ceb-9637-4484-2205-d1162a7d2249\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Data Lake Storage Gen2\",\"resourceTypes\":[\"MICROSOFT.STORAGE/STORAGEACCOUNTS\",\"Wandisco.Fusion/fusionGroups\",\"Wandisco.Fusion/migrators\"]}},{\"id\":\"/providers/Microsoft.Support/services/0c1a625e-85d1-f83b-7248-2367293c9d85\",\"name\":\"0c1a625e-85d1-f83b-7248-2367293c9d85\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Data Share\",\"resourceTypes\":[\"Microsoft.DataShare/accounts\"]}},{\"id\":\"/providers/Microsoft.Support/services/8c615be4-9081-f10c-5866-afa4fab9666d\",\"name\":\"8c615be4-9081-f10c-5866-afa4fab9666d\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Database Migration Service\",\"resourceTypes\":[\"MICROSOFT.DATAMIGRATION/SERVICES\",\"Microsoft.DataMigration/SQLMigrationServices\"]}},{\"id\":\"/providers/Microsoft.Support/services/3461f86b-df79-07f2-aad9-34a81b2d9023\",\"name\":\"3461f86b-df79-07f2-aad9-34a81b2d9023\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Databricks\",\"resourceTypes\":[\"MICROSOFT.DATABRICKS/WORKSPACES\"]}},{\"id\":\"/providers/Microsoft.Support/services/251a4e5f-1aac-be01-3279-4249c348b4cb\",\"name\":\"251a4e5f-1aac-be01-3279-4249c348b4cb\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Datadog on Azure\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/d22650a0-c129-647b-967c-fb18c83584c6\",\"name\":\"d22650a0-c129-647b-967c-fb18c83584c6\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"DDOS Protection\",\"resourceTypes\":[\"MICROSOFT.NETWORK/DDOSPROTECTIONPLANS\"]}},{\"id\":\"/providers/Microsoft.Support/services/7d1ce754-b825-74b6-8022-87193cd96b6e\",\"name\":\"7d1ce754-b825-74b6-8022-87193cd96b6e\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Dedicated HSM\",\"resourceTypes\":[\"Microsoft.HardwareSecurityModules/DedicatedHSM\"]}},{\"id\":\"/providers/Microsoft.Support/services/546aaccb-cb73-2d7a-546f-e4001c2a0670\",\"name\":\"546aaccb-cb73-2d7a-546f-e4001c2a0670\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Device Update for IoT Hub\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/5405fb26-173b-7571-9998-98e23cd8643d\",\"name\":\"5405fb26-173b-7571-9998-98e23cd8643d\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"DevTest Labs\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/39dc26f0-c1b1-2323-c39f-3ae3860e0c37\",\"name\":\"39dc26f0-c1b1-2323-c39f-3ae3860e0c37\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Diagnostic Logs and Diagnostic Settings\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/1d311e9b-0852-2f19-07bf-22f48e57d71a\",\"name\":\"1d311e9b-0852-2f19-07bf-22f48e57d71a\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Disk Storage\",\"resourceTypes\":[\"MICROSOFT.COMPUTE/Disks\",\"MICROSOFT.COMPUTE/diskEncryptionSets\"]}},{\"id\":\"/providers/Microsoft.Support/services/633d88dc-7cf1-cc96-7053-3552fcc9235a\",\"name\":\"633d88dc-7cf1-cc96-7053-3552fcc9235a\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Dynatrace on Azure\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/8b583bd0-6368-dc07-8719-f7d94a4ea536\",\"name\":\"8b583bd0-6368-dc07-8719-f7d94a4ea536\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Elastic on Azure\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/ed4dbd49-ba0e-777b-b059-0450428f2879\",\"name\":\"ed4dbd49-ba0e-777b-b059-0450428f2879\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Elastic San\",\"resourceTypes\":[\"Microsoft.ElasticSan\"]}},{\"id\":\"/providers/Microsoft.Support/services/a79c6645-e39b-3410-6e3c-24c6b96b616b\",\"name\":\"a79c6645-e39b-3410-6e3c-24c6b96b616b\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Enrollment administration\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/569cea1e-00ed-f1fa-d1ad-39b3fbec6475\",\"name\":\"569cea1e-00ed-f1fa-d1ad-39b3fbec6475\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Epic on Azure\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/bfe4c4f0-96eb-41a9-a9aa-23a3b5ed9974\",\"name\":\"bfe4c4f0-96eb-41a9-a9aa-23a3b5ed9974\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Event Grid\",\"resourceTypes\":[\"MICROSOFT.EVENTGRID/TOPICS\",\"Microsoft.EventGrid/domains\",\"Microsoft.EventGrid/systemTopics\",\"Microsoft.EventGrid/partnerTopics\",\"Microsoft.EventGrid/namespaces\"]}},{\"id\":\"/providers/Microsoft.Support/services/e8b3dd28-f3eb-c73f-e03a-20159685defa\",\"name\":\"e8b3dd28-f3eb-c73f-e03a-20159685defa\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Event Grid on Kubernetes with Azure Arc - Preview\",\"resourceTypes\":[\"Microsoft.EventGrid\"]}},{\"id\":\"/providers/Microsoft.Support/services/4fa35c58-016c-a25b-4105-bd667c24ab1f\",\"name\":\"4fa35c58-016c-a25b-4105-bd667c24ab1f\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Event Hubs\",\"resourceTypes\":[\"MICROSOFT.EVENTHUB/NAMESPACES\"]}},{\"id\":\"/providers/Microsoft.Support/services/48ffed53-baf4-c26a-c7a1-4bea807be2a0\",\"name\":\"48ffed53-baf4-c26a-c7a1-4bea807be2a0\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Event Hubs on Azure Stack Hub\",\"resourceTypes\":[\"Microsoft.AzureStack/registrations\"]}},{\"id\":\"/providers/Microsoft.Support/services/759b4975-eee7-178d-6996-31047d078bf2\",\"name\":\"759b4975-eee7-178d-6996-31047d078bf2\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"ExpressRoute\",\"resourceTypes\":[\"MICROSOFT.NETWORK/EXPRESSROUTECIRCUITS\"]}},{\"id\":\"/providers/Microsoft.Support/services/74e3c1c3-412f-e934-70c5-24629ea33cf7\",\"name\":\"74e3c1c3-412f-e934-70c5-24629ea33cf7\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"ExpressRoute Direct\",\"resourceTypes\":[\"Microsoft.Network/expressRoutePorts\",\"MICROSOFT.NETWORKFUNCTION/AZURETRAFFICCOLLECTORS\"]}},{\"id\":\"/providers/Microsoft.Support/services/ce989245-7b7b-ab4f-ac5a-a4ca2ee9d2a2\",\"name\":\"ce989245-7b7b-ab4f-ac5a-a4ca2ee9d2a2\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"ExpressRoute Service Provider\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/fac12c7e-6522-1af5-3898-a45a905495d5\",\"name\":\"fac12c7e-6522-1af5-3898-a45a905495d5\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Fabric - Synapse Real Time Analytics\",\"resourceTypes\":[\"Microsoft.Fabric\"]}},{\"id\":\"/providers/Microsoft.Support/services/14ec3ea7-c6ee-6f43-0480-1994e19e2b71\",\"name\":\"14ec3ea7-c6ee-6f43-0480-1994e19e2b71\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Fabric Admin \u0026 Management\",\"resourceTypes\":[\"Microsoft.Fabric\"]}},{\"id\":\"/providers/Microsoft.Support/services/ce616a11-6c3c-3787-e5af-87bd93f057ac\",\"name\":\"ce616a11-6c3c-3787-e5af-87bd93f057ac\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Fabric Data Activator (Preview)\",\"resourceTypes\":[\"Microsoft.Fabric\"]}},{\"id\":\"/providers/Microsoft.Support/services/abe09b55-980d-8005-43d1-3dc68d4e7da2\",\"name\":\"abe09b55-980d-8005-43d1-3dc68d4e7da2\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Fabric Data Factory\",\"resourceTypes\":[\"Microsoft.Fabric\"]}},{\"id\":\"/providers/Microsoft.Support/services/790e4cf1-2147-6bb2-0f93-b8455e189f22\",\"name\":\"790e4cf1-2147-6bb2-0f93-b8455e189f22\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Fabric Retail Data Solutions (Preview)\",\"resourceTypes\":[\"Microsoft.Fabric\"]}},{\"id\":\"/providers/Microsoft.Support/services/d1b45bee-a445-760e-e81e-5c0851cf9fe4\",\"name\":\"d1b45bee-a445-760e-e81e-5c0851cf9fe4\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Fabric Sustainability Data Solutions - Preview\",\"resourceTypes\":[\"Microsoft.Fabric\"]}},{\"id\":\"/providers/Microsoft.Support/services/84c5d9a0-a381-cbe3-68c4-92d6d031e1d2\",\"name\":\"84c5d9a0-a381-cbe3-68c4-92d6d031e1d2\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Fabric Synapse Data Engineering\",\"resourceTypes\":[\"Microsoft.Fabric\"]}},{\"id\":\"/providers/Microsoft.Support/services/5f7c1f86-6c27-9a46-c580-677513de3d8c\",\"name\":\"5f7c1f86-6c27-9a46-c580-677513de3d8c\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Fabric Synapse Data Science\",\"resourceTypes\":[\"Microsoft.Fabric\"]}},{\"id\":\"/providers/Microsoft.Support/services/97d4fe08-885c-2713-8a1c-517a8b2874ac\",\"name\":\"97d4fe08-885c-2713-8a1c-517a8b2874ac\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Fabric Synapse Data Warehouse\",\"resourceTypes\":[\"Microsoft.Fabric\"]}},{\"id\":\"/providers/Microsoft.Support/services/30dfd88b-b455-1748-a4a0-e4c5aa795663\",\"name\":\"30dfd88b-b455-1748-a4a0-e4c5aa795663\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Files Storage\",\"resourceTypes\":[\"MICROSOFT.CLASSICSTORAGE/STORAGEACCOUNTS\",\"MICROSOFT.STORAGE/STORAGEACCOUNTS\",\"MICROSOFT.STORAGESYNC/STORAGESYNCSERVICES\"]}},{\"id\":\"/providers/Microsoft.Support/services/fafcf178-45ee-85df-ef14-982729bf2f82\",\"name\":\"fafcf178-45ee-85df-ef14-982729bf2f82\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Front Door Service\",\"resourceTypes\":[\"MICROSOFT.NETWORK/FRONTDOORS\"]}},{\"id\":\"/providers/Microsoft.Support/services/2a1d6261-5ecd-a128-739f-9bd4f2154ba5\",\"name\":\"2a1d6261-5ecd-a128-739f-9bd4f2154ba5\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Front Door Standard and Premium\",\"resourceTypes\":[\"microsoft.cdn/profiles\"]}},{\"id\":\"/providers/Microsoft.Support/services/5ce8de69-abba-65a0-e0e4-a684bcbc7931\",\"name\":\"5ce8de69-abba-65a0-e0e4-a684bcbc7931\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Function App\",\"resourceTypes\":[\"MICROSOFT.WEB/SITES\"]}},{\"id\":\"/providers/Microsoft.Support/services/24629f4c-b450-03f7-aa4f-e2c48f422560\",\"name\":\"24629f4c-b450-03f7-aa4f-e2c48f422560\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Function App on Azure Arc\",\"resourceTypes\":[\"Microsoft.Web/Sites\"]}},{\"id\":\"/providers/Microsoft.Support/services/93c1bf6f-2816-3f1f-269d-9ee459d000a6\",\"name\":\"93c1bf6f-2816-3f1f-269d-9ee459d000a6\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"GitHub Advanced Security for Azure DevOps\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/354c8172-2cc3-fef7-ed37-81214a6298a5\",\"name\":\"354c8172-2cc3-fef7-ed37-81214a6298a5\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Global Secure Access\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/e053e63d-7425-0499-485c-4f5ba4b78244\",\"name\":\"e053e63d-7425-0499-485c-4f5ba4b78244\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"HDInsight on AKS - Preview\",\"resourceTypes\":[\"MICROSOFT.HDINSIGHT/CLUSTERPOOLS\",\"MICROSOFT.HDINSIGHT/CLUSTERPOOLS/CLUSTERS\"]}},{\"id\":\"/providers/Microsoft.Support/services/5ffad63a-3267-d6b7-2fa1-6d9134c1fa62\",\"name\":\"5ffad63a-3267-d6b7-2fa1-6d9134c1fa62\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"HDInsight Service\",\"resourceTypes\":[\"MICROSOFT.HDINSIGHT/CLUSTERS\"]}},{\"id\":\"/providers/Microsoft.Support/services/e00b1ed8-fc24-fef4-6f4c-36d963708ae1\",\"name\":\"e00b1ed8-fc24-fef4-6f4c-36d963708ae1\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"High Performance Computing (HPC)\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/6b415938-2927-0d9d-6c3c-fbacea64e42d\",\"name\":\"6b415938-2927-0d9d-6c3c-fbacea64e42d\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"HPC Cache\",\"resourceTypes\":[\"Microsoft.StorageCache/caches\"]}},{\"id\":\"/providers/Microsoft.Support/services/9f7ef27e-7bdb-0570-4e15-f50c870f03aa\",\"name\":\"9f7ef27e-7bdb-0570-4e15-f50c870f03aa\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Insights for Azure Stack HCI\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/370cf612-d7bd-b9e5-5a3c-42532257212c\",\"name\":\"370cf612-d7bd-b9e5-5a3c-42532257212c\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Intelligent Recommendations\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/fb35bf64-b744-16ba-68d1-e1853af0816e\",\"name\":\"fb35bf64-b744-16ba-68d1-e1853af0816e\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"IoT Central\",\"resourceTypes\":[\"MICROSOFT.IOTCENTRAL/IOTAPPS\"]}},{\"id\":\"/providers/Microsoft.Support/services/ea37799f-166b-c702-e4d1-e17fa52b2984\",\"name\":\"ea37799f-166b-c702-e4d1-e17fa52b2984\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"IoT Device Provisioning Service\",\"resourceTypes\":[\"MICROSOFT.DEVICES/PROVISIONINGSERVICES\"]}},{\"id\":\"/providers/Microsoft.Support/services/0ebfa061-1e74-5f8f-ed46-5a46e13e5d33\",\"name\":\"0ebfa061-1e74-5f8f-ed46-5a46e13e5d33\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"IoT Edge\",\"resourceTypes\":[\"MICROSOFT.DEVICES/IOTHUBS\"]}},{\"id\":\"/providers/Microsoft.Support/services/b8b1c1dd-dfe1-63e8-cc06-e6a1a1c5a853\",\"name\":\"b8b1c1dd-dfe1-63e8-cc06-e6a1a1c5a853\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"IoT Hub\",\"resourceTypes\":[\"MICROSOFT.DEVICES/IOTHUBS\"]}},{\"id\":\"/providers/Microsoft.Support/services/4ba83714-c274-28d6-af7f-43c12863bf2f\",\"name\":\"4ba83714-c274-28d6-af7f-43c12863bf2f\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"IoT SDKs\",\"resourceTypes\":[\"MICROSOFT.DEVICES/IOTHUBS\"]}},{\"id\":\"/providers/Microsoft.Support/services/e7c01763-5374-faf0-d1ac-1719f8da4612\",\"name\":\"e7c01763-5374-faf0-d1ac-1719f8da4612\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"IP Services\",\"resourceTypes\":[\"Microsoft.Network/customipprefixes\",\"Microsoft.Network/PublicIPAddresses\",\"Microsoft.Network/PublicIPPrefixes\"]}},{\"id\":\"/providers/Microsoft.Support/services/0283d26b-bad8-f0e2-37f4-86dc0328c710\",\"name\":\"0283d26b-bad8-f0e2-37f4-86dc0328c710\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Key Vault\",\"resourceTypes\":[\"MICROSOFT.KEYVAULT/VAULTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/8f1ddc5f-0c5e-50c7-9810-e01a8d1da925\",\"name\":\"8f1ddc5f-0c5e-50c7-9810-e01a8d1da925\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Kubernetes (AKS Engine) on Azure Stack Hub\",\"resourceTypes\":[\"Microsoft.AzureStack/registrations\"]}},{\"id\":\"/providers/Microsoft.Support/services/5a3a423f-8667-9095-1770-0a554a934512\",\"name\":\"5a3a423f-8667-9095-1770-0a554a934512\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Kubernetes Service (AKS)\",\"resourceTypes\":[\"MICROSOFT.CONTAINERSERVICE/MANAGEDCLUSTERS\"]}},{\"id\":\"/providers/Microsoft.Support/services/7f2f38ed-ca01-fd3a-b7d4-d029e970f574\",\"name\":\"7f2f38ed-ca01-fd3a-b7d4-d029e970f574\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Kubernetes Service (AKS) on Azure Stack Hub - Preview\",\"resourceTypes\":[\"Microsoft.AzureStack/registrations\"]}},{\"id\":\"/providers/Microsoft.Support/services/b8925cb6-338d-9b0c-2655-1ef611982fc4\",\"name\":\"b8925cb6-338d-9b0c-2655-1ef611982fc4\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Lab Services with lab account\",\"resourceTypes\":[\"MICROSOFT.DEVTESTLAB/LABS\",\"MICROSOFT.LABSERVICES/LABACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/9c87a292-835f-d089-8368-9a6daaad2f24\",\"name\":\"9c87a292-835f-d089-8368-9a6daaad2f24\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Lab Services with lab plan\",\"resourceTypes\":[\"MICROSOFT.LABSERVICES/LABS\",\"MICROSOFT.LABSERVICES/LABPLANS\"]}},{\"id\":\"/providers/Microsoft.Support/services/b0882e3d-d09c-ca61-725b-b5d318365454\",\"name\":\"b0882e3d-d09c-ca61-725b-b5d318365454\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Lighthouse\",\"resourceTypes\":[\"Microsoft.ManagedServices\"]}},{\"id\":\"/providers/Microsoft.Support/services/7b29574f-b855-9dec-9b08-fe4aeaa3bbc0\",\"name\":\"7b29574f-b855-9dec-9b08-fe4aeaa3bbc0\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Load Balancer\",\"resourceTypes\":[\"MICROSOFT.NETWORK/LOADBALANCERS\"]}},{\"id\":\"/providers/Microsoft.Support/services/1bfb8072-ed96-9acc-b57c-34d716b5f674\",\"name\":\"1bfb8072-ed96-9acc-b57c-34d716b5f674\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Log Analytics\",\"resourceTypes\":[\"MICROSOFT.OPERATIONALINSIGHTS/WORKSPACES\"]}},{\"id\":\"/providers/Microsoft.Support/services/908d4c6f-e217-fecc-1fd8-284779c5aaf5\",\"name\":\"908d4c6f-e217-fecc-1fd8-284779c5aaf5\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Log Analytics agent (MMA and OMS)\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/9239daee-9951-e495-0aee-bf6b73708882\",\"name\":\"9239daee-9951-e495-0aee-bf6b73708882\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Logic App\",\"resourceTypes\":[\"MICROSOFT.LOGIC/WORKFLOWS\",\"Microsoft.Logic/integrationServiceEnvironments\",\"Microsoft.Web/sites\"]}},{\"id\":\"/providers/Microsoft.Support/services/bd329b99-32f4-07bf-22e1-717f87d355b9\",\"name\":\"bd329b99-32f4-07bf-22e1-717f87d355b9\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Logic App on Azure Arc\",\"resourceTypes\":[\"Microsoft.Logic/integrationServiceEnvironments\",\"Microsoft.Logic/Workflows\",\"MICROSOFT.WEB/SITES\"]}},{\"id\":\"/providers/Microsoft.Support/services/65e73690-23aa-be68-83be-a6b9bd188345\",\"name\":\"65e73690-23aa-be68-83be-a6b9bd188345\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Logic App-Integration Service Environment (ISE)\",\"resourceTypes\":[\"Microsoft.Logic/integrationServiceEnvironments\"]}},{\"id\":\"/providers/Microsoft.Support/services/6a2a5a09-c969-3adc-bc12-bfd87296f968\",\"name\":\"6a2a5a09-c969-3adc-bc12-bfd87296f968\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Logic App-Logic App (Standard)\",\"resourceTypes\":[\"Microsoft.Web/sites\"]}},{\"id\":\"/providers/Microsoft.Support/services/68ad5d5e-ba0d-c8d9-7642-1278dfc99ad3\",\"name\":\"68ad5d5e-ba0d-c8d9-7642-1278dfc99ad3\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Logz.io on Azure\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/a1799293-1194-133d-4407-156c57152643\",\"name\":\"a1799293-1194-133d-4407-156c57152643\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Machine Learning\",\"resourceTypes\":[\"Microsoft.MachineLearningServices/workspaces\",\"Microsoft.MachineLearningServices\"]}},{\"id\":\"/providers/Microsoft.Support/services/afd16b5d-3a02-dd9d-8f7f-9768a7345f81\",\"name\":\"afd16b5d-3a02-dd9d-8f7f-9768a7345f81\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Machine Learning Studio (Classic)\",\"resourceTypes\":[\"MICROSOFT.MACHINELEARNING/WORKSPACES\",\"MICROSOFT.MACHINELEARNING/COMMITMENTPLANS\",\"MICROSOFT.MACHINELEARNING/WEBSERVICES\",\"MICROSOFT.MACHINELEARNINGEXPERIMENTATION/ACCOUNTS\",\"MICROSOFT.MACHINELEARNINGMODELMANAGEMENT/ACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/7fa9504c-364e-66b7-830e-f1333a2e4fe4\",\"name\":\"7fa9504c-364e-66b7-830e-f1333a2e4fe4\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Managed Apps Service Catalog\",\"resourceTypes\":[\"Microsoft.Solutions/applicationDefinitions\"]}},{\"id\":\"/providers/Microsoft.Support/services/c967e89c-dd01-34fa-231a-5645bdd79459\",\"name\":\"c967e89c-dd01-34fa-231a-5645bdd79459\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Managed HSM\",\"resourceTypes\":[\"MICROSOFT.KEYVAULT/MANAGEDHSMS\"]}},{\"id\":\"/providers/Microsoft.Support/services/4600d245-9a8d-be9c-b0b7-945467c24186\",\"name\":\"4600d245-9a8d-be9c-b0b7-945467c24186\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Managed Identities for Azure Resources\",\"resourceTypes\":[\"Microsoft.ManagedIdentity/userAssignedIdentities\"]}},{\"id\":\"/providers/Microsoft.Support/services/c6054aa4-96df-3b22-b4bf-1c5b16912def\",\"name\":\"c6054aa4-96df-3b22-b4bf-1c5b16912def\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Managed Instance for Apache Cassandra\",\"resourceTypes\":[\"Microsoft.DocumentDB/cassandraClusters\"]}},{\"id\":\"/providers/Microsoft.Support/services/1b982b2f-8561-caed-b2b3-aed8c249bb07\",\"name\":\"1b982b2f-8561-caed-b2b3-aed8c249bb07\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Managed Prometheus\",\"resourceTypes\":[\"Microsoft.Monitor/Accounts\"]}},{\"id\":\"/providers/Microsoft.Support/services/2c32f727-0b95-8324-22c8-b953c938833c\",\"name\":\"2c32f727-0b95-8324-22c8-b953c938833c\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Management Groups\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/c52a04cc-be90-03ef-d76e-80cd1b338fb3\",\"name\":\"c52a04cc-be90-03ef-d76e-80cd1b338fb3\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Maps\",\"resourceTypes\":[\"MICROSOFT.MAPS/ACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/efa0fcb8-3325-6eb7-b451-8e3a853aaead\",\"name\":\"efa0fcb8-3325-6eb7-b451-8e3a853aaead\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Media Service\",\"resourceTypes\":[\"MICROSOFT.MEDIA/MEDIASERVICES\"]}},{\"id\":\"/providers/Microsoft.Support/services/9636b9f4-3013-b4d0-1dbe-8b202575f592\",\"name\":\"9636b9f4-3013-b4d0-1dbe-8b202575f592\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Metrics\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/a96cb196-59fe-00a7-5ff7-889765d10494\",\"name\":\"a96cb196-59fe-00a7-5ff7-889765d10494\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Antimalware for Azure\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/a3247669-8dd8-ffa6-e0b2-c603cb95bf6c\",\"name\":\"a3247669-8dd8-ffa6-e0b2-c603cb95bf6c\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Azure Attestation\",\"resourceTypes\":[\"Microsoft.Attestation/attestationProviders\"]}},{\"id\":\"/providers/Microsoft.Support/services/72c84cfd-1758-f3e1-7c0a-24fd7c10df03\",\"name\":\"72c84cfd-1758-f3e1-7c0a-24fd7c10df03\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Azure Data Manager for Agriculture\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/6d7a548d-93fe-2d06-23d6-8a7f7c9981d1\",\"name\":\"6d7a548d-93fe-2d06-23d6-8a7f7c9981d1\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Azure Data Manager for Energy\",\"resourceTypes\":[\"Microsoft.OpenEnergyPlatform/energyServices\"]}},{\"id\":\"/providers/Microsoft.Support/services/fca74ae8-fb8b-53d4-39cb-105200f54379\",\"name\":\"fca74ae8-fb8b-53d4-39cb-105200f54379\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Bing Services\",\"resourceTypes\":[\"Microsoft.Bing\"]}},{\"id\":\"/providers/Microsoft.Support/services/2dd10780-72c7-5527-32c3-2cd565a9857b\",\"name\":\"2dd10780-72c7-5527-32c3-2cd565a9857b\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft build of OpenJDK\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/d5bf131f-93ff-a263-91f9-64be70b48a56\",\"name\":\"d5bf131f-93ff-a263-91f9-64be70b48a56\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Cloud for Sovereignty\",\"resourceTypes\":[\"Microsoft.Sovereign\"]}},{\"id\":\"/providers/Microsoft.Support/services/01576e56-6662-d99f-3032-384fd97e95bc\",\"name\":\"01576e56-6662-d99f-3032-384fd97e95bc\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Connected Cache for ISPs - Preview\",\"resourceTypes\":[\"Microsoft.ConnectedCache/cacheNodes\",\"Microsoft.ConnectedCache/ispCustomers\"]}},{\"id\":\"/providers/Microsoft.Support/services/49741e2b-0418-835b-8305-2e3992042a28\",\"name\":\"49741e2b-0418-835b-8305-2e3992042a28\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Connected Vehicle Platform\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/89077980-9234-5466-6e41-2b284c668f8f\",\"name\":\"89077980-9234-5466-6e41-2b284c668f8f\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Copilot for Azure - Preview\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/d3f5a8bd-677e-f210-8c9a-9b0bd8a2ee8c\",\"name\":\"d3f5a8bd-677e-f210-8c9a-9b0bd8a2ee8c\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Defender External Attack Surface Management (EASM)\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/fb1b37f8-2716-86c2-c2e1-684b5292d401\",\"name\":\"fb1b37f8-2716-86c2-c2e1-684b5292d401\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Defender for Cloud\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/7dc03991-4dcf-cf5a-904f-35a243ca5551\",\"name\":\"7dc03991-4dcf-cf5a-904f-35a243ca5551\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Defender for Cloud Apps\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/809e8afe-489e-08b0-95f2-08f835a383e8\",\"name\":\"809e8afe-489e-08b0-95f2-08f835a383e8\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Defender for Identity\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/82c88f35-1b8e-f274-ec11-c6efdd6dd099\",\"name\":\"82c88f35-1b8e-f274-ec11-c6efdd6dd099\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Defender for IoT\",\"resourceTypes\":[\"MICROSOFT.IOTSECURITY/DEFENDERSETTINGS\"]}},{\"id\":\"/providers/Microsoft.Support/services/8b8d5b15-1c6d-7fa4-3884-e134fa0adaa7\",\"name\":\"8b8d5b15-1c6d-7fa4-3884-e134fa0adaa7\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Dev Box\",\"resourceTypes\":[\"Microsoft.DevCenter\",\"Microsoft.DevCenter/devCenters\"]}},{\"id\":\"/providers/Microsoft.Support/services/d3830e0b-a1b1-923f-d2bb-7ebc41dcbc39\",\"name\":\"d3830e0b-a1b1-923f-d2bb-7ebc41dcbc39\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Entra Admin Center\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/7505036e-a364-8354-e894-56d394dd4a61\",\"name\":\"7505036e-a364-8354-e894-56d394dd4a61\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Entra App Integration and Development\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/3a36c1ba-f910-91c3-9f17-075d63c9488a\",\"name\":\"3a36c1ba-f910-91c3-9f17-075d63c9488a\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Entra Directories, Domains, and Objects\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/a69d6bc1-d1db-61e6-2668-451ae3784f86\",\"name\":\"a69d6bc1-d1db-61e6-2668-451ae3784f86\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Entra Domain Services (Microsoft Managed - DCaaS)\",\"resourceTypes\":[\"Microsoft.AAD/DomainServices\"]}},{\"id\":\"/providers/Microsoft.Support/services/2f0b4593-ca4c-370c-e36c-b90be88a1597\",\"name\":\"2f0b4593-ca4c-370c-e36c-b90be88a1597\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Entra External ID - Preview\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/b98631b1-d53a-3ac4-3181-aef136ec703d\",\"name\":\"b98631b1-d53a-3ac4-3181-aef136ec703d\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Entra Governance, Compliance and Reporting\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/0d9aae13-ff27-8f75-6e18-304247937071\",\"name\":\"0d9aae13-ff27-8f75-6e18-304247937071\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Entra Permissions Management\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/516fe906-3a1a-2878-02fd-8dd37ea207de\",\"name\":\"516fe906-3a1a-2878-02fd-8dd37ea207de\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Entra Sign-in and Multifactor Authentication\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/38a234dd-6baf-d93b-2c48-5a735a3550ed\",\"name\":\"38a234dd-6baf-d93b-2c48-5a735a3550ed\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Entra User Provisioning and Synchronization\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/a39b9b14-4aaa-dfe8-6f47-b9c80f5a4784\",\"name\":\"a39b9b14-4aaa-dfe8-6f47-b9c80f5a4784\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Entra Verified ID\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/de523f2e-d57a-43fc-a83e-753029ef5cf8\",\"name\":\"de523f2e-d57a-43fc-a83e-753029ef5cf8\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Entra Workload ID\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/3f816e19-cbf7-f192-a725-63c0ebe7d07d\",\"name\":\"3f816e19-cbf7-f192-a725-63c0ebe7d07d\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Genomics\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/7a37b2ec-b31a-5ca4-944c-84c916847ba1\",\"name\":\"7a37b2ec-b31a-5ca4-944c-84c916847ba1\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Graph Advanced APIs\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/e76cbe81-8c12-1f2f-85c7-6064644116a4\",\"name\":\"e76cbe81-8c12-1f2f-85c7-6064644116a4\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Graph Authentication and Authorization (Azure AD)\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/437e7d94-a4b3-68bd-a23a-087f528d47dd\",\"name\":\"437e7d94-a4b3-68bd-a23a-087f528d47dd\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Graph Files, Sites and Lists APIs\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/50a1a89e-a735-61ed-fcf6-770df069182a\",\"name\":\"50a1a89e-a735-61ed-fcf6-770df069182a\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Graph High-Capacity APIs\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/af52d398-4ddb-1e1d-2c6c-6767634b015e\",\"name\":\"af52d398-4ddb-1e1d-2c6c-6767634b015e\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Graph Messages, Calendar and Contacts APIs\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/c9a40005-5758-83c0-32b8-9e7910c21595\",\"name\":\"c9a40005-5758-83c0-32b8-9e7910c21595\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Graph Other Microsoft Graph APIs\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/46c9bb77-3f94-f481-375c-911d8f0f9a0e\",\"name\":\"46c9bb77-3f94-f481-375c-911d8f0f9a0e\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Graph Teamwork APIs (Teams)\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/53aa5987-de52-9110-f612-9fe34980e53a\",\"name\":\"53aa5987-de52-9110-f612-9fe34980e53a\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Graph Users, Groups, and Identity and Access APIs\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/389d15a1-c6fa-bbb6-f3fd-523a62a2b3c5\",\"name\":\"389d15a1-c6fa-bbb6-f3fd-523a62a2b3c5\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Intune\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/f2aa2432-80da-d759-72e7-9aec7cc0c2ed\",\"name\":\"f2aa2432-80da-d759-72e7-9aec7cc0c2ed\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Playwright Testing - Preview\",\"resourceTypes\":[\"Microsoft.AzurePlaywrightService/accounts\"]}},{\"id\":\"/providers/Microsoft.Support/services/a674bd96-b6a2-0636-3fb9-c665e6497b88\",\"name\":\"a674bd96-b6a2-0636-3fb9-c665e6497b88\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Purview\",\"resourceTypes\":[\"Microsoft.Purview/Accounts\"]}},{\"id\":\"/providers/Microsoft.Support/services/9cd60433-a646-8748-7e7f-fd0781fea78e\",\"name\":\"9cd60433-a646-8748-7e7f-fd0781fea78e\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Sentinel\",\"resourceTypes\":[\"Microsoft.SecurityInsightsArg/Sentinel\"]}},{\"id\":\"/providers/Microsoft.Support/services/5280bdc9-af4d-0716-24b9-4ec6b7523c01\",\"name\":\"5280bdc9-af4d-0716-24b9-4ec6b7523c01\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Microsoft Test Base\",\"resourceTypes\":[\"Microsoft.TestBase/testBaseAccounts/packages\",\"Microsoft.TestBase/testBaseAccounts\"]}},{\"id\":\"/providers/Microsoft.Support/services/4b38e388-9d77-9c61-da1e-4d92d751e51f\",\"name\":\"4b38e388-9d77-9c61-da1e-4d92d751e51f\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Modular Datacenter (MDC)\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/862cfc3c-3296-e210-caa9-716705ec3d34\",\"name\":\"862cfc3c-3296-e210-caa9-716705ec3d34\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Native New Relic Service\",\"resourceTypes\":[\"NewRelic.Observability\"]}},{\"id\":\"/providers/Microsoft.Support/services/b7743438-942e-ef29-9abc-589fd697fb9e\",\"name\":\"b7743438-942e-ef29-9abc-589fd697fb9e\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Network Performance Monitor (NPM)\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/01c5defa-028b-c44f-cefa-e5d836887f2e\",\"name\":\"01c5defa-028b-c44f-cefa-e5d836887f2e\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Network Virtual Appliance\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/29297681-a8c0-eaa9-341f-f72630a5b9c3\",\"name\":\"29297681-a8c0-eaa9-341f-f72630a5b9c3\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Network Watcher\",\"resourceTypes\":[\"Microsoft.Network/networkWatchers\",\"Microsoft.Network/networkWatchers/connectionMonitors\",\"Microsoft.Network/networkWatchers/flowLogs\",\"Microsoft.Network/networkWatchers/lenses\",\"Microsoft.Network/networkWatchers/pingMeshes\"]}},{\"id\":\"/providers/Microsoft.Support/services/b773917a-ba16-d351-b92e-3f0a6a2e65ac\",\"name\":\"b773917a-ba16-d351-b92e-3f0a6a2e65ac\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"NGINX on Azure\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/b9710604-e660-5d57-1b18-3aef73bd21d3\",\"name\":\"b9710604-e660-5d57-1b18-3aef73bd21d3\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Notification Hub\",\"resourceTypes\":[\"MICROSOFT.NOTIFICATIONHUBS/NAMESPACES\"]}},{\"id\":\"/providers/Microsoft.Support/services/e7735f37-971a-bdb3-8222-3628413e826a\",\"name\":\"e7735f37-971a-bdb3-8222-3628413e826a\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Nutanix Cluster on Azure\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/cac35d2a-0335-5628-57ff-db564fda4f3a\",\"name\":\"cac35d2a-0335-5628-57ff-db564fda4f3a\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Odyssey\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/176fac6b-1982-68b4-6f2e-3e5d3a0c99a4\",\"name\":\"176fac6b-1982-68b4-6f2e-3e5d3a0c99a4\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Open Datasets\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/7d7bdc73-e381-941a-28e6-b60656de5df0\",\"name\":\"7d7bdc73-e381-941a-28e6-b60656de5df0\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"OpenAI\",\"resourceTypes\":[\"Microsoft.CognitiveServices\",\"MICROSOFT.COGNITIVESERVICES/ACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/9b3c3bfb-dd53-97dc-1879-90567cfe2a7c\",\"name\":\"9b3c3bfb-dd53-97dc-1879-90567cfe2a7c\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Oracle Database@Azure\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/3e5e1bc3-2000-2473-a9cd-35edf7ae7f5f\",\"name\":\"3e5e1bc3-2000-2473-a9cd-35edf7ae7f5f\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Partner Solutions\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/fae15df4-4549-8074-e6ab-11ca2b5a1645\",\"name\":\"fae15df4-4549-8074-e6ab-11ca2b5a1645\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Peering Service\",\"resourceTypes\":[\"Microsoft.Peering/peerings\",\"Microsoft.Peering/peeringServices\"]}},{\"id\":\"/providers/Microsoft.Support/services/6d3f465f-843e-e142-40aa-fd1eda4c80c8\",\"name\":\"6d3f465f-843e-e142-40aa-fd1eda4c80c8\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Portal\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/8c9051b3-9579-a47e-8506-dd80435c8c6f\",\"name\":\"8c9051b3-9579-a47e-8506-dd80435c8c6f\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Power BI\",\"resourceTypes\":[\"Microsoft.PowerBIDedicated/Capacities\",\"Microsoft.Fabric\"]}},{\"id\":\"/providers/Microsoft.Support/services/86d840c0-45c7-7931-24bc-f976ddc54c1c\",\"name\":\"86d840c0-45c7-7931-24bc-f976ddc54c1c\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Power BI Report Server in VM\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/17cbfbe8-fbbe-a755-4cbc-14e025c370cd\",\"name\":\"17cbfbe8-fbbe-a755-4cbc-14e025c370cd\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"PyTorch Enterprise\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/5d4f816f-f02c-f8f8-a8f4-423509f8b036\",\"name\":\"5d4f816f-f02c-f8f8-a8f4-423509f8b036\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Queue Storage\",\"resourceTypes\":[\"MICROSOFT.CLASSICSTORAGE/STORAGEACCOUNTS\",\"MICROSOFT.STORAGE/STORAGEACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/351dadd2-b167-7960-06bc-be843b705826\",\"name\":\"351dadd2-b167-7960-06bc-be843b705826\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Relay\",\"resourceTypes\":[\"MICROSOFT.RELAY/NAMESPACES\"]}},{\"id\":\"/providers/Microsoft.Support/services/4b218fe9-a91b-9143-05e3-da8c5a9bd5c7\",\"name\":\"4b218fe9-a91b-9143-05e3-da8c5a9bd5c7\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Remote Rendering\",\"resourceTypes\":[\"Microsoft.MixedReality/RemoteRenderingAccounts\"]}},{\"id\":\"/providers/Microsoft.Support/services/c2804d27-8e0a-f2a3-8540-f4318f539ff6\",\"name\":\"c2804d27-8e0a-f2a3-8540-f4318f539ff6\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Role Based Access Control (RBAC) for Azure Resources (IAM)\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/dd1ed832-cfdd-b06b-d11b-77b590a10d4c\",\"name\":\"dd1ed832-cfdd-b06b-d11b-77b590a10d4c\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"SAP HANA Large Instance\",\"resourceTypes\":[\"Microsoft.HanaOnAzure/sapMonitors\",\"Microsoft.HanaOnAzure/hanaInstances\"]}},{\"id\":\"/providers/Microsoft.Support/services/f90fce27-e23e-9db8-cbf3-0f9a879b3a62\",\"name\":\"f90fce27-e23e-9db8-cbf3-0f9a879b3a62\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"SCOM Managed Instance\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/1b9679f1-9cb9-a8db-549e-2fcdfbb89e7c\",\"name\":\"1b9679f1-9cb9-a8db-549e-2fcdfbb89e7c\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Search\",\"resourceTypes\":[\"MICROSOFT.SEARCH/SEARCHSERVICES\"]}},{\"id\":\"/providers/Microsoft.Support/services/0abb876a-a5f2-b881-f49e-dc6157fd07bd\",\"name\":\"0abb876a-a5f2-b881-f49e-dc6157fd07bd\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Security Incident Response\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/06bfd9d3-516b-d5c6-5802-169c800dec89\",\"name\":\"06bfd9d3-516b-d5c6-5802-169c800dec89\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Service and subscription limits (quotas)\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/23e2c469-4b37-ebf5-0a3f-72e8b1407301\",\"name\":\"23e2c469-4b37-ebf5-0a3f-72e8b1407301\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Service Bus\",\"resourceTypes\":[\"MICROSOFT.SERVICEBUS/NAMESPACES\"]}},{\"id\":\"/providers/Microsoft.Support/services/a730ab7a-33ae-c83a-bca5-4935433e38ff\",\"name\":\"a730ab7a-33ae-c83a-bca5-4935433e38ff\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Service Fabric\",\"resourceTypes\":[\"MICROSOFT.SERVICEFABRIC/CLUSTERS\",\"Microsoft.ServiceFabric/managedclusters\"]}},{\"id\":\"/providers/Microsoft.Support/services/c9d3b345-6b9c-bc78-88f5-4867854e925a\",\"name\":\"c9d3b345-6b9c-bc78-88f5-4867854e925a\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Service Fabric Managed Cluster\",\"resourceTypes\":[\"Microsoft.ServiceFabric/managedclusters\",\"MICROSOFT.SERVICEFABRIC/CLUSTERS\"]}},{\"id\":\"/providers/Microsoft.Support/services/a76b7230-2d2f-b294-8189-319db5e5d116\",\"name\":\"a76b7230-2d2f-b294-8189-319db5e5d116\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Service Fabric on Linux\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/bfd77156-870d-17ee-c9d1-5450f390f63f\",\"name\":\"bfd77156-870d-17ee-c9d1-5450f390f63f\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"SignalR Service\",\"resourceTypes\":[\"Microsoft.SignalRService/SignalR\"]}},{\"id\":\"/providers/Microsoft.Support/services/e4ddc3b0-1e6d-aaa2-4279-8e5027351d76\",\"name\":\"e4ddc3b0-1e6d-aaa2-4279-8e5027351d76\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Spatial Anchors\",\"resourceTypes\":[\"Microsoft.MixedReality\"]}},{\"id\":\"/providers/Microsoft.Support/services/95412dd5-f222-a91f-98a6-144a84418c66\",\"name\":\"95412dd5-f222-a91f-98a6-144a84418c66\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"SQL Database\",\"resourceTypes\":[\"MICROSOFT.SQL/SERVERS\",\"MICROSOFT.SQL/SERVERS/DATABASES\",\"MICROSOFT.SQL/SERVERS/ELASTICPOOLS\"]}},{\"id\":\"/providers/Microsoft.Support/services/9b629e89-4ea0-53ec-9409-1579b8c41453\",\"name\":\"9b629e89-4ea0-53ec-9409-1579b8c41453\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"SQL Managed Instance\",\"resourceTypes\":[\"MICROSOFT.SQL/MANAGEDINSTANCES\"]}},{\"id\":\"/providers/Microsoft.Support/services/40ef020e-8ae7-8d57-b538-9153c47cee69\",\"name\":\"40ef020e-8ae7-8d57-b538-9153c47cee69\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"SQL Server in VM - Linux\",\"resourceTypes\":[\"MICROSOFT.CLASSICCOMPUTE/VIRTUALMACHINES\",\"MICROSOFT.COMPUTE/VIRTUALMACHINES\"]}},{\"id\":\"/providers/Microsoft.Support/services/53b14ef9-9b69-4d8c-a458-b8e4c132a815\",\"name\":\"53b14ef9-9b69-4d8c-a458-b8e4c132a815\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"SQL Server in VM - Windows\",\"resourceTypes\":[\"MICROSOFT.CLASSICCOMPUTE/VIRTUALMACHINES\",\"MICROSOFT.COMPUTE/VIRTUALMACHINES\",\"Microsoft.SqlVirtualMachine/sqlVirtualMachines\"]}},{\"id\":\"/providers/Microsoft.Support/services/0ef96678-fa9b-9ea2-2cdc-39ee36e1f4db\",\"name\":\"0ef96678-fa9b-9ea2-2cdc-39ee36e1f4db\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Start-Stop V2\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/94a7406a-b31a-86f8-49f9-377d30047b25\",\"name\":\"94a7406a-b31a-86f8-49f9-377d30047b25\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Static Web Apps\",\"resourceTypes\":[\"Microsoft.Web/staticSites\"]}},{\"id\":\"/providers/Microsoft.Support/services/6a9c20ed-85c7-c289-d5e2-560da8f2a7c8\",\"name\":\"6a9c20ed-85c7-c289-d5e2-560da8f2a7c8\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Storage Account Management\",\"resourceTypes\":[\"MICROSOFT.CLASSICSTORAGE/STORAGEACCOUNTS\",\"MICROSOFT.STORAGE/STORAGEACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/94c5f326-7ab1-6ef3-c3c0-8e0b5a584085\",\"name\":\"94c5f326-7ab1-6ef3-c3c0-8e0b5a584085\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Storage Explorer\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/30e73728-5d13-cbf4-5c57-3036ed1067fd\",\"name\":\"30e73728-5d13-cbf4-5c57-3036ed1067fd\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Stream Analytics\",\"resourceTypes\":[\"MICROSOFT.STREAMANALYTICS/STREAMINGJOBS\",\"MICROSOFT.STREAMANALYTICS/CLUSTERS\"]}},{\"id\":\"/providers/Microsoft.Support/services/f3dc5421-79ef-1efa-41a5-42bf3cbb52c6\",\"name\":\"f3dc5421-79ef-1efa-41a5-42bf3cbb52c6\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Subscription management\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/8418caaf-4634-b4c0-d9b6-27c266b6b67b\",\"name\":\"8418caaf-4634-b4c0-d9b6-27c266b6b67b\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Table Storage\",\"resourceTypes\":[\"MICROSOFT.CLASSICSTORAGE/STORAGEACCOUNTS\",\"MICROSOFT.STORAGE/STORAGEACCOUNTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/e4d6b9b0-79d5-3133-c4db-460a39e8a622\",\"name\":\"e4d6b9b0-79d5-3133-c4db-460a39e8a622\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Time Series Insights\",\"resourceTypes\":[\"MICROSOFT.TIMESERIESINSIGHTS/ENVIRONMENTS\"]}},{\"id\":\"/providers/Microsoft.Support/services/66fff2d6-c34e-ac9b-d1ba-6631ab20989e\",\"name\":\"66fff2d6-c34e-ac9b-d1ba-6631ab20989e\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Traffic Manager - DNS based load balancing\",\"resourceTypes\":[\"MICROSOFT.NETWORK/TRAFFICMANAGERPROFILES\"]}},{\"id\":\"/providers/Microsoft.Support/services/99dd2657-2a74-8c5a-951f-23abdd7851c6\",\"name\":\"99dd2657-2a74-8c5a-951f-23abdd7851c6\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Universal Print\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/722ccc66-c988-d2ac-1ec6-b7aebc857f2d\",\"name\":\"722ccc66-c988-d2ac-1ec6-b7aebc857f2d\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Virtual Machine running Citrix\",\"resourceTypes\":[\"MICROSOFT.CLASSICCOMPUTE/VIRTUALMACHINES\",\"MICROSOFT.COMPUTE/VIRTUALMACHINES\"]}},{\"id\":\"/providers/Microsoft.Support/services/b6492139-637a-c445-ee02-5dc6749337c3\",\"name\":\"b6492139-637a-c445-ee02-5dc6749337c3\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Virtual Machine running Cloud Foundry\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc\",\"name\":\"cddd3eb5-1830-b494-44fd-782f691479dc\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Virtual Machine running Linux\",\"resourceTypes\":[\"MICROSOFT.CLASSICCOMPUTE/VIRTUALMACHINES\",\"MICROSOFT.COMPUTE/VIRTUALMACHINES\"]}},{\"id\":\"/providers/Microsoft.Support/services/de8937fc-74cc-daa7-2639-e1fe433dcb87\",\"name\":\"de8937fc-74cc-daa7-2639-e1fe433dcb87\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Virtual Machine running RedHat\",\"resourceTypes\":[\"MICROSOFT.CLASSICCOMPUTE/VIRTUALMACHINES\",\"MICROSOFT.COMPUTE/VIRTUALMACHINES\"]}},{\"id\":\"/providers/Microsoft.Support/services/f66fac5c-01e5-e8db-2ef8-e1a98a88e214\",\"name\":\"f66fac5c-01e5-e8db-2ef8-e1a98a88e214\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Virtual Machine running SAP\",\"resourceTypes\":[\"MICROSOFT.COMPUTE/VIRTUALMACHINES\"]}},{\"id\":\"/providers/Microsoft.Support/services/98e5cec8-2650-28c1-92e8-0ecaa232eec0\",\"name\":\"98e5cec8-2650-28c1-92e8-0ecaa232eec0\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Virtual Machine running SUSE\",\"resourceTypes\":[\"Microsoft.Compute/virtualmachines\"]}},{\"id\":\"/providers/Microsoft.Support/services/2340ae8b-c745-572f-6ea8-661d68c08bd7\",\"name\":\"2340ae8b-c745-572f-6ea8-661d68c08bd7\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Virtual Machine running Ubuntu\",\"resourceTypes\":[\"MICROSOFT.CLASSICCOMPUTE/VIRTUALMACHINES\",\"MICROSOFT.COMPUTE/VIRTUALMACHINES\"]}},{\"id\":\"/providers/Microsoft.Support/services/6f16735c-b0ae-b275-ad3a-03479cfa1396\",\"name\":\"6f16735c-b0ae-b275-ad3a-03479cfa1396\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Virtual Machine running Windows\",\"resourceTypes\":[\"MICROSOFT.CLASSICCOMPUTE/VIRTUALMACHINES\",\"MICROSOFT.COMPUTE/VIRTUALMACHINES\"]}},{\"id\":\"/providers/Microsoft.Support/services/e9e31931-21fa-d50a-e6e7-e37d5d784591\",\"name\":\"e9e31931-21fa-d50a-e6e7-e37d5d784591\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Virtual Machine Scale Sets\",\"resourceTypes\":[\"MICROSOFT.COMPUTE/VIRTUALMACHINESCALESETS\",\"Microsoft.Compute/virtualMachineScaleSets/virtualMachines\"]}},{\"id\":\"/providers/Microsoft.Support/services/b25271d3-6431-dfbc-5f12-5693326809b3\",\"name\":\"b25271d3-6431-dfbc-5f12-5693326809b3\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Virtual Network\",\"resourceTypes\":[\"MICROSOFT.NETWORK/VIRTUALNETWORKS\",\"MICROSOFT.CLASSICNETWORK/VIRTUALNETWORKS\"]}},{\"id\":\"/providers/Microsoft.Support/services/e980d0ab-c6c3-894b-8a1d-74564e159e3b\",\"name\":\"e980d0ab-c6c3-894b-8a1d-74564e159e3b\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Virtual Network NAT\",\"resourceTypes\":[\"Microsoft.Network/NATGateways\"]}},{\"id\":\"/providers/Microsoft.Support/services/d3b69052-33aa-55e7-6d30-ebb7040f9766\",\"name\":\"d3b69052-33aa-55e7-6d30-ebb7040f9766\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Virtual WAN\",\"resourceTypes\":[\"MICROSOFT.NETWORK/VIRTUALWANS\",\"MICROSOFT.NETWORK/virtualHubs\"]}},{\"id\":\"/providers/Microsoft.Support/services/4268a408-46cf-347c-6806-09dc5967d2f6\",\"name\":\"4268a408-46cf-347c-6806-09dc5967d2f6\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"VM insights\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/5a813df8-0060-7015-892d-9f17015a6706\",\"name\":\"5a813df8-0060-7015-892d-9f17015a6706\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"VPN Gateway\",\"resourceTypes\":[\"MICROSOFT.NETWORK/VIRTUALNETWORKGATEWAYS\",\"MICROSOFT.NETWORK/CONNECTIONS\"]}},{\"id\":\"/providers/Microsoft.Support/services/b452a42b-3779-64de-532c-8a32738357a6\",\"name\":\"b452a42b-3779-64de-532c-8a32738357a6\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Web App (Linux)\",\"resourceTypes\":[\"MICROSOFT.WEB/SITES\"]}},{\"id\":\"/providers/Microsoft.Support/services/1890289e-747c-7ef6-b4f5-b1dbb0bead28\",\"name\":\"1890289e-747c-7ef6-b4f5-b1dbb0bead28\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Web App (Windows)\",\"resourceTypes\":[\"MICROSOFT.WEB/SITES\"]}},{\"id\":\"/providers/Microsoft.Support/services/d40f17bb-8b19-117c-f69a-d1be4187f657\",\"name\":\"d40f17bb-8b19-117c-f69a-d1be4187f657\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Web App for Containers\",\"resourceTypes\":[\"MICROSOFT.WEB/SITES\"]}},{\"id\":\"/providers/Microsoft.Support/services/272fd66a-e8b1-260f-0066-01caae8895cf\",\"name\":\"272fd66a-e8b1-260f-0066-01caae8895cf\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Web App on Azure Arc\",\"resourceTypes\":[\"Microsoft.Web/Sites\"]}},{\"id\":\"/providers/Microsoft.Support/services/6ad1058f-d6a2-bfcb-9aad-1ab895e39c02\",\"name\":\"6ad1058f-d6a2-bfcb-9aad-1ab895e39c02\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Web Application Firewall (WAF)\",\"resourceTypes\":[\"Microsoft.Network/FrontDoorWebApplicationFirewallPolicies\",\"Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies\"]}},{\"id\":\"/providers/Microsoft.Support/services/f7eb21eb-eb80-8817-4bd8-c0d89e93833b\",\"name\":\"f7eb21eb-eb80-8817-4bd8-c0d89e93833b\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Windows Admin Center in the Azure Portal\",\"resourceTypes\":[]}},{\"id\":\"/providers/Microsoft.Support/services/66ea76c9-5d31-568e-cf01-919415d2756c\",\"name\":\"66ea76c9-5d31-568e-cf01-919415d2756c\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Windows Update for Business Reports\",\"resourceTypes\":[]}}]}", + "isContentBase64": false + } + }, + "Get-AzSupportService+[NoContext]+Get+$GET+https://management.azure.com/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc?api-version=2022-09-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "e55e46b4-a52f-4b6f-a938-3250d17730d1" ], + "CommandName": [ "Get-AzSupportService" ], + "FullCommandName": [ "Get-AzSupportService_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.3.11", "Az.Support/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "81ed0df1-1114-42c1-86e8-877f8d75e7d6" ], + "x-ms-correlation-request-id": [ "81ed0df1-1114-42c1-86e8-877f8d75e7d6" ], + "x-ms-routing-request-id": [ "EASTUS:20240126T203957Z:81ed0df1-1114-42c1-86e8-877f8d75e7d6" ], + "Date": [ "Fri, 26 Jan 2024 20:39:57 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "223" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc\",\"name\":\"517f2da6-78fd-0498-4e22-ad26996b1dfc\",\"type\":\"Microsoft.Support/services\",\"properties\":{\"displayName\":\"Billing\",\"resourceTypes\":[]}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/Support/Support.Autorest/test/Get-AzSupportService.Tests.ps1 b/src/Support/Support.Autorest/test/Get-AzSupportService.Tests.ps1 index b40d7bf565ed..7eef43b9215b 100644 --- a/src/Support/Support.Autorest/test/Get-AzSupportService.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Get-AzSupportService.Tests.ps1 @@ -15,12 +15,14 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSupportService')) } Describe 'Get-AzSupportService' { - It 'List' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw + It 'List' { + $services = Get-AzSupportService + $services.Count | Should -BeGreaterThan 1 } - It 'Get' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw + It 'Get' { + $service = Get-AzSupportService -Name $env.BillingServiceId + $service.Count | Should -Be 1 } It 'GetViaIdentity' -skip { diff --git a/src/Support/Support.Autorest/test/Get-AzSupportTicketChatTranscript.Tests.ps1 b/src/Support/Support.Autorest/test/Get-AzSupportTicketChatTranscript.Tests.ps1 new file mode 100644 index 000000000000..cac5393da160 --- /dev/null +++ b/src/Support/Support.Autorest/test/Get-AzSupportTicketChatTranscript.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSupportTicketChatTranscript')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzSupportTicketChatTranscript.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzSupportTicketChatTranscript' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Support/Support.Autorest/test/Get-AzSupportTicketCommunication.Tests.ps1 b/src/Support/Support.Autorest/test/Get-AzSupportTicketCommunication.Tests.ps1 new file mode 100644 index 000000000000..e4e95cc60f9a --- /dev/null +++ b/src/Support/Support.Autorest/test/Get-AzSupportTicketCommunication.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSupportTicketCommunication')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzSupportTicketCommunication.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzSupportTicketCommunication' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Support/Support.Autorest/test/New-AzSupportFileAndUpload.Recording.json b/src/Support/Support.Autorest/test/New-AzSupportFileAndUpload.Recording.json new file mode 100644 index 000000000000..50814bb9bfc5 --- /dev/null +++ b/src/Support/Support.Autorest/test/New-AzSupportFileAndUpload.Recording.json @@ -0,0 +1,73 @@ +{ + "New-AzSupportFileAndUpload+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-d72bd42e-ad79-4554-80e9-d5bb00aa45b7/files/test.txt?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-d72bd42e-ad79-4554-80e9-d5bb00aa45b7/files/test.txt?api-version=2022-09-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"chunkSize\": 4,\r\n \"fileSize\": 4,\r\n \"numberOfChunks\": 1\r\n }\r\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "94" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-d72bd42e-ad79-4554-80e9-d5bb00aa45b7/files/test.txt?api-version=2022-09-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-request-id": [ "59d1b08c-31eb-494d-bc25-093d996dc150" ], + "x-ms-correlation-request-id": [ "59d1b08c-31eb-494d-bc25-093d996dc150" ], + "x-ms-routing-request-id": [ "EASTUS:20240131T163511Z:59d1b08c-31eb-494d-bc25-093d996dc150" ], + "Date": [ "Wed, 31 Jan 2024 16:35:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "310" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-d72bd42e-ad79-4554-80e9-d5bb00aa45b7/files/test.txt\",\"name\":\"test.txt\",\"type\":\"Microsoft.Support/files\",\"properties\":{\"createdOn\":\"2024-01-31T16:35:10Z\",\"fileSize\":4,\"chunkSize\":4,\"numberOfChunks\":1}}", + "isContentBase64": false + } + }, + "New-AzSupportFileAndUpload+[NoContext]+CreateExpanded+$POST+https://management.azure.com/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-d72bd42e-ad79-4554-80e9-d5bb00aa45b7/files/test.txt/upload?api-version=2022-09-01-preview+2": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-d72bd42e-ad79-4554-80e9-d5bb00aa45b7/files/test.txt/upload?api-version=2022-09-01-preview", + "Content": "{\r\n \"content\": \"dGVzdA==\",\r\n \"chunkIndex\": 0\r\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "49" ] + } + }, + "Response": { + "StatusCode": 204, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-request-id": [ "1d4dcc21-8c17-4221-a9a0-eb135707f438" ], + "x-ms-correlation-request-id": [ "1d4dcc21-8c17-4221-a9a0-eb135707f438" ], + "x-ms-routing-request-id": [ "EASTUS:20240131T163514Z:1d4dcc21-8c17-4221-a9a0-eb135707f438" ], + "Date": [ "Wed, 31 Jan 2024 16:35:14 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ] + }, + "Content": null, + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/Support/Support.Autorest/test/New-AzSupportFileAndUpload.Tests.ps1 b/src/Support/Support.Autorest/test/New-AzSupportFileAndUpload.Tests.ps1 new file mode 100644 index 000000000000..1c7284f58000 --- /dev/null +++ b/src/Support/Support.Autorest/test/New-AzSupportFileAndUpload.Tests.ps1 @@ -0,0 +1,23 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzSupportFileAndUpload')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzSupportFileAndUpload.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzSupportFileAndUpload' { + It 'CreateExpanded' { + $testFilePath = Join-Path $PSScriptRoot files test.txt + $file = New-AzSupportFileAndUpload -WorkspaceName $env.FileWorkspaceNameSubscription -FilePath $testFilePath + $file.Name | Should -Be "test.txt" + } +} diff --git a/src/Support/Support.Autorest/test/New-AzSupportFileAndUploadNoSubscription.Recording.json b/src/Support/Support.Autorest/test/New-AzSupportFileAndUploadNoSubscription.Recording.json new file mode 100644 index 000000000000..8ff312c7cc3f --- /dev/null +++ b/src/Support/Support.Autorest/test/New-AzSupportFileAndUploadNoSubscription.Recording.json @@ -0,0 +1,73 @@ +{ + "New-AzSupportFileAndUploadNoSubscription+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/providers/Microsoft.Support/fileWorkspaces/test-ps-afd5e347-4c0f-444d-9119-8a0dcb829c96/files/test.txt?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/providers/Microsoft.Support/fileWorkspaces/test-ps-afd5e347-4c0f-444d-9119-8a0dcb829c96/files/test.txt?api-version=2022-09-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"chunkSize\": 4,\r\n \"fileSize\": 4,\r\n \"numberOfChunks\": 1\r\n }\r\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "94" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/providers/Microsoft.Support/fileWorkspaces/test-ps-afd5e347-4c0f-444d-9119-8a0dcb829c96/files/test.txt?api-version=2022-09-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-tenant-writes": [ "1198" ], + "x-ms-request-id": [ "90f689f2-0343-48f3-8966-a163ab814972" ], + "x-ms-correlation-request-id": [ "90f689f2-0343-48f3-8966-a163ab814972" ], + "x-ms-routing-request-id": [ "EASTUS:20240131T180407Z:90f689f2-0343-48f3-8966-a163ab814972" ], + "Date": [ "Wed, 31 Jan 2024 18:04:07 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "259" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.Support/fileWorkspaces/test-ps-afd5e347-4c0f-444d-9119-8a0dcb829c96/files/test.txt\",\"name\":\"test.txt\",\"type\":\"Microsoft.Support/files\",\"properties\":{\"createdOn\":\"2024-01-31T18:04:07Z\",\"fileSize\":4,\"chunkSize\":4,\"numberOfChunks\":1}}", + "isContentBase64": false + } + }, + "New-AzSupportFileAndUploadNoSubscription+[NoContext]+CreateExpanded+$POST+https://management.azure.com/providers/Microsoft.Support/fileWorkspaces/test-ps-afd5e347-4c0f-444d-9119-8a0dcb829c96/files/test.txt/upload?api-version=2022-09-01-preview+2": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/providers/Microsoft.Support/fileWorkspaces/test-ps-afd5e347-4c0f-444d-9119-8a0dcb829c96/files/test.txt/upload?api-version=2022-09-01-preview", + "Content": "{\r\n \"content\": \"dGVzdA==\",\r\n \"chunkIndex\": 0\r\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "49" ] + } + }, + "Response": { + "StatusCode": 204, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-tenant-writes": [ "1197" ], + "x-ms-request-id": [ "32e8ee90-14b3-44b3-9577-fdda5b088188" ], + "x-ms-correlation-request-id": [ "32e8ee90-14b3-44b3-9577-fdda5b088188" ], + "x-ms-routing-request-id": [ "EASTUS:20240131T180411Z:32e8ee90-14b3-44b3-9577-fdda5b088188" ], + "Date": [ "Wed, 31 Jan 2024 18:04:10 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ] + }, + "Content": null, + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/Support/Support.Autorest/test/New-AzSupportFileAndUploadNoSubscription.Tests.ps1 b/src/Support/Support.Autorest/test/New-AzSupportFileAndUploadNoSubscription.Tests.ps1 new file mode 100644 index 000000000000..9147215ea806 --- /dev/null +++ b/src/Support/Support.Autorest/test/New-AzSupportFileAndUploadNoSubscription.Tests.ps1 @@ -0,0 +1,23 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzSupportFileAndUploadNoSubscription')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzSupportFileAndUploadNoSubscription.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzSupportFileAndUploadNoSubscription' { + It 'CreateExpanded' { + $testFilePath = Join-Path $PSScriptRoot files test.txt + $file = New-AzSupportFileAndUploadNoSubscription -WorkspaceName $env.FileWorkspaceNameNoSubscription -FilePath $testFilePath + $file.Name | Should -Be "test.txt" + } +} diff --git a/src/Support/Support.Autorest/test/New-AzSupportFileWorkspace.Recording.json b/src/Support/Support.Autorest/test/New-AzSupportFileWorkspace.Recording.json new file mode 100644 index 000000000000..26594e5799c1 --- /dev/null +++ b/src/Support/Support.Autorest/test/New-AzSupportFileWorkspace.Recording.json @@ -0,0 +1,44 @@ +{ + "New-AzSupportFileWorkspace+[NoContext]+Create+$PUT+https://management.azure.com/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-788d2c69-ffb3-4b2e-96a0-769089ff7a7a?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-788d2c69-ffb3-4b2e-96a0-769089ff7a7a?api-version=2022-09-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "404e71fa-2256-4f86-975a-efddc3ddead2" ], + "CommandName": [ "New-AzSupportFileWorkspace" ], + "FullCommandName": [ "New-AzSupportFileWorkspace_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.3.11", "Az.Support/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-788d2c69-ffb3-4b2e-96a0-769089ff7a7a?api-version=2022-09-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-request-id": [ "acf571a2-cd60-48a9-969c-fa62dcb4ef9e" ], + "x-ms-correlation-request-id": [ "acf571a2-cd60-48a9-969c-fa62dcb4ef9e" ], + "x-ms-routing-request-id": [ "EASTUS:20240129T212426Z:acf571a2-cd60-48a9-969c-fa62dcb4ef9e" ], + "Date": [ "Mon, 29 Jan 2024 21:24:25 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "334" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/fileWorkspaces/test-ps-788d2c69-ffb3-4b2e-96a0-769089ff7a7a\",\"name\":\"test-ps-788d2c69-ffb3-4b2e-96a0-769089ff7a7a\",\"type\":\"Microsoft.Support/fileWorkspaces\",\"properties\":{\"expirationTime\":\"2024-01-30T21:24:25Z\",\"createdOn\":\"2024-01-29T21:24:25Z\"}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/Support/Support.Autorest/test/New-AzSupportFileWorkspace.Tests.ps1 b/src/Support/Support.Autorest/test/New-AzSupportFileWorkspace.Tests.ps1 new file mode 100644 index 000000000000..c51b43b0ad52 --- /dev/null +++ b/src/Support/Support.Autorest/test/New-AzSupportFileWorkspace.Tests.ps1 @@ -0,0 +1,23 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzSupportFileWorkspace')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzSupportFileWorkspace.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzSupportFileWorkspace' { + It 'Create' { + $fileWorkspaceName = "test-ps-$(New-Guid)" + $fileWorkspace = New-AzSupportFileWorkspace -Name $fileWorkspaceName -SubscriptionId $env.SubscriptionId + $fileWorkspace.Name | Should -Be $fileWorkspaceName + } +} diff --git a/src/Support/Support.Autorest/test/New-AzSupportFileWorkspacesNoSubscription.Recording.json b/src/Support/Support.Autorest/test/New-AzSupportFileWorkspacesNoSubscription.Recording.json new file mode 100644 index 000000000000..f49b88833ebf --- /dev/null +++ b/src/Support/Support.Autorest/test/New-AzSupportFileWorkspacesNoSubscription.Recording.json @@ -0,0 +1,44 @@ +{ + "New-AzSupportFileWorkspacesNoSubscription+[NoContext]+Create+$PUT+https://management.azure.com/providers/Microsoft.Support/fileWorkspaces/test-ps-a169629b-d263-4ba1-872a-0d79019ca2d3?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/providers/Microsoft.Support/fileWorkspaces/test-ps-a169629b-d263-4ba1-872a-0d79019ca2d3?api-version=2022-09-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "6003c6f3-0370-42db-9fb6-2e20da8b2a7b" ], + "CommandName": [ "New-AzSupportFileWorkspacesNoSubscription" ], + "FullCommandName": [ "New-AzSupportFileWorkspacesNoSubscription_Create" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.3.11", "Az.Support/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/providers/Microsoft.Support/fileWorkspaces/test-ps-a169629b-d263-4ba1-872a-0d79019ca2d3?api-version=2022-09-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-tenant-writes": [ "1199" ], + "x-ms-request-id": [ "14af729f-4c8b-487d-a086-58b16d9d19f8" ], + "x-ms-correlation-request-id": [ "14af729f-4c8b-487d-a086-58b16d9d19f8" ], + "x-ms-routing-request-id": [ "EASTUS:20240129T212541Z:14af729f-4c8b-487d-a086-58b16d9d19f8" ], + "Date": [ "Mon, 29 Jan 2024 21:25:40 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "283" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.Support/fileWorkspaces/test-ps-a169629b-d263-4ba1-872a-0d79019ca2d3\",\"name\":\"test-ps-a169629b-d263-4ba1-872a-0d79019ca2d3\",\"type\":\"Microsoft.Support/fileWorkspaces\",\"properties\":{\"expirationTime\":\"2024-01-30T21:25:41Z\",\"createdOn\":\"2024-01-29T21:25:41Z\"}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/Support/Support.Autorest/test/New-AzSupportFileWorkspacesNoSubscription.Tests.ps1 b/src/Support/Support.Autorest/test/New-AzSupportFileWorkspacesNoSubscription.Tests.ps1 new file mode 100644 index 000000000000..2457c99c7018 --- /dev/null +++ b/src/Support/Support.Autorest/test/New-AzSupportFileWorkspacesNoSubscription.Tests.ps1 @@ -0,0 +1,23 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzSupportFileWorkspacesNoSubscription')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzSupportFileWorkspacesNoSubscription.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzSupportFileWorkspacesNoSubscription' { + It 'Create' { + $fileWorkspaceName = "test-ps-$(New-Guid)" + $fileWorkspace = New-AzSupportFileWorkspacesNoSubscription -Name $fileWorkspaceName + $fileWorkspace.Name | Should -Be $fileWorkspaceName + } +} diff --git a/src/Support/Support.Autorest/test/Test-AzSupportTicketNameAvailability.Recording.json b/src/Support/Support.Autorest/test/Test-AzSupportTicketNameAvailability.Recording.json new file mode 100644 index 000000000000..8336a09cf17e --- /dev/null +++ b/src/Support/Support.Autorest/test/Test-AzSupportTicketNameAvailability.Recording.json @@ -0,0 +1,38 @@ +{ + "Test-AzSupportTicketNameAvailability+[NoContext]+CheckExpanded+$POST+https://management.azure.com/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/checkNameAvailability?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/4df09db9-7a7e-450b-8f88-00fb97c277bd/providers/Microsoft.Support/checkNameAvailability?api-version=2022-09-01-preview", + "Content": "{\r\n \"name\": \"test-ps-42dbecba-4472-40af-9db4-1c0f1e9780a1\",\r\n \"type\": \"Microsoft.Support/supportTickets\"\r\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "109" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-request-id": [ "2f30b178-d575-4095-9ee7-4ac5f905706f" ], + "x-ms-correlation-request-id": [ "2f30b178-d575-4095-9ee7-4ac5f905706f" ], + "x-ms-routing-request-id": [ "EASTUS:20240130T171835Z:2f30b178-d575-4095-9ee7-4ac5f905706f" ], + "Date": [ "Tue, 30 Jan 2024 17:18:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "22" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"nameAvailable\":true}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/Support/Support.Autorest/test/Test-AzSupportTicketNameAvailability.Tests.ps1 b/src/Support/Support.Autorest/test/Test-AzSupportTicketNameAvailability.Tests.ps1 index ffd0b95d403f..23b7ef6b16d4 100644 --- a/src/Support/Support.Autorest/test/Test-AzSupportTicketNameAvailability.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Test-AzSupportTicketNameAvailability.Tests.ps1 @@ -15,8 +15,14 @@ if(($null -eq $TestName) -or ($TestName -contains 'Test-AzSupportTicketNameAvail } Describe 'Test-AzSupportTicketNameAvailability' { - It 'CheckExpanded' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw + It 'CheckExpandedSupportTicket' { + $supportTicketResult = Test-AzSupportTicketNameAvailability -Name "test-ps-$(New-Guid)" -Type "Microsoft.Support/supportTickets"-SubscriptionId $env.SubscriptionId + $supportTicketResult.NameAvailable | Should -Be $true + } + + It 'CheckExpandedFileWorkspace' { + $fileWorkspaceResult = Test-AzSupportTicketNameAvailability -Name "test-ps-$(New-Guid)" -Type "Microsoft.Support/fileWorkspaces" -SubscriptionId $env.SubscriptionId + $fileWorkspaceResult.NameAvailable | Should -Be $true } It 'Check' -skip { diff --git a/src/Support/Support.Autorest/test/Test-AzSupportTicketsNoSubscriptionNameAvailability.Recording.json b/src/Support/Support.Autorest/test/Test-AzSupportTicketsNoSubscriptionNameAvailability.Recording.json new file mode 100644 index 000000000000..3f622f760e71 --- /dev/null +++ b/src/Support/Support.Autorest/test/Test-AzSupportTicketsNoSubscriptionNameAvailability.Recording.json @@ -0,0 +1,38 @@ +{ + "Test-AzSupportTicketsNoSubscriptionNameAvailability+[NoContext]+CheckExpanded+$POST+https://management.azure.com/providers/Microsoft.Support/checkNameAvailability?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/providers/Microsoft.Support/checkNameAvailability?api-version=2022-09-01-preview", + "Content": "{\r\n \"name\": \"test-ps-f0f0df36-66f3-4f4e-9686-80a68bb9d53d\",\r\n \"type\": \"Microsoft.Support/supportTickets\"\r\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "109" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-tenant-writes": [ "1199" ], + "x-ms-request-id": [ "746f8be3-9ba4-4323-93fa-3567dff84f3f" ], + "x-ms-correlation-request-id": [ "746f8be3-9ba4-4323-93fa-3567dff84f3f" ], + "x-ms-routing-request-id": [ "EASTUS:20240130T172214Z:746f8be3-9ba4-4323-93fa-3567dff84f3f" ], + "Date": [ "Tue, 30 Jan 2024 17:22:14 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "22" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"nameAvailable\":true}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/Support/Support.Autorest/test/Test-AzSupportTicketsNoSubscriptionNameAvailability.Tests.ps1 b/src/Support/Support.Autorest/test/Test-AzSupportTicketsNoSubscriptionNameAvailability.Tests.ps1 index 61df07f6abf0..1840501c8f89 100644 --- a/src/Support/Support.Autorest/test/Test-AzSupportTicketsNoSubscriptionNameAvailability.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Test-AzSupportTicketsNoSubscriptionNameAvailability.Tests.ps1 @@ -15,8 +15,14 @@ if(($null -eq $TestName) -or ($TestName -contains 'Test-AzSupportTicketsNoSubscr } Describe 'Test-AzSupportTicketsNoSubscriptionNameAvailability' { - It 'CheckExpanded' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw + It 'CheckExpandedSupportTicket' { + $supportTicketResult = Test-AzSupportTicketsNoSubscriptionNameAvailability -Name "test-ps-$(New-Guid)" -Type "Microsoft.Support/supportTickets" + $supportTicketResult.NameAvailable | Should -Be $true + } + + It 'CheckExpandedFileWorkspace' { + $fileWorkspaceResult = Test-AzSupportTicketsNoSubscriptionNameAvailability -Name "test-ps-$(New-Guid)" -Type "Microsoft.Support/fileWorkspaces" + $fileWorkspaceResult.NameAvailable | Should -Be $true } It 'Check' -skip { diff --git a/src/Support/Support.Autorest/test/env.json b/src/Support/Support.Autorest/test/env.json new file mode 100644 index 000000000000..c70f4f91f415 --- /dev/null +++ b/src/Support/Support.Autorest/test/env.json @@ -0,0 +1,8 @@ +{ + "SubscriptionId": "4df09db9-7a7e-450b-8f88-00fb97c277bd", + "FileWorkspaceNameSubscription": "test-ps-1c0f34c3-a77f-48f8-92ed-4bc40297b575", + "FileWorkspaceNameNoSubscription": "test-ps-c3365113-f08e-4317-936c-3d948a9dc191", + "Tenant": "d71d46f6-114f-4d2a-81c9-8fc86ba8801c", + "BillingServiceId": "517f2da6-78fd-0498-4e22-ad26996b1dfc", + "BillingProblemClassificationId": "d0f16bf7-e011-3f3b-1c26-3147f84e0896" +} diff --git a/src/Support/Support.Autorest/test/files/test.txt b/src/Support/Support.Autorest/test/files/test.txt new file mode 100644 index 000000000000..30d74d258442 --- /dev/null +++ b/src/Support/Support.Autorest/test/files/test.txt @@ -0,0 +1 @@ +test \ No newline at end of file diff --git a/src/Support/Support.Autorest/test/files/test2.txt b/src/Support/Support.Autorest/test/files/test2.txt new file mode 100644 index 000000000000..30d74d258442 --- /dev/null +++ b/src/Support/Support.Autorest/test/files/test2.txt @@ -0,0 +1 @@ +test \ No newline at end of file diff --git a/src/Support/Support.Autorest/test/localEnv.json b/src/Support/Support.Autorest/test/localEnv.json new file mode 100644 index 000000000000..87d43c27480d --- /dev/null +++ b/src/Support/Support.Autorest/test/localEnv.json @@ -0,0 +1,6 @@ +{ + "SubscriptionId": "4df09db9-7a7e-450b-8f88-00fb97c277bd", + "Tenant": "d71d46f6-114f-4d2a-81c9-8fc86ba8801c", + "BillingProblemClassificationId": "d0f16bf7-e011-3f3b-1c26-3147f84e0896", + "BillingServiceId": "517f2da6-78fd-0498-4e22-ad26996b1dfc" +} diff --git a/src/Support/Support.Autorest/test/utils.ps1 b/src/Support/Support.Autorest/test/utils.ps1 index f8497fbd7da0..413e85fecd45 100644 --- a/src/Support/Support.Autorest/test/utils.ps1 +++ b/src/Support/Support.Autorest/test/utils.ps1 @@ -43,7 +43,20 @@ function setupEnv() { # as default. You could change them if needed. $env.SubscriptionId = (Get-AzContext).Subscription.Id $env.Tenant = (Get-AzContext).Tenant.Id + $env.BillingServiceId = "517f2da6-78fd-0498-4e22-ad26996b1dfc" + $env.BillingProblemClassificationId = "d0f16bf7-e011-3f3b-1c26-3147f84e0896" # For any resources you created for test, you should add it to $env here. + + $env.FileWorkspaceNameSubscription = "test-ps-$(New-Guid)" + $env.FileWorkspaceNameNoSubscription = "test-ps-$(New-Guid)" + + New-AzSupportFileWorkspace -Name $env.FileWorkspaceNameSubscription + New-AzSupportFileWorkspacesNoSubscription -Name $env.FileWorkspaceNameNoSubscription + + $testFilePath = Join-Path $PSScriptRoot files test2.txt + New-AzSupportFileAndUpload -WorkspaceName $env.FileWorkspaceNameSubscription -FilePath $testFilePath + New-AzSupportFileAndUploadNoSubscription -WorkspaceName $env.FileWorkspaceNameNoSubscription -FilePath $testFilePath + $envFile = 'env.json' if ($TestMode -eq 'live') { $envFile = 'localEnv.json' diff --git a/tools/AzPreview/AzPreview.psm1 b/tools/AzPreview/AzPreview.psm1 new file mode 100644 index 000000000000..8d37550dd09b --- /dev/null +++ b/tools/AzPreview/AzPreview.psm1 @@ -0,0 +1,308 @@ +# +# Script module for module 'AzPreview' that is executed when 'AzPreview' is imported in a PowerShell session. +# +# Generated by: Microsoft Corporation +# +# Generated on: 01/25/2024 10:17:44 +# + +$PSDefaultParameterValues.Clear() +Set-StrictMode -Version Latest + +function Test-DotNet +{ + try + { + if ((Get-PSDrive 'HKLM' -ErrorAction Ignore) -and (-not (Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\' -ErrorAction Stop | Get-ItemPropertyValue -ErrorAction Stop -Name Release | Where-Object { $_ -ge 461808 }))) + { + throw ".NET Framework versions lower than 4.7.2 are not supported in Az. Please upgrade to .NET Framework 4.7.2 or higher." + } + } + catch [System.Management.Automation.DriveNotFoundException] + { + Write-Verbose ".NET Framework version check failed." + } +} + +function Preload-Assembly { + param ( + [string] + $AssemblyDirectory + ) + if($PSEdition -eq 'Desktop' -and (Test-Path $AssemblyDirectory -ErrorAction Ignore)) + { + try + { + Get-ChildItem -ErrorAction Stop -Path $AssemblyDirectory -Filter "*.dll" | ForEach-Object { + try + { + Add-Type -Path $_.FullName -ErrorAction Ignore | Out-Null + } + catch { + Write-Verbose $_ + } + } + } + catch {} + } +} + +if ($true -and ($PSEdition -eq 'Desktop')) +{ + if ($PSVersionTable.PSVersion -lt [Version]'5.1') + { + throw "PowerShell versions lower than 5.1 are not supported in Az. Please upgrade to PowerShell 5.1 or higher." + } + + Test-DotNet +} + +if ($true -and ($PSEdition -eq 'Core')) +{ + if ($PSVersionTable.PSVersion -lt [Version]'6.2.4') + { + throw "Current Az version doesn't support PowerShell Core versions lower than 6.2.4. Please upgrade to PowerShell Core 6.2.4 or higher." + } +} + +if (Test-Path -Path "$PSScriptRoot\StartupScripts" -ErrorAction Ignore) +{ + Get-ChildItem "$PSScriptRoot\StartupScripts" -ErrorAction Stop | ForEach-Object { + . $_.FullName + } +} + +# [windows powershell] preload assemblies + + +# [windows powershell] preload module alc assemblies +$preloadPath = (Join-Path $PSScriptRoot -ChildPath "ModuleAlcAssemblies") +Preload-Assembly -AssemblyDirectory $preloadPath + +if (Get-Module AzureRM.profile -ErrorAction Ignore) +{ + Write-Warning ("AzureRM.Profile already loaded. Az and AzureRM modules cannot be imported in the same session or used in the same script or runbook. If you are running PowerShell in an environment you control you can use the 'Uninstall-AzureRm' cmdlet to remove all AzureRm modules from your machine. " + + "If you are running in Azure Automation, take care that none of your runbooks import both Az and AzureRM modules. More information can be found here: https://aka.ms/azps-migration-guide.") + throw ("AzureRM.Profile already loaded. Az and AzureRM modules cannot be imported in the same session or used in the same script or runbook. If you are running PowerShell in an environment you control you can use the 'Uninstall-AzureRm' cmdlet to remove all AzureRm modules from your machine. " + + "If you are running in Azure Automation, take care that none of your runbooks import both Az and AzureRM modules. More information can be found here: https://aka.ms/azps-migration-guide.") +} + +$module = Get-Module Az.Accounts + if ($module -ne $null -and $module.Version -lt [System.Version]"2.13.2") +{ + Write-Error "This module requires Az.Accounts version 2.13.2. An earlier version of Az.Accounts is imported in the current PowerShell session. Please open a new session before importing this module. This error could indicate that multiple incompatible versions of the Azure PowerShell cmdlets are installed on your system. Please see https://aka.ms/azps-version-error for troubleshooting information." -ErrorAction Stop +} +elseif ($module -eq $null) +{ + Import-Module Az.Accounts -MinimumVersion 2.13.2 -Scope Global +} +Import-Module Az.ADDomainServices -RequiredVersion 0.2.0 -Global +Import-Module Az.Advisor -RequiredVersion 2.0.0 -Global +Import-Module Az.Aks -RequiredVersion 6.0.0 -Global +Import-Module Az.Alb -RequiredVersion 0.1.0 -Global +Import-Module Az.AlertsManagement -RequiredVersion 0.6.1 -Global +Import-Module Az.AnalysisServices -RequiredVersion 1.1.4 -Global +Import-Module Az.ApiManagement -RequiredVersion 4.0.2 -Global +Import-Module Az.App -RequiredVersion 1.0.0 -Global +Import-Module Az.AppConfiguration -RequiredVersion 1.3.0 -Global +Import-Module Az.ApplicationInsights -RequiredVersion 2.2.2 -Global +Import-Module Az.ArcResourceBridge -RequiredVersion 1.0.0 -Global +Import-Module Az.Attestation -RequiredVersion 2.0.0 -Global +Import-Module Az.Automanage -RequiredVersion 1.0.0 -Global +Import-Module Az.Automation -RequiredVersion 1.9.1 -Global +Import-Module Az.BareMetal -RequiredVersion 0.1.0 -Global +Import-Module Az.Batch -RequiredVersion 3.5.0 -Global +Import-Module Az.Billing -RequiredVersion 2.0.3 -Global +Import-Module Az.BillingBenefits -RequiredVersion 0.1.0 -Global +Import-Module Az.Blueprint -RequiredVersion 0.4.2 -Global +Import-Module Az.BotService -RequiredVersion 0.5.0 -Global +Import-Module Az.Cdn -RequiredVersion 3.1.1 -Global +Import-Module Az.ChangeAnalysis -RequiredVersion 0.1.0 -Global +Import-Module Az.CloudService -RequiredVersion 2.0.0 -Global +Import-Module Az.CognitiveServices -RequiredVersion 1.14.1 -Global +Import-Module Az.Communication -RequiredVersion 0.2.0 -Global +Import-Module Az.Compute -RequiredVersion 7.1.0 -Global +Import-Module Az.ConfidentialLedger -RequiredVersion 1.0.0 -Global +Import-Module Az.Confluent -RequiredVersion 0.2.0 -Global +Import-Module Az.ConnectedKubernetes -RequiredVersion 0.10.0 -Global +Import-Module Az.ConnectedMachine -RequiredVersion 0.5.2 -Global +Import-Module Az.ConnectedNetwork -RequiredVersion 0.1.0 -Global +Import-Module Az.ConnectedVMware -RequiredVersion 0.1.0 -Global +Import-Module Az.ContainerInstance -RequiredVersion 4.0.0 -Global +Import-Module Az.ContainerRegistry -RequiredVersion 4.1.2 -Global +Import-Module Az.CosmosDB -RequiredVersion 1.13.0 -Global +Import-Module Az.CostManagement -RequiredVersion 0.3.1 -Global +Import-Module Az.CustomLocation -RequiredVersion 0.1.0 -Global +Import-Module Az.CustomProviders -RequiredVersion 0.1.0 -Global +Import-Module Az.Dashboard -RequiredVersion 0.1.1 -Global +Import-Module Az.DataBox -RequiredVersion 0.3.0 -Global +Import-Module Az.DataBoxEdge -RequiredVersion 1.1.0 -Global +Import-Module Az.Databricks -RequiredVersion 1.7.1 -Global +Import-Module Az.Datadog -RequiredVersion 0.1.0 -Global +Import-Module Az.DataFactory -RequiredVersion 1.18.0 -Global +Import-Module Az.DataLakeAnalytics -RequiredVersion 1.0.3 -Global +Import-Module Az.DataLakeStore -RequiredVersion 1.3.0 -Global +Import-Module Az.DataMigration -RequiredVersion 0.14.3 -Global +Import-Module Az.DataProtection -RequiredVersion 2.1.0 -Global +Import-Module Az.DataShare -RequiredVersion 1.0.1 -Global +Import-Module Az.DedicatedHsm -RequiredVersion 0.3.0 -Global +Import-Module Az.DeploymentManager -RequiredVersion 1.1.0 -Global +Import-Module Az.DesktopVirtualization -RequiredVersion 4.2.0 -Global +Import-Module Az.DevCenter -RequiredVersion 1.0.0 -Global +Import-Module Az.DeviceProvisioningServices -RequiredVersion 0.10.0 -Global +Import-Module Az.DeviceUpdate -RequiredVersion 0.1.0 -Global +Import-Module Az.DevSpaces -RequiredVersion 0.7.4 -Global +Import-Module Az.DevTestLabs -RequiredVersion 1.0.2 -Global +Import-Module Az.DigitalTwins -RequiredVersion 0.2.0 -Global +Import-Module Az.DiskPool -RequiredVersion 0.3.0 -Global +Import-Module Az.Dns -RequiredVersion 1.2.0 -Global +Import-Module Az.DnsResolver -RequiredVersion 0.2.1 -Global +Import-Module Az.DynatraceObservability -RequiredVersion 0.1.0 -Global +Import-Module Az.EdgeOrder -RequiredVersion 0.1.0 -Global +Import-Module Az.Elastic -RequiredVersion 0.1.0 -Global +Import-Module Az.ElasticSan -RequiredVersion 0.1.2 -Global +Import-Module Az.EventGrid -RequiredVersion 1.6.0 -Global +Import-Module Az.EventHub -RequiredVersion 4.2.0 -Global +Import-Module Az.FluidRelay -RequiredVersion 0.1.0 -Global +Import-Module Az.FrontDoor -RequiredVersion 1.10.0 -Global +Import-Module Az.Functions -RequiredVersion 4.0.7 -Global +Import-Module Az.GraphServices -RequiredVersion 0.1.0 -Global +Import-Module Az.GuestConfiguration -RequiredVersion 0.11.0 -Global +Import-Module Az.HanaOnAzure -RequiredVersion 0.3.0 -Global +Import-Module Az.HDInsight -RequiredVersion 6.0.2 -Global +Import-Module Az.HdInsightOnAks -RequiredVersion 0.1.0 -Global +Import-Module Az.HealthBot -RequiredVersion 0.1.0 -Global +Import-Module Az.HealthcareApis -RequiredVersion 2.0.0 -Global +Import-Module Az.HPCCache -RequiredVersion 0.1.1 -Global +Import-Module Az.ImageBuilder -RequiredVersion 0.4.0 -Global +Import-Module Az.ImportExport -RequiredVersion 0.2.0 -Global +Import-Module Az.IotCentral -RequiredVersion 0.10.0 -Global +Import-Module Az.IotHub -RequiredVersion 2.7.5 -Global +Import-Module Az.KeyVault -RequiredVersion 5.0.1 -Global +Import-Module Az.KubernetesConfiguration -RequiredVersion 0.7.0 -Global +Import-Module Az.Kusto -RequiredVersion 2.3.0 -Global +Import-Module Az.LabServices -RequiredVersion 0.1.0 -Global +Import-Module Az.LoadTesting -RequiredVersion 1.0.0 -Global +Import-Module Az.LogicApp -RequiredVersion 1.5.0 -Global +Import-Module Az.Logz -RequiredVersion 0.1.0 -Global +Import-Module Az.MachineLearning -RequiredVersion 1.1.3 -Global +Import-Module Az.MachineLearningServices -RequiredVersion 1.0.0 -Global +Import-Module Az.Maintenance -RequiredVersion 1.4.1 -Global +Import-Module Az.ManagedServiceIdentity -RequiredVersion 1.2.0 -Global +Import-Module Az.ManagedServices -RequiredVersion 3.0.0 -Global +Import-Module Az.ManagementPartner -RequiredVersion 0.7.3 -Global +Import-Module Az.Maps -RequiredVersion 0.8.0 -Global +Import-Module Az.MariaDb -RequiredVersion 0.2.0 -Global +Import-Module Az.Marketplace -RequiredVersion 0.3.0 -Global +Import-Module Az.MarketplaceOrdering -RequiredVersion 2.0.0 -Global +Import-Module Az.Media -RequiredVersion 1.1.2 -Global +Import-Module Az.Migrate -RequiredVersion 2.2.0 -Global +Import-Module Az.MixedReality -RequiredVersion 0.2.0 -Global +Import-Module Az.MobileNetwork -RequiredVersion 0.3.0 -Global +Import-Module Az.Monitor -RequiredVersion 5.0.0 -Global +Import-Module Az.MonitoringSolutions -RequiredVersion 0.1.0 -Global +Import-Module Az.MySql -RequiredVersion 1.1.1 -Global +Import-Module Az.NetAppFiles -RequiredVersion 0.13.2 -Global +Import-Module Az.Network -RequiredVersion 7.1.0 -Global +Import-Module Az.NetworkAnalytics -RequiredVersion 0.1.0 -Global +Import-Module Az.NetworkCloud -RequiredVersion 1.0.0 -Global +Import-Module Az.NetworkFunction -RequiredVersion 0.1.2 -Global +Import-Module Az.NewRelic -RequiredVersion 0.1.0 -Global +Import-Module Az.Nginx -RequiredVersion 0.1.0 -Global +Import-Module Az.NotificationHubs -RequiredVersion 1.1.2 -Global +Import-Module Az.OperationalInsights -RequiredVersion 3.2.0 -Global +Import-Module Az.Orbital -RequiredVersion 0.1.1 -Global +Import-Module Az.PaloAltoNetworks -RequiredVersion 0.2.0 -Global +Import-Module Az.Peering -RequiredVersion 0.4.0 -Global +Import-Module Az.PolicyInsights -RequiredVersion 1.6.4 -Global +Import-Module Az.Portal -RequiredVersion 0.1.0 -Global +Import-Module Az.PostgreSql -RequiredVersion 1.1.0 -Global +Import-Module Az.PowerBIEmbedded -RequiredVersion 2.0.0 -Global +Import-Module Az.PrivateDns -RequiredVersion 1.0.4 -Global +Import-Module Az.ProviderHub -RequiredVersion 0.2.0 -Global +Import-Module Az.Purview -RequiredVersion 0.2.0 -Global +Import-Module Az.Quantum -RequiredVersion 0.1.0 -Global +Import-Module Az.Qumulo -RequiredVersion 0.1.0 -Global +Import-Module Az.Quota -RequiredVersion 0.1.1 -Global +Import-Module Az.RecoveryServices -RequiredVersion 6.6.2 -Global +Import-Module Az.RedisCache -RequiredVersion 1.8.1 -Global +Import-Module Az.RedisEnterpriseCache -RequiredVersion 1.2.0 -Global +Import-Module Az.Relay -RequiredVersion 2.0.0 -Global +Import-Module Az.Reservations -RequiredVersion 0.12.0 -Global +Import-Module Az.ResourceGraph -RequiredVersion 0.13.0 -Global +Import-Module Az.ResourceMover -RequiredVersion 1.2.0 -Global +Import-Module Az.Resources -RequiredVersion 6.12.1 -Global +Import-Module Az.Search -RequiredVersion 0.10.0 -Global +Import-Module Az.Security -RequiredVersion 1.5.1 -Global +Import-Module Az.SecurityInsights -RequiredVersion 3.1.1 -Global +Import-Module Az.SelfHelp -RequiredVersion 0.1.1 -Global +Import-Module Az.ServiceBus -RequiredVersion 3.0.0 -Global +Import-Module Az.ServiceFabric -RequiredVersion 3.3.1 -Global +Import-Module Az.ServiceLinker -RequiredVersion 0.2.0 -Global +Import-Module Az.SignalR -RequiredVersion 2.0.0 -Global +Import-Module Az.SpringCloud -RequiredVersion 0.3.0 -Global +Import-Module Az.Sql -RequiredVersion 4.12.0 -Global +Import-Module Az.SqlVirtualMachine -RequiredVersion 2.1.0 -Global +Import-Module Az.Ssh -RequiredVersion 0.2.0 -Global +Import-Module Az.StackHCI -RequiredVersion 2.2.3 -Global +Import-Module Az.StackHCIVM -RequiredVersion 0.1.0 -Global +Import-Module Az.Storage -RequiredVersion 6.0.1 -Global +Import-Module Az.StorageCache -RequiredVersion 0.1.0 -Global +Import-Module Az.StorageMover -RequiredVersion 1.2.0 -Global +Import-Module Az.StorageSync -RequiredVersion 2.1.0 -Global +Import-Module Az.StreamAnalytics -RequiredVersion 2.0.0 -Global +Import-Module Az.Subscription -RequiredVersion 0.11.0 -Global +Import-Module Az.Support -RequiredVersion 1.0.0 -Global +Import-Module Az.Synapse -RequiredVersion 3.0.4 -Global +Import-Module Az.TimeSeriesInsights -RequiredVersion 0.2.0 -Global +Import-Module Az.TrafficManager -RequiredVersion 1.2.2 -Global +Import-Module Az.VMware -RequiredVersion 0.5.0 -Global +Import-Module Az.VoiceServices -RequiredVersion 0.1.1 -Global +Import-Module Az.Websites -RequiredVersion 3.1.2 -Global +Import-Module Az.WindowsIotServices -RequiredVersion 0.1.0 -Global +Import-Module Az.Workloads -RequiredVersion 0.1.0 -Global + + +if (Test-Path -Path "$PSScriptRoot\PostImportScripts" -ErrorAction Ignore) +{ + Get-ChildItem "$PSScriptRoot\PostImportScripts" -ErrorAction Stop | ForEach-Object { + . $_.FullName + } +} + +$FilteredCommands = @() + +if ($Env:ACC_CLOUD -eq $null) +{ + $FilteredCommands | ForEach-Object { + + $existingDefault = $false + foreach ($key in $global:PSDefaultParameterValues.Keys) + { + if ($_ -like "$key") + { + $existingDefault = $true + } + } + + if (!$existingDefault) + { + $global:PSDefaultParameterValues.Add($_, + { + if ((Get-Command Get-AzContext -ErrorAction Ignore) -eq $null) + { + $context = Get-AzureRmContext + } + else + { + $context = Get-AzContext + } + if (($context -ne $null) -and $context.ExtendedProperties.ContainsKey("Default Resource Group")) { + $context.ExtendedProperties["Default Resource Group"] + } + }) + } + } +} + +