diff --git a/src/Support/Support.Autorest/test/Get-AzSupportChatTranscript.Tests.ps1 b/src/Support/Support.Autorest/test/Get-AzSupportChatTranscript.Tests.ps1 index 2cbc29e991f6..3c77a3315b15 100644 --- a/src/Support/Support.Autorest/test/Get-AzSupportChatTranscript.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Get-AzSupportChatTranscript.Tests.ps1 @@ -17,7 +17,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSupportChatTranscript') # Chat functionality is unavailable for support tickets created outside the portal Describe 'Get-AzSupportChatTranscript' { - It 'List' -Skip:!$env.HasSubscription{ + It 'List' -skip:($env.HasSubscription -eq $false){ Mock Get-AzSupportChatTranscript{ New-MockObject -Type "Microsoft.Azure.PowerShell.Cmdlets.Support.Models.ChatTranscriptDetails"} Get-AzSupportChatTranscript -SupportTicketName $env.Name Assert-MockCalled Get-AzSupportChatTranscript -Exactly 1 @@ -27,7 +27,7 @@ Describe 'Get-AzSupportChatTranscript' { { throw [System.NotImplementedException] } | Should -Not -Throw } - It 'Get' -Skip:!$env.HasSubscription{ + It 'Get' -skip:($env.HasSubscription -eq $false){ Mock Get-AzSupportChatTranscript{ New-MockObject -Type "Microsoft.Azure.PowerShell.Cmdlets.Support.Models.ChatTranscriptDetails"} Get-AzSupportChatTranscript -SupportTicketName $env.Name -Name "testChat" Assert-MockCalled Get-AzSupportChatTranscript -Exactly 2 diff --git a/src/Support/Support.Autorest/test/Get-AzSupportChatTranscriptsNoSubscription.Tests.ps1 b/src/Support/Support.Autorest/test/Get-AzSupportChatTranscriptsNoSubscription.Tests.ps1 index ea001bbc3afc..bc9090835fb9 100644 --- a/src/Support/Support.Autorest/test/Get-AzSupportChatTranscriptsNoSubscription.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Get-AzSupportChatTranscriptsNoSubscription.Tests.ps1 @@ -16,13 +16,13 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSupportChatTranscriptsN # Chat functionality is unavailable for support tickets created outside the portal Describe 'Get-AzSupportChatTranscriptsNoSubscription' { - it 'List' -Skip:$env.HasSubscription { + it 'List' -skip:($env.HasSubscription -eq $true){ Mock Get-AzSupportChatTranscriptsNoSubscription{ New-MockObject -Type "Microsoft.Azure.PowerShell.Cmdlets.Support.Models.ChatTranscriptDetails"} - Get-AzSupportChatTranscriptsNoSubscription + Get-AzSupportChatTranscriptsNoSubscription -SupportTicketName $env.Name Assert-MockCalled Get-AzSupportChatTranscriptsNoSubscription -Exactly 1 } - It 'Get' -Skip:$env.HasSubscription { + It 'Get' -skip:($env.HasSubscription -eq $true){ Mock Get-AzSupportChatTranscriptsNoSubscription{ New-MockObject -Type "Microsoft.Azure.PowerShell.Cmdlets.Support.Models.ChatTranscriptDetails"} Get-AzSupportChatTranscriptsNoSubscription -SupportTicketName $env.Name -ChatTranscriptName "testChat" Assert-MockCalled Get-AzSupportChatTranscriptsNoSubscription -Exactly 2 diff --git a/src/Support/Support.Autorest/test/Get-AzSupportCommunication.Tests.ps1 b/src/Support/Support.Autorest/test/Get-AzSupportCommunication.Tests.ps1 index bc3aa2caa03c..d3e0b1a41c3d 100644 --- a/src/Support/Support.Autorest/test/Get-AzSupportCommunication.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Get-AzSupportCommunication.Tests.ps1 @@ -1,5 +1,6 @@ -if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSupportCommunication')) +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSupportCommunication') -and ($env.HasSubscription -eq $true)) { + Write-Host "in Get-AzSupportCommunication env.HasSubscription: $(($env.HasSubscription -eq $true))" $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' if (-Not (Test-Path -Path $loadEnvPath)) { $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' @@ -16,7 +17,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSupportCommunication')) Describe 'Get-AzSupportCommunication' { - It 'List' -Skip:!$env.HasSubscription { + It 'List' -skip:($env.HasSubscription -eq $false){ # if($env.SupportPlanSubscription -eq "Basic support" || $env.SupportPlanSubscription -eq "Free"){ # write-host "cannot get communication operations for tickets with free support plan" @@ -37,7 +38,7 @@ Describe 'Get-AzSupportCommunication' { { throw [System.NotImplementedException] } | Should -Not -Throw } - It 'Get' -Skip:!$env.HasSubscription { + It 'Get' -skip:($env.HasSubscription -eq $false) { # if($env.SupportPlanSubscription -eq "Basic support" || $env.SupportPlanSubscription -eq "Free"){ # write-host "cannot get communication operations for tickets with free support plan" diff --git a/src/Support/Support.Autorest/test/Get-AzSupportCommunicationsNoSubscription.Recording.json b/src/Support/Support.Autorest/test/Get-AzSupportCommunicationsNoSubscription.Recording.json new file mode 100644 index 000000000000..38c78201dc0e --- /dev/null +++ b/src/Support/Support.Autorest/test/Get-AzSupportCommunicationsNoSubscription.Recording.json @@ -0,0 +1,86 @@ +{ + "Get-AzSupportCommunicationsNoSubscription+[NoContext]+List+$GET+https://management.azure.com/providers/Microsoft.Support/supportTickets/test-767fe528-5a94-473f-b53f-6505e5d0288c/communications?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.Support/supportTickets/test-767fe528-5a94-473f-b53f-6505e5d0288c/communications?api-version=2022-09-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "bdf07347-3b56-4162-9217-ae13ece0481c" ], + "CommandName": [ "Get-AzSupportCommunicationsNoSubscription" ], + "FullCommandName": [ "Get-AzSupportCommunicationsNoSubscription_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.1", "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" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "272d0db3-6375-4116-9c47-3de9b0e53add" ], + "x-ms-correlation-request-id": [ "272d0db3-6375-4116-9c47-3de9b0e53add" ], + "x-ms-routing-request-id": [ "EASTUS:20240307T233138Z:272d0db3-6375-4116-9c47-3de9b0e53add" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: F67DCF24EEE44F3FAB55A58E8E16D2A7 Ref B: MNZ221060608053 Ref C: 2024-03-07T23:31:36Z" ], + "Date": [ "Thu, 07 Mar 2024 23:31:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "25132" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"id\":\"/providers/Microsoft.Support/supportTickets/test-767fe528-5a94-473f-b53f-6505e5d0288c/communications/73f90ac1-dadc-ee11-904d-6045bdef7ea7\",\"name\":\"73f90ac1-dadc-ee11-904d-6045bdef7ea7\",\"type\":\"Microsoft.Support/communications\",\"properties\":{\"communicationType\":\"Web\",\"communicationDirection\":\"Inbound\",\"sender\":\"sender@sender.com\",\"subject\":\"this is a test subject - TrackingID#2403070040015771\",\"body\":\"\u003cpre\u003ethis is a test body\u003c/pre\u003e\",\"createdDate\":\"2024-03-07T23:31:05Z\"}},{\"id\":\"/providers/Microsoft.Support/supportTickets/test-767fe528-5a94-473f-b53f-6505e5d0288c/communications/3a5ad1af-dadc-ee11-904c-000d3a56b438\",\"name\":\"3a5ad1af-dadc-ee11-904c-000d3a56b438\",\"type\":\"Microsoft.Support/communications\",\"properties\":{\"communicationType\":\"Web\",\"communicationDirection\":\"Inbound\",\"sender\":\"support@mail.support.microsoft.com\",\"subject\":\"\\nCase 2403070040015771  Your question was successfully submitted to Microsoft Support TrackingID#2403070040015771\",\"body\":\"\u003chtml\u003e\\n\u003chead\u003e\\n\u003cmeta http-equiv=\\\"Content-Type\\\" content=\\\"text/html; charset=utf-8\\\"\u003e\\n\u003c/head\u003e\\n\u003cbody\u003e\\n\u003cdiv data-wrapper=\\\"true\\\" style=\\\"font-size:9pt; font-family:\u0027Segoe UI\u0027,\u0027Helvetica Neue\u0027,sans-serif\\\"\u003e\\n\u003cdiv\u003e\\n\u003cdiv data-wrapper=\\\"true\\\" style=\\\"font-size:9pt; font-family:\u0027Segoe UI\u0027,\u0027Helvetica Neue\u0027,sans-serif\\\"\u003e\\n\u003cdiv\u003e\\n\u003cdiv style=\\\"font-size:9pt; font-family:\u0027Segoe UI\u0027,\u0027Helvetica Neue\u0027,sans-serif\\\"\u003e\\n\u003cdiv\u003e\\n\u003cdiv style=\\\"font-size:9pt; font-family:\u0027Segoe UI\u0027,\u0027Helvetica Neue\u0027,sans-serif\\\"\u003e\\n\u003cdiv\u003e\\n\u003cdiv style=\\\"font-size:9pt; font-family:\u0027Segoe UI\u0027,\u0027Helvetica Neue\u0027,sans-serif\\\"\u003e\\n\u003cdiv\u003e\\n\u003cdiv\u003e\\n\u003ctable class=\\\"x_x_x_x_x_MsoTableGrid\\\" width=\\\"100%\\\" style=\\\"width:100.0%; border-collapse:collapse; border:solid windowtext 1.0pt\\\"\u003e\\n\u003ctbody\u003e\\n\u003ctr\u003e\\n\u003ctd valign=\\\"top\\\" style=\\\"border:solid windowtext 1.0pt; background:#ebebeb; padding:0in 5.4pt 0in 5.4pt\\\"\u003e\\n\u003ctable class=\\\"x_x_x_x_MsoTableGrid\\\" width=\\\"99%\\\" style=\\\"width:99.9%; border-collapse:collapse; border:none\\\"\u003e\\n\u003ctbody\u003e\\n\u003ctr\u003e\\n\u003ctd valign=\\\"top\\\" width=\\\"100%\\\" style=\\\"border:none; background:#f2f2f2; width:100.0%; padding:0mm 5.4pt 0mm 5.4pt\\\"\u003e\\n\u003ctable align=\\\"center\\\" class=\\\"x_x_x_x_MsoTableGrid\\\" width=\\\"80%\\\" style=\\\"max-width:700px; border-collapse:collapse; border:none\\\"\u003e\\n\u003ctbody\u003e\\n\u003ctr\u003e\\n\u003ctd colspan=\\\"2\\\" width=\\\"80%\\\" style=\\\"border:none; border-bottom:solid silver 1.0pt; width:80.0%; padding:0mm 1.45pt 0mm 14.4pt\\\"\u003e\\n\u003cdiv\u003e\\n\u003cdiv style=\\\"text-align:right\\\"\u003e\u003cspan style=\\\"font-size:11pt\\\"\u003e\u003cspan style=\\\"line-height:normal\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cstrong\u003e\u003cspan style=\\\"font-size:8.0pt\\\"\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003eHaving trouble viewing this email?\u0026nbsp;\u003c/span\u003e\u003c/span\u003e\u003c/strong\u003e\u003ca href=\\\"https://portal.azure.com/\\\" style=\\\"color:blue; text-decoration:none\\\"\u003e\u003cb\u003e\u003cspan style=\\\"font-size:8.0pt\\\"\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:#3da5dd\\\"\u003eView\\n your request online\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/b\u003e\u003c/a\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\\n\u003c/div\u003e\\n\u003c/td\u003e\\n\u003c/tr\u003e\\n\u003ctr\u003e\\n\u003ctd width=\\\"79%\\\" style=\\\"border-bottom:solid #f2f2f2 1.0pt; width:79.78%; border-top:solid silver 1.0pt; border-left:solid silver 1.0pt; border-right:none; padding:0mm 14.4pt 0mm 14.4pt\\\"\u003e\\n\u003cbr\u003e\\n\u003cspan style=\\\"font-size:11pt\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cimg alt=\\\"Microsoft\\\" src=\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGcAAAAWCAYAAADdP4KdAAAACXBIWXMAAB2HAAAdhwGP5fFlAAAAB3RJTUU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JK1xiT27x5c8zMt8dxHBUKhfcQ0UiSJHuklL/1PG+YmVtt21a2bcO2bRDRdMyVSmW/MeYbzAzf979ojNnX1tb2DIBnCoXC0lqtdpyINtx9993KGHOH4zh7isXi/xSLxT22bV8fxzGYeffw8PA4M/9bkiSZ7/sfzLJsb93OvkKh8JkkSRIiWr9p06apS7FXj2l6DYjoZWPM4bq8P5/PP3c2ytoLcRz/hoimm3xBEEREdH+WZc8BuP+0bsHv4jj+DYCDAGBZVjXLsme11k8rpWIAGBoa+nGapsur1erjAEaFEEuIqDmO48eVUq8AUEqpvWma7tVan7KLhoaGvhbHcXsYhnuIyCeipUKI8Vqt9qDW+hPlcnlvnfqIMeYVIcQyInqf1npfHMdfCoLggXoMDyilVoVh+HMiUkKIpUREYRj+NE3Tz5bL5YdnTHuwHtMfpwTlcvmEEKI3iqJDAGwA80nsfLPhbX8K1HS+1KNcMvPF+ZSX93KVG3YVSJCTGT72HMzV/zBLh6Cvr08eOHDANsaku3btOuXQcO2117ojIyPJaTJ50UUX2VdccYWaSlpvb69z9OhRfuihh/7iAHDrrbcu8DyvEEVRdfv27a8CwMaNG+nQoUMWAMymA5xs4buuuyBNUzdJkrEdO3YcO53T0dHRYtv2hUoprZR6dXh4OJnNVqlUukRK6SulJoeGho7MNtfo6Kg12xrccMMN5zU3N88noskznpxzePs466e1c2iMc8l5B+N/AdHv4fz9BIULAAAAAElFTkSuQmCC\\\" style=\\\"width:103px; height:22px\\\"\u003e\u003c/span\u003e\u003c/span\u003e\u003cbr\u003e\\n\u0026nbsp;\u003c/td\u003e\\n\u003ctd width=\\\"20%\\\" style=\\\"border-bottom:solid #f2f2f2 1.0pt; width:20.22%; border-top:solid silver 1.0pt; border-left:none; border-right:solid silver 1.0pt; padding:0mm 14.4pt 0mm 14.4pt\\\"\u003e\\n\u003cdiv\u003e\\n\u003cdiv style=\\\"text-align:right\\\"\u003e\u003cspan style=\\\"font-size:11pt\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cspan style=\\\"font-size:16.0pt\\\"\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003eSupport\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\\n\u003c/div\u003e\\n\u003c/td\u003e\\n\u003c/tr\u003e\\n\u003ctr\u003e\\n\u003ctd colspan=\\\"2\\\" width=\\\"100%\\\" style=\\\"border-bottom:solid #f2f2f2 1.0pt; background:white; width:100.0%; border-top:none; border-left:solid silver 1.0pt; border-right:solid silver 1.0pt; padding:0mm 14.4pt 0mm 14.4pt\\\"\u003e\\n\u003cdiv\u003e\u0026nbsp;\u003c/div\u003e\\n\u003cdiv\u003e\u003cspan style=\\\"font-size:10pt\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"line-height:normal\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003eYour question was successfully submitted to Microsoft Support\\n using your Basic support plan. A Microsoft support professional will contact you.\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cbr\u003e\\n\u003cspan\u003e\u003cspan style=\\\"line-height:normal\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u0026nbsp;\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cbr\u003e\\n\u003cspan\u003e\u003cspan style=\\\"line-height:normal\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003ePlease note: First time is based on Severity and if the case is classified as “24x7” (“Severity\\n A” response cases are always 24x7, “Severity B” are optionally 24x7, and “Severity C” cases are business hours only). Learn more about\u0026nbsp;\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan style=\\\"color:black\\\"\u003e\u003ca href=\\\"https://azure.microsoft.com/support/plans/response/\\\" style=\\\"color:blue; text-decoration:none\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:#3da5dd\\\"\u003esupport\\n response times\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003e.\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\\n\u003cdiv\u003e\u0026nbsp;\u003c/div\u003e\\n\u003cdiv\u003e\u003cspan style=\\\"color:#0078d4\\\"\u003e\u003cspan style=\\\"font-size:10pt\\\"\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,\u0027Helvetica Neue\u0027,sans-serif\\\"\u003e\u003cspan\u003e\u003cspan\u003ePlease keep in mind: microsoftsupport.com and microsoft.com are both valid email domains used for communications related\\n to your support request.\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\\n\u003cdiv\u003e\u0026nbsp;\u003c/div\u003e\\n\u003c/td\u003e\\n\u003c/tr\u003e\\n\u003ctr\u003e\\n\u003ctd colspan=\\\"2\\\" width=\\\"100%\\\" style=\\\"border-bottom:solid #f2f2f2 1.0pt; background:#f2f2f2; width:100.0%; border-top:none; border-left:solid silver 1.0pt; border-right:solid silver 1.0pt; padding:14.4pt 14.4pt 14.4pt 14.4pt\\\"\u003e\\n\u003ctable class=\\\"x_x_x_MsoTableGrid\\\" width=\\\"99%\\\" style=\\\"width:99.92%; border-collapse:collapse; border:none\\\"\u003e\\n\u003ctbody\u003e\\n\u003ctr\u003e\\n\u003ctd valign=\\\"top\\\" width=\\\"40%\\\" style=\\\"border:none; border-bottom:solid #f2f2f2 1.0pt; background:white; width:40.0%; padding:2.85pt 5.4pt 2.85pt 5.4pt\\\"\u003e\\n\u003cspan style=\\\"font-size:10pt\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"line-height:normal\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cb\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003eIncident title:\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/b\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/td\u003e\\n\u003ctd valign=\\\"top\\\" width=\\\"60%\\\" style=\\\"border-top:none; border-right:none; border-left:none; border-bottom:1pt solid rgb(242,242,242); background:white; width:60%; padding:2.85pt 5.4pt; text-align:center\\\"\u003e\\n\u003cspan style=\\\"font-size:10pt\\\"\u003e\u003cspan\u003e\u003cspan\u003etest ticket - please ignore and close\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/td\u003e\\n\u003c/tr\u003e\\n\u003ctr\u003e\\n\u003ctd valign=\\\"top\\\" width=\\\"40%\\\" style=\\\"border:none; border-bottom:solid #f2f2f2 1.0pt; background:white; width:40.0%; padding:2.85pt 5.4pt 2.85pt 5.4pt\\\"\u003e\\n\u003cspan style=\\\"font-size:10pt\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"line-height:normal\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cb\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003eSupport request number:\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/b\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/td\u003e\\n\u003ctd valign=\\\"top\\\" width=\\\"60%\\\" style=\\\"border-top:none; border-right:none; border-left:none; border-bottom:1pt solid rgb(242,242,242); background:white; width:60%; padding:2.85pt 5.4pt; text-align:center\\\"\u003e\\n\u003cspan style=\\\"font-size:10pt\\\"\u003e\u003cspan\u003e\u003cspan\u003e2403070040015771\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/td\u003e\\n\u003c/tr\u003e\\n\u003ctr\u003e\\n\u003ctd valign=\\\"top\\\" width=\\\"40%\\\" style=\\\"border:none; border-bottom:solid #f2f2f2 1.0pt; background:white; width:40.0%; padding:2.85pt 5.4pt 2.85pt 5.4pt\\\"\u003e\\n\u003cspan style=\\\"font-size:10pt\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"line-height:normal\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cb\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003eSeverity rating:\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/b\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/td\u003e\\n\u003ctd valign=\\\"top\\\" width=\\\"60%\\\" style=\\\"border-top:none; border-right:none; border-left:none; border-bottom:1pt solid rgb(242,242,242); background:white; width:60%; padding:2.85pt 5.4pt; text-align:center\\\"\u003e\\n\u003cspan style=\\\"font-size:10pt\\\"\u003e\u003cspan\u003e\u003cspan\u003eC\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/td\u003e\\n\u003c/tr\u003e\\n\u003ctr\u003e\\n\u003ctd valign=\\\"top\\\" width=\\\"40%\\\" style=\\\"border:none; border-bottom:solid #f2f2f2 1.0pt; background:white; width:40.0%; padding:2.85pt 5.4pt 2.85pt 5.4pt\\\"\u003e\\n\u003cspan style=\\\"font-size:10pt\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"line-height:normal\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cb\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003eContact preference:\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/b\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/td\u003e\\n\u003ctd valign=\\\"top\\\" width=\\\"60%\\\" style=\\\"border:none; border-bottom:solid #f2f2f2 1.0pt; background:white; width:60.0%; padding:2.85pt 5.4pt 2.85pt 5.4pt\\\"\u003e\\n\u003cdiv\u003e\\n\u003cdiv style=\\\"text-align:center\\\"\u003e\u003cspan style=\\\"font-size:10pt\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"line-height:normal\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003eEmail\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\\n\u003c/div\u003e\\n\u003c/td\u003e\\n\u003c/tr\u003e\\n\u003ctr\u003e\\n\u003ctd valign=\\\"top\\\" width=\\\"40%\\\" style=\\\"border:none; border-bottom:solid #f2f2f2 1.0pt; background:white; width:40.0%; padding:2.85pt 5.4pt 2.85pt 5.4pt\\\"\u003e\\n\u003cspan style=\\\"font-size:10pt\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"line-height:normal\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cb\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003eName:\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/b\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/td\u003e\\n\u003ctd valign=\\\"top\\\" width=\\\"60%\\\" style=\\\"border-top:none; border-right:none; border-left:none; border-bottom:1pt solid rgb(242,242,242); background:white; width:60%; padding:2.85pt 5.4pt; text-align:center\\\"\u003e\\n\u003cspan style=\\\"font-size:10pt\\\"\u003e\u003cspan\u003e\u003cspan\u003etest test\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/td\u003e\\n\u003c/tr\u003e\\n\u003ctr\u003e\\n\u003ctd valign=\\\"top\\\" width=\\\"40%\\\" style=\\\"border:none; border-bottom:solid #f2f2f2 1.0pt; background:white; width:40.0%; padding:2.85pt 5.4pt 2.85pt 5.4pt\\\"\u003e\\n\u003cspan style=\\\"font-size:10pt\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"line-height:normal\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cb\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003eEmail address:\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/b\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/td\u003e\\n\u003ctd valign=\\\"top\\\" width=\\\"60%\\\" style=\\\"border:none; border-bottom:solid #f2f2f2 1.0pt; background:white; width:60.0%; padding:2.85pt 5.4pt 2.85pt 5.4pt\\\"\u003e\\n\u003cdiv\u003e\\n\u003cdiv style=\\\"text-align:center\\\"\u003e\u003cspan style=\\\"font-size:10pt\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"line-height:normal\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003etest@test.com\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\\n\u003c/div\u003e\\n\u003c/td\u003e\\n\u003c/tr\u003e\\n\u003ctr\u003e\\n\u003ctd valign=\\\"top\\\" width=\\\"40%\\\" style=\\\"border:none; background:white; width:40.0%; padding:2.85pt 5.4pt 2.85pt 5.4pt\\\"\u003e\\n\u003cspan style=\\\"font-size:10pt\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"line-height:normal\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cb\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003eContact numbers:\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/b\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/td\u003e\\n\u003ctd valign=\\\"top\\\" width=\\\"60%\\\" style=\\\"border:none; background:white; width:60.0%; padding:2.85pt 5.4pt 2.85pt 5.4pt\\\"\u003e\\n\u003cdiv\u003e\\n\u003cdiv style=\\\"text-align:center\\\"\u003e\u003cspan style=\\\"font-size:10pt\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"line-height:normal\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\\n\u003c/div\u003e\\n\u003c/td\u003e\\n\u003c/tr\u003e\\n\u003c/tbody\u003e\\n\u003c/table\u003e\\n\u003c/td\u003e\\n\u003c/tr\u003e\\n\u003ctr\u003e\\n\u003ctd colspan=\\\"2\\\" width=\\\"100%\\\" style=\\\"border:solid silver 1.0pt; background:white; width:100.0%; border-top:none; padding:0mm 14.4pt 0mm 14.4pt\\\"\u003e\\n\u003cdiv\u003e\u0026nbsp;\u003c/div\u003e\\n\u003cdiv\u003e\u003cspan style=\\\"font-size:10pt\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"line-height:normal\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003eYou can contact us again about this incident at any time on\\n the\u0026nbsp;\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan style=\\\"color:black\\\"\u003e\u003ca href=\\\"https://portal.azure.com/\\\" style=\\\"color:blue; text-decoration:none\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:#3da5dd\\\"\u003eMicrosoft Azure portal\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003e.\\n See the\u0026nbsp;\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan style=\\\"color:black\\\"\u003e\u003ca href=\\\"http://azure.microsoft.com/support/faq/\\\" style=\\\"color:blue; text-decoration:none\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:#3da5dd\\\"\u003eAzure Support FAQ\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003e\u0026nbsp;for\\n additional information about Azure Support, including terms and conditions.\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cbr\u003e\\n\u003cspan\u003e\u003cspan style=\\\"line-height:normal\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u0026nbsp;\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cbr\u003e\\n\u003cspan\u003e\u003cspan style=\\\"line-height:normal\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003eThis email is generated from an unmonitored account. Please do not reply.\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cbr\u003e\\n\u003cbr\u003e\\n\u003cspan\u003e\u003cspan style=\\\"line-height:normal\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003eThank you,\u003cbr\u003e\\nMicrosoft Azure Support\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\\n\u003cdiv\u003e\u0026nbsp;\u003c/div\u003e\\n\u003c/td\u003e\\n\u003c/tr\u003e\\n\u003ctr\u003e\\n\u003ctd colspan=\\\"2\\\" width=\\\"100%\\\" style=\\\"border-bottom:none; background:white; width:100.0%; border-top:none; border-left:solid silver 1.0pt; border-right:solid silver 1.0pt; padding:0mm 14.4pt 0mm 14.4pt\\\"\u003e\\n\u003cdiv\u003e\u0026nbsp;\u003c/div\u003e\\n\u003cdiv\u003e\u003cspan style=\\\"font-size:10pt\\\"\u003e\u003cspan style=\\\"font-size:12pt\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"line-height:normal\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cspan\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003eAdditional Information\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cbr\u003e\\n\u003cbr\u003e\\n\u003cspan\u003e\u003cspan\u003e\u003cspan style=\\\"line-height:150%\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cb\u003e\u003cspan style=\\\"line-height:150%\\\"\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003eProduct:\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/b\u003e\u003cspan style=\\\"line-height:150%\\\"\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003e\u0026nbsp;\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003eAzure/Billing/Add\\n or update VAT, tax id, PO number or profile information\u003cbr\u003e\\n\u003cspan style=\\\"line-height:150%\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cb\u003e\u003cspan style=\\\"line-height:150%\\\"\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003eAzure Subscription:\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/b\u003e\u003cspan\u003e\u003cspan style=\\\"line-height:150%\\\"\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003e\u003cspan\u003e\u0026nbsp;\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cbr\u003e\\n\u003cspan\u003e\u003cspan style=\\\"line-height:150%\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cb\u003e\u003cspan style=\\\"line-height:150%\\\"\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003eAzure Subscription ID:\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/b\u003e\u003cspan style=\\\"line-height:150%\\\"\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:black\\\"\u003e\u0026nbsp;\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\\n\u003cdiv\u003e\u0026nbsp;\u003c/div\u003e\\n\u003c/td\u003e\\n\u003c/tr\u003e\\n\u003ctr\u003e\\n\u003ctd colspan=\\\"2\\\" width=\\\"100%\\\" style=\\\"border:none; background:#505050; width:100.0%; padding:0mm 14.4pt 0mm 14.4pt\\\"\u003e\\n\u003cbr\u003e\\n\u003cspan style=\\\"font-size:11pt\\\"\u003e\u003cspan style=\\\"line-height:normal\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cspan style=\\\"font-size:10.0pt\\\"\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:white\\\"\u003eThis message from Microsoft is an important part\\n of a program, service, or product that you or your company purchased or participates in. Microsoft respects your privacy. Please read our\u0026nbsp;\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan style=\\\"color:black\\\"\u003e\u003ca href=\\\"http://azure.microsoft.com/support/trust-center/privacy/\\\" title=\\\"Privacy Statement\\\" style=\\\"color:blue; text-decoration:none\\\"\u003e\u003cspan style=\\\"font-size:10.0pt\\\"\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:#3da5dd\\\"\u003ePrivacy\\n Statement\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e\u003cspan style=\\\"font-size:10.0pt\\\"\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:white\\\"\u003e.\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cbr\u003e\\n\u0026nbsp;\u003c/td\u003e\\n\u003c/tr\u003e\\n\u003ctr\u003e\\n\u003ctd width=\\\"79%\\\" style=\\\"border:none; border-bottom:solid #bfbfbf 1.0pt; background:#505050; width:79.78%; padding:0mm 14.4pt 0mm 14.4pt\\\"\u003e\\n\u003cbr\u003e\\n\u003cspan style=\\\"font-size:11pt\\\"\u003e\u003cspan style=\\\"font-family:Calibri,sans-serif\\\"\u003e\u003cspan style=\\\"font-size:9.0pt\\\"\u003e\u003cspan style=\\\"background:#505050\\\"\u003e\u003cspan style=\\\"font-family:\u0027Segoe UI\u0027,sans-serif\\\"\u003e\u003cspan style=\\\"color:white\\\"\u003eOne Microsoft Way, Redmond, WA 98052 USA\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cbr\u003e\\n\u0026nbsp;\u003c/td\u003e\\n\u003ctd width=\\\"20%\\\" style=\\\"border:none; border-bottom:solid #bfbfbf 1.0pt; background:#505050; width:20.22%; padding:0mm 14.4pt 0mm 14.4pt\\\"\u003e\\n\u003cdiv\u003e\\n\u003cdiv style=\\\"text-align:center\\\"\u003e\u0026nbsp;\u003c/div\u003e\\n\u003c/div\u003e\\n\u003cdiv\u003e\\n\u003cdiv style=\\\"text-align:right\\\"\u003e\u003cimg align=\\\"none\\\" alt=\\\"Microsoft\\\" height=\\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v+kA9UGWAtTxMM9BXZyQJdT5m0bldwjlgIzNgKZ38Qn49R0SH1bk8b8BbXyHCOQ193HozuqfOWKs5R7rDNrSdwjcKepDu5Vq9HfILySGk99E/G5+BVx+DCeJy4H2Atz5xBjy/ONZ/Dc08UMUyIsvBP+ckA3g4lYrkOtZdrnClpiQ10LNsKfpAPXa6N9nUhxYvMvnoO5pKUcP88Uv9blhNtCOhYuPyzqIWwue9AwjvyE6/wOMpZWFz2yrBJ70xxBlj4ytBt6DbQ0w9lWWKoH+OX3iuykH3PWWpU80nQB3g+UEuJYvdQYcCfEEMZl8G9MJcFqjmUm/UaYS4PQr1Z9b0wit7cRSC63Wsh4RX9WPMXX/HU/o3zStDemL/WX4y4j4WKQ9HE7jTiWvuc3kYPwu6Bfje5HQ+pDGe5+4DX6QbQHqDsS5aDOJz4mlxEeE9n0X20rAvxf6ncQ8+7Ve9jy8Xhhq/jeC137rC1zrcjVrY/TR809rgFoP077Ox9fyJx6G9SB6Ed1kNl0Cmv5QqVm7h2tP6IRoxbRz7qFdC25jQldQ5TeCgN6POIQYii8t1AlwWjTUyq1WguOB2Qh4tiWGEocw1gDauqvH6H3Q96Y9lHYQ7TqWKoFnXWIgcRixH7GVpRqgdWQ8vRho3+vuN9ruhI59N/ydmpqamv4GCXU/LgnPZoMAAAAASUVORK5CYII=\\\" width=\\\"71\\\" style=\\\"width:71px; height:15px\\\"\u003e\u003c/div\u003e\\n\u003c/div\u003e\\n\u003c/td\u003e\\n\u003c/tr\u003e\\n\u003c/tbody\u003e\\n\u003c/table\u003e\\n\u003c/td\u003e\\n\u003c/tr\u003e\\n\u003c/tbody\u003e\\n\u003c/table\u003e\\n\u003c/td\u003e\\n\u003c/tr\u003e\\n\u003c/tbody\u003e\\n\u003c/table\u003e\\n\u003c/div\u003e\\n\u003c/div\u003e\\n\u003c/div\u003e\\n\u003c/div\u003e\\n\u003c/div\u003e\\n\u003c/div\u003e\\n\u003c/div\u003e\\n\u003c/div\u003e\\n\u003c/div\u003e\\n\u003c/div\u003e\\n\u003c/div\u003e\\n\u003c/body\u003e\\n\u003c/html\u003e\\n\",\"createdDate\":\"2024-03-07T23:30:39Z\"}}]}", + "isContentBase64": false + } + }, + "Get-AzSupportCommunicationsNoSubscription+[NoContext]+Get+$GET+https://management.azure.com/providers/Microsoft.Support/supportTickets/test-767fe528-5a94-473f-b53f-6505e5d0288c/communications/test-msg-767fe528-5a94-473f-b53f-6505e5d0288c?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.Support/supportTickets/test-767fe528-5a94-473f-b53f-6505e5d0288c/communications/test-msg-767fe528-5a94-473f-b53f-6505e5d0288c?api-version=2022-09-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "0d8a9b98-e10a-4f41-9703-059360edc7d9" ], + "CommandName": [ "Get-AzSupportCommunicationsNoSubscription" ], + "FullCommandName": [ "Get-AzSupportCommunicationsNoSubscription_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.1", "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" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "92e4c562-80b2-4bac-9e4d-dd6e9cfdb835" ], + "x-ms-correlation-request-id": [ "92e4c562-80b2-4bac-9e4d-dd6e9cfdb835" ], + "x-ms-routing-request-id": [ "EASTUS:20240307T233140Z:92e4c562-80b2-4bac-9e4d-dd6e9cfdb835" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: C9D705442F9B4968892A5FD1BD039C2F Ref B: MNZ221060608053 Ref C: 2024-03-07T23:31:38Z" ], + "Date": [ "Thu, 07 Mar 2024 23:31:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "481" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.Support/supportTickets/test-767fe528-5a94-473f-b53f-6505e5d0288c/communications/73f90ac1-dadc-ee11-904d-6045bdef7ea7\",\"name\":\"73f90ac1-dadc-ee11-904d-6045bdef7ea7\",\"type\":\"Microsoft.Support/communications\",\"properties\":{\"communicationType\":\"Web\",\"communicationDirection\":\"Inbound\",\"sender\":\"sender@sender.com\",\"subject\":\"this is a test subject - TrackingID#2403070040015771\",\"body\":\"\u003cpre\u003ethis is a test body\u003c/pre\u003e\",\"createdDate\":\"2024-03-07T23:31:05Z\"}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/Support/Support.Autorest/test/Get-AzSupportCommunicationsNoSubscription.Tests.ps1 b/src/Support/Support.Autorest/test/Get-AzSupportCommunicationsNoSubscription.Tests.ps1 index 5012ba014876..c9f117a2e7ed 100644 --- a/src/Support/Support.Autorest/test/Get-AzSupportCommunicationsNoSubscription.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Get-AzSupportCommunicationsNoSubscription.Tests.ps1 @@ -15,12 +15,12 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSupportCommunicationsNo } Describe 'Get-AzSupportCommunicationsNoSubscription' { - It 'List' -Skip:$env.HasSubscription { + It 'List' -skip:($env.HasSubscription -eq $true) { $supportMessages = Get-AzSupportCommunicationsNoSubscription -SupportTicketName $env.Name $supportMessages.Count | Should -BeGreaterThan 0 } - It 'Get' -Skip:$env.HasSubscription { + It 'Get' -skip:($env.HasSubscription -eq $true){ # if($env.SupportPlanTenant -eq "Basic support" || $env.SupportPlanTenant -eq "Free"){ # write-host "cannot get communication operations for tickets with free support plan" diff --git a/src/Support/Support.Autorest/test/Get-AzSupportFile.Tests.ps1 b/src/Support/Support.Autorest/test/Get-AzSupportFile.Tests.ps1 index 0c288d80b16f..26706753ee30 100644 --- a/src/Support/Support.Autorest/test/Get-AzSupportFile.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Get-AzSupportFile.Tests.ps1 @@ -15,7 +15,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSupportFile')) } Describe 'Get-AzSupportFile' { - It 'List' -Skip:!$env.HasSubscription{ + It 'List' -skip:($env.HasSubscription -eq $false){ $files = Get-AzSupportFile -WorkspaceName $env.FileWorkspaceNameSubscription $files | Should -Not -BeNullOrEmpty $files.Count | Should -BeGreaterOrEqual 1 @@ -25,7 +25,7 @@ Describe 'Get-AzSupportFile' { { throw [System.NotImplementedException] } | Should -Not -Throw } - It 'Get' -Skip:!$env.HasSubscription{ + It 'Get' -skip:($env.HasSubscription -eq $false){ $file = Get-AzSupportFile -Name "test2.txt" -WorkspaceName $env.FileWorkspaceNameSubscription $file | Should -Not -BeNullOrEmpty $file.Name | Should -Be "test2.txt" diff --git a/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspace.Tests.ps1 b/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspace.Tests.ps1 index 24c460fe32bc..548807d38bbf 100644 --- a/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspace.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspace.Tests.ps1 @@ -15,7 +15,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSupportFileWorkspace')) } Describe 'Get-AzSupportFileWorkspace' { - It 'Get' -Skip:!$env.HasSubscription{ + It 'Get' -skip:($env.HasSubscription -eq $false){ $fileWorkspace = Get-AzSupportFileWorkspace -Name $env.FileWorkspaceNameSubscription $fileWorkspace.Name | Should -Be $env.FileWorkspaceNameSubscription } diff --git a/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspacesNoSubscription.Tests.ps1 b/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspacesNoSubscription.Tests.ps1 index a7035aa7ece2..bbf5c12735a8 100644 --- a/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspacesNoSubscription.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Get-AzSupportFileWorkspacesNoSubscription.Tests.ps1 @@ -15,7 +15,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSupportFileWorkspacesNo } Describe 'Get-AzSupportFileWorkspacesNoSubscription' { - It 'Get' -Skip:$env.HasSubscription{ + It 'Get' -skip:($env.HasSubscription -eq $true){ $fileWorkspace = Get-AzSupportFileWorkspacesNoSubscription -Name $env.FileWorkspaceNameNoSubscription $fileWorkspace.Name | Should -Be $env.FileWorkspaceNameNoSubscription } diff --git a/src/Support/Support.Autorest/test/Get-AzSupportFilesNoSubscription.Tests.ps1 b/src/Support/Support.Autorest/test/Get-AzSupportFilesNoSubscription.Tests.ps1 index b78dc5574914..2c91024e470e 100644 --- a/src/Support/Support.Autorest/test/Get-AzSupportFilesNoSubscription.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Get-AzSupportFilesNoSubscription.Tests.ps1 @@ -15,7 +15,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSupportFilesNoSubscript } Describe 'Get-AzSupportFilesNoSubscription' { - It 'List' -Skip:$env.HasSubscription{ + It 'List' -skip:($env.HasSubscription -eq $true) { $files = Get-AzSupportFilesNoSubscription -WorkspaceName $env.FileWorkspaceNameNoSubscription $files | Should -Not -BeNullOrEmpty $files.Count | Should -BeGreaterOrEqual 1 @@ -25,8 +25,8 @@ Describe 'Get-AzSupportFilesNoSubscription' { { throw [System.NotImplementedException] } | Should -Not -Throw } - It 'Get' -Skip:$env.HasSubscription{ - $file = Get-AzSupportFile -Name "test2.txt" -WorkspaceName $env.FileWorkspaceNameSubscription + It 'Get' -skip:($env.HasSubscription -eq $true){ + $file = Get-AzSupportFilesNoSubscription -Name "test2.txt" -WorkspaceName $env.FileWorkspaceNameSubscription $file | Should -Not -BeNullOrEmpty $file.Name | Should -Be "test2.txt" } diff --git a/src/Support/Support.Autorest/test/Get-AzSupportTicket.Tests.ps1 b/src/Support/Support.Autorest/test/Get-AzSupportTicket.Tests.ps1 index 45dd66e47457..f41cd53bcc8d 100644 --- a/src/Support/Support.Autorest/test/Get-AzSupportTicket.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Get-AzSupportTicket.Tests.ps1 @@ -15,7 +15,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSupportTicket')) } Describe 'Get-AzSupportTicket' { - It 'List' -Skip:!$env.HasSubscription{ + It 'List' -skip:($env.HasSubscription -eq $false){ # if($env.SupportPlanSubscription -eq "Basic support" || $env.SupportPlanSubscription -eq "Free"){ # write-host "cannot get support tickets with free support plan" @@ -31,7 +31,7 @@ Describe 'Get-AzSupportTicket' { # } } - It 'Get' -Skip:!$env.HasSubscription{ + It 'Get' -skip:($env.HasSubscription -eq $false){ # if($env.SupportPlanSubscription -eq "Basic support" || $env.SupportPlanSubscription -eq "Free"){ # write-host "cannot get support tickets with free support plan" diff --git a/src/Support/Support.Autorest/test/Get-AzSupportTicketsNoSubscription.Recording.json b/src/Support/Support.Autorest/test/Get-AzSupportTicketsNoSubscription.Recording.json new file mode 100644 index 000000000000..4144cbddfdef --- /dev/null +++ b/src/Support/Support.Autorest/test/Get-AzSupportTicketsNoSubscription.Recording.json @@ -0,0 +1,86 @@ +{ + "Get-AzSupportTicketsNoSubscription+[NoContext]+List+$GET+https://management.azure.com/providers/Microsoft.Support/supportTickets?$top=5\u0026api-version=2022-09-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.Support/supportTickets?$top=5\u0026api-version=2022-09-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "c301d0ed-90c5-4f9a-adaf-04a5c700243c" ], + "CommandName": [ "Get-AzSupportTicketsNoSubscription" ], + "FullCommandName": [ "Get-AzSupportTicketsNoSubscription_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.1", "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" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "aabd5ede-5646-4c87-a53e-e097184acab4" ], + "x-ms-correlation-request-id": [ "aabd5ede-5646-4c87-a53e-e097184acab4" ], + "x-ms-routing-request-id": [ "EASTUS:20240307T233154Z:aabd5ede-5646-4c87-a53e-e097184acab4" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 6A205F5B5647475893546DDD3299183D Ref B: MNZ221060608053 Ref C: 2024-03-07T23:31:53Z" ], + "Date": [ "Thu, 07 Mar 2024 23:31:53 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "8152" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"id\":\"/providers/Microsoft.Support/supportTickets/test-767fe528-5a94-473f-b53f-6505e5d0288c\",\"name\":\"test-767fe528-5a94-473f-b53f-6505e5d0288c\",\"type\":\"Microsoft.Support/supportTickets\",\"properties\":{\"description\":\"test ticket - please ignore and close\",\"problemClassificationId\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/3ec1a070-f242-9ecf-5a7c-e1a88ce029ef\",\"problemClassificationDisplayName\":\"Add or update VAT, tax id, PO number or profile information\",\"severity\":\"Minimal\",\"require24X7Response\":false,\"enrollmentId\":\"\",\"contactDetails\":{\"firstName\":\"test\",\"lastName\":\"test\",\"preferredContactMethod\":\"Email\",\"primaryEmailAddress\":\"test@test.com\",\"preferredTimeZone\":\"Pacific Standard Time\",\"country\":\"USA\",\"preferredSupportLanguage\":\"en-US\"},\"serviceLevelAgreement\":{\"startTime\":\"2024-03-07T23:30:32Z\",\"expirationTime\":\"2024-03-08T19:31:00Z\",\"slaMinutes\":480},\"supportEngineer\":{},\"supportPlanType\":\"Basic\",\"supportPlanDisplayName\":\"Basic support\",\"advancedDiagnosticConsent\":\"No\",\"isTemporaryTicket\":\"No\",\"supportPlanId\":\"U291cmNlOkZyZWUsRnJlZUlkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwOSw=\",\"fileWorkspaceName\":\"2403070040015771\",\"supportTicketId\":\"2403070040015771\",\"title\":\"test ticket - please ignore and close\",\"serviceId\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc\",\"serviceDisplayName\":\"Billing\",\"status\":\"Open\",\"createdDate\":\"2024-03-07T23:30:32Z\",\"modifiedDate\":\"2024-03-07T23:31:24Z\"}},{\"id\":\"/providers/Microsoft.Support/supportTickets/test-for-create-99bd932d-84bf-43e3-aaa0-d8023398d6b2\",\"name\":\"test-for-create-99bd932d-84bf-43e3-aaa0-d8023398d6b2\",\"type\":\"Microsoft.Support/supportTickets\",\"properties\":{\"description\":\"test ticket - please ignore and close\",\"problemClassificationId\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/3ec1a070-f242-9ecf-5a7c-e1a88ce029ef\",\"problemClassificationDisplayName\":\"Add or update VAT, tax id, PO number or profile information\",\"severity\":\"Minimal\",\"require24X7Response\":false,\"enrollmentId\":\"\",\"contactDetails\":{\"firstName\":\"test\",\"lastName\":\"test\",\"preferredContactMethod\":\"Email\",\"primaryEmailAddress\":\"test@test.com\",\"preferredTimeZone\":\"Pacific Standard Time\",\"country\":\"USA\",\"preferredSupportLanguage\":\"en-US\"},\"serviceLevelAgreement\":{\"startTime\":\"2024-03-07T23:23:53Z\",\"expirationTime\":\"2024-03-08T19:24:00Z\",\"slaMinutes\":480},\"supportEngineer\":{},\"supportPlanType\":\"Basic\",\"supportPlanDisplayName\":\"Basic support\",\"advancedDiagnosticConsent\":\"No\",\"isTemporaryTicket\":\"No\",\"supportPlanId\":\"U291cmNlOkZyZWUsRnJlZUlkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwOSw=\",\"fileWorkspaceName\":\"2403070040015726\",\"supportTicketId\":\"2403070040015726\",\"title\":\"test ticket - please ignore and close\",\"serviceId\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc\",\"serviceDisplayName\":\"Billing\",\"status\":\"Open\",\"createdDate\":\"2024-03-07T23:23:53Z\",\"modifiedDate\":\"2024-03-07T23:24:07Z\"}},{\"id\":\"/providers/Microsoft.Support/supportTickets/test-99bd932d-84bf-43e3-aaa0-d8023398d6b2\",\"name\":\"test-99bd932d-84bf-43e3-aaa0-d8023398d6b2\",\"type\":\"Microsoft.Support/supportTickets\",\"properties\":{\"description\":\"test ticket - please ignore and close\",\"problemClassificationId\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/3ec1a070-f242-9ecf-5a7c-e1a88ce029ef\",\"problemClassificationDisplayName\":\"Add or update VAT, tax id, PO number or profile information\",\"severity\":\"Minimal\",\"require24X7Response\":false,\"enrollmentId\":\"\",\"contactDetails\":{\"firstName\":\"test\",\"lastName\":\"test\",\"preferredContactMethod\":\"Email\",\"primaryEmailAddress\":\"test@test.com\",\"preferredTimeZone\":\"Pacific Standard Time\",\"country\":\"USA\",\"preferredSupportLanguage\":\"en-US\"},\"serviceLevelAgreement\":{\"startTime\":\"2024-03-07T23:21:43Z\",\"expirationTime\":\"2024-03-08T19:22:00Z\",\"slaMinutes\":480},\"supportEngineer\":{},\"supportPlanType\":\"Basic\",\"supportPlanDisplayName\":\"Basic support\",\"advancedDiagnosticConsent\":\"Yes\",\"isTemporaryTicket\":\"No\",\"supportPlanId\":\"U291cmNlOkZyZWUsRnJlZUlkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwOSw=\",\"fileWorkspaceName\":\"2403070040015714\",\"supportTicketId\":\"2403070040015714\",\"title\":\"test ticket - please ignore and close\",\"serviceId\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc\",\"serviceDisplayName\":\"Billing\",\"status\":\"Closed\",\"createdDate\":\"2024-03-07T23:21:43Z\",\"modifiedDate\":\"2024-03-07T23:28:03Z\"}},{\"id\":\"/providers/Microsoft.Support/supportTickets/test-567472ea-7355-41e4-8da8-e827a97c8a51\",\"name\":\"test-567472ea-7355-41e4-8da8-e827a97c8a51\",\"type\":\"Microsoft.Support/supportTickets\",\"properties\":{\"description\":\"test ticket - please ignore and close\",\"problemClassificationId\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/3ec1a070-f242-9ecf-5a7c-e1a88ce029ef\",\"problemClassificationDisplayName\":\"Add or update VAT, tax id, PO number or profile information\",\"severity\":\"Minimal\",\"require24X7Response\":false,\"enrollmentId\":\"\",\"contactDetails\":{\"firstName\":\"test\",\"lastName\":\"test\",\"preferredContactMethod\":\"Email\",\"primaryEmailAddress\":\"test@test.com\",\"preferredTimeZone\":\"Pacific Standard Time\",\"country\":\"USA\",\"preferredSupportLanguage\":\"en-US\"},\"serviceLevelAgreement\":{\"startTime\":\"2024-03-07T23:14:53Z\",\"expirationTime\":\"2024-03-08T19:15:00Z\",\"slaMinutes\":480},\"supportEngineer\":{},\"supportPlanType\":\"Basic\",\"supportPlanDisplayName\":\"Basic support\",\"advancedDiagnosticConsent\":\"No\",\"isTemporaryTicket\":\"No\",\"supportPlanId\":\"U291cmNlOkZyZWUsRnJlZUlkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwOSw=\",\"fileWorkspaceName\":\"2403070040015653\",\"supportTicketId\":\"2403070040015653\",\"title\":\"test ticket - please ignore and close\",\"serviceId\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc\",\"serviceDisplayName\":\"Billing\",\"status\":\"Closed\",\"createdDate\":\"2024-03-07T23:14:53Z\",\"modifiedDate\":\"2024-03-07T23:25:49Z\"}},{\"id\":\"/providers/Microsoft.Support/supportTickets/test-for-create-2a8359b7-0cbe-4539-92d5-78e8ddb573c2\",\"name\":\"test-for-create-2a8359b7-0cbe-4539-92d5-78e8ddb573c2\",\"type\":\"Microsoft.Support/supportTickets\",\"properties\":{\"description\":\"test ticket - please ignore and close\",\"problemClassificationId\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/3ec1a070-f242-9ecf-5a7c-e1a88ce029ef\",\"problemClassificationDisplayName\":\"Add or update VAT, tax id, PO number or profile information\",\"severity\":\"Minimal\",\"require24X7Response\":false,\"enrollmentId\":\"\",\"contactDetails\":{\"firstName\":\"test\",\"lastName\":\"test\",\"preferredContactMethod\":\"Email\",\"primaryEmailAddress\":\"test@test.com\",\"preferredTimeZone\":\"Pacific Standard Time\",\"country\":\"USA\",\"preferredSupportLanguage\":\"en-US\"},\"serviceLevelAgreement\":{\"startTime\":\"2024-03-07T23:07:23Z\",\"expirationTime\":\"2024-03-08T19:08:00Z\",\"slaMinutes\":480},\"supportEngineer\":{},\"supportPlanType\":\"Basic\",\"supportPlanDisplayName\":\"Basic support\",\"advancedDiagnosticConsent\":\"No\",\"isTemporaryTicket\":\"No\",\"supportPlanId\":\"U291cmNlOkZyZWUsRnJlZUlkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwOSw=\",\"fileWorkspaceName\":\"2403070040015571\",\"supportTicketId\":\"2403070040015571\",\"title\":\"test ticket - please ignore and close\",\"serviceId\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc\",\"serviceDisplayName\":\"Billing\",\"status\":\"Closed\",\"createdDate\":\"2024-03-07T23:07:23Z\",\"modifiedDate\":\"2024-03-07T23:16:59Z\"}}],\"nextLink\":\"https://management.azure.com:443/providers/Microsoft.Support/supportTickets?$top=5\u0026api-version=2022-09-01-preview\u0026$skipToken=%255B%257B%2522compositeToken%2522%253A%257B%2522token%2522%253Anull%252C%2522range%2522%253A%257B%2522min%2522%253A%252205C1D399CD6730%2522%252C%2522max%2522%253A%252205C1D5673399C8%2522%257D%257D%252C%2522orderByItems%2522%253A%255B%257B%2522item%2522%253A%25222024-03-07T23%253A07%253A23Z%2522%257D%255D%252C%2522rid%2522%253A%2522e6dtAI34RR8HeUIAAADADQ%253D%253D%2522%252C%2522skipCount%2522%253A1%252C%2522filter%2522%253A%2522true%2522%257D%255D\"}", + "isContentBase64": false + } + }, + "Get-AzSupportTicketsNoSubscription+[NoContext]+Get+$GET+https://management.azure.com/providers/Microsoft.Support/supportTickets/test-767fe528-5a94-473f-b53f-6505e5d0288c?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.Support/supportTickets/test-767fe528-5a94-473f-b53f-6505e5d0288c?api-version=2022-09-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "3d7a2840-c9c2-44c2-a578-e94b747fa403" ], + "CommandName": [ "Get-AzSupportTicketsNoSubscription" ], + "FullCommandName": [ "Get-AzSupportTicketsNoSubscription_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.1", "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" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "a85829b8-bb4a-4886-bd64-d42326df66b2" ], + "x-ms-correlation-request-id": [ "a85829b8-bb4a-4886-bd64-d42326df66b2" ], + "x-ms-routing-request-id": [ "EASTUS:20240307T233155Z:a85829b8-bb4a-4886-bd64-d42326df66b2" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 0E1481F219BC45DF9701AFEA856DE68D Ref B: MNZ221060608053 Ref C: 2024-03-07T23:31:54Z" ], + "Date": [ "Thu, 07 Mar 2024 23:31:55 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1499" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.Support/supportTickets/test-767fe528-5a94-473f-b53f-6505e5d0288c\",\"name\":\"test-767fe528-5a94-473f-b53f-6505e5d0288c\",\"type\":\"Microsoft.Support/supportTickets\",\"properties\":{\"description\":\"test ticket - please ignore and close\",\"problemClassificationId\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/3ec1a070-f242-9ecf-5a7c-e1a88ce029ef\",\"problemClassificationDisplayName\":\"Add or update VAT, tax id, PO number or profile information\",\"severity\":\"Minimal\",\"require24X7Response\":false,\"enrollmentId\":\"\",\"contactDetails\":{\"firstName\":\"test\",\"lastName\":\"test\",\"preferredContactMethod\":\"Email\",\"primaryEmailAddress\":\"test@test.com\",\"preferredTimeZone\":\"Pacific Standard Time\",\"country\":\"USA\",\"preferredSupportLanguage\":\"en-US\"},\"serviceLevelAgreement\":{\"startTime\":\"2024-03-07T23:30:32Z\",\"expirationTime\":\"2024-03-08T19:31:00Z\",\"slaMinutes\":480},\"supportEngineer\":{},\"supportPlanType\":\"Basic\",\"supportPlanDisplayName\":\"Basic support\",\"advancedDiagnosticConsent\":\"No\",\"isTemporaryTicket\":\"No\",\"supportPlanId\":\"U291cmNlOkZyZWUsRnJlZUlkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwOSw=\",\"fileWorkspaceName\":\"2403070040015771\",\"supportTicketId\":\"2403070040015771\",\"title\":\"test ticket - please ignore and close\",\"serviceId\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc\",\"serviceDisplayName\":\"Billing\",\"status\":\"Open\",\"createdDate\":\"2024-03-07T23:30:32Z\",\"modifiedDate\":\"2024-03-07T23:31:24Z\"}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/Support/Support.Autorest/test/Get-AzSupportTicketsNoSubscription.Tests.ps1 b/src/Support/Support.Autorest/test/Get-AzSupportTicketsNoSubscription.Tests.ps1 index c6de5f76e9c1..ecf37730d5e7 100644 --- a/src/Support/Support.Autorest/test/Get-AzSupportTicketsNoSubscription.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Get-AzSupportTicketsNoSubscription.Tests.ps1 @@ -15,7 +15,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzSupportTicketsNoSubscri } Describe 'Get-AzSupportTicketsNoSubscription' { - It 'List' -Skip:$env.HasSubscription{ + It 'List' -skip:($env.HasSubscription -eq $true){ # if($env.SupportPlanTenant -eq "Basic support" || $env.SupportPlanTenant -eq "Free"){ # write-host "cannot get support tickets with free support plan" @@ -31,7 +31,7 @@ Describe 'Get-AzSupportTicketsNoSubscription' { # } } - It 'Get' -Skip:$env.HasSubscription{ + It 'Get' -skip:($env.HasSubscription -eq $true){ # if($env.SupportPlanTenant -eq "Basic support" || $env.SupportPlanTenant -eq "Free"){ # write-host "cannot get support tickets with free support plan" diff --git a/src/Support/Support.Autorest/test/New-AzSupportCommunication.Tests.ps1 b/src/Support/Support.Autorest/test/New-AzSupportCommunication.Tests.ps1 index e453b8fa7349..629fed0bf3f5 100644 --- a/src/Support/Support.Autorest/test/New-AzSupportCommunication.Tests.ps1 +++ b/src/Support/Support.Autorest/test/New-AzSupportCommunication.Tests.ps1 @@ -15,7 +15,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzSupportCommunication')) } Describe 'New-AzSupportCommunication' { - It 'CreateExpanded' -Skip:!$env.HasSubscription{ + It 'CreateExpanded' -skip:($env.HasSubscription -eq $false){ # if($env.SupportPlanSubscription -eq "Basic support" || $env.SupportPlanSubscription -eq "Free"){ # write-host "cannot create communication operations for tickets with free support plan" diff --git a/src/Support/Support.Autorest/test/New-AzSupportCommunicationsNoSubscription.Recording.json b/src/Support/Support.Autorest/test/New-AzSupportCommunicationsNoSubscription.Recording.json new file mode 100644 index 000000000000..f0ff4a22c677 --- /dev/null +++ b/src/Support/Support.Autorest/test/New-AzSupportCommunicationsNoSubscription.Recording.json @@ -0,0 +1,124 @@ +{ + "New-AzSupportCommunicationsNoSubscription+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/providers/Microsoft.Support/supportTickets/test-767fe528-5a94-473f-b53f-6505e5d0288c/communications/test-for-create-msg-767fe528-5a94-473f-b53f-6505e5d0288c?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/providers/Microsoft.Support/supportTickets/test-767fe528-5a94-473f-b53f-6505e5d0288c/communications/test-for-create-msg-767fe528-5a94-473f-b53f-6505e5d0288c?api-version=2022-09-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"sender\": \"sender@sender.com\",\r\n \"subject\": \"this is a test subject\",\r\n \"body\": \"this is a test body\"\r\n }\r\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "141" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/providers/Microsoft.Support/operationResults/4cba9f59-b2a1-490d-b371-b77c316b4caf?api-version=2022-09-01-preview\u0026t=638454511177834181\u0026c=MIIHADCCBeigAwIBAgITfARlF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PGNEqm53KbVEak46WTgD9fGZLQH1XouZGRe0LxQVIWm-K-MYMbrDWF_njKsIaV5Z4VxgFVaX5SlzHvr6coDX5oXwwksEsw8E8g0LfZCpfT5mCwgDPrDv2Ekk26koWUYlmJWgkky22R538qwuJmE6F33YwWStmUGfZfFDyjek8Rd_KyuEuC9IZfk4TTmVjyJmKPi5GhIJGwiATMpLJwt5jD_Hkgbq6vMwud4ZbIE\u0026s=XODzPaKAt9tdyfDhrWL1xONP1aA2Sv-gGAzs47EHJMC5OFyAl3YitOYy2maQamNIe5--Wa5L7BN13EuNSmSzDU8HTa0DhcYe6kDloYNXdPQFItsVhTGajdtVXQ89wgC_npm5k78v1Nu_Qi9ikV7y7WkWV92caimH8ZzkD4nxE5l2vpSRvAOCJXnn_WxtIV9A24CrerAp0hdNjcXQZs3-8irmec84jLNW6t_liofbm-2AtFzcOfq9WipzwpOYhPhby4kMwf1ggJXC95teE3sCbwsz9hqCZKVG5Tt_FhbH2u777VQId6qrSiT49PQslulGP-ugvTudOMK3VhKYQ1NSLQ\u0026h=CSh2SgqPULl3mWmd03SEAYdbUEdXlEuZYvaI32xSuvE" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.Support/operationsStatus/4cba9f59-b2a1-490d-b371-b77c316b4caf?api-version=2022-09-01-preview\u0026t=638454511177834181\u0026c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMjA1NjEzWhcNMjUwMTI0MjA1NjEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlL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SuGB1nwHJHmVoqY7hHz2gF21vFVRQTEDHgskuBOiewmwhr_MeyFIm6JV8iAH4hieLpDVrCj3dqW4Ch5zo3Z2Yz4WSfpxHlPAKCzTgLSJIVZibScCiJmkAAwjVAzl85D8U7dzpIc-mKdWKC4FG6FSUb0hawy_-g0ej0OoRFLn_y4v013_g5bCdUgCPxoMS2ho5vd-IjE9MNybhtm2dDG028jsFsjMZHzN5NzE3NeZdxjCW9ru5jU0nq80zH2YER1YXh5OA4jPiNKBCPPXWKsRbjKriL86-a8mV19ojEvr4mwljaE5TQ2g-r2OQ\u0026h=NxY60hua8K8RDymXUnSqoIi9jAx7qbkzNb-YW_w5fIE" ], + "x-ms-ratelimit-remaining-tenant-writes": [ "1199" ], + "x-ms-request-id": [ "db2866ff-a97d-4bdb-8cdc-2311b03cd62d" ], + "x-ms-correlation-request-id": [ "db2866ff-a97d-4bdb-8cdc-2311b03cd62d" ], + "x-ms-routing-request-id": [ "EASTUS:20240307T233157Z:db2866ff-a97d-4bdb-8cdc-2311b03cd62d" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 08784018BAEC45FC8F4BE7F19A4207A4 Ref B: MNZ221060608053 Ref C: 2024-03-07T23:31:56Z" ], + "Date": [ "Thu, 07 Mar 2024 23:31:57 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null, + "isContentBase64": false + } + }, + "New-AzSupportCommunicationsNoSubscription+[NoContext]+CreateExpanded+$GET+https://management.azure.com/providers/Microsoft.Support/operationsStatus/4cba9f59-b2a1-490d-b371-b77c316b4caf?api-version=2022-09-01-preview\u0026t=638454511177834181\u0026c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMD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22R538qwuJmE6F33YwWStmUGfZfFDyjek8Rd_KyuEuC9IZfk4TTmVjyJmKPi5GhIJGwiATMpLJwt5jD_Hkgbq6vMwud4ZbIE\u0026s=eFDQXKYXfI8U7dF-Vr-7B2sNi9ME_SuGB1nwHJHmVoqY7hHz2gF21vFVRQTEDHgskuBOiewmwhr_MeyFIm6JV8iAH4hieLpDVrCj3dqW4Ch5zo3Z2Yz4WSfpxHlPAKCzTgLSJIVZibScCiJmkAAwjVAzl85D8U7dzpIc-mKdWKC4FG6FSUb0hawy_-g0ej0OoRFLn_y4v013_g5bCdUgCPxoMS2ho5vd-IjE9MNybhtm2dDG028jsFsjMZHzN5NzE3NeZdxjCW9ru5jU0nq80zH2YER1YXh5OA4jPiNKBCPPXWKsRbjKriL86-a8mV19ojEvr4mwljaE5TQ2g-r2OQ\u0026h=NxY60hua8K8RDymXUnSqoIi9jAx7qbkzNb-YW_w5fIE+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.Support/operationsStatus/4cba9f59-b2a1-490d-b371-b77c316b4caf?api-version=2022-09-01-preview\u0026t=638454511177834181\u0026c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMjA1NjEzWhcNMjUwMTI0MjA1NjEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYMYYup1R1RZPIwVtk7z89JkrsDK8coPmULAovQOy3jgtdJ-z5oyCO28-zQ4LRHmuyeq1ROWdQR5e828FYihyBqnnQQea3EcS6CFfXpYes-7NPXy73E_P3goJLJU7bfuZ4i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_y4v013_g5bCdUgCPxoMS2ho5vd-IjE9MNybhtm2dDG028jsFsjMZHzN5NzE3NeZdxjCW9ru5jU0nq80zH2YER1YXh5OA4jPiNKBCPPXWKsRbjKriL86-a8mV19ojEvr4mwljaE5TQ2g-r2OQ\u0026h=NxY60hua8K8RDymXUnSqoIi9jAx7qbkzNb-YW_w5fIE", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "23" ], + "x-ms-client-request-id": [ "077710c2-ee91-42f6-9604-2918fe711ee5" ], + "CommandName": [ "New-AzSupportCommunicationsNoSubscription" ], + "FullCommandName": [ "New-AzSupportCommunicationsNoSubscription_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.1", "Az.Support/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "35bee0ac-8f21-44ce-8d9b-b03a0d076290" ], + "x-ms-correlation-request-id": [ "35bee0ac-8f21-44ce-8d9b-b03a0d076290" ], + "x-ms-routing-request-id": [ "EASTUS:20240307T233228Z:35bee0ac-8f21-44ce-8d9b-b03a0d076290" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: E30CCADAE56A40D1AA8CE75111B85719 Ref B: MNZ221060608053 Ref C: 2024-03-07T23:32:28Z" ], + "Date": [ "Thu, 07 Mar 2024 23:32:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "198" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.Support/operationsStatus/4cba9f59-b2a1-490d-b371-b77c316b4caf\",\"status\":\"Succeeded\",\"properties\":{\"supportTicketCreationWarning\":\"\",\"supportTicketId\":\"2403070040015771\"}}", + "isContentBase64": false + } + }, + "New-AzSupportCommunicationsNoSubscription+[NoContext]+CreateExpanded+$GET+https://management.azure.com/providers/Microsoft.Support/supportTickets/test-767fe528-5a94-473f-b53f-6505e5d0288c/communications/test-for-create-msg-767fe528-5a94-473f-b53f-6505e5d0288c?api-version=2022-09-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.Support/supportTickets/test-767fe528-5a94-473f-b53f-6505e5d0288c/communications/test-for-create-msg-767fe528-5a94-473f-b53f-6505e5d0288c?api-version=2022-09-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "24" ], + "x-ms-client-request-id": [ "077710c2-ee91-42f6-9604-2918fe711ee5" ], + "CommandName": [ "New-AzSupportCommunicationsNoSubscription" ], + "FullCommandName": [ "New-AzSupportCommunicationsNoSubscription_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.2.0", "PSVersion/v7.4.1", "Az.Support/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "a5941a6b-b49d-42c8-b70e-dfbd25580c4e" ], + "x-ms-correlation-request-id": [ "a5941a6b-b49d-42c8-b70e-dfbd25580c4e" ], + "x-ms-routing-request-id": [ "EASTUS:20240307T233229Z:a5941a6b-b49d-42c8-b70e-dfbd25580c4e" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: BF640FE92750488F9102F01520CE8F8C Ref B: MNZ221060608053 Ref C: 2024-03-07T23:32:28Z" ], + "Date": [ "Thu, 07 Mar 2024 23:32:28 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "481" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.Support/supportTickets/test-767fe528-5a94-473f-b53f-6505e5d0288c/communications/99fcbee4-dadc-ee11-904d-6045bdef78de\",\"name\":\"99fcbee4-dadc-ee11-904d-6045bdef78de\",\"type\":\"Microsoft.Support/communications\",\"properties\":{\"communicationType\":\"Web\",\"communicationDirection\":\"Inbound\",\"sender\":\"sender@sender.com\",\"subject\":\"this is a test subject - TrackingID#2403070040015771\",\"body\":\"\u003cpre\u003ethis is a test body\u003c/pre\u003e\",\"createdDate\":\"2024-03-07T23:32:00Z\"}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/Support/Support.Autorest/test/New-AzSupportCommunicationsNoSubscription.Tests.ps1 b/src/Support/Support.Autorest/test/New-AzSupportCommunicationsNoSubscription.Tests.ps1 index 224e14491d6c..ed2691e9e922 100644 --- a/src/Support/Support.Autorest/test/New-AzSupportCommunicationsNoSubscription.Tests.ps1 +++ b/src/Support/Support.Autorest/test/New-AzSupportCommunicationsNoSubscription.Tests.ps1 @@ -15,7 +15,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzSupportCommunicationsNo } Describe 'New-AzSupportCommunicationsNoSubscription' { - It 'CreateExpanded' -Skip:$env.HasSubscription{ + It 'CreateExpanded' -skip:($env.HasSubscription -eq $true) { # if($env.SupportPlanTenant -eq "Basic support" || $env.SupportPlanTenant -eq "Free"){ # write-host "cannot create communication operations for tickets with free support plan" diff --git a/src/Support/Support.Autorest/test/New-AzSupportFileAndUpload.Tests.ps1 b/src/Support/Support.Autorest/test/New-AzSupportFileAndUpload.Tests.ps1 index 0bbd44f88d2a..1f1406b1c14e 100644 --- a/src/Support/Support.Autorest/test/New-AzSupportFileAndUpload.Tests.ps1 +++ b/src/Support/Support.Autorest/test/New-AzSupportFileAndUpload.Tests.ps1 @@ -15,7 +15,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzSupportFileAndUpload')) } Describe 'New-AzSupportFileAndUpload' { - It 'CreateExpanded' -Skip:!$env.HasSubscription{ + It 'CreateExpanded' -skip:($env.HasSubscription -eq $false){ $testFilePath = Join-Path $PSScriptRoot files test.txt $file = New-AzSupportFileAndUpload -WorkspaceName $env.FileWorkspaceNameSubscription -FilePath $testFilePath -SubscriptionId $env.SubscriptionId $file.Name | Should -Be "test.txt" diff --git a/src/Support/Support.Autorest/test/New-AzSupportFileAndUploadNoSubscription.Tests.ps1 b/src/Support/Support.Autorest/test/New-AzSupportFileAndUploadNoSubscription.Tests.ps1 index 2080e3e8a12b..5a19586b69f9 100644 --- a/src/Support/Support.Autorest/test/New-AzSupportFileAndUploadNoSubscription.Tests.ps1 +++ b/src/Support/Support.Autorest/test/New-AzSupportFileAndUploadNoSubscription.Tests.ps1 @@ -15,7 +15,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzSupportFileAndUploadNoS } Describe 'New-AzSupportFileAndUploadNoSubscription' { - It 'CreateExpanded' -Skip:$env.HasSubscription{ + It 'CreateExpanded' -skip:($env.HasSubscription -eq $true){ $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.Tests.ps1 b/src/Support/Support.Autorest/test/New-AzSupportFileWorkspace.Tests.ps1 index c228e7d85d19..b1152195271d 100644 --- a/src/Support/Support.Autorest/test/New-AzSupportFileWorkspace.Tests.ps1 +++ b/src/Support/Support.Autorest/test/New-AzSupportFileWorkspace.Tests.ps1 @@ -15,7 +15,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzSupportFileWorkspace')) } Describe 'New-AzSupportFileWorkspace' { - It 'Create' -Skip:!$env.HasSubscription{ + It 'Create' -skip:($env.HasSubscription -eq $false){ $fileWorkspaceName = $env.FileWorkspaceNameSubscriptionForCreate $fileWorkspace = New-AzSupportFileWorkspace -Name $fileWorkspaceName -SubscriptionId $env.SubscriptionId $fileWorkspace.Name | Should -Be $fileWorkspaceName diff --git a/src/Support/Support.Autorest/test/New-AzSupportFileWorkspacesNoSubscription.Tests.ps1 b/src/Support/Support.Autorest/test/New-AzSupportFileWorkspacesNoSubscription.Tests.ps1 index c4956c7d475b..25e73aca8b1f 100644 --- a/src/Support/Support.Autorest/test/New-AzSupportFileWorkspacesNoSubscription.Tests.ps1 +++ b/src/Support/Support.Autorest/test/New-AzSupportFileWorkspacesNoSubscription.Tests.ps1 @@ -15,7 +15,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzSupportFileWorkspacesNo } Describe 'New-AzSupportFileWorkspacesNoSubscription' { - It 'Create' -Skip:$env.HasSubscription{ + It 'Create' -skip:($env.HasSubscription -eq $true){ $fileWorkspaceName = $env.fileWorkspaceNameNoSubscriptionForCreate $fileWorkspace = New-AzSupportFileWorkspacesNoSubscription -Name $fileWorkspaceName $fileWorkspace.Name | Should -Be $fileWorkspaceName diff --git a/src/Support/Support.Autorest/test/New-AzSupportTicket.Tests.ps1 b/src/Support/Support.Autorest/test/New-AzSupportTicket.Tests.ps1 index f003b3cb179e..92242d3bfc70 100644 --- a/src/Support/Support.Autorest/test/New-AzSupportTicket.Tests.ps1 +++ b/src/Support/Support.Autorest/test/New-AzSupportTicket.Tests.ps1 @@ -14,7 +14,7 @@ if (($null -eq $TestName) -or ($TestName -contains 'New-AzSupportTicket')) { } Describe 'New-AzSupportTicket' { - It 'CreateExpanded' -Skip:!$env.HasSubscription{ + It 'CreateExpanded' -skip:($env.HasSubscription -eq $false){ $supportTicket = New-AzSupportTicket -Name $env.NameForCreate -AdvancedDiagnosticConsent $env.AdvancedDiagnosticConsent -ContactDetailCountry $env.ContactDetailCountry -ContactDetailFirstName $env.ContactDetailFirstName -ContactDetailLastName $env.ContactDetailLastName -ContactDetailPreferredContactMethod $env.ContactDetailPreferredContactMethod -ContactDetailPreferredSupportLanguage $env.ContactDetailPreferredSupportLanguage -ContactDetailPreferredTimeZone $env.ContactDetailPreferredTimeZone -ContactDetailPrimaryEmailAddress $env.ContactDetailPrimaryEmailAddress -Description $env.Description -ProblemClassificationId $env.ProblemClassificationId -ServiceId $env.ServiceId -Severity $env.Severity -Title $env.Title $supportTicket.Description | Should -Be "test ticket - please ignore and close" diff --git a/src/Support/Support.Autorest/test/New-AzSupportTicketsNoSubscription.Tests.ps1 b/src/Support/Support.Autorest/test/New-AzSupportTicketsNoSubscription.Tests.ps1 index ff3d85c03f6d..db13738ed086 100644 --- a/src/Support/Support.Autorest/test/New-AzSupportTicketsNoSubscription.Tests.ps1 +++ b/src/Support/Support.Autorest/test/New-AzSupportTicketsNoSubscription.Tests.ps1 @@ -15,7 +15,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzSupportTicketsNoSubscri } Describe 'New-AzSupportTicketsNoSubscription' { - It 'CreateExpanded' -Skip:$env.HasSubscription{ + It 'CreateExpanded' -skip:($env.HasSubscription -eq $true){ $supportTicket = New-AzSupportTicketsNoSubscription -SupportTicketName $env.NameForCreate -AdvancedDiagnosticConsent $env.AdvancedDiagnosticConsent -ContactDetailCountry $env.ContactDetailCountry -ContactDetailFirstName $env.ContactDetailFirstName -ContactDetailLastName $env.ContactDetailLastName -ContactDetailPreferredContactMethod $env.ContactDetailPreferredContactMethod -ContactDetailPreferredSupportLanguage $env.ContactDetailPreferredSupportLanguage -ContactDetailPreferredTimeZone $env.ContactDetailPreferredTimeZone -ContactDetailPrimaryEmailAddress $env.ContactDetailPrimaryEmailAddress -Description $env.Description -ProblemClassificationId $env.ProblemClassificationId -ServiceId $env.ServiceId -Severity $env.Severity -Title $env.Title $supportTicket.Description | Should -Be "test ticket - please ignore and close" diff --git a/src/Support/Support.Autorest/test/Test-AzSupportCommunicationNameAvailability.Tests.ps1 b/src/Support/Support.Autorest/test/Test-AzSupportCommunicationNameAvailability.Tests.ps1 index fc892dcd8f89..01abbc7260f2 100644 --- a/src/Support/Support.Autorest/test/Test-AzSupportCommunicationNameAvailability.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Test-AzSupportCommunicationNameAvailability.Tests.ps1 @@ -15,12 +15,12 @@ if(($null -eq $TestName) -or ($TestName -contains 'Test-AzSupportCommunicationNa } Describe 'Test-AzSupportCommunicationNameAvailability' { - It 'CheckExpandedTrue' -skip:!$env.HasSubscription { + It 'CheckExpandedTrue' -skip:($env.HasSubscription -eq $false) { $communicationResult = Test-AzSupportCommunicationNameAvailability -SupportTicketName $env.Name -Name $env.CommunicationNameForCheck -Type "Microsoft.Support/communications" $communicationResult.NameAvailable | Should -Be $true } - It 'CheckExpandedTrue' -skip:!$env.HasSubscription{ + It 'CheckExpandedTrue' -skip:($env.HasSubscription -eq $false) { $communicationResult = Test-AzSupportCommunicationNameAvailability -SupportTicketName $env.Name -Name $env.CommunicationName-Type "Microsoft.Support/communications" $communicationResult.NameAvailable | Should -Be $false } diff --git a/src/Support/Support.Autorest/test/Test-AzSupportCommunicationsNoSubscriptionNameAvailability.Tests.ps1 b/src/Support/Support.Autorest/test/Test-AzSupportCommunicationsNoSubscriptionNameAvailability.Tests.ps1 index 5ea71fd3e53f..a8036d5aa7d4 100644 --- a/src/Support/Support.Autorest/test/Test-AzSupportCommunicationsNoSubscriptionNameAvailability.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Test-AzSupportCommunicationsNoSubscriptionNameAvailability.Tests.ps1 @@ -15,15 +15,15 @@ if(($null -eq $TestName) -or ($TestName -contains 'Test-AzSupportCommunicationsN } Describe 'Test-AzSupportCommunicationsNoSubscriptionNameAvailability' { - It 'CheckExpandedTrue' -skip:$env.HasSubscription { + It 'CheckExpandedTrue' -skip:($env.HasSubscription -eq $true) { $communicationResult = Test-AzSupportCommunicationsNoSubscriptionNameAvailability -SupportTicketName $env.Name -Name $env.CommunicationNameForCheck -Type "Microsoft.Support/communications" $communicationResult.NameAvailable | Should -Be $true } - It 'CheckExpandedTrue' -skip:$env.HasSubscription { - $communicationResult = Test-AzSupportCommunicationsNoSubscriptionNameAvailability -SupportTicketName $env.Name -Name $env.CommunicationName-Type "Microsoft.Support/communications" - $communicationResult.NameAvailable | Should -Be $false - } + # It 'CheckExpandedFalse' -skip:($env.HasSubscription -eq $true) { + # $communicationResult = Test-AzSupportCommunicationsNoSubscriptionNameAvailability -SupportTicketName $env.Name -Name $env.CommunicationName-Type "Microsoft.Support/communications" + # $communicationResult.NameAvailable | Should -Be $false + # } It 'CheckViaJsonString' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw diff --git a/src/Support/Support.Autorest/test/Test-AzSupportTicketNameAvailability.Tests.ps1 b/src/Support/Support.Autorest/test/Test-AzSupportTicketNameAvailability.Tests.ps1 index 2cdc6139b13b..ea5f8246fce9 100644 --- a/src/Support/Support.Autorest/test/Test-AzSupportTicketNameAvailability.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Test-AzSupportTicketNameAvailability.Tests.ps1 @@ -15,22 +15,22 @@ if(($null -eq $TestName) -or ($TestName -contains 'Test-AzSupportTicketNameAvail } Describe 'Test-AzSupportTicketNameAvailability' { - It 'CheckExpandedSupportTicketTrue' -Skip:!$env.HasSubscription { + It 'CheckExpandedSupportTicketTrue' -skip:($env.HasSubscription -eq $false) { $supportTicketResult = Test-AzSupportTicketNameAvailability -Name $env.NameForCheck -Type "Microsoft.Support/supportTickets"-SubscriptionId $env.SubscriptionId $supportTicketResult.NameAvailable | Should -Be $true } - It 'CheckExpandedSupportTicketFalse' -Skip:!$env.HasSubscription { + It 'CheckExpandedSupportTicketFalse' -skip:($env.HasSubscription -eq $false) { $supportTicketResult = Test-AzSupportTicketNameAvailability -Name $env.Name-Type "Microsoft.Support/supportTickets"-SubscriptionId $env.SubscriptionId $supportTicketResult.NameAvailable | Should -Be $false } - It 'CheckExpandedFileWorkspaceTrue' -Skip:!$env.HasSubscription { + It 'CheckExpandedFileWorkspaceTrue' -skip:($env.HasSubscription -eq $false) { $fileWorkspaceResult = Test-AzSupportTicketNameAvailability -Name $env.FileWorkspaceNameSubscriptionForCheckName -Type "Microsoft.Support/fileWorkspaces" -SubscriptionId $env.SubscriptionId $fileWorkspaceResult.NameAvailable | Should -Be $true } - It 'CheckExpandedFileWorkspaceFalse' -Skip:!$env.HasSubscription { + It 'CheckExpandedFileWorkspaceFalse' -skip:($env.HasSubscription -eq $false) { $fileWorkspaceResult = Test-AzSupportTicketNameAvailability -Name $env.FileWorkspaceNameSubscription -Type "Microsoft.Support/fileWorkspaces" -SubscriptionId $env.SubscriptionId $fileWorkspaceResult.NameAvailable | Should -Be $false } diff --git a/src/Support/Support.Autorest/test/Test-AzSupportTicketsNoSubscriptionNameAvailability.Tests.ps1 b/src/Support/Support.Autorest/test/Test-AzSupportTicketsNoSubscriptionNameAvailability.Tests.ps1 index 165258553804..8b9c7b84ab9f 100644 --- a/src/Support/Support.Autorest/test/Test-AzSupportTicketsNoSubscriptionNameAvailability.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Test-AzSupportTicketsNoSubscriptionNameAvailability.Tests.ps1 @@ -15,22 +15,22 @@ if(($null -eq $TestName) -or ($TestName -contains 'Test-AzSupportTicketsNoSubscr } Describe 'Test-AzSupportTicketsNoSubscriptionNameAvailability' { - It 'CheckExpandedSupportTicketTrue' -Skip:$env.HasSubscription { + It 'CheckExpandedSupportTicketTrue' -skip:($env.HasSubscription -eq $true) { $supportTicketResult = Test-AzSupportTicketsNoSubscriptionNameAvailability -Name $env.NameForCheck -Type "Microsoft.Support/supportTickets" $supportTicketResult.NameAvailable | Should -Be $true } - It 'CheckExpandedSupportTicket' -Skip:$env.HasSubscription { + It 'CheckExpandedSupportTicket' -skip:($env.HasSubscription -eq $true) { $supportTicketResult = Test-AzSupportTicketsNoSubscriptionNameAvailability -Name $env.Name -Type "Microsoft.Support/supportTickets" $supportTicketResult.NameAvailable | Should -Be $false } - It 'CheckExpandedFileWorkspaceTrue' -Skip:$env.HasSubscription { + It 'CheckExpandedFileWorkspaceTrue' -skip:($env.HasSubscription -eq $true) { $fileWorkspaceResult = Test-AzSupportTicketsNoSubscriptionNameAvailability -Name $env.FileWorkspaceNameNoSubscriptionForCheckName -Type "Microsoft.Support/fileWorkspaces" $fileWorkspaceResult.NameAvailable | Should -Be $true } - It 'CheckExpandedFileWorkspaceFalse' -Skip:$env.HasSubscription { + It 'CheckExpandedFileWorkspaceFalse' -skip:($env.HasSubscription -eq $true) { $fileWorkspaceResult = Test-AzSupportTicketsNoSubscriptionNameAvailability -Name $env.fileWorkspaceNameNoSubscription -Type "Microsoft.Support/fileWorkspaces" $fileWorkspaceResult.NameAvailable | Should -Be $false } diff --git a/src/Support/Support.Autorest/test/Update-AzSupportTicket.Tests.ps1 b/src/Support/Support.Autorest/test/Update-AzSupportTicket.Tests.ps1 index 5376d902ee3d..20b24980d6f0 100644 --- a/src/Support/Support.Autorest/test/Update-AzSupportTicket.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Update-AzSupportTicket.Tests.ps1 @@ -16,7 +16,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-AzSupportTicket')) Describe 'Update-AzSupportTicket' { - It 'UpdateExpanded' -Skip:!$env.HasSubscription{ + It 'UpdateExpanded' -skip:($env.HasSubscription -eq $false) { # if($env.SupportPlanSubscription -eq "Basic support" || $env.SupportPlanSubscription -eq "Free"){ # write-host "cannot update support tickets with free support plan" diff --git a/src/Support/Support.Autorest/test/Update-AzSupportTicketsNoSubscription.Recording.json b/src/Support/Support.Autorest/test/Update-AzSupportTicketsNoSubscription.Recording.json new file mode 100644 index 000000000000..1c8cf45cef44 --- /dev/null +++ b/src/Support/Support.Autorest/test/Update-AzSupportTicketsNoSubscription.Recording.json @@ -0,0 +1,39 @@ +{ + "Update-AzSupportTicketsNoSubscription+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/providers/Microsoft.Support/supportTickets/test-767fe528-5a94-473f-b53f-6505e5d0288c?api-version=2022-09-01-preview+1": { + "Request": { + "Method": "PATCH", + "RequestUri": "https://management.azure.com/providers/Microsoft.Support/supportTickets/test-767fe528-5a94-473f-b53f-6505e5d0288c?api-version=2022-09-01-preview", + "Content": "{\r\n \"advancedDiagnosticConsent\": \"Yes\"\r\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "42" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "x-ms-ratelimit-remaining-tenant-writes": [ "1199" ], + "x-ms-request-id": [ "e77698cc-f6e4-432d-ad47-0ec454f050b2" ], + "x-ms-correlation-request-id": [ "e77698cc-f6e4-432d-ad47-0ec454f050b2" ], + "x-ms-routing-request-id": [ "EASTUS:20240307T233324Z:e77698cc-f6e4-432d-ad47-0ec454f050b2" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: E662FB83D94A413E99461117D51A1642 Ref B: MNZ221060608053 Ref C: 2024-03-07T23:33:20Z" ], + "Date": [ "Thu, 07 Mar 2024 23:33:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1500" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.Support/supportTickets/test-767fe528-5a94-473f-b53f-6505e5d0288c\",\"name\":\"test-767fe528-5a94-473f-b53f-6505e5d0288c\",\"type\":\"Microsoft.Support/supportTickets\",\"properties\":{\"description\":\"test ticket - please ignore and close\",\"problemClassificationId\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/3ec1a070-f242-9ecf-5a7c-e1a88ce029ef\",\"problemClassificationDisplayName\":\"Add or update VAT, tax id, PO number or profile information\",\"severity\":\"Minimal\",\"require24X7Response\":false,\"enrollmentId\":\"\",\"contactDetails\":{\"firstName\":\"test\",\"lastName\":\"test\",\"preferredContactMethod\":\"Email\",\"primaryEmailAddress\":\"test@test.com\",\"preferredTimeZone\":\"Pacific Standard Time\",\"country\":\"USA\",\"preferredSupportLanguage\":\"en-US\"},\"serviceLevelAgreement\":{\"startTime\":\"2024-03-07T23:30:32Z\",\"expirationTime\":\"2024-03-08T19:31:00Z\",\"slaMinutes\":480},\"supportEngineer\":{},\"supportPlanType\":\"Basic\",\"supportPlanDisplayName\":\"Basic support\",\"advancedDiagnosticConsent\":\"Yes\",\"isTemporaryTicket\":\"No\",\"supportPlanId\":\"U291cmNlOkZyZWUsRnJlZUlkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwOSw=\",\"fileWorkspaceName\":\"2403070040015771\",\"supportTicketId\":\"2403070040015771\",\"title\":\"test ticket - please ignore and close\",\"serviceId\":\"/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc\",\"serviceDisplayName\":\"Billing\",\"status\":\"Open\",\"createdDate\":\"2024-03-07T23:30:32Z\",\"modifiedDate\":\"2024-03-07T23:32:04Z\"}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/Support/Support.Autorest/test/Update-AzSupportTicketsNoSubscription.Tests.ps1 b/src/Support/Support.Autorest/test/Update-AzSupportTicketsNoSubscription.Tests.ps1 index c4b929efdde1..1377733c3c49 100644 --- a/src/Support/Support.Autorest/test/Update-AzSupportTicketsNoSubscription.Tests.ps1 +++ b/src/Support/Support.Autorest/test/Update-AzSupportTicketsNoSubscription.Tests.ps1 @@ -16,7 +16,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-AzSupportTicketsNoSubs Describe 'Update-AzSupportTicketsNoSubscription' { - It 'UpdateExpanded' -Skip:$env.HasSubscription{ + It 'UpdateExpanded' -skip:($env.HasSubscription -eq $true){ # if($env.SupportPlanTenant -eq "Basic support" || $env.SupportPlanTenant -eq "Free"){ # write-host "cannot update support tickets with free support plan" diff --git a/src/Support/Support.Autorest/test/env.json b/src/Support/Support.Autorest/test/env.json index 8b143948f3f4..b54953f1089c 100644 --- a/src/Support/Support.Autorest/test/env.json +++ b/src/Support/Support.Autorest/test/env.json @@ -1,30 +1,36 @@ { - "FileWorkspaceNameSubscription": "test-ps-1c0f34c3-a77f-48f8-92ed-4bc40297b575", - "FileWorkspaceNameNoSubscription": "test-ps-c3365113-f08e-4317-936c-3d948a9dc191", - "BillingServiceId": "517f2da6-78fd-0498-4e22-ad26996b1dfc", - "BillingProblemClassificationId": "d0f16bf7-e011-3f3b-1c26-3147f84e0896", - "ContactDetailPreferredTimeZone": "Pacific Standard Time", - "SupportPlanTenant": "Basic support", - "ServiceId": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc", - "Severity": "minimal", + "Title": "test ticket - please ignore and close", + "ContactDetailPrimaryEmailAddress": "test@test.com", + "FileWorkspaceNameNoSubscription": "test-ps-767fe528-5a94-473f-b53f-6505e5d0288c", + "ContactDetailCountry": "usa", "ContactDetailLastName": "test", - "AdvancedDiagnosticConsent": "no", - "SubscriptionId": "76cb77fa-8b17-4eab-9493-b65dace99813", - "CommunicationName1": "test1-msg-5dda17d0-a60d-4f4c-82e3-0fe3604c0ed4", - "ContactDetailFirstName": "test", - "Sender": "sender@sender.com", - "SupportPlanSubscription": "Azure Support Plan - Internal", + "ContactDetailPreferredContactMethod": "email", + "FileWorkspaceNameSubscriptionForCreate": "test-for-create-ps-767fe528-5a94-473f-b53f-6505e5d0288c", "Subject": "this is a test subject", + "ProblemClassificationId": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/3ec1a070-f242-9ecf-5a7c-e1a88ce029ef", + "FileWorkspaceNameNoSubscriptionForCheckName": "test-for-check-ps-767fe528-5a94-473f-b53f-6505e5d0288c", + "CommunicationName": "test-msg-767fe528-5a94-473f-b53f-6505e5d0288c", "ContactDetailPreferredSupportLanguage": "en-US", - "Name": "test-5dda17d0-a60d-4f4c-82e3-0fe3604c0ed4", - "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "AdvancedDiagnosticConsent": "no", + "FileWorkspaceNameNoSubscriptionForCreate": "test-for-create-ps-767fe528-5a94-473f-b53f-6505e5d0288c", + "Name": "test-767fe528-5a94-473f-b53f-6505e5d0288c", + "Sender": "sender@sender.com", + "CommunicationNameForCheck": "test-for-check-msg-767fe528-5a94-473f-b53f-6505e5d0288c", + "CommunicationNameForCreate": "test-for-create-msg-767fe528-5a94-473f-b53f-6505e5d0288c", "Description": "test ticket - please ignore and close", - "ContactDetailCountry": "usa", - "ProblemClassificationId": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/3ec1a070-f242-9ecf-5a7c-e1a88ce029ef", - "ContactDetailPrimaryEmailAddress": "test@test.com", - "Name1": "test1-5dda17d0-a60d-4f4c-82e3-0fe3604c0ed4", - "Title": "test ticket - please ignore and close", - "ContactDetailPreferredContactMethod": "email", + "HasSubscription": false, + "ContactDetailPreferredTimeZone": "Pacific Standard Time", + "SupportPlanTenant": "Basic support", + "ServiceId": "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc", + "SubscriptionId": null, + "ContactDetailFirstName": "test", + "NameForCheck": "test-for-check-767fe528-5a94-473f-b53f-6505e5d0288c", + "FileWorkspaceNameSubscriptionForCheckName": "test-for-check-ps-767fe528-5a94-473f-b53f-6505e5d0288c", + "Severity": "minimal", + "FileWorkspaceNameSubscription": "test-ps-767fe528-5a94-473f-b53f-6505e5d0288c", "Body": "this is a test body", - "CommunicationName": "test-msg-5dda17d0-a60d-4f4c-82e3-0fe3604c0ed4" + "NameForCreate": "test-for-create-767fe528-5a94-473f-b53f-6505e5d0288c", + "BillingProblemClassificationId": "d0f16bf7-e011-3f3b-1c26-3147f84e0896", + "TenantId": "2e6a0c9f-986d-480e-ad4b-bdfddc047aba", + "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 62db9f576fac..2fb727e06302 100644 --- a/src/Support/Support.Autorest/test/utils.ps1 +++ b/src/Support/Support.Autorest/test/utils.ps1 @@ -47,8 +47,9 @@ function setupEnv() { $tenant = (Get-AzContext).Tenant.Id $env.AddWithCache("SubscriptionId", $sub, $UsePreviousConfigForRecord) $env.AddWithCache("TenantId", $tenant, $UsePreviousConfigForRecord) - + Write-Host "SubscriptionId: $($env.SubscriptionId)" $env.HasSubscription = $env.SubscriptionId -ne $null + Write-Host "HasSubscription: $($env.HasSubscription)" if($env.HasSubscription){ Write-Host "Running subscription level tests" }