diff --git a/.azure-pipelines/powershell-core.yml b/.azure-pipelines/powershell-core.yml
index fb204aff33..68fa7375b1 100644
--- a/.azure-pipelines/powershell-core.yml
+++ b/.azure-pipelines/powershell-core.yml
@@ -5,7 +5,7 @@ variables:
LinuxImage: ubuntu-18.04
MacOSName: macOS
MacOSImage: macOS-10.13
- TestFramework: netcoreapp2.1
+ TestFramework: netcoreapp2.2
TestTarget: Test
Configuration: Debug
diff --git a/.azure-pipelines/windows-powershell.yml b/.azure-pipelines/windows-powershell.yml
index 71be88c373..fdcbefc6e3 100644
--- a/.azure-pipelines/windows-powershell.yml
+++ b/.azure-pipelines/windows-powershell.yml
@@ -1,8 +1,8 @@
variables:
WindowsName: windows
WindowsImage: VS2017-Win2016
- TestFramework: net472
- TestTarget: TestNet472
+ TestFramework: netcoreapp2.2
+ TestTarget: Test
Configuration: Debug
jobs:
diff --git a/ChangeLog.md b/ChangeLog.md
index 2c5caee6b9..33dd7b2d59 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,85 @@
+## 3.1.0 - November 2019
+### Highlights since the last major release
+* Az.DataBoxEdge 1.0.0 released
+* Az.SqlVirtualMachine 1.0.0 released
+
+#### Az.Compute
+* VM Reapply feature
+ - Add Reapply parameter to Set-AzVM cmdlet
+* VM Scale Set AutomaticRepairs feature:
+ - Add EnableAutomaticRepair, AutomaticRepairGracePeriod, and AutomaticRepairMaxInstanceRepairsPercent parameters to the following cmdlets:
+ New-AzVmssConfig
+ Update-AzVmss
+* Cross tenant gallery image support for New-AzVM
+* Add 'Spot' to the argument completer of Priority parameter in New-AzVM, New-AzVMConfig and New-AzVmss cmdlets
+* Add DiskIOPSReadWrite and DiskMBpsReadWrite parameters to Add-AzVmssDataDisk cmdlet
+* Change SourceImageId parameter of New-AzGalleryImageVersion cmdlet to optional
+* Add OSDiskImage and DataDiskImage parameters to New-AzGalleryImageVersion cmdlet
+* Add HyperVGeneration parameter to New-AzGalleryImageDefinition cmdlet
+* Add SkipExtensionsOnOverprovisionedVMs parameters to New-AzVmss, New-AzVmssConfig and Update-AzVmss cmdlets
+
+#### Az.DataBoxEdge
+* Added cmdlet `Get-AzDataBoxEdgeOrder`
+ - Get the Order
+* Added cmdlet `New-AzDataBoxEdgeOrder`
+ - Create new Order
+* Added cmdlet `Remove-AzDataBoxEdgeOrder`
+ - Remove the Order
+* Change in cmdlet `New-AzDataBoxEdgeShare`
+ - Now creates Local Share
+* Added cmdlet `Set-AzDataBoxEdgeRole`
+ - Now IotRole can be mapped to Share
+* Added cmdlet `Invoke-AzDataBoxEdgeDevice`
+ - Invoke scan update, download update, install updates on the device
+* Added cmdlet `Get-AzDataBoxEdgeTrigger`
+ - Gets the information about Triggers
+* Added cmdlet `New-AzDataBoxEdgeTrigger`
+ - Create new Triggers
+* Added cmdlet `Remove-AzDataBoxEdgeTrigger`
+ - Remove the Triggers
+
+#### Az.DataFactory
+* Update ADF .Net SDK version to 4.4.0
+* Add parameter 'ExpressCustomSetup' for 'Set-AzureRmDataFactoryV2IntegrationRuntime' cmd to enable setup configurations and 3rd party components without custom setup script.
+
+#### Az.DataLakeStore
+* Update documentation of Get-AzDataLakeStoreDeletedItem and Restore-AzDataLakeStoreDeletedItem
+
+#### Az.EventHub
+* Fix for issue 10301 : Fix the SAS Token date format
+
+#### Az.FrontDoor
+* Add MinimumTlsVersion parameter to Enable-AzFrontDoorCustomDomainHttps and New-AzFrontDoorFrontendEndpointObject
+* Add HealthProbeMethod and EnabledState parameters to New-AzFrontDoorHealthProbeSettingObject
+* Add new cmdlet to create BackendPoolsSettings objec to pass into creation/update of Front Door
+ - New-AzFrontDoorBackendPoolsSettingObject
+
+#### Az.Network
+* Change 'Start-AzVirtualNetworkGatewayConnectionPacketCapture.md' and 'Start-AzVirtualnetworkGatewayPacketCapture.md' FilterData option examples.
+
+#### Az.PrivateDns
+* Updated PrivateDns .net sdk to version 1.0.0
+
+#### Az.RecoveryServices
+* Azure Site Recovery support to select disk type at enabling protection.
+* Azure Site Recovery bug fix for recovery plan action edit.
+* Azure Backup SQL Restore support to accept filestream DBs.
+
+#### Az.RedisCache
+* Added 'MinimumTlsVersion' parameter in 'New-AzRedisCache' and 'Set-AzRedisCache' cmdlets. Also, added 'MinimumTlsVersion' in the output of 'Get-AzRedisCache' cmdlet.
+* Added validation on '-Size' parameter for 'Set-AzRedisCache' and 'New-AzRedisCache' cmdlets
+
+#### Az.Resources
+- Updated policy cmdlets to use new api version 2019-06-01 that has new EnforcementMode property in policy assignment.
+- Updated create policy definition help example
+- Fix bug Remove-AZADServicePrincipal -ServicePrincipalName, throw null reference when service principal name not found.
+- Fix bug New-AZADServicePrincipal, throw null reference when tenant doesn't have any subscription.
+- Change New-AzAdServicePrincipal to add credentials only to associated application.
+
+#### Az.Sql
+* Added support for database ReadReplicaCount.
+* Fixed Set-AzSqlDatabase when zone redundancy not set
+
## 3.0.0 - November 2019
### General
* Az.PrivateDns 1.0.0 released
diff --git a/build.proj b/build.proj
index 8385b6e81f..81093c7f9a 100644
--- a/build.proj
+++ b/build.proj
@@ -29,7 +29,7 @@
Debug
All
- netcoreapp2.1
+ netcoreapp2.2
false
diff --git a/src/Automation/Automation.Test/Automation.Test.csproj b/src/Automation/Automation.Test/Automation.Test.csproj
index 62dc73cb49..6884c4c77c 100644
--- a/src/Automation/Automation.Test/Automation.Test.csproj
+++ b/src/Automation/Automation.Test/Automation.Test.csproj
@@ -9,7 +9,7 @@
$(LegacyAssemblyPrefix)$(PsModuleName)$(AzTestAssemblySuffix)
false
- netcoreapp2.0;netcoreapp2.1
+ netcoreapp2.2;netcoreapp2.1
diff --git a/src/Az.Test.props b/src/Az.Test.props
index 2cba3000f6..2d7c68970d 100644
--- a/src/Az.Test.props
+++ b/src/Az.Test.props
@@ -11,7 +11,7 @@
- netcoreapp2.1;netcoreapp2.0;netstandard2.0
+ netcoreapp2.2;netcoreapp2.1;netstandard2.0
$(AzAssemblyPrefix)$(PsModuleName)$(AzTestAssemblySuffix)
$(AzAssemblyPrefix)$(PsModuleName)$(AzTestAssemblySuffix)
false
diff --git a/src/Compute/Compute.Test/ScenarioTests/StrategiesVmssTests.cs b/src/Compute/Compute.Test/ScenarioTests/StrategiesVmssTests.cs
index ccaa0f255f..b0b7db8787 100644
--- a/src/Compute/Compute.Test/ScenarioTests/StrategiesVmssTests.cs
+++ b/src/Compute/Compute.Test/ScenarioTests/StrategiesVmssTests.cs
@@ -123,5 +123,12 @@ namespace Microsoft.Azure.Commands.Compute.Test.ScenarioTests
{
TestRunner.RunTestScript("Test-SimpleNewVmssScaleInPolicy");
}
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void SimpleNewVmssSkipExtOverprovision()
+ {
+ TestRunner.RunTestScript("Test-SimpleNewVmssSkipExtOverprovision");
+ }
}
}
diff --git a/src/Compute/Compute.Test/ScenarioTests/StrategiesVmssTests.ps1 b/src/Compute/Compute.Test/ScenarioTests/StrategiesVmssTests.ps1
index fc7f0a0a89..4cd2ea088b 100644
--- a/src/Compute/Compute.Test/ScenarioTests/StrategiesVmssTests.ps1
+++ b/src/Compute/Compute.Test/ScenarioTests/StrategiesVmssTests.ps1
@@ -470,3 +470,32 @@ function Test-SimpleNewVmssScaleInPolicy
Clean-ResourceGroup $vmssname
}
}
+
+<#
+.SYNOPSIS
+Test Simple Paremeter Set for New Vmss with SkipExtensionsOnOverprovisionedVMs.
+#>
+function Test-SimpleNewVmssSkipExtOverprovision
+{
+ # Setup
+ $vmssname = Get-ResourceName
+
+ try
+ {
+ $username = "admin01"
+ $password = Get-PasswordForVM | ConvertTo-SecureString -AsPlainText -Force
+ $cred = new-object -typename System.Management.Automation.PSCredential -argumentlist $username, $password
+ [string]$domainNameLabel = "$vmssname$vmssname".tolower();
+
+ # Common
+ New-AzVmss -Name $vmssname -Location "westus2" -Credential $cred -DomainNameLabel $domainNameLabel `
+ -SkipExtensionsOnOverprovisionedVMs;
+ $vmss = Get-AzVmss -ResourceGroupName $vmssname -Name $vmssname;
+ Assert-True { $vmss.DoNotRunExtensionsOnOverprovisionedVMs };
+ }
+ finally
+ {
+ # Cleanup
+ Clean-ResourceGroup $vmssname
+ }
+}
diff --git a/src/Compute/Compute.Test/ScenarioTests/VirtualMachineScaleSetProfileTests.ps1 b/src/Compute/Compute.Test/ScenarioTests/VirtualMachineScaleSetProfileTests.ps1
index f2d5f35e0e..e87d85a4d2 100644
--- a/src/Compute/Compute.Test/ScenarioTests/VirtualMachineScaleSetProfileTests.ps1
+++ b/src/Compute/Compute.Test/ScenarioTests/VirtualMachineScaleSetProfileTests.ps1
@@ -133,11 +133,12 @@ function Test-VirtualMachineScaleSetProfile
$exttype2 = 'AzureCATExtensionHandler';
$extver2 = '2.2';
- $vmss2 = New-AzVmssConfig -Location $loc -SkuCapacity 2 -SkuName 'Standard_A0' -UpgradePolicyMode 'Automatic' -DisableAutoRollback $false `
+ $vmss2 = New-AzVmssConfig -Location $loc -SkuCapacity 2 -SkuName 'Standard_A0' -UpgradePolicyMode 'Automatic' -DisableAutoRollback $false -SkipExtensionsOnOverprovisionedVMs `
| Add-AzVmssExtension -Name $extname -Publisher $publisher -Type $exttype -TypeHandlerVersion $extver -AutoUpgradeMinorVersion $false `
| Add-AzVmssExtension -Name $extname2 -Publisher $publisher2 -Type $exttype2 -TypeHandlerVersion $extver2 -AutoUpgradeMinorVersion $false -ProvisionAfterExtension $extname;
Assert-False { $vmss2.UpgradePolicy.AutomaticOSUpgradePolicy.DisableAutomaticRollback };
+ Assert-True { $vmss2.DoNotRunExtensionsOnOverprovisionedVMs };
Assert-AreEqual $extname $vmss2.VirtualMachineProfile.ExtensionProfile.Extensions[0].Name;
Assert-False { $vmss2.VirtualMachineProfile.ExtensionProfile.Extensions[0].AutoUpgradeMinorVersion };
diff --git a/src/Compute/Compute.Test/SessionRecords/Microsoft.Azure.Commands.Compute.Test.ScenarioTests.StrategiesVmssTests/SimpleNewVmssSkipExtOverprovision.json b/src/Compute/Compute.Test/SessionRecords/Microsoft.Azure.Commands.Compute.Test.ScenarioTests.StrategiesVmssTests/SimpleNewVmssSkipExtOverprovision.json
new file mode 100644
index 0000000000..cb5832d4de
--- /dev/null
+++ b/src/Compute/Compute.Test/SessionRecords/Microsoft.Azure.Commands.Compute.Test.ScenarioTests.StrategiesVmssTests/SimpleNewVmssSkipExtOverprovision.json
@@ -0,0 +1,2998 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Compute/images/Win2016Datacenter?api-version=2019-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Jlc291cmNlR3JvdXBzL3BzOTQ4OC9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvaW1hZ2VzL1dpbjIwMTZEYXRhY2VudGVyP2FwaS12ZXJzaW9uPTIwMTktMDctMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "f6b4d8af-b72f-4862-b5ee-2030cf6e7738"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Compute.ComputeManagementClient/30.1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "3f4ae3e9-bf21-4d25-8c89-23437a0cc759"
+ ],
+ "x-ms-correlation-request-id": [
+ "3f4ae3e9-bf21-4d25-8c89-23437a0cc759"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014303Z:3f4ae3e9-bf21-4d25-8c89-23437a0cc759"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:43:03 GMT"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "98"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'ps9488' could not be found.\"\r\n }\r\n}",
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Compute/virtualMachineScaleSets/ps9488?api-version=2019-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Jlc291cmNlR3JvdXBzL3BzOTQ4OC9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvdmlydHVhbE1hY2hpbmVTY2FsZVNldHMvcHM5NDg4P2FwaS12ZXJzaW9uPTIwMTktMDctMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "6444aa31-f864-4d3c-8428-650e223b3451"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Compute.ComputeManagementClient/30.1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "8dad3cf1-9aba-418c-8a9d-17fb159d5287"
+ ],
+ "x-ms-correlation-request-id": [
+ "8dad3cf1-9aba-418c-8a9d-17fb159d5287"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014303Z:8dad3cf1-9aba-418c-8a9d-17fb159d5287"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:43:03 GMT"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "98"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'ps9488' could not be found.\"\r\n }\r\n}",
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Compute/virtualMachineScaleSets/ps9488?api-version=2019-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Jlc291cmNlR3JvdXBzL3BzOTQ4OC9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvdmlydHVhbE1hY2hpbmVTY2FsZVNldHMvcHM5NDg4P2FwaS12ZXJzaW9uPTIwMTktMDctMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Compute.ComputeManagementClient/30.1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-resource": [
+ "Microsoft.Compute/GetVMScaleSet3Min;198,Microsoft.Compute/GetVMScaleSet30Min;1298"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "020aa6fd-1d3f-47cf-a8aa-0dcc9b62abca"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0",
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
+ ],
+ "x-ms-correlation-request-id": [
+ "f3e2ff2d-e6dd-4eb2-89d7-46ff775b17ea"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015147Z:f3e2ff2d-e6dd-4eb2-89d7-46ff775b17ea"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:51:46 GMT"
+ ],
+ "Content-Length": [
+ "2874"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"ps9488\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Compute/virtualMachineScaleSets/ps9488\",\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": false,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"ps9488\",\r\n \"adminUsername\": \"admin01\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"None\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\r\n }\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n \"networkProfile\": {\r\n \"networkInterfaceConfigurations\": [\r\n {\r\n \"name\": \"ps9488\",\r\n \"properties\": {\r\n \"primary\": true,\r\n \"enableAcceleratedNetworking\": false,\r\n \"dnsSettings\": {\r\n \"dnsServers\": []\r\n },\r\n \"enableIPForwarding\": false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"ps9488\",\r\n \"properties\": {\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/virtualNetworks/ps9488/subnets/ps9488\"\r\n },\r\n \"privateIPAddressVersion\": \"IPv4\",\r\n \"loadBalancerBackendAddressPools\": [\r\n {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/backendAddressPools/ps9488\"\r\n }\r\n ],\r\n \"loadBalancerInboundNatPools\": [\r\n {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/inboundNatPools/ps94883389\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/inboundNatPools/ps94885985\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n },\r\n \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \"name\": \"Microsoft.Azure.Geneva.GenevaMonitoring\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"publisher\": \"Microsoft.Azure.Geneva\",\r\n \"type\": \"GenevaMonitoring\",\r\n \"typeHandlerVersion\": \"2.0\",\r\n \"settings\": {}\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": true,\r\n \"uniqueId\": \"fac3bf26-279d-44ac-b571-7df35f09b7b9\"\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Compute/virtualMachineScaleSets/ps9488?api-version=2019-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Jlc291cmNlR3JvdXBzL3BzOTQ4OC9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvdmlydHVhbE1hY2hpbmVTY2FsZVNldHMvcHM5NDg4P2FwaS12ZXJzaW9uPTIwMTktMDctMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "f1e7af7a-f774-4bc1-991e-d5fe4e6d5919"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Compute.ComputeManagementClient/30.1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-resource": [
+ "Microsoft.Compute/GetVMScaleSet3Min;197,Microsoft.Compute/GetVMScaleSet30Min;1297"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "2a08dc69-68c9-45af-952d-bc8ff4c7ce3a"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0",
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-correlation-request-id": [
+ "f5670708-e359-4157-82df-db3eee44f1e1"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015148Z:f5670708-e359-4157-82df-db3eee44f1e1"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:51:47 GMT"
+ ],
+ "Content-Length": [
+ "2874"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"ps9488\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Compute/virtualMachineScaleSets/ps9488\",\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": false,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"ps9488\",\r\n \"adminUsername\": \"admin01\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"None\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\r\n }\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n \"networkProfile\": {\r\n \"networkInterfaceConfigurations\": [\r\n {\r\n \"name\": \"ps9488\",\r\n \"properties\": {\r\n \"primary\": true,\r\n \"enableAcceleratedNetworking\": false,\r\n \"dnsSettings\": {\r\n \"dnsServers\": []\r\n },\r\n \"enableIPForwarding\": false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"ps9488\",\r\n \"properties\": {\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/virtualNetworks/ps9488/subnets/ps9488\"\r\n },\r\n \"privateIPAddressVersion\": \"IPv4\",\r\n \"loadBalancerBackendAddressPools\": [\r\n {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/backendAddressPools/ps9488\"\r\n }\r\n ],\r\n \"loadBalancerInboundNatPools\": [\r\n {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/inboundNatPools/ps94883389\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/inboundNatPools/ps94885985\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n },\r\n \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \"name\": \"Microsoft.Azure.Geneva.GenevaMonitoring\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"publisher\": \"Microsoft.Azure.Geneva\",\r\n \"type\": \"GenevaMonitoring\",\r\n \"typeHandlerVersion\": \"2.0\",\r\n \"settings\": {}\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": true,\r\n \"uniqueId\": \"fac3bf26-279d-44ac-b571-7df35f09b7b9\"\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/virtualNetworks/ps9488?api-version=2017-10-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Jlc291cmNlR3JvdXBzL3BzOTQ4OC9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdmlydHVhbE5ldHdvcmtzL3BzOTQ4OD9hcGktdmVyc2lvbj0yMDE3LTEwLTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "88a800f4-c763-474e-ba30-9ae2d058c3a1"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Network.Version2017.10.01.NetworkManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "ad1ec2c8-7bf5-470d-b8ea-3a7bfcacb405"
+ ],
+ "x-ms-correlation-request-id": [
+ "ad1ec2c8-7bf5-470d-b8ea-3a7bfcacb405"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014304Z:ad1ec2c8-7bf5-470d-b8ea-3a7bfcacb405"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:43:03 GMT"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "98"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'ps9488' could not be found.\"\r\n }\r\n}",
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/virtualNetworks/ps9488?api-version=2017-10-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Jlc291cmNlR3JvdXBzL3BzOTQ4OC9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdmlydHVhbE5ldHdvcmtzL3BzOTQ4OD9hcGktdmVyc2lvbj0yMDE3LTEwLTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Network.Version2017.10.01.NetworkManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "ETag": [
+ "W/\"60458933-b2e0-4d46-ad86-1969fab9384f\""
+ ],
+ "x-ms-request-id": [
+ "e3afadde-769e-4215-8c0b-a857bb58213f"
+ ],
+ "x-ms-correlation-request-id": [
+ "366ca2df-b0c7-44d0-b983-6c8e939a27bf"
+ ],
+ "x-ms-arm-service-request-id": [
+ "111fa60e-eec6-421f-962f-b35824cbf5ab"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0",
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014310Z:366ca2df-b0c7-44d0-b983-6c8e939a27bf"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:43:09 GMT"
+ ],
+ "Content-Length": [
+ "1095"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"ps9488\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/virtualNetworks/ps9488\",\r\n \"etag\": \"W/\\\"60458933-b2e0-4d46-ad86-1969fab9384f\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"93b2a3a4-7fd7-41ba-b104-b81ca55ded39\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"192.168.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"ps9488\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/virtualNetworks/ps9488/subnets/ps9488\",\r\n \"etag\": \"W/\\\"60458933-b2e0-4d46-ad86-1969fab9384f\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"192.168.1.0/24\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\": false\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourcegroups/ps9488?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Jlc291cmNlZ3JvdXBzL3BzOTQ4OD9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a424fcee-8190-4d24-9a7a-76132a882d98"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-request-id": [
+ "7fc90ab7-d9a6-4039-a5a7-fc623026a73d"
+ ],
+ "x-ms-correlation-request-id": [
+ "7fc90ab7-d9a6-4039-a5a7-fc623026a73d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014304Z:7fc90ab7-d9a6-4039-a5a7-fc623026a73d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:43:03 GMT"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "98"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'ps9488' could not be found.\"\r\n }\r\n}",
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488?api-version=2017-10-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Jlc291cmNlR3JvdXBzL3BzOTQ4OC9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvbG9hZEJhbGFuY2Vycy9wczk0ODg/YXBpLXZlcnNpb249MjAxNy0xMC0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "cacc722a-76f5-43b4-996f-02e74633b270"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Network.Version2017.10.01.NetworkManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "1d4d3541-9a8c-4cf2-973d-d4cb5c090b4a"
+ ],
+ "x-ms-correlation-request-id": [
+ "1d4d3541-9a8c-4cf2-973d-d4cb5c090b4a"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014304Z:1d4d3541-9a8c-4cf2-973d-d4cb5c090b4a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:43:03 GMT"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "98"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'ps9488' could not be found.\"\r\n }\r\n}",
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488?api-version=2017-10-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Jlc291cmNlR3JvdXBzL3BzOTQ4OC9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvbG9hZEJhbGFuY2Vycy9wczk0ODg/YXBpLXZlcnNpb249MjAxNy0xMC0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Network.Version2017.10.01.NetworkManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "ETag": [
+ "W/\"a5cf8dab-90ce-4ba1-9f0f-286962f8c7d0\""
+ ],
+ "x-ms-request-id": [
+ "1a18c926-acba-44c3-abc2-33502925625f"
+ ],
+ "x-ms-correlation-request-id": [
+ "8fd7ec84-7e6c-44b0-9fee-c0ed53015d79"
+ ],
+ "x-ms-arm-service-request-id": [
+ "2b656a5f-4e47-4a58-9f56-d0ed5773e95a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0",
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014311Z:8fd7ec84-7e6c-44b0-9fee-c0ed53015d79"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:43:11 GMT"
+ ],
+ "Content-Length": [
+ "5466"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"ps9488\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488\",\r\n \"etag\": \"W/\\\"a5cf8dab-90ce-4ba1-9f0f-286962f8c7d0\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"dc649f10-0cf5-4396-86e2-ae40e5a9ca71\",\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"ps9488\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/frontendIPConfigurations/ps9488\",\r\n \"etag\": \"W/\\\"a5cf8dab-90ce-4ba1-9f0f-286962f8c7d0\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/publicIPAddresses/ps9488\"\r\n },\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/loadBalancingRules/ps948880\"\r\n }\r\n ],\r\n \"inboundNatPools\": [\r\n {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/inboundNatPools/ps94883389\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/inboundNatPools/ps94885985\"\r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"ps9488\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/backendAddressPools/ps9488\",\r\n \"etag\": \"W/\\\"a5cf8dab-90ce-4ba1-9f0f-286962f8c7d0\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/loadBalancingRules/ps948880\"\r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": \"ps948880\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/loadBalancingRules/ps948880\",\r\n \"etag\": \"W/\\\"a5cf8dab-90ce-4ba1-9f0f-286962f8c7d0\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/frontendIPConfigurations/ps9488\"\r\n },\r\n \"frontendPort\": 80,\r\n \"backendPort\": 80,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": 4,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\": \"Default\",\r\n \"disableOutboundSnat\": false,\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/backendAddressPools/ps9488\"\r\n }\r\n }\r\n }\r\n ],\r\n \"probes\": [],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\": [\r\n {\r\n \"name\": \"ps94883389\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/inboundNatPools/ps94883389\",\r\n \"etag\": \"W/\\\"a5cf8dab-90ce-4ba1-9f0f-286962f8c7d0\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"frontendPortRangeStart\": 50000,\r\n \"frontendPortRangeEnd\": 50004,\r\n \"backendPort\": 3389,\r\n \"protocol\": \"Tcp\",\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/frontendIPConfigurations/ps9488\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatPools\"\r\n },\r\n {\r\n \"name\": \"ps94885985\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/inboundNatPools/ps94885985\",\r\n \"etag\": \"W/\\\"a5cf8dab-90ce-4ba1-9f0f-286962f8c7d0\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"frontendPortRangeStart\": 52000,\r\n \"frontendPortRangeEnd\": 52004,\r\n \"backendPort\": 5985,\r\n \"protocol\": \"Tcp\",\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/frontendIPConfigurations/ps9488\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatPools\"\r\n }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/publicIPAddresses/ps9488?api-version=2017-10-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Jlc291cmNlR3JvdXBzL3BzOTQ4OC9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvcHVibGljSVBBZGRyZXNzZXMvcHM5NDg4P2FwaS12ZXJzaW9uPTIwMTctMTAtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "e96ffefe-b1df-4493-ac31-f51be3941b2f"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Network.Version2017.10.01.NetworkManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "fa977389-df55-4306-acb2-e4dc49972867"
+ ],
+ "x-ms-correlation-request-id": [
+ "fa977389-df55-4306-acb2-e4dc49972867"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014304Z:fa977389-df55-4306-acb2-e4dc49972867"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:43:03 GMT"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "98"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'ps9488' could not be found.\"\r\n }\r\n}",
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/publicIPAddresses/ps9488?api-version=2017-10-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Jlc291cmNlR3JvdXBzL3BzOTQ4OC9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvcHVibGljSVBBZGRyZXNzZXMvcHM5NDg4P2FwaS12ZXJzaW9uPTIwMTctMTAtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Network.Version2017.10.01.NetworkManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "ETag": [
+ "W/\"1a0b7a62-2d72-4a6e-b97a-0874c214fc19\""
+ ],
+ "x-ms-request-id": [
+ "f4fbe873-4f13-4e1f-a878-361d27ba8c14"
+ ],
+ "x-ms-correlation-request-id": [
+ "6e17e735-0ec5-489b-974a-15fa5becba87"
+ ],
+ "x-ms-arm-service-request-id": [
+ "a63b6645-2ab9-4bb9-b20a-1625a00b1d66"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0",
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014310Z:6e17e735-0ec5-489b-974a-15fa5becba87"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:43:10 GMT"
+ ],
+ "Content-Length": [
+ "758"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"ps9488\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/publicIPAddresses/ps9488\",\r\n \"etag\": \"W/\\\"1a0b7a62-2d72-4a6e-b97a-0874c214fc19\\\"\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"e85290ac-a0d9-47f8-9b8e-2479a10453c9\",\r\n \"ipAddress\": \"40.91.73.167\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"dnsSettings\": {\r\n \"domainNameLabel\": \"ps9488ps9488\",\r\n \"fqdn\": \"ps9488ps9488.westus2.cloudapp.azure.com\"\r\n },\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourcegroups/ps9488?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Jlc291cmNlZ3JvdXBzL3BzOTQ4OD9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus2\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "1d022907-409c-4cc0-9c60-1ef61c3e6695"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "2496d000-3e21-4762-bcf1-5efdf005497e"
+ ],
+ "x-ms-correlation-request-id": [
+ "2496d000-3e21-4762-bcf1-5efdf005497e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014305Z:2496d000-3e21-4762-bcf1-5efdf005497e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:43:04 GMT"
+ ],
+ "Content-Length": [
+ "166"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488\",\r\n \"name\": \"ps9488\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/virtualNetworks/ps9488?api-version=2017-10-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Jlc291cmNlR3JvdXBzL3BzOTQ4OC9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdmlydHVhbE5ldHdvcmtzL3BzOTQ4OD9hcGktdmVyc2lvbj0yMDE3LTEwLTAx",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"192.168.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"properties\": {\r\n \"addressPrefix\": \"192.168.1.0/24\"\r\n },\r\n \"name\": \"ps9488\"\r\n }\r\n ]\r\n },\r\n \"location\": \"westus2\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c97bbc79-52d4-459a-9608-5c1314ad4ebc"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Network.Version2017.10.01.NetworkManagementClient/1.3.2"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "299"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "3"
+ ],
+ "x-ms-request-id": [
+ "a3808c66-e4dc-4771-8650-4db0257e48ac"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/providers/Microsoft.Network/locations/westus2/operations/a3808c66-e4dc-4771-8650-4db0257e48ac?api-version=2017-10-01"
+ ],
+ "x-ms-correlation-request-id": [
+ "b2576136-c1f2-4f2b-8fe9-9238c5fdbab7"
+ ],
+ "x-ms-arm-service-request-id": [
+ "d282f335-d391-4e31-8d5d-6517bf5d5c87"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0",
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014306Z:b2576136-c1f2-4f2b-8fe9-9238c5fdbab7"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:43:06 GMT"
+ ],
+ "Content-Length": [
+ "1093"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"ps9488\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/virtualNetworks/ps9488\",\r\n \"etag\": \"W/\\\"ae61c97c-9e44-4820-abec-fb8c95f2eabd\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"93b2a3a4-7fd7-41ba-b104-b81ca55ded39\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"192.168.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"ps9488\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/virtualNetworks/ps9488/subnets/ps9488\",\r\n \"etag\": \"W/\\\"ae61c97c-9e44-4820-abec-fb8c95f2eabd\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"192.168.1.0/24\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\": false\r\n }\r\n}",
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/publicIPAddresses/ps9488?api-version=2017-10-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Jlc291cmNlR3JvdXBzL3BzOTQ4OC9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvcHVibGljSVBBZGRyZXNzZXMvcHM5NDg4P2FwaS12ZXJzaW9uPTIwMTctMTAtMDE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"properties\": {\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"dnsSettings\": {\r\n \"domainNameLabel\": \"ps9488ps9488\"\r\n }\r\n },\r\n \"location\": \"westus2\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a84ab53a-2581-4767-a42c-c526d3ae31f0"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Network.Version2017.10.01.NetworkManagementClient/1.3.2"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "209"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "1"
+ ],
+ "x-ms-request-id": [
+ "5a18ea17-351c-4552-81fc-2207eeddcfea"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/providers/Microsoft.Network/locations/westus2/operations/5a18ea17-351c-4552-81fc-2207eeddcfea?api-version=2017-10-01"
+ ],
+ "x-ms-correlation-request-id": [
+ "299a4dd4-9fc2-4be6-943f-32bb7f78826b"
+ ],
+ "x-ms-arm-service-request-id": [
+ "d78bd360-c6f0-4130-b490-ea89aa72ab10"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0",
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014307Z:299a4dd4-9fc2-4be6-943f-32bb7f78826b"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:43:06 GMT"
+ ],
+ "Content-Length": [
+ "723"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"ps9488\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/publicIPAddresses/ps9488\",\r\n \"etag\": \"W/\\\"0336e1d4-bc92-4ab4-8a8d-eeb203bd40da\\\"\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"e85290ac-a0d9-47f8-9b8e-2479a10453c9\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"dnsSettings\": {\r\n \"domainNameLabel\": \"ps9488ps9488\",\r\n \"fqdn\": \"ps9488ps9488.westus2.cloudapp.azure.com\"\r\n },\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n }\r\n}",
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/providers/Microsoft.Network/locations/westus2/operations/5a18ea17-351c-4552-81fc-2207eeddcfea?api-version=2017-10-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zLzVhMThlYTE3LTM1MWMtNDU1Mi04MWZjLTIyMDdlZWRkY2ZlYT9hcGktdmVyc2lvbj0yMDE3LTEwLTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Network.Version2017.10.01.NetworkManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "2"
+ ],
+ "x-ms-request-id": [
+ "5ab8d6c9-8e2d-4f8a-b169-0b6da4edca13"
+ ],
+ "x-ms-correlation-request-id": [
+ "6e026461-7df7-4afe-8761-89f6a80c6daa"
+ ],
+ "x-ms-arm-service-request-id": [
+ "caddbcbd-5a37-4ae6-8976-a868ad206279"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0",
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014308Z:6e026461-7df7-4afe-8761-89f6a80c6daa"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:43:07 GMT"
+ ],
+ "Content-Length": [
+ "30"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/providers/Microsoft.Network/locations/westus2/operations/5a18ea17-351c-4552-81fc-2207eeddcfea?api-version=2017-10-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zLzVhMThlYTE3LTM1MWMtNDU1Mi04MWZjLTIyMDdlZWRkY2ZlYT9hcGktdmVyc2lvbj0yMDE3LTEwLTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Network.Version2017.10.01.NetworkManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "94b3e43c-6ba8-4269-8d0f-c3d05c42985a"
+ ],
+ "x-ms-correlation-request-id": [
+ "97725230-2ff8-40ca-94f6-f9b71dbd448a"
+ ],
+ "x-ms-arm-service-request-id": [
+ "100c5fda-feb0-4ffa-af86-cf1d248feb8e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0",
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014310Z:97725230-2ff8-40ca-94f6-f9b71dbd448a"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:43:10 GMT"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/providers/Microsoft.Network/locations/westus2/operations/a3808c66-e4dc-4771-8650-4db0257e48ac?api-version=2017-10-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zL2EzODA4YzY2LWU0ZGMtNDc3MS04NjUwLTRkYjAyNTdlNDhhYz9hcGktdmVyc2lvbj0yMDE3LTEwLTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Network.Version2017.10.01.NetworkManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "c1a04f47-9824-40a5-9879-129aa3d3620c"
+ ],
+ "x-ms-correlation-request-id": [
+ "04abac59-e2f5-498b-bbae-4ce4c15aeea0"
+ ],
+ "x-ms-arm-service-request-id": [
+ "37e3ef32-ead8-4086-9fa7-76f2dfa2323f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0",
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014310Z:04abac59-e2f5-498b-bbae-4ce4c15aeea0"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:43:09 GMT"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488?api-version=2017-10-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Jlc291cmNlR3JvdXBzL3BzOTQ4OC9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvbG9hZEJhbGFuY2Vycy9wczk0ODg/YXBpLXZlcnNpb249MjAxNy0xMC0wMQ==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"properties\": {\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"properties\": {\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/publicIPAddresses/ps9488\"\r\n }\r\n },\r\n \"name\": \"ps9488\"\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"ps9488\"\r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"properties\": {\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/frontendIPConfigurations/ps9488\"\r\n },\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/backendAddressPools/ps9488\"\r\n },\r\n \"protocol\": \"Tcp\",\r\n \"frontendPort\": 80,\r\n \"backendPort\": 80\r\n },\r\n \"name\": \"ps948880\"\r\n }\r\n ],\r\n \"inboundNatPools\": [\r\n {\r\n \"properties\": {\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/frontendIPConfigurations/ps9488\"\r\n },\r\n \"protocol\": \"Tcp\",\r\n \"frontendPortRangeStart\": 50000,\r\n \"frontendPortRangeEnd\": 50004,\r\n \"backendPort\": 3389\r\n },\r\n \"name\": \"ps94883389\"\r\n },\r\n {\r\n \"properties\": {\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/frontendIPConfigurations/ps9488\"\r\n },\r\n \"protocol\": \"Tcp\",\r\n \"frontendPortRangeStart\": 52000,\r\n \"frontendPortRangeEnd\": 52004,\r\n \"backendPort\": 5985\r\n },\r\n \"name\": \"ps94885985\"\r\n }\r\n ]\r\n },\r\n \"location\": \"westus2\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "677b903e-1cbe-4711-a867-6e32072280e2"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Network.Version2017.10.01.NetworkManagementClient/1.3.2"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "2113"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "32f6c4bf-c9f1-4130-8b1e-82334de67750"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/providers/Microsoft.Network/locations/westus2/operations/32f6c4bf-c9f1-4130-8b1e-82334de67750?api-version=2017-10-01"
+ ],
+ "x-ms-correlation-request-id": [
+ "da16a26f-2287-4809-b7d3-5352f50dc045"
+ ],
+ "x-ms-arm-service-request-id": [
+ "594a63db-f799-4417-b17b-d89fd1f73dd8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0",
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014311Z:da16a26f-2287-4809-b7d3-5352f50dc045"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:43:11 GMT"
+ ],
+ "Content-Length": [
+ "5466"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"ps9488\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488\",\r\n \"etag\": \"W/\\\"a5cf8dab-90ce-4ba1-9f0f-286962f8c7d0\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"dc649f10-0cf5-4396-86e2-ae40e5a9ca71\",\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"ps9488\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/frontendIPConfigurations/ps9488\",\r\n \"etag\": \"W/\\\"a5cf8dab-90ce-4ba1-9f0f-286962f8c7d0\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/publicIPAddresses/ps9488\"\r\n },\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/loadBalancingRules/ps948880\"\r\n }\r\n ],\r\n \"inboundNatPools\": [\r\n {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/inboundNatPools/ps94883389\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/inboundNatPools/ps94885985\"\r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"ps9488\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/backendAddressPools/ps9488\",\r\n \"etag\": \"W/\\\"a5cf8dab-90ce-4ba1-9f0f-286962f8c7d0\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/loadBalancingRules/ps948880\"\r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": \"ps948880\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/loadBalancingRules/ps948880\",\r\n \"etag\": \"W/\\\"a5cf8dab-90ce-4ba1-9f0f-286962f8c7d0\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/frontendIPConfigurations/ps9488\"\r\n },\r\n \"frontendPort\": 80,\r\n \"backendPort\": 80,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": 4,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\": \"Default\",\r\n \"disableOutboundSnat\": false,\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/backendAddressPools/ps9488\"\r\n }\r\n }\r\n }\r\n ],\r\n \"probes\": [],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\": [\r\n {\r\n \"name\": \"ps94883389\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/inboundNatPools/ps94883389\",\r\n \"etag\": \"W/\\\"a5cf8dab-90ce-4ba1-9f0f-286962f8c7d0\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"frontendPortRangeStart\": 50000,\r\n \"frontendPortRangeEnd\": 50004,\r\n \"backendPort\": 3389,\r\n \"protocol\": \"Tcp\",\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/frontendIPConfigurations/ps9488\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatPools\"\r\n },\r\n {\r\n \"name\": \"ps94885985\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/inboundNatPools/ps94885985\",\r\n \"etag\": \"W/\\\"a5cf8dab-90ce-4ba1-9f0f-286962f8c7d0\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"frontendPortRangeStart\": 52000,\r\n \"frontendPortRangeEnd\": 52004,\r\n \"backendPort\": 5985,\r\n \"protocol\": \"Tcp\",\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/frontendIPConfigurations/ps9488\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatPools\"\r\n }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n }\r\n}",
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Compute/virtualMachineScaleSets/ps9488?api-version=2019-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Jlc291cmNlR3JvdXBzL3BzOTQ4OC9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvdmlydHVhbE1hY2hpbmVTY2FsZVNldHMvcHM5NDg4P2FwaS12ZXJzaW9uPTIwMTktMDctMDE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"upgradePolicy\": {\r\n \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"ps9488\",\r\n \"adminUsername\": \"admin01\",\r\n \"adminPassword\": \"ps5276_196Ab!@\",\r\n \"windowsConfiguration\": {}\r\n },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n \"networkProfile\": {\r\n \"networkInterfaceConfigurations\": [\r\n {\r\n \"name\": \"ps9488\",\r\n \"properties\": {\r\n \"primary\": true,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"ps9488\",\r\n \"properties\": {\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/virtualNetworks/ps9488/subnets/ps9488\"\r\n },\r\n \"loadBalancerBackendAddressPools\": [\r\n {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/backendAddressPools/ps9488\"\r\n }\r\n ],\r\n \"loadBalancerInboundNatPools\": [\r\n {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/inboundNatPools/ps94883389\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/inboundNatPools/ps94885985\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": true,\r\n \"singlePlacementGroup\": false\r\n },\r\n \"location\": \"westus2\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a2a78229-39dd-4f3d-a1eb-0aeb3f3b95d9"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Compute.ComputeManagementClient/30.1.0.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "2226"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/providers/Microsoft.Compute/locations/westus2/operations/05521179-a991-4957-aef3-b32b3a90d803?api-version=2019-07-01"
+ ],
+ "Azure-AsyncNotification": [
+ "Enabled"
+ ],
+ "x-ms-ratelimit-remaining-resource": [
+ "Microsoft.Compute/CreateVMScaleSet3Min;59,Microsoft.Compute/CreateVMScaleSet30Min;299,Microsoft.Compute/VMScaleSetBatchedVMRequests5Min;1196,Microsoft.Compute/VmssQueuedVMOperations;4796"
+ ],
+ "x-ms-request-charge": [
+ "4"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "05521179-a991-4957-aef3-b32b3a90d803"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0",
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "57deca4a-1de7-45a7-9865-651ed48855e2"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014312Z:57deca4a-1de7-45a7-9865-651ed48855e2"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:43:12 GMT"
+ ],
+ "Content-Length": [
+ "2873"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"ps9488\",\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Compute/virtualMachineScaleSets/ps9488\",\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": false,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"ps9488\",\r\n \"adminUsername\": \"admin01\",\r\n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"None\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\r\n }\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n \"networkProfile\": {\r\n \"networkInterfaceConfigurations\": [\r\n {\r\n \"name\": \"ps9488\",\r\n \"properties\": {\r\n \"primary\": true,\r\n \"enableAcceleratedNetworking\": false,\r\n \"dnsSettings\": {\r\n \"dnsServers\": []\r\n },\r\n \"enableIPForwarding\": false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"ps9488\",\r\n \"properties\": {\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/virtualNetworks/ps9488/subnets/ps9488\"\r\n },\r\n \"privateIPAddressVersion\": \"IPv4\",\r\n \"loadBalancerBackendAddressPools\": [\r\n {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/backendAddressPools/ps9488\"\r\n }\r\n ],\r\n \"loadBalancerInboundNatPools\": [\r\n {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/inboundNatPools/ps94883389\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourceGroups/ps9488/providers/Microsoft.Network/loadBalancers/ps9488/inboundNatPools/ps94885985\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n },\r\n \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \"name\": \"Microsoft.Azure.Geneva.GenevaMonitoring\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"publisher\": \"Microsoft.Azure.Geneva\",\r\n \"type\": \"GenevaMonitoring\",\r\n \"typeHandlerVersion\": \"2.0\",\r\n \"settings\": {}\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": true,\r\n \"uniqueId\": \"fac3bf26-279d-44ac-b571-7df35f09b7b9\"\r\n }\r\n}",
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/providers/Microsoft.Compute/locations/westus2/operations/05521179-a991-4957-aef3-b32b3a90d803?api-version=2019-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zLzA1NTIxMTc5LWE5OTEtNDk1Ny1hZWYzLWIzMmIzYTkwZDgwMz9hcGktdmVyc2lvbj0yMDE5LTA3LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Compute.ComputeManagementClient/30.1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "97"
+ ],
+ "x-ms-ratelimit-remaining-resource": [
+ "Microsoft.Compute/GetOperation3Min;14999,Microsoft.Compute/GetOperation30Min;29999"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "c43e7a05-764c-439c-b5cf-7f347f2b0289"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0",
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-correlation-request-id": [
+ "92cc1d94-f96f-4eef-80c8-e9482f12d92d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014323Z:92cc1d94-f96f-4eef-80c8-e9482f12d92d"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:43:22 GMT"
+ ],
+ "Content-Length": [
+ "134"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"startTime\": \"2019-11-15T17:43:12.4492217-08:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"05521179-a991-4957-aef3-b32b3a90d803\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/providers/Microsoft.Compute/locations/westus2/operations/05521179-a991-4957-aef3-b32b3a90d803?api-version=2019-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zLzA1NTIxMTc5LWE5OTEtNDk1Ny1hZWYzLWIzMmIzYTkwZDgwMz9hcGktdmVyc2lvbj0yMDE5LTA3LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Compute.ComputeManagementClient/30.1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-resource": [
+ "Microsoft.Compute/GetOperation3Min;14997,Microsoft.Compute/GetOperation30Min;29997"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "6d84194c-39d3-4009-a129-72c2d25487c9"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0",
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-correlation-request-id": [
+ "eac873e7-0e87-4c3c-897c-651a4d03a3f3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014519Z:eac873e7-0e87-4c3c-897c-651a4d03a3f3"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:45:19 GMT"
+ ],
+ "Content-Length": [
+ "134"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"startTime\": \"2019-11-15T17:43:12.4492217-08:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"05521179-a991-4957-aef3-b32b3a90d803\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/providers/Microsoft.Compute/locations/westus2/operations/05521179-a991-4957-aef3-b32b3a90d803?api-version=2019-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zLzA1NTIxMTc5LWE5OTEtNDk1Ny1hZWYzLWIzMmIzYTkwZDgwMz9hcGktdmVyc2lvbj0yMDE5LTA3LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Compute.ComputeManagementClient/30.1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-resource": [
+ "Microsoft.Compute/GetOperation3Min;14997,Microsoft.Compute/GetOperation30Min;29996"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "3e2c7377-d833-4108-bac9-1a93e51bc045"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0",
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-correlation-request-id": [
+ "cf943a69-f8b3-4719-8ff1-32678430c303"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014656Z:cf943a69-f8b3-4719-8ff1-32678430c303"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:46:55 GMT"
+ ],
+ "Content-Length": [
+ "134"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"startTime\": \"2019-11-15T17:43:12.4492217-08:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"05521179-a991-4957-aef3-b32b3a90d803\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/providers/Microsoft.Compute/locations/westus2/operations/05521179-a991-4957-aef3-b32b3a90d803?api-version=2019-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zLzA1NTIxMTc5LWE5OTEtNDk1Ny1hZWYzLWIzMmIzYTkwZDgwMz9hcGktdmVyc2lvbj0yMDE5LTA3LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Compute.ComputeManagementClient/30.1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-resource": [
+ "Microsoft.Compute/GetOperation3Min;14997,Microsoft.Compute/GetOperation30Min;29994"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "84366fdd-a896-40cc-b826-c2a7d88c0df2"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0",
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-correlation-request-id": [
+ "372608b8-5817-45fb-9816-d163cc805c65"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T014833Z:372608b8-5817-45fb-9816-d163cc805c65"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:48:33 GMT"
+ ],
+ "Content-Length": [
+ "134"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"startTime\": \"2019-11-15T17:43:12.4492217-08:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"05521179-a991-4957-aef3-b32b3a90d803\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/providers/Microsoft.Compute/locations/westus2/operations/05521179-a991-4957-aef3-b32b3a90d803?api-version=2019-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zLzA1NTIxMTc5LWE5OTEtNDk1Ny1hZWYzLWIzMmIzYTkwZDgwMz9hcGktdmVyc2lvbj0yMDE5LTA3LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Compute.ComputeManagementClient/30.1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-resource": [
+ "Microsoft.Compute/GetOperation3Min;14997,Microsoft.Compute/GetOperation30Min;29992"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "fb690d1d-c4ba-4e55-b070-f99b967070c8"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0",
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-correlation-request-id": [
+ "fc269fcf-3617-44e3-aeb7-b8bc20f55be9"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015010Z:fc269fcf-3617-44e3-aeb7-b8bc20f55be9"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:50:10 GMT"
+ ],
+ "Content-Length": [
+ "134"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"startTime\": \"2019-11-15T17:43:12.4492217-08:00\",\r\n \"status\": \"InProgress\",\r\n \"name\": \"05521179-a991-4957-aef3-b32b3a90d803\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/providers/Microsoft.Compute/locations/westus2/operations/05521179-a991-4957-aef3-b32b3a90d803?api-version=2019-07-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zLzA1NTIxMTc5LWE5OTEtNDk1Ny1hZWYzLWIzMmIzYTkwZDgwMz9hcGktdmVyc2lvbj0yMDE5LTA3LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Compute.ComputeManagementClient/30.1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-resource": [
+ "Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29990"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "x-ms-request-id": [
+ "e2e51cee-ae59-4e02-b954-304f7f5192bc"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0",
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-correlation-request-id": [
+ "4b3c6890-f1d9-493d-a196-caff3960b0c1"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015147Z:4b3c6890-f1d9-493d-a196-caff3960b0c1"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:51:46 GMT"
+ ],
+ "Content-Length": [
+ "184"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"startTime\": \"2019-11-15T17:43:12.4492217-08:00\",\r\n \"endTime\": \"2019-11-15T17:50:59.0136642-08:00\",\r\n \"status\": \"Succeeded\",\r\n \"name\": \"05521179-a991-4957-aef3-b32b3a90d803\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/resourcegroups/ps9488?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL3Jlc291cmNlZ3JvdXBzL3BzOTQ4OD9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "628914b9-0f17-46ff-a0a4-cf1577729b37"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-request-id": [
+ "9536348a-7277-4275-bc8f-69a0d2463397"
+ ],
+ "x-ms-correlation-request-id": [
+ "9536348a-7277-4275-bc8f-69a0d2463397"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015150Z:9536348a-7277-4275-bc8f-69a0d2463397"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:51:49 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-request-id": [
+ "2051b870-98e0-45cc-a174-6abd222ed2b2"
+ ],
+ "x-ms-correlation-request-id": [
+ "2051b870-98e0-45cc-a174-6abd222ed2b2"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015205Z:2051b870-98e0-45cc-a174-6abd222ed2b2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:52:04 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "86473966-121c-482a-a3e6-b9961936b9d3"
+ ],
+ "x-ms-correlation-request-id": [
+ "86473966-121c-482a-a3e6-b9961936b9d3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015220Z:86473966-121c-482a-a3e6-b9961936b9d3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:52:19 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-request-id": [
+ "134cda45-3ede-4ebc-97da-3ce1686f5d08"
+ ],
+ "x-ms-correlation-request-id": [
+ "134cda45-3ede-4ebc-97da-3ce1686f5d08"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015235Z:134cda45-3ede-4ebc-97da-3ce1686f5d08"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:52:35 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-request-id": [
+ "efee56e3-1e8a-47e0-9bb6-9e0c963591b9"
+ ],
+ "x-ms-correlation-request-id": [
+ "efee56e3-1e8a-47e0-9bb6-9e0c963591b9"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015250Z:efee56e3-1e8a-47e0-9bb6-9e0c963591b9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:52:50 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
+ ],
+ "x-ms-request-id": [
+ "badbc886-0bcb-42eb-ac34-234753a10128"
+ ],
+ "x-ms-correlation-request-id": [
+ "badbc886-0bcb-42eb-ac34-234753a10128"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015305Z:badbc886-0bcb-42eb-ac34-234753a10128"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:53:04 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11994"
+ ],
+ "x-ms-request-id": [
+ "a462b7db-039b-4191-93fc-4f944f36d45e"
+ ],
+ "x-ms-correlation-request-id": [
+ "a462b7db-039b-4191-93fc-4f944f36d45e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015320Z:a462b7db-039b-4191-93fc-4f944f36d45e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:53:19 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11993"
+ ],
+ "x-ms-request-id": [
+ "57c11bb7-a521-4582-9a50-6cdaf08cac3c"
+ ],
+ "x-ms-correlation-request-id": [
+ "57c11bb7-a521-4582-9a50-6cdaf08cac3c"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015335Z:57c11bb7-a521-4582-9a50-6cdaf08cac3c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:53:34 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11992"
+ ],
+ "x-ms-request-id": [
+ "dc3ebc80-e2a6-4689-a39f-1926164ecd8f"
+ ],
+ "x-ms-correlation-request-id": [
+ "dc3ebc80-e2a6-4689-a39f-1926164ecd8f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015350Z:dc3ebc80-e2a6-4689-a39f-1926164ecd8f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:53:50 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11991"
+ ],
+ "x-ms-request-id": [
+ "cac183f2-588e-4fe9-8008-f6553c78e5de"
+ ],
+ "x-ms-correlation-request-id": [
+ "cac183f2-588e-4fe9-8008-f6553c78e5de"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015405Z:cac183f2-588e-4fe9-8008-f6553c78e5de"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:54:05 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11990"
+ ],
+ "x-ms-request-id": [
+ "c8a1ecf3-a86c-414a-a5d5-1b66de1c915e"
+ ],
+ "x-ms-correlation-request-id": [
+ "c8a1ecf3-a86c-414a-a5d5-1b66de1c915e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015421Z:c8a1ecf3-a86c-414a-a5d5-1b66de1c915e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:54:20 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11989"
+ ],
+ "x-ms-request-id": [
+ "9d948850-81e4-4897-b9e6-17d84da6f998"
+ ],
+ "x-ms-correlation-request-id": [
+ "9d948850-81e4-4897-b9e6-17d84da6f998"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015436Z:9d948850-81e4-4897-b9e6-17d84da6f998"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:54:35 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11988"
+ ],
+ "x-ms-request-id": [
+ "83f917bb-8c89-4788-9bb5-b8b45d6f003a"
+ ],
+ "x-ms-correlation-request-id": [
+ "83f917bb-8c89-4788-9bb5-b8b45d6f003a"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015451Z:83f917bb-8c89-4788-9bb5-b8b45d6f003a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:54:51 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11987"
+ ],
+ "x-ms-request-id": [
+ "f25443e2-d820-43fb-831a-566edec46f9e"
+ ],
+ "x-ms-correlation-request-id": [
+ "f25443e2-d820-43fb-831a-566edec46f9e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015506Z:f25443e2-d820-43fb-831a-566edec46f9e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:55:05 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11986"
+ ],
+ "x-ms-request-id": [
+ "0e3646ce-4f45-4405-83cc-e865190b2c34"
+ ],
+ "x-ms-correlation-request-id": [
+ "0e3646ce-4f45-4405-83cc-e865190b2c34"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015521Z:0e3646ce-4f45-4405-83cc-e865190b2c34"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:55:20 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11985"
+ ],
+ "x-ms-request-id": [
+ "c2cc35b6-e886-43cd-9ef7-d80191b8d261"
+ ],
+ "x-ms-correlation-request-id": [
+ "c2cc35b6-e886-43cd-9ef7-d80191b8d261"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015536Z:c2cc35b6-e886-43cd-9ef7-d80191b8d261"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:55:35 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11984"
+ ],
+ "x-ms-request-id": [
+ "8ae03c73-fde3-408e-bb60-982b07610cd7"
+ ],
+ "x-ms-correlation-request-id": [
+ "8ae03c73-fde3-408e-bb60-982b07610cd7"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015551Z:8ae03c73-fde3-408e-bb60-982b07610cd7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:55:50 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11983"
+ ],
+ "x-ms-request-id": [
+ "d815ba39-2bc9-4d31-86e7-f2991f40ff34"
+ ],
+ "x-ms-correlation-request-id": [
+ "d815ba39-2bc9-4d31-86e7-f2991f40ff34"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015606Z:d815ba39-2bc9-4d31-86e7-f2991f40ff34"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:56:06 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11982"
+ ],
+ "x-ms-request-id": [
+ "e4fc97ff-4fd3-4500-8f9d-663fdcd1697c"
+ ],
+ "x-ms-correlation-request-id": [
+ "e4fc97ff-4fd3-4500-8f9d-663fdcd1697c"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015621Z:e4fc97ff-4fd3-4500-8f9d-663fdcd1697c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:56:21 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11981"
+ ],
+ "x-ms-request-id": [
+ "dcb35cf1-4eb1-417d-83f1-f489d7b5ab76"
+ ],
+ "x-ms-correlation-request-id": [
+ "dcb35cf1-4eb1-417d-83f1-f489d7b5ab76"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015636Z:dcb35cf1-4eb1-417d-83f1-f489d7b5ab76"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:56:36 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11980"
+ ],
+ "x-ms-request-id": [
+ "ca05aaf1-56a2-45ed-b563-032738667631"
+ ],
+ "x-ms-correlation-request-id": [
+ "ca05aaf1-56a2-45ed-b563-032738667631"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015651Z:ca05aaf1-56a2-45ed-b563-032738667631"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:56:51 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11979"
+ ],
+ "x-ms-request-id": [
+ "f1548471-971f-4cfd-9345-c283bf5f91f8"
+ ],
+ "x-ms-correlation-request-id": [
+ "f1548471-971f-4cfd-9345-c283bf5f91f8"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015707Z:f1548471-971f-4cfd-9345-c283bf5f91f8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:57:06 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11978"
+ ],
+ "x-ms-request-id": [
+ "62fe5c03-dadf-4188-9211-ec3884eaf8e9"
+ ],
+ "x-ms-correlation-request-id": [
+ "62fe5c03-dadf-4188-9211-ec3884eaf8e9"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015722Z:62fe5c03-dadf-4188-9211-ec3884eaf8e9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:57:21 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/24fb23e3-6ba3-41f0-9b6e-e41131d5d61e/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk0ODgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjRmYjIzZTMtNmJhMy00MWYwLTliNmUtZTQxMTMxZDVkNjFlL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprME9EZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11977"
+ ],
+ "x-ms-request-id": [
+ "e11c835d-f440-4b66-b783-7ba12216cbe4"
+ ],
+ "x-ms-correlation-request-id": [
+ "e11c835d-f440-4b66-b783-7ba12216cbe4"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191116T015722Z:e11c835d-f440-4b66-b783-7ba12216cbe4"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 16 Nov 2019 01:57:21 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-SimpleNewVmssSkipExtOverprovision": [
+ "ps9488",
+ "ps5276"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "24fb23e3-6ba3-41f0-9b6e-e41131d5d61e"
+ }
+}
\ No newline at end of file
diff --git a/src/Compute/Compute/Az.Compute.psd1 b/src/Compute/Compute/Az.Compute.psd1
index 1784b69c40..879fd4f392 100644
--- a/src/Compute/Compute/Az.Compute.psd1
+++ b/src/Compute/Compute/Az.Compute.psd1
@@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
-# Generated on: 10/29/2019
+# Generated on: 11/21/2019
#
@{
@@ -12,7 +12,7 @@
# RootModule = ''
# Version number of this module.
-ModuleVersion = '3.0.0'
+ModuleVersion = '3.1.0'
# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
@@ -203,31 +203,19 @@ PrivateData = @{
# IconUri = ''
# ReleaseNotes of this module
- ReleaseNotes = '* Disk Encryption Set feature
- - New cmdlets:
- New-AzDiskEncryptionSetConfig
- New-AzDiskEncryptionSet
- Get-AzDiskEncryptionSet
- Remove-AzDiskEncryptionSet
- - DiskEncryptionSetId parameter is added to the following cmdlets:
- Set-AzImageOSDisk
- Set-AzVMOSDisk
- Set-AzVmssStorageProfile
- Add-AzImageDataDisk
- New-AzVMDataDisk
- Set-AzVMDataDisk
- Add-AzVMDataDisk
- Add-AzVmssDataDisk
- Add-AzVmssVMDataDisk
- - DiskEncryptionSetId and EncryptionType parameters are added to the following cmdlets:
- New-AzDiskConfig
- New-AzSnapshotConfig
-* Add PublicIPAddressVersion parameter to New-AzVmssIPConfig
-* Move FileUris of custom script extension from public setting to protected setting
-* Add ScaleInPolicy to New-AzVmss, New-AzVmssConfig and Update-AzVmss cmdlets
-* Breaking changes
- - UploadSizeInBytes parameter is used instead of DiskSizeGB for New-AzDiskConfig when CreateOption is Upload
- - PublishingProfile.Source.ManagedImage.Id is replaced with StorageProfile.Source.Id in GalleryImageVersion object'
+ ReleaseNotes = '* VM Reapply feature
+ - Add Reapply parameter to Set-AzVM cmdlet
+* VM Scale Set AutomaticRepairs feature:
+ - Add EnableAutomaticRepair, AutomaticRepairGracePeriod, and AutomaticRepairMaxInstanceRepairsPercent parameters to the following cmdlets:
+ New-AzVmssConfig
+ Update-AzVmss
+* Cross tenant gallery image support for New-AzVM
+* Add ''Spot'' to the argument completer of Priority parameter in New-AzVM, New-AzVMConfig and New-AzVmss cmdlets
+* Add DiskIOPSReadWrite and DiskMBpsReadWrite parameters to Add-AzVmssDataDisk cmdlet
+* Change SourceImageId parameter of New-AzGalleryImageVersion cmdlet to optional
+* Add OSDiskImage and DataDiskImage parameters to New-AzGalleryImageVersion cmdlet
+* Add HyperVGeneration parameter to New-AzGalleryImageDefinition cmdlet
+* Add SkipExtensionsOnOverprovisionedVMs parameters to New-AzVmss, New-AzVmssConfig and Update-AzVmss cmdlets'
# Prerelease string of this module
# Prerelease = ''
diff --git a/src/Compute/Compute/ChangeLog.md b/src/Compute/Compute/ChangeLog.md
index 6d16fa2062..26acd3369f 100644
--- a/src/Compute/Compute/ChangeLog.md
+++ b/src/Compute/Compute/ChangeLog.md
@@ -19,6 +19,8 @@
- Additional information about change #1
-->
## Upcoming Release
+
+## Version 3.1.0
* VM Reapply feature
- Add Reapply parameter to Set-AzVM cmdlet
* VM Scale Set AutomaticRepairs feature:
@@ -31,6 +33,7 @@
* Change SourceImageId parameter of New-AzGalleryImageVersion cmdlet to optional
* Add OSDiskImage and DataDiskImage parameters to New-AzGalleryImageVersion cmdlet
* Add HyperVGeneration parameter to New-AzGalleryImageDefinition cmdlet
+* Add SkipExtensionsOnOverprovisionedVMs parameters to New-AzVmss, New-AzVmssConfig and Update-AzVmss cmdlets
## Version 3.0.0
* Disk Encryption Set feature
diff --git a/src/Compute/Compute/Generated/VirtualMachineScaleSet/Config/NewAzureRmVmssConfigCommand.cs b/src/Compute/Compute/Generated/VirtualMachineScaleSet/Config/NewAzureRmVmssConfigCommand.cs
index e625b042ed..4a80cd2d47 100644
--- a/src/Compute/Compute/Generated/VirtualMachineScaleSet/Config/NewAzureRmVmssConfigCommand.cs
+++ b/src/Compute/Compute/Generated/VirtualMachineScaleSet/Config/NewAzureRmVmssConfigCommand.cs
@@ -104,6 +104,10 @@ namespace Microsoft.Azure.Commands.Compute.Automation
ValueFromPipelineByPropertyName = true)]
public VirtualMachineScaleSetExtension[] Extension { get; set; }
+ [Parameter(
+ Mandatory = false)]
+ public SwitchParameter SkipExtensionsOnOverprovisionedVMs { get; set; }
+
[Parameter(
Mandatory = false,
ValueFromPipelineByPropertyName = true)]
@@ -616,6 +620,7 @@ namespace Microsoft.Azure.Commands.Compute.Automation
var vVirtualMachineScaleSet = new PSVirtualMachineScaleSet
{
Overprovision = this.IsParameterBound(c => c.Overprovision) ? this.Overprovision : (bool?)null,
+ DoNotRunExtensionsOnOverprovisionedVMs = this.SkipExtensionsOnOverprovisionedVMs.IsPresent ? true : (bool?)null,
SinglePlacementGroup = this.IsParameterBound(c => c.SinglePlacementGroup) ? this.SinglePlacementGroup : (bool?)null,
ZoneBalance = this.ZoneBalance.IsPresent ? true : (bool?)null,
PlatformFaultDomainCount = this.IsParameterBound(c => c.PlatformFaultDomainCount) ? this.PlatformFaultDomainCount : (int?)null,
diff --git a/src/Compute/Compute/Generated/VirtualMachineScaleSet/VirtualMachineScaleSetUpdateMethod.cs b/src/Compute/Compute/Generated/VirtualMachineScaleSet/VirtualMachineScaleSetUpdateMethod.cs
index 63502e4463..c438efba0d 100644
--- a/src/Compute/Compute/Generated/VirtualMachineScaleSet/VirtualMachineScaleSetUpdateMethod.cs
+++ b/src/Compute/Compute/Generated/VirtualMachineScaleSet/VirtualMachineScaleSetUpdateMethod.cs
@@ -255,6 +255,10 @@ namespace Microsoft.Azure.Commands.Compute.Automation
Mandatory = false)]
public bool SinglePlacementGroup { get; set; }
+ [Parameter(
+ Mandatory = false)]
+ public bool SkipExtensionsOnOverprovisionedVMs { get; set; }
+
[Parameter(
Mandatory = false)]
public int SkuCapacity { get; set; }
@@ -917,6 +921,15 @@ namespace Microsoft.Azure.Commands.Compute.Automation
this.VirtualMachineScaleSetUpdate.SinglePlacementGroup = this.SinglePlacementGroup;
}
+ if (this.IsParameterBound(c => c.SkipExtensionsOnOverprovisionedVMs))
+ {
+ if (this.VirtualMachineScaleSetUpdate == null)
+ {
+ this.VirtualMachineScaleSetUpdate = new VirtualMachineScaleSetUpdate();
+ }
+ this.VirtualMachineScaleSetUpdate.DoNotRunExtensionsOnOverprovisionedVMs = this.SkipExtensionsOnOverprovisionedVMs;
+ }
+
if (this.IsParameterBound(c => c.SkuCapacity))
{
if (this.VirtualMachineScaleSetUpdate == null)
@@ -1555,6 +1568,11 @@ namespace Microsoft.Azure.Commands.Compute.Automation
this.VirtualMachineScaleSet.SinglePlacementGroup = this.SinglePlacementGroup;
}
+ if (this.IsParameterBound(c => c.SkipExtensionsOnOverprovisionedVMs))
+ {
+ this.VirtualMachineScaleSet.DoNotRunExtensionsOnOverprovisionedVMs = this.SkipExtensionsOnOverprovisionedVMs;
+ }
+
if (this.IsParameterBound(c => c.SkuCapacity))
{
if (this.VirtualMachineScaleSet.Sku == null)
diff --git a/src/Compute/Compute/Manual/VirtualMachineScaleSetCreateOrUpdateMethod.cs b/src/Compute/Compute/Manual/VirtualMachineScaleSetCreateOrUpdateMethod.cs
index a7430f2652..4e59cf0844 100644
--- a/src/Compute/Compute/Manual/VirtualMachineScaleSetCreateOrUpdateMethod.cs
+++ b/src/Compute/Compute/Manual/VirtualMachineScaleSetCreateOrUpdateMethod.cs
@@ -162,6 +162,11 @@ namespace Microsoft.Azure.Commands.Compute.Automation
[PSArgumentCompleter("Default", "OldestVM", "NewestVM")]
public string[] ScaleInPolicy { get; set; }
+ [Parameter(ParameterSetName = SimpleParameterSet, Mandatory = false,
+ HelpMessage = "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. "
+ + "This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.")]
+ public SwitchParameter SkipExtensionsOnOverprovisionedVMs { get; set; }
+
const int FirstPortRangeStart = 50000;
sealed class Parameters : IParameters
@@ -299,7 +304,8 @@ namespace Microsoft.Azure.Commands.Compute.Automation
priority: _cmdlet.Priority,
evictionPolicy: _cmdlet.EvictionPolicy,
maxPrice: _cmdlet.IsParameterBound(c => c.MaxPrice) ? _cmdlet.MaxPrice : (double?)null,
- scaleInPolicy: _cmdlet.ScaleInPolicy
+ scaleInPolicy: _cmdlet.ScaleInPolicy,
+ doNotRunExtensionsOnOverprovisionedVMs: _cmdlet.SkipExtensionsOnOverprovisionedVMs.IsPresent
);
}
}
diff --git a/src/Compute/Compute/Properties/AssemblyInfo.cs b/src/Compute/Compute/Properties/AssemblyInfo.cs
index 009a0b7715..8344bc87b1 100644
--- a/src/Compute/Compute/Properties/AssemblyInfo.cs
+++ b/src/Compute/Compute/Properties/AssemblyInfo.cs
@@ -25,8 +25,8 @@ using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
[assembly: Guid("91792853-487B-4DC2-BE6C-DD09A0A1BC10")]
-[assembly: AssemblyVersion("3.0.0")]
-[assembly: AssemblyFileVersion("3.0.0")]
+[assembly: AssemblyVersion("3.1.0")]
+[assembly: AssemblyFileVersion("3.1.0")]
#if !SIGN
[assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Cmdlets.Compute.Test")]
#endif
diff --git a/src/Compute/Compute/Strategies/ComputeRp/VirtualMachineScaleSetStrategy.cs b/src/Compute/Compute/Strategies/ComputeRp/VirtualMachineScaleSetStrategy.cs
index 262d583e6b..5014b0eac1 100644
--- a/src/Compute/Compute/Strategies/ComputeRp/VirtualMachineScaleSetStrategy.cs
+++ b/src/Compute/Compute/Strategies/ComputeRp/VirtualMachineScaleSetStrategy.cs
@@ -58,7 +58,8 @@ namespace Microsoft.Azure.Commands.Compute.Strategies.ComputeRp
string priority,
string evictionPolicy,
double? maxPrice,
- string[] scaleInPolicy)
+ string[] scaleInPolicy,
+ bool doNotRunExtensionsOnOverprovisionedVMs)
=> Strategy.CreateResourceConfig(
resourceGroup: resourceGroup,
name: name,
@@ -128,7 +129,8 @@ namespace Microsoft.Azure.Commands.Compute.Strategies.ComputeRp
ScaleInPolicy = (scaleInPolicy == null) ? null : new ScaleInPolicy
{
Rules = scaleInPolicy
- }
+ },
+ DoNotRunExtensionsOnOverprovisionedVMs = doNotRunExtensionsOnOverprovisionedVMs ? true : (bool?)null
});
}
}
diff --git a/src/Compute/Compute/help/New-AzVmss.md b/src/Compute/Compute/help/New-AzVmss.md
index e32c86ac35..897a823fbd 100644
--- a/src/Compute/Compute/help/New-AzVmss.md
+++ b/src/Compute/Compute/help/New-AzVmss.md
@@ -32,7 +32,8 @@ New-AzVmss [[-ResourceGroupName] ] [-VMScaleSetName] [-AsJob] [
[-Zone ] [-NatBackendPort ]
[-DataDiskSizeInGb ] [-ProximityPlacementGroup ] [-Priority ]
[-EvictionPolicy ] [-MaxPrice ] [-ScaleInPolicy ]
- [-DefaultProfile ] [-SinglePlacementGroup] [-WhatIf] [-Confirm] []
+ [-SkipExtensionsOnOverprovisionedVMs] [-DefaultProfile ] [-SinglePlacementGroup]
+ [-WhatIf] [-Confirm] []
```
## DESCRIPTION
@@ -540,6 +541,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -SkipExtensionsOnOverprovisionedVMs
+Specifies that the extensions do not run on the extra overprovisioned VMs.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: SimpleParameterSet
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -SubnetAddressPrefix
The address prefix of the Subnet this ScaleSet will use. Default Subnet settings (192.168.1.0/24) will be applied if no value is provided.
diff --git a/src/Compute/Compute/help/New-AzVmssConfig.md b/src/Compute/Compute/help/New-AzVmssConfig.md
index aa4f1ed66e..82c12ec950 100644
--- a/src/Compute/Compute/help/New-AzVmssConfig.md
+++ b/src/Compute/Compute/help/New-AzVmssConfig.md
@@ -19,10 +19,10 @@ New-AzVmssConfig [[-Overprovision] ] [[-Location] ] [[-Tag] ] [[-SkuCapacity] ] [[-UpgradePolicyMode] ]
[[-OsProfile] ] [[-StorageProfile] ]
[[-NetworkInterfaceConfiguration] ]
- [[-Extension] ] [-SinglePlacementGroup ] [-ZoneBalance]
- [-PlatformFaultDomainCount ] [-Zone ] [-PlanName ] [-PlanPublisher ]
- [-PlanProduct ] [-PlanPromotionCode ] [-RollingUpgradePolicy ]
- [-EnableAutomaticRepair] [-AutomaticRepairGracePeriod ]
+ [[-Extension] ] [-SkipExtensionsOnOverprovisionedVMs]
+ [-SinglePlacementGroup ] [-ZoneBalance] [-PlatformFaultDomainCount ] [-Zone ]
+ [-PlanName ] [-PlanPublisher ] [-PlanProduct ] [-PlanPromotionCode ]
+ [-RollingUpgradePolicy ] [-EnableAutomaticRepair] [-AutomaticRepairGracePeriod ]
[-AutomaticRepairMaxInstanceRepairsPercent ] [-AutoOSUpgrade] [-DisableAutoRollback ]
[-EnableUltraSSD] [-HealthProbeId ] [-BootDiagnostic ] [-LicenseType ]
[-Priority ] [-EvictionPolicy ] [-MaxPrice ] [-TerminateScheduledEvents]
@@ -37,10 +37,10 @@ New-AzVmssConfig [[-Overprovision] ] [[-Location] ] [[-Tag] ] [[-SkuCapacity] ] [[-UpgradePolicyMode] ]
[[-OsProfile] ] [[-StorageProfile] ]
[[-NetworkInterfaceConfiguration] ]
- [[-Extension] ] [-SinglePlacementGroup ] [-ZoneBalance]
- [-PlatformFaultDomainCount ] [-Zone ] [-PlanName ] [-PlanPublisher ]
- [-PlanProduct ] [-PlanPromotionCode ] [-RollingUpgradePolicy ]
- [-EnableAutomaticRepair] [-AutomaticRepairGracePeriod ]
+ [[-Extension] ] [-SkipExtensionsOnOverprovisionedVMs]
+ [-SinglePlacementGroup ] [-ZoneBalance] [-PlatformFaultDomainCount ] [-Zone ]
+ [-PlanName ] [-PlanPublisher ] [-PlanProduct ] [-PlanPromotionCode ]
+ [-RollingUpgradePolicy ] [-EnableAutomaticRepair] [-AutomaticRepairGracePeriod ]
[-AutomaticRepairMaxInstanceRepairsPercent ] [-AutoOSUpgrade] [-DisableAutoRollback ]
[-EnableUltraSSD] [-HealthProbeId ] [-BootDiagnostic ] [-LicenseType ]
[-Priority ] [-EvictionPolicy ] [-MaxPrice ] [-TerminateScheduledEvents]
@@ -55,10 +55,10 @@ New-AzVmssConfig [[-Overprovision] ] [[-Location] ] [[-Tag] ] [[-SkuCapacity] ] [[-UpgradePolicyMode] ]
[[-OsProfile] ] [[-StorageProfile] ]
[[-NetworkInterfaceConfiguration] ]
- [[-Extension] ] [-SinglePlacementGroup ] [-ZoneBalance]
- [-PlatformFaultDomainCount ] [-Zone ] [-PlanName ] [-PlanPublisher ]
- [-PlanProduct ] [-PlanPromotionCode ] [-RollingUpgradePolicy ]
- [-EnableAutomaticRepair] [-AutomaticRepairGracePeriod ]
+ [[-Extension] ] [-SkipExtensionsOnOverprovisionedVMs]
+ [-SinglePlacementGroup ] [-ZoneBalance] [-PlatformFaultDomainCount ] [-Zone ]
+ [-PlanName ] [-PlanPublisher ] [-PlanProduct ] [-PlanPromotionCode ]
+ [-RollingUpgradePolicy ] [-EnableAutomaticRepair] [-AutomaticRepairGracePeriod ]
[-AutomaticRepairMaxInstanceRepairsPercent ] [-AutoOSUpgrade] [-DisableAutoRollback ]
[-EnableUltraSSD] [-HealthProbeId ] [-BootDiagnostic ] [-LicenseType ]
[-Priority ] [-EvictionPolicy ] [-MaxPrice ] [-TerminateScheduledEvents]
@@ -562,6 +562,21 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
+### -SkipExtensionsOnOverprovisionedVMs
+Specifies that the extensions do not run on the extra overprovisioned VMs.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -SkuCapacity
Specifies the number of instances in the VMSS.
diff --git a/src/Compute/Compute/help/Update-AzVmss.md b/src/Compute/Compute/help/Update-AzVmss.md
index e08ae0de9f..dc43928f1e 100644
--- a/src/Compute/Compute/help/Update-AzVmss.md
+++ b/src/Compute/Compute/help/Update-AzVmss.md
@@ -28,11 +28,11 @@ Update-AzVmss [-ResourceGroupName] [-VMScaleSetName]
[-OsDiskWriteAccelerator ] [-Overprovision ] [-PauseTimeBetweenBatches ]
[-PlanName ] [-PlanProduct ] [-PlanPromotionCode ] [-PlanPublisher ]
[-ProvisionVMAgent ] [-ScaleInPolicy ] [-SinglePlacementGroup ]
- [-SkuCapacity ] [-SkuName ] [-SkuTier ] [-Tag ]
- [-TerminateScheduledEventNotBeforeTimeoutInMinutes ] [-TerminateScheduledEvents ]
- [-TimeZone ] [-UltraSSDEnabled ] [-UpgradePolicyMode ]
- [-VhdContainer ] [-AsJob] [-DefaultProfile ] [-WhatIf] [-Confirm]
- []
+ [-SkipExtensionsOnOverprovisionedVMs ] [-SkuCapacity ] [-SkuName ] [-SkuTier ]
+ [-Tag ] [-TerminateScheduledEventNotBeforeTimeoutInMinutes ]
+ [-TerminateScheduledEvents ] [-TimeZone ] [-UltraSSDEnabled ]
+ [-UpgradePolicyMode ] [-VhdContainer ] [-AsJob]
+ [-DefaultProfile ] [-WhatIf] [-Confirm] []
```
### ExplicitIdentityParameterSet
@@ -50,11 +50,12 @@ Update-AzVmss [-ResourceGroupName] [-VMScaleSetName]
[-OsDiskCaching ] [-OsDiskWriteAccelerator ] [-Overprovision ]
[-PauseTimeBetweenBatches ] [-PlanName ] [-PlanProduct ] [-PlanPromotionCode ]
[-PlanPublisher ] [-ProvisionVMAgent ] [-ScaleInPolicy ]
- [-SinglePlacementGroup ] [-SkuCapacity ] [-SkuName ] [-SkuTier ]
- [-Tag ] [-TerminateScheduledEventNotBeforeTimeoutInMinutes ]
- [-TerminateScheduledEvents ] [-TimeZone ] [-UltraSSDEnabled ]
- [-UpgradePolicyMode ] [-VhdContainer ] [-AsJob]
- [-DefaultProfile ] [-WhatIf] [-Confirm] []
+ [-SinglePlacementGroup ] [-SkipExtensionsOnOverprovisionedVMs ] [-SkuCapacity ]
+ [-SkuName ] [-SkuTier ] [-Tag ]
+ [-TerminateScheduledEventNotBeforeTimeoutInMinutes ] [-TerminateScheduledEvents ]
+ [-TimeZone ] [-UltraSSDEnabled ] [-UpgradePolicyMode ]
+ [-VhdContainer ] [-AsJob] [-DefaultProfile ] [-WhatIf] [-Confirm]
+ []
```
## DESCRIPTION
@@ -677,6 +678,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -SkipExtensionsOnOverprovisionedVMs
+Specifies that the extensions do not run on the extra overprovisioned VMs.
+
+```yaml
+Type: System.Boolean
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -SkuCapacity
Specifies the number of instances in the VMSS.
diff --git a/src/DataBoxEdge/DataBoxEdge/Az.DataBoxEdge.psd1 b/src/DataBoxEdge/DataBoxEdge/Az.DataBoxEdge.psd1
index 0ec15b2146..16606997f9 100644
--- a/src/DataBoxEdge/DataBoxEdge/Az.DataBoxEdge.psd1
+++ b/src/DataBoxEdge/DataBoxEdge/Az.DataBoxEdge.psd1
@@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
-# Generated on: 10/29/2019
+# Generated on: 11/19/2019
#
@{
@@ -12,7 +12,7 @@
# RootModule = ''
# Version number of this module.
-ModuleVersion = '0.1.1'
+ModuleVersion = '1.0.0'
# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
@@ -75,11 +75,11 @@ NestedModules = @('.\Microsoft.Azure.PowerShell.Cmdlets.DataBoxEdge.dll')
FunctionsToExport = @()
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
-
-CmdletsToExport = 'Get-AzDataBoxEdgeJob', 'Get-AzDataBoxEdgeDevice', 'Invoke-AzDataBoxEdgeDevice',
- 'New-AzDataBoxEdgeDevice', 'Remove-AzDataBoxEdgeDevice',
- 'Get-AzDataBoxEdgeUser', 'New-AzDataBoxEdgeUser',
- 'Set-AzDataBoxEdgeUser', 'Remove-AzDataBoxEdgeUser',
+CmdletsToExport = 'Get-AzDataBoxEdgeJob', 'Get-AzDataBoxEdgeDevice',
+ 'Invoke-AzDataBoxEdgeDevice', 'New-AzDataBoxEdgeDevice',
+ 'Remove-AzDataBoxEdgeDevice', 'Get-AzDataBoxEdgeUser',
+ 'New-AzDataBoxEdgeUser', 'Set-AzDataBoxEdgeUser',
+ 'Remove-AzDataBoxEdgeUser',
'Get-AzDataBoxEdgeStorageAccountCredential',
'New-AzDataBoxEdgeStorageAccountCredential',
'Remove-AzDataBoxEdgeStorageAccountCredential',
@@ -88,11 +88,12 @@ CmdletsToExport = 'Get-AzDataBoxEdgeJob', 'Get-AzDataBoxEdgeDevice', 'Invoke-AzD
'Get-AzDataBoxEdgeBandwidthSchedule',
'Set-AzDataBoxEdgeBandwidthSchedule',
'New-AzDataBoxEdgeBandwidthSchedule',
- 'Remove-AzDataBoxEdgeBandwidthSchedule', 'Get-AzDataBoxEdgeRole', 'Set-AzDataBoxEdgeRole',
- 'New-AzDataBoxEdgeRole', 'Remove-AzDataBoxEdgeRole',
- 'Get-AzDataBoxEdgeTrigger', 'New-AzDataBoxEdgeTrigger',
- 'Remove-AzDataBoxEdgeTrigger',
- 'Get-AzDataBoxEdgeOrder', 'New-AzDataBoxEdgeOrder', 'Remove-AzDataBoxEdgeOrder'
+ 'Remove-AzDataBoxEdgeBandwidthSchedule', 'Get-AzDataBoxEdgeRole',
+ 'Set-AzDataBoxEdgeRole', 'New-AzDataBoxEdgeRole',
+ 'Remove-AzDataBoxEdgeRole', 'Get-AzDataBoxEdgeTrigger',
+ 'New-AzDataBoxEdgeTrigger', 'Remove-AzDataBoxEdgeTrigger',
+ 'Get-AzDataBoxEdgeOrder', 'New-AzDataBoxEdgeOrder',
+ 'Remove-AzDataBoxEdgeOrder'
# Variables to export from this module
# VariablesToExport = @()
@@ -127,7 +128,24 @@ PrivateData = @{
# IconUri = ''
# ReleaseNotes of this module
- ReleaseNotes = '* Remove cmdlet ''Set-AzDataBoxEdgeStorageAccountCredential'''
+ ReleaseNotes = '* Added cmdlet ''Get-AzDataBoxEdgeOrder''
+ - Get the Order
+* Added cmdlet ''New-AzDataBoxEdgeOrder''
+ - Create new Order
+* Added cmdlet ''Remove-AzDataBoxEdgeOrder''
+ - Remove the Order
+* Change in cmdlet ''New-AzDataBoxEdgeShare''
+ - Now creates Local Share
+* Added cmdlet ''Set-AzDataBoxEdgeRole''
+ - Now IotRole can be mapped to Share
+* Added cmdlet ''Invoke-AzDataBoxEdgeDevice''
+ - Invoke scan update, download update, install updates on the device
+* Added cmdlet ''Get-AzDataBoxEdgeTrigger''
+ - Gets the information about Triggers
+* Added cmdlet ''New-AzDataBoxEdgeTrigger''
+ - Create new Triggers
+* Added cmdlet ''Remove-AzDataBoxEdgeTrigger''
+ - Remove the Triggers'
# Prerelease string of this module
# Prerelease = ''
diff --git a/src/DataBoxEdge/DataBoxEdge/ChangeLog.md b/src/DataBoxEdge/DataBoxEdge/ChangeLog.md
index e3ecc5583e..d33d0def19 100644
--- a/src/DataBoxEdge/DataBoxEdge/ChangeLog.md
+++ b/src/DataBoxEdge/DataBoxEdge/ChangeLog.md
@@ -20,6 +20,8 @@
## Upcoming Release
+
+## Version 1.0.0
* Added cmdlet `Get-AzDataBoxEdgeOrder`
- Get the Order
* Added cmdlet `New-AzDataBoxEdgeOrder`
diff --git a/src/DataBoxEdge/DataBoxEdge/Properties/AssemblyInfo.cs b/src/DataBoxEdge/DataBoxEdge/Properties/AssemblyInfo.cs
index 520e48fb6f..72f188a1d0 100644
--- a/src/DataBoxEdge/DataBoxEdge/Properties/AssemblyInfo.cs
+++ b/src/DataBoxEdge/DataBoxEdge/Properties/AssemblyInfo.cs
@@ -24,5 +24,5 @@ using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
[assembly: Guid("4D3E68BD-35BC-4C97-8F40-A832CBA17AF7")]
-[assembly: AssemblyVersion("0.1.1")]
-[assembly: AssemblyFileVersion("0.1.1")]
+[assembly: AssemblyVersion("1.0.0")]
+[assembly: AssemblyFileVersion("1.0.0")]
diff --git a/src/DataFactory/DataFactoryV2/Az.DataFactory.psd1 b/src/DataFactory/DataFactoryV2/Az.DataFactory.psd1
index 7b1d65159f..a3389d9baa 100644
--- a/src/DataFactory/DataFactoryV2/Az.DataFactory.psd1
+++ b/src/DataFactory/DataFactoryV2/Az.DataFactory.psd1
@@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
-# Generated on: 10/29/2019
+# Generated on: 11/19/2019
#
@{
@@ -12,7 +12,7 @@
# RootModule = ''
# Version number of this module.
-ModuleVersion = '1.4.1'
+ModuleVersion = '1.5.0'
# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
@@ -170,7 +170,8 @@ PrivateData = @{
# IconUri = ''
# ReleaseNotes of this module
- ReleaseNotes = '* Update ADF .Net SDK version to 4.3.0'
+ ReleaseNotes = '* Update ADF .Net SDK version to 4.4.0
+* Add parameter ''ExpressCustomSetup'' for ''Set-AzureRmDataFactoryV2IntegrationRuntime'' cmd to enable setup configurations and 3rd party components without custom setup script.'
# Prerelease string of this module
# Prerelease = ''
diff --git a/src/DataFactory/DataFactoryV2/Changelog.md b/src/DataFactory/DataFactoryV2/Changelog.md
index 4ca91dcd77..d6b0de8884 100644
--- a/src/DataFactory/DataFactoryV2/Changelog.md
+++ b/src/DataFactory/DataFactoryV2/Changelog.md
@@ -18,6 +18,8 @@
- Additional information about change #1
-->
## Upcoming Release
+
+## Version 1.5.0
* Update ADF .Net SDK version to 4.4.0
* Add parameter "ExpressCustomSetup" for "Set-AzureRmDataFactoryV2IntegrationRuntime" cmd to enable setup configurations and 3rd party components without custom setup script.
diff --git a/src/DataFactory/DataFactoryV2/Properties/AssemblyInfo.cs b/src/DataFactory/DataFactoryV2/Properties/AssemblyInfo.cs
index 60ef151eca..20f57320c7 100644
--- a/src/DataFactory/DataFactoryV2/Properties/AssemblyInfo.cs
+++ b/src/DataFactory/DataFactoryV2/Properties/AssemblyInfo.cs
@@ -25,8 +25,8 @@ using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
[assembly: Guid("5d024af0-81c9-44f0-b3b0-7080f103fb4d")]
-[assembly: AssemblyVersion("1.4.1")]
-[assembly: AssemblyFileVersion("1.4.1")]
+[assembly: AssemblyVersion("1.5.0")]
+[assembly: AssemblyFileVersion("1.5.0")]
#if !SIGN
[assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Cmdlets.DataFactoryV2.Test")]
#endif
diff --git a/src/DataLakeStore/DataLakeStore/Az.DataLakeStore.psd1 b/src/DataLakeStore/DataLakeStore/Az.DataLakeStore.psd1
index 67fb469e2b..b5ee850c0a 100644
--- a/src/DataLakeStore/DataLakeStore/Az.DataLakeStore.psd1
+++ b/src/DataLakeStore/DataLakeStore/Az.DataLakeStore.psd1
@@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
-# Generated on: 10/29/2019
+# Generated on: 11/19/2019
#
@{
@@ -12,7 +12,7 @@
# RootModule = ''
# Version number of this module.
-ModuleVersion = '1.2.4'
+ModuleVersion = '1.2.5'
# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
@@ -159,12 +159,7 @@ PrivateData = @{
# IconUri = ''
# ReleaseNotes of this module
- ReleaseNotes = '* Update ADLS SDK version (https://github.com/Azure/azure-data-lake-store-net/blob/preview-alpha/CHANGELOG.md#version-123-alpha), brings following fixes
-* Avoid throwing exception while unable to deserialize the creationtime of the trash or directory entry.
-* Expose setting per request timeout in adlsclient
-* Fix passing the original syncflag for badoffset recovery
-* Fix EnumerateDirectory to retrieve continuation token once response is checked
-* Fix Concat Bug'
+ ReleaseNotes = '* Update documentation of Get-AzDataLakeStoreDeletedItem and Restore-AzDataLakeStoreDeletedItem'
# Prerelease string of this module
# Prerelease = ''
diff --git a/src/DataLakeStore/DataLakeStore/ChangeLog.md b/src/DataLakeStore/DataLakeStore/ChangeLog.md
index 545a50110b..eb0bc38053 100644
--- a/src/DataLakeStore/DataLakeStore/ChangeLog.md
+++ b/src/DataLakeStore/DataLakeStore/ChangeLog.md
@@ -18,6 +18,8 @@
- Additional information about change #1
-->
## Upcoming Release
+
+## Version 1.2.5
* Update documentation of Get-AzDataLakeStoreDeletedItem and Restore-AzDataLakeStoreDeletedItem
## Version 1.2.4
diff --git a/src/DataLakeStore/DataLakeStore/Properties/AssemblyInfo.cs b/src/DataLakeStore/DataLakeStore/Properties/AssemblyInfo.cs
index b2a4526fbe..b3ac13af4a 100644
--- a/src/DataLakeStore/DataLakeStore/Properties/AssemblyInfo.cs
+++ b/src/DataLakeStore/DataLakeStore/Properties/AssemblyInfo.cs
@@ -36,8 +36,8 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.2.4")]
-[assembly: AssemblyFileVersion("1.2.4")]
+[assembly: AssemblyVersion("1.2.5")]
+[assembly: AssemblyFileVersion("1.2.5")]
#if SIGN
[assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Cmdlets.DataLakeStore.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
#else
diff --git a/src/EventHub/EventHub/Az.EventHub.psd1 b/src/EventHub/EventHub/Az.EventHub.psd1
index ff049d735d..f33eb04d99 100644
--- a/src/EventHub/EventHub/Az.EventHub.psd1
+++ b/src/EventHub/EventHub/Az.EventHub.psd1
@@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
-# Generated on: 8/22/2019
+# Generated on: 11/19/2019
#
@{
@@ -12,7 +12,7 @@
# RootModule = ''
# Version number of this module.
-ModuleVersion = '1.4.0'
+ModuleVersion = '1.4.1'
# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
@@ -128,11 +128,7 @@ PrivateData = @{
# IconUri = ''
# ReleaseNotes of this module
- ReleaseNotes = '* Fixed miscellaneous typos across module
-* Fix for issue #9658 : Typo VirtualNteworkRule parameter in Set-AzEventHubNetworkRuleSet
-* Fix for issue #9558 : Set-AzEventHubNamespace is using PATCH instead of PUT
-* added EnableKafka parameter to Set-AzEventHubNamespace cmdlet
-* Fix for issue #9786 : cannot create a rule with Listen only rights'
+ ReleaseNotes = '* Fix for issue 10301 : Fix the SAS Token date format'
# Prerelease string of this module
# Prerelease = ''
diff --git a/src/EventHub/EventHub/ChangeLog.md b/src/EventHub/EventHub/ChangeLog.md
index 241b98329f..1fa8189070 100644
--- a/src/EventHub/EventHub/ChangeLog.md
+++ b/src/EventHub/EventHub/ChangeLog.md
@@ -18,6 +18,8 @@
- Additional information about change #1
-->
## Upcoming Release
+
+## Version 1.4.1
* Fix for issue 10301 : Fix the SAS Token date format
## Version 1.4.0
diff --git a/src/EventHub/EventHub/Properties/AssemblyInfo.cs b/src/EventHub/EventHub/Properties/AssemblyInfo.cs
index 59eecbea44..8acaaef8a2 100644
--- a/src/EventHub/EventHub/Properties/AssemblyInfo.cs
+++ b/src/EventHub/EventHub/Properties/AssemblyInfo.cs
@@ -25,5 +25,5 @@ using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
[assembly: Guid("3ea250fe-7987-426b-8ca0-2dd65deda73c")]
-[assembly: AssemblyVersion("1.4.0")]
-[assembly: AssemblyFileVersion("1.4.0")]
+[assembly: AssemblyVersion("1.4.1")]
+[assembly: AssemblyFileVersion("1.4.1")]
diff --git a/src/FrontDoor/FrontDoor/Az.FrontDoor.psd1 b/src/FrontDoor/FrontDoor/Az.FrontDoor.psd1
index a238758395..d0c09f5fc3 100644
--- a/src/FrontDoor/FrontDoor/Az.FrontDoor.psd1
+++ b/src/FrontDoor/FrontDoor/Az.FrontDoor.psd1
@@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
-# Generated on: 10/29/2019
+# Generated on: 11/19/2019
#
@{
@@ -12,7 +12,7 @@
# RootModule = ''
# Version number of this module.
-ModuleVersion = '1.1.2'
+ModuleVersion = '1.2.0'
# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
@@ -77,7 +77,7 @@ FunctionsToExport = @()
CmdletsToExport = 'New-AzFrontDoor', 'Get-AzFrontDoor', 'Set-AzFrontDoor',
'Remove-AzFrontDoor', 'New-AzFrontDoorRoutingRuleObject',
'New-AzFrontDoorBackendObject', 'New-AzFrontDoorBackendPoolObject',
- 'New-AzFrontDoorBackendPoolsSettingObject',
+ 'New-AzFrontDoorBackendPoolsSettingObject',
'New-AzFrontDoorFrontendEndpointObject',
'New-AzFrontDoorHealthProbeSettingObject',
'New-AzFrontDoorLoadBalancingSettingObject',
@@ -126,7 +126,10 @@ PrivateData = @{
# IconUri = ''
# ReleaseNotes of this module
- ReleaseNotes = '* Fixed miscellaneous typos across module'
+ ReleaseNotes = '* Add MinimumTlsVersion parameter to Enable-AzFrontDoorCustomDomainHttps and New-AzFrontDoorFrontendEndpointObject
+* Add HealthProbeMethod and EnabledState parameters to New-AzFrontDoorHealthProbeSettingObject
+* Add new cmdlet to create BackendPoolsSettings objec to pass into creation/update of Front Door
+ - New-AzFrontDoorBackendPoolsSettingObject'
# Prerelease string of this module
# Prerelease = ''
diff --git a/src/FrontDoor/FrontDoor/ChangeLog.md b/src/FrontDoor/FrontDoor/ChangeLog.md
index 304cc77d43..cef7abbd71 100644
--- a/src/FrontDoor/FrontDoor/ChangeLog.md
+++ b/src/FrontDoor/FrontDoor/ChangeLog.md
@@ -19,6 +19,8 @@
-->
## Upcoming Release
* Added WAF managed rules exclusion support
+
+## Version 1.2.0
* Add MinimumTlsVersion parameter to Enable-AzFrontDoorCustomDomainHttps and New-AzFrontDoorFrontendEndpointObject
* Add HealthProbeMethod and EnabledState parameters to New-AzFrontDoorHealthProbeSettingObject
* Add new cmdlet to create BackendPoolsSettings objec to pass into creation/update of Front Door
diff --git a/src/FrontDoor/FrontDoor/Properties/AssemblyInfo.cs b/src/FrontDoor/FrontDoor/Properties/AssemblyInfo.cs
index 243d082094..4cea37ce0c 100644
--- a/src/FrontDoor/FrontDoor/Properties/AssemblyInfo.cs
+++ b/src/FrontDoor/FrontDoor/Properties/AssemblyInfo.cs
@@ -25,5 +25,5 @@ using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
[assembly: Guid("d90791a2-8102-47fc-2483-de25ae796eb1")]
-[assembly: AssemblyVersion("1.1.2")]
-[assembly: AssemblyFileVersion("1.1.2")]
+[assembly: AssemblyVersion("1.2.0")]
+[assembly: AssemblyFileVersion("1.2.0")]
diff --git a/src/Maintenance/Maintenance.Test/Maintenance.Test.csproj b/src/Maintenance/Maintenance.Test/Maintenance.Test.csproj
new file mode 100644
index 0000000000..c3a6b34759
--- /dev/null
+++ b/src/Maintenance/Maintenance.Test/Maintenance.Test.csproj
@@ -0,0 +1,21 @@
+
+
+
+ Maintenance
+
+
+
+
+
+ $(LegacyAssemblyPrefix)$(PsModuleName)$(AzTestAssemblySuffix)
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Maintenance/Maintenance.Test/Properties/AssemblyInfo.cs b/src/Maintenance/Maintenance.Test/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000000..b9e625e456
--- /dev/null
+++ b/src/Maintenance/Maintenance.Test/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Commands.Maintenance.Test")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Commands.Maintenance.Test")]
+[assembly: AssemblyCopyright("Copyright © 2019")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("f5d771be-9c6b-4af9-ac41-b2d7f3267868")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("0.1.0")]
+[assembly: AssemblyFileVersion("0.1.0")]
diff --git a/src/Maintenance/Maintenance.Test/ScenarioTests/Common.ps1 b/src/Maintenance/Maintenance.Test/ScenarioTests/Common.ps1
new file mode 100644
index 0000000000..a4f265e347
--- /dev/null
+++ b/src/Maintenance/Maintenance.Test/ScenarioTests/Common.ps1
@@ -0,0 +1,89 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.SYNOPSIS
+Gets maintenance configuration name
+#>
+function Get-RandomMaintenanceConfigurationName
+{
+ return getAssetName
+}
+
+<#
+.SYNOPSIS
+Gets virtual machine name
+#>
+function Get-RandomVirtualMachineName
+{
+ return getAssetName
+}
+
+<#
+.SYNOPSIS
+Gets dedicated host name
+#>
+function Get-RandomDedicatedHostName
+{
+ return getAssetName
+}
+
+<#
+.SYNOPSIS
+Gets resource group name
+#>
+function Get-RandomResourceGroupName
+{
+ return getAssetName
+}
+
+<#
+.SYNOPSIS
+Gets the default location for a provider
+#>
+function Get-ProviderLocation($provider)
+{
+ if ([Microsoft.Azure.Test.HttpRecorder.HttpMockServer]::Mode -ne [Microsoft.Azure.Test.HttpRecorder.HttpRecorderMode]::Playback)
+ {
+ $namespace = $provider.Split("/")[0]
+ if($provider.Contains("/"))
+ {
+ $type = $provider.Substring($namespace.Length + 1)
+ $location = Get-AzResourceProvider -ProviderNamespace $namespace | where {$_.ResourceTypes[0].ResourceTypeName -eq $type}
+
+ if ($location -eq $null)
+ {
+ return "westus"
+ } else
+ {
+ return $location.Locations[0].ToLower() -replace '\s',''
+ }
+ }
+
+ return "westus"
+ }
+
+ return "westus"
+}
+
+<#
+.SYNOPSIS
+Cleans the created resource groups
+#>
+function Clean-ResourceGroup($rgname)
+{
+ if ([Microsoft.Azure.Test.HttpRecorder.HttpMockServer]::Mode -ne [Microsoft.Azure.Test.HttpRecorder.HttpRecorderMode]::Playback) {
+ Remove-AzResourceGroup -Name $rgname -Force
+ }
+}
diff --git a/src/Maintenance/Maintenance.Test/ScenarioTests/MaintenanceTests.cs b/src/Maintenance/Maintenance.Test/ScenarioTests/MaintenanceTests.cs
new file mode 100644
index 0000000000..df32661a3b
--- /dev/null
+++ b/src/Maintenance/Maintenance.Test/ScenarioTests/MaintenanceTests.cs
@@ -0,0 +1,56 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Commands.ScenarioTest;
+using Microsoft.Azure.ServiceManagement.Common.Models;
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
+using Xunit;
+using Xunit.Abstractions;
+
+namespace Microsoft.Azure.Commands.Maintenance.Test.ScenarioTests
+{
+ public class MaintenanceTests : RMTestBase
+ {
+ public XunitTracingInterceptor _logger;
+
+ public MaintenanceTests(Xunit.Abstractions.ITestOutputHelper output)
+ {
+ _logger = new XunitTracingInterceptor(output);
+ XunitTracingInterceptor.AddToContext(_logger);
+ TestExecutionHelpers.SetUpSessionAndProfile();
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestMaintenanceConfiguration()
+ {
+ TestController.NewInstance.RunPowerShellTest(_logger, "Test-AzMaintenanceConfiguration");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestConfigurationAssignment()
+ {
+ TestController.NewInstance.RunPowerShellTest(_logger, "Test-AzConfigurationAssignment");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestMaintenanceUpdate()
+ {
+ TestController.NewInstance.RunPowerShellTest(_logger, "Test-AzMaintenanceUpdate");
+ }
+ }
+}
diff --git a/src/Maintenance/Maintenance.Test/ScenarioTests/MaintenanceTests.ps1 b/src/Maintenance/Maintenance.Test/ScenarioTests/MaintenanceTests.ps1
new file mode 100644
index 0000000000..c4c349e839
--- /dev/null
+++ b/src/Maintenance/Maintenance.Test/ScenarioTests/MaintenanceTests.ps1
@@ -0,0 +1,178 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.SYNOPSIS
+Test New-AzMaintenanceConfiguration, Get-AzMaintenanceConfiguration, Remove-AzMaintenanceConfiguration
+#>
+function Test-AzMaintenanceConfiguration
+{
+ $resourceGroupName = Get-RandomResourceGroupName
+ $maintenanceConfigurationName = Get-RandomMaintenanceConfigurationName
+ $location = Get-ProviderLocation "Microsoft.Maintenance/MaintenanceConfigurations"
+ $maintenanceScope = "Host"
+
+ try
+ {
+ New-AzResourceGroup -Name $resourceGroupName -Location $location
+ Write-Host "Created RG $location"
+
+ $maintenanceConfigurationCreated = New-AzMaintenanceConfiguration -ResourceGroupName $resourceGroupName -Name $maintenanceConfigurationName -MaintenanceScope $maintenanceScope -Location $location
+ Write-Host "Created configuration $maintenanceConfigurationName"
+ Write-Output $maintenanceConfigurationCreated
+
+ Assert-AreEqual $maintenanceConfigurationCreated.Name $maintenanceConfigurationName
+ Assert-AreEqual $maintenanceConfigurationCreated.Location $location
+ Assert-AreEqual $maintenanceConfigurationCreated.MaintenanceScope $maintenanceScope
+ Assert-AreEqual $maintenanceConfigurationCreated.Type "Microsoft.Maintenance/MaintenanceConfigurations"
+
+
+ $retrievedMaintenanceConfiguration = Get-AzMaintenanceConfiguration -ResourceGroupName $resourceGroupName -Name $maintenanceConfigurationName
+ Assert-MaintenanceConfiguration $maintenanceConfigurationCreated $retrievedMaintenanceConfiguration
+
+ Remove-AzMaintenanceConfiguration -ResourceGroupName $resourceGroupName -Name $maintenanceConfigurationName -Force
+ }
+ finally
+ {
+ # Cleanup
+ Clean-ResourceGroup $resourceGroupName
+ }
+}
+
+<#
+.SYNOPSIS
+Test New-AzConfigurationAssignment, Get-AzConfigurationAssignment, Remove-AzConfigurationAssignment
+#>
+function Test-AzConfigurationAssignment
+{
+ $resourceGroupName = Get-RandomResourceGroupName
+ $maintenanceConfigurationName = Get-RandomMaintenanceConfigurationName
+ $location = "westus2"
+ $maintenanceScope = "Host"
+
+ try
+ {
+ New-AzResourceGroup -Name $resourceGroupName -Location $location
+ $maintenanceConfigurationCreated = New-AzMaintenanceConfiguration -ResourceGroupName $resourceGroupName -Name $maintenanceConfigurationName -MaintenanceScope $maintenanceScope -Location $location
+
+ $configurationAssignmentCreated = New-AzConfigurationAssignment -ResourceGroupName smdtest$location -ResourceParentType hostGroups -ResourceParentName smddhg$location -ResourceType hosts -ResourceName smddh$location -ProviderName Microsoft.Compute -ConfigurationAssignmentName $maintenanceConfigurationName -MaintenanceConfigurationId $maintenanceConfigurationCreated.Id -Location $location
+
+ Assert-AreEqual $configurationAssignmentCreated.Name $maintenanceConfigurationName
+ Assert-AreEqual $configurationAssignmentCreated.Type "Microsoft.Maintenance/configurationAssignments"
+ Assert-AreEqual $configurationAssignmentCreated.MaintenanceConfigurationId $maintenanceConfigurationCreated.Id
+
+ $retrievedConfigurationAssignmentList = Get-AzConfigurationAssignment -ResourceGroupName smdtest$location -ResourceParentType hostGroups -ResourceParentName smddhg$location -ResourceType hosts -ResourceName smddh$location -ProviderName Microsoft.Compute
+
+ Assert-AreEqual $retrievedConfigurationAssignmentList.Count 1
+ #Assert-ConfigurationAssignment $configurationAssignmentCreated $retrievedConfigurationAssignmentList[0]
+
+ Remove-AzConfigurationAssignment -ResourceGroupName smdtest$location -ResourceParentType hostGroups -ResourceParentName smddhg$location -ResourceType hosts -ResourceName smddh$location -ProviderName Microsoft.Compute -ConfigurationAssignmentName $maintenanceConfigurationName -Force
+
+ Remove-AzMaintenanceConfiguration -ResourceGroupName $resourceGroupName -Name $maintenanceConfigurationName -Force
+ }
+ finally
+ {
+ # Cleanup
+ Clean-ResourceGroup $resourceGroupName
+ }
+}
+
+<#
+.SYNOPSIS
+Test New-AzConfigurationAssignment, Get-AzMaintenanceUpdate, Remove-AzConfigurationAssignment
+#>
+function Test-AzMaintenanceUpdate
+{
+ $resourceGroupName = Get-RandomResourceGroupName
+ $maintenanceConfigurationName = Get-RandomMaintenanceConfigurationName
+ $virtualMachineName = Get-RandomMaintenanceConfigurationName
+ $location = "westus2"
+ $maintenanceScope = "Host"
+
+
+ try
+ {
+ New-AzResourceGroup -Name $resourceGroupName -Location $location
+ $maintenanceConfigurationCreated = New-AzMaintenanceConfiguration -ResourceGroupName $resourceGroupName -Name $maintenanceConfigurationName -MaintenanceScope $maintenanceScope -Location $location
+
+ $configurationAssignmentCreated = New-AzConfigurationAssignment -ResourceGroupName smdtest$location -ResourceParentType hostGroups -ResourceParentName smddhg$location -ResourceType hosts -ResourceName smddh$location -ProviderName Microsoft.Compute -ConfigurationAssignmentName $maintenanceConfigurationName -MaintenanceConfigurationId $maintenanceConfigurationCreated.Id -Location $location
+
+ Assert-AreEqual $configurationAssignmentCreated.Name $maintenanceConfigurationName
+ Assert-AreEqual $configurationAssignmentCreated.Type "Microsoft.Maintenance/configurationAssignments"
+ Assert-AreEqual $configurationAssignmentCreated.MaintenanceConfigurationId $maintenanceConfigurationCreated.Id
+
+ $retrievedMaintenanceUpdateList = Get-AzMaintenanceUpdate -ResourceGroupName smdtest$location -ResourceParentType hostGroups -ResourceParentName smddhg$location -ResourceType hosts -ResourceName smddh$location -ProviderName Microsoft.Compute
+ #Assert-NotNull $retrievedMaintenanceUpdateList
+
+ Remove-AzConfigurationAssignment -ResourceGroupName smdtest$location -ResourceParentType hostGroups -ResourceParentName smddhg$location -ResourceType hosts -ResourceName smddh$location -ProviderName Microsoft.Compute -ConfigurationAssignmentName $maintenanceConfigurationName -Force
+
+ Remove-AzMaintenanceConfiguration -ResourceGroupName $resourceGroupName -Name $maintenanceConfigurationName -Force
+ }
+ finally
+ {
+ # Cleanup
+ Clean-ResourceGroup $resourceGroupName
+ }
+}
+
+
+<#
+.SYNOPSIS
+Assert a maintenace configuration object.
+
+.PARAMETER expected
+The expected maintenace configuration object.
+
+.PARAMETER actual
+The actual maintenace configuration object.
+#>
+function Assert-MaintenanceConfiguration
+{
+ Param
+ (
+ [parameter(position=0)]
+ $Expected,
+ [parameter(position=1)]
+ $Actual
+ )
+
+ Assert-AreEqual $Actual.Name $Expected.Name
+ Assert-AreEqual $Actual.Location $Expected.Location
+ Assert-AreEqual $Actual.MaintenanceType $Expected.MaintenanceType
+}
+
+<#
+.SYNOPSIS
+Assert a configuration assignment object.
+
+.PARAMETER expected
+The expected configuration assignment object.
+
+.PARAMETER actual
+The actual configuration assignment object.
+#>
+function Assert-ConfigurationAssignment
+{
+ Param
+ (
+ [parameter(position=0)]
+ $Expected,
+ [parameter(position=1)]
+ $Actual
+ )
+
+ Assert-AreEqual $Actual.Name $Expected.Name
+ Assert-AreEqual $Actual.MaintenanceConfigurationId $Expected.MaintenanceConfigurationId
+ Assert-AreEqual $Actual.ResourceId $Expected.ResourceId
+}
\ No newline at end of file
diff --git a/src/Maintenance/Maintenance.Test/ScenarioTests/TestController.cs b/src/Maintenance/Maintenance.Test/ScenarioTests/TestController.cs
new file mode 100644
index 0000000000..da5619ee95
--- /dev/null
+++ b/src/Maintenance/Maintenance.Test/ScenarioTests/TestController.cs
@@ -0,0 +1,107 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.IO;
+using System.Linq;
+using Microsoft.Azure.Commands.Common.Authentication;
+using Microsoft.Azure.Management.Maintenance;
+using Microsoft.Azure.Management.Internal.Resources;
+using Microsoft.Azure.Test.HttpRecorder;
+using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Microsoft.Azure.ServiceManagement.Common.Models;
+
+namespace Microsoft.Azure.Commands.Maintenance.Test.ScenarioTests
+{
+ public class TestController
+ {
+ private readonly EnvironmentSetupHelper _helper;
+
+ public MaintenanceManagementClient MaintenanceClient { get; private set; }
+
+ public ResourceManagementClient ResourceClient { get; private set; }
+
+ public TestController()
+ {
+ _helper = new EnvironmentSetupHelper();
+ }
+
+ public static TestController NewInstance => new TestController();
+
+ public void RunPowerShellTest(XunitTracingInterceptor logger, params string[] scripts)
+ {
+ var sf = new StackTrace().GetFrame(1);
+ var callingClassType = sf.GetMethod().ReflectedType?.ToString();
+ var mockName = sf.GetMethod().Name;
+
+ _helper.TracingInterceptor = logger;
+
+ var providers = new Dictionary()
+ {
+ { "Microsoft.Resources", null },
+ { "Microsoft.Features", null },
+ { "Microsoft.Authorization", null },
+ { "Microsoft.Maintenance", null }
+ };
+
+ var providersToIgnore = new Dictionary()
+ {
+ { "Microsoft.Azure.Management.Resources.ResourceManagementClient", "2016-02-01" }
+ };
+
+ HttpMockServer.Matcher = new PermissiveRecordMatcherWithApiExclusion(true, providers, providersToIgnore);
+ HttpMockServer.RecordsDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "SessionRecords");
+
+ using (var context = MockContext.Start(callingClassType, mockName))
+ {
+ SetupManagementClients(context);
+
+ var callingClassName = callingClassType?.Split(new[] { "." }, StringSplitOptions.RemoveEmptyEntries).Last();
+
+ _helper.SetupEnvironment(AzureModule.AzureResourceManager);
+ _helper.SetupModules(AzureModule.AzureResourceManager,
+ "ScenarioTests\\" + callingClassName + ".ps1",
+ "AzureRM.Resources.ps1",
+ "ScenarioTests\\Common.ps1",
+ _helper.RMProfileModule,
+ _helper.GetRMModulePath(@"Az.Maintenance.psd1"));
+
+ if (scripts != null)
+ {
+ _helper.RunPowerShellTest(scripts);
+ }
+ }
+ }
+
+ private void SetupManagementClients(MockContext context)
+ {
+ ResourceClient = GetResourceManagementClient(context);
+ MaintenanceClient = GetMaintenanceManagementClient(context);
+ _helper.SetupManagementClients(ResourceClient, MaintenanceClient);
+ }
+
+ private static MaintenanceManagementClient GetMaintenanceManagementClient(MockContext context)
+ {
+ return context.GetServiceClient(TestEnvironmentFactory.GetTestEnvironment());
+ }
+
+ private static ResourceManagementClient GetResourceManagementClient(MockContext context)
+ {
+ return context.GetServiceClient(TestEnvironmentFactory.GetTestEnvironment());
+ }
+ }
+}
diff --git a/src/Maintenance/Maintenance.Test/SessionRecords/Microsoft.Azure.Commands.Maintenance.Test.ScenarioTests.MaintenanceTests/TestConfigurationAssignment.json b/src/Maintenance/Maintenance.Test/SessionRecords/Microsoft.Azure.Commands.Maintenance.Test.ScenarioTests.MaintenanceTests/TestConfigurationAssignment.json
new file mode 100644
index 0000000000..af57830cf7
--- /dev/null
+++ b/src/Maintenance/Maintenance.Test/SessionRecords/Microsoft.Azure.Commands.Maintenance.Test.ScenarioTests.MaintenanceTests/TestConfigurationAssignment.json
@@ -0,0 +1,664 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps8128?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L3Jlc291cmNlZ3JvdXBzL3BzODEyOD9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus2\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a8e82f8f-7cff-413c-bf53-786395075428"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "4074eb9b-c743-4afa-b438-42ccc9596156"
+ ],
+ "x-ms-correlation-request-id": [
+ "4074eb9b-c743-4afa-b438-42ccc9596156"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T055628Z:4074eb9b-c743-4afa-b438-42ccc9596156"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:56:28 GMT"
+ ],
+ "Content-Length": [
+ "166"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourceGroups/ps8128\",\r\n \"name\": \"ps8128\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps8128/providers/Microsoft.Maintenance/maintenanceConfigurations/ps5307?api-version=2018-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L3Jlc291cmNlZ3JvdXBzL3BzODEyOC9wcm92aWRlcnMvTWljcm9zb2Z0Lk1haW50ZW5hbmNlL21haW50ZW5hbmNlQ29uZmlndXJhdGlvbnMvcHM1MzA3P2FwaS12ZXJzaW9uPTIwMTgtMDYtMDEtcHJldmlldw==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"maintenanceScope\": \"Host\"\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "b654573f-4739-4a63-963f-852ecc439444"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Maintenance.MaintenanceManagementClient/1.0.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "86"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "e2d16bf8-1139-47cc-9d07-86919a6cae3f"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "e2d16bf8-1139-47cc-9d07-86919a6cae3f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T055630Z:e2d16bf8-1139-47cc-9d07-86919a6cae3f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:56:29 GMT"
+ ],
+ "Content-Length": [
+ "396"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"extensionProperties\": {},\r\n \"maintenanceScope\": \"Host\"\r\n },\r\n \"maintenanceWindows\": [],\r\n \"id\": \"/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps8128/providers/Microsoft.Maintenance/maintenanceConfigurations/ps5307\",\r\n \"name\": \"ps5307\",\r\n \"type\": \"Microsoft.Maintenance/maintenanceConfigurations\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/smdtestwestus2/providers/Microsoft.Compute/hostGroups/smddhgwestus2/hosts/smddhwestus2/providers/Microsoft.Maintenance/configurationAssignments/ps5307?api-version=2018-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L3Jlc291cmNlZ3JvdXBzL3NtZHRlc3R3ZXN0dXMyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9ob3N0R3JvdXBzL3NtZGRoZ3dlc3R1czIvaG9zdHMvc21kZGh3ZXN0dXMyL3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFpbnRlbmFuY2UvY29uZmlndXJhdGlvbkFzc2lnbm1lbnRzL3BzNTMwNz9hcGktdmVyc2lvbj0yMDE4LTA2LTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"maintenanceConfigurationId\": \"/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps8128/providers/Microsoft.Maintenance/maintenanceConfigurations/ps5307\"\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "9864b50b-b147-48ea-b3ec-f7b23b29746b"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Maintenance.MaintenanceManagementClient/1.0.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "230"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "026c43c4-0e51-4908-b8b7-f0d03f6c175d"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "026c43c4-0e51-4908-b8b7-f0d03f6c175d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T055634Z:026c43c4-0e51-4908-b8b7-f0d03f6c175d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:56:34 GMT"
+ ],
+ "Content-Length": [
+ "601"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"maintenanceConfigurationId\": \"/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps8128/providers/Microsoft.Maintenance/maintenanceConfigurations/ps5307\",\r\n \"resourceId\": \"7b32ed22-dc7b-4a17-9c42-36c024f4c9f9\"\r\n },\r\n \"id\": \"/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/smdtestwestus2/providers/Microsoft.Compute/hostGroups/smddhgwestus2/hosts/smddhwestus2/providers/Microsoft.Maintenance/configurationAssignments/ps5307\",\r\n \"name\": \"ps5307\",\r\n \"type\": \"Microsoft.Maintenance/configurationAssignments\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/smdtestwestus2/providers/Microsoft.Compute/hostGroups/smddhgwestus2/hosts/smddhwestus2/providers/Microsoft.Maintenance/configurationAssignments?api-version=2018-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L3Jlc291cmNlZ3JvdXBzL3NtZHRlc3R3ZXN0dXMyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9ob3N0R3JvdXBzL3NtZGRoZ3dlc3R1czIvaG9zdHMvc21kZGh3ZXN0dXMyL3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFpbnRlbmFuY2UvY29uZmlndXJhdGlvbkFzc2lnbm1lbnRzP2FwaS12ZXJzaW9uPTIwMTgtMDYtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "d4045169-f094-44e2-9f4f-d6e4da4f5115"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Maintenance.MaintenanceManagementClient/1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "a5d85491-414d-4a03-917d-cd1705965e09"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-correlation-request-id": [
+ "a5d85491-414d-4a03-917d-cd1705965e09"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T055634Z:a5d85491-414d-4a03-917d-cd1705965e09"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:56:34 GMT"
+ ],
+ "Content-Length": [
+ "573"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"maintenanceConfigurationId\": \"/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps8128/providers/Microsoft.Maintenance/maintenanceConfigurations/ps5307\"\r\n },\r\n \"id\": \"/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/smdtestwestus2/providers/Microsoft.Compute/hostGroups/smddhgwestus2/hosts/smddhwestus2/providers/Microsoft.Maintenance/configurationAssignments/ps5307\",\r\n \"name\": \"ps5307\",\r\n \"type\": \"Microsoft.Maintenance/configurationAssignments\"\r\n }\r\n ]\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/smdtestwestus2/providers/Microsoft.Compute/hostGroups/smddhgwestus2/hosts/smddhwestus2/providers/Microsoft.Maintenance/configurationAssignments/ps5307?api-version=2018-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L3Jlc291cmNlZ3JvdXBzL3NtZHRlc3R3ZXN0dXMyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9ob3N0R3JvdXBzL3NtZGRoZ3dlc3R1czIvaG9zdHMvc21kZGh3ZXN0dXMyL3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFpbnRlbmFuY2UvY29uZmlndXJhdGlvbkFzc2lnbm1lbnRzL3BzNTMwNz9hcGktdmVyc2lvbj0yMDE4LTA2LTAxLXByZXZpZXc=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c3e54e11-6b5b-4380-879d-0308d22ac375"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Maintenance.MaintenanceManagementClient/1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "12a31e57-146e-4fea-946f-ff9979f2b32e"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "12a31e57-146e-4fea-946f-ff9979f2b32e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T055636Z:12a31e57-146e-4fea-946f-ff9979f2b32e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:56:35 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps8128/providers/Microsoft.Maintenance/maintenanceConfigurations/ps5307?api-version=2018-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L3Jlc291cmNlZ3JvdXBzL3BzODEyOC9wcm92aWRlcnMvTWljcm9zb2Z0Lk1haW50ZW5hbmNlL21haW50ZW5hbmNlQ29uZmlndXJhdGlvbnMvcHM1MzA3P2FwaS12ZXJzaW9uPTIwMTgtMDYtMDEtcHJldmlldw==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "0256d33b-362f-4cc7-b75c-3e1a535a961b"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Maintenance.MaintenanceManagementClient/1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "cfe114c1-7bf9-409d-9816-9d296519eff8"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14998"
+ ],
+ "x-ms-correlation-request-id": [
+ "cfe114c1-7bf9-409d-9816-9d296519eff8"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T055636Z:cfe114c1-7bf9-409d-9816-9d296519eff8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:56:36 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps8128?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L3Jlc291cmNlZ3JvdXBzL3BzODEyOD9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3753d02d-2f51-46db-bdc3-254a9c148835"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzgxMjgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-request-id": [
+ "8cb08470-a10e-412e-85e5-c8d0598a3e86"
+ ],
+ "x-ms-correlation-request-id": [
+ "8cb08470-a10e-412e-85e5-c8d0598a3e86"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T055637Z:8cb08470-a10e-412e-85e5-c8d0598a3e86"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:56:36 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzgxMjgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpneE1qZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzgxMjgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-request-id": [
+ "13c87831-0328-42c7-9187-4dc4fc7590b0"
+ ],
+ "x-ms-correlation-request-id": [
+ "13c87831-0328-42c7-9187-4dc4fc7590b0"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T055652Z:13c87831-0328-42c7-9187-4dc4fc7590b0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:56:52 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzgxMjgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpneE1qZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzgxMjgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "118f5198-7dd5-4fa5-9707-525353ba28d3"
+ ],
+ "x-ms-correlation-request-id": [
+ "118f5198-7dd5-4fa5-9707-525353ba28d3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T055707Z:118f5198-7dd5-4fa5-9707-525353ba28d3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:57:07 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzgxMjgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpneE1qZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-request-id": [
+ "12d0ea01-1839-4392-927c-bb39ddd0d41d"
+ ],
+ "x-ms-correlation-request-id": [
+ "12d0ea01-1839-4392-927c-bb39ddd0d41d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T055722Z:12d0ea01-1839-4392-927c-bb39ddd0d41d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:57:22 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzgxMjgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpneE1qZ3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-request-id": [
+ "268eb273-1406-4547-9e0e-66714b52755b"
+ ],
+ "x-ms-correlation-request-id": [
+ "268eb273-1406-4547-9e0e-66714b52755b"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T055722Z:268eb273-1406-4547-9e0e-66714b52755b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:57:22 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-AzConfigurationAssignment": [
+ "ps8128",
+ "ps5307"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "42c974dd-2c03-4f1b-96ad-b07f050aaa74"
+ }
+}
\ No newline at end of file
diff --git a/src/Maintenance/Maintenance.Test/SessionRecords/Microsoft.Azure.Commands.Maintenance.Test.ScenarioTests.MaintenanceTests/TestMaintenanceConfiguration.json b/src/Maintenance/Maintenance.Test/SessionRecords/Microsoft.Azure.Commands.Maintenance.Test.ScenarioTests.MaintenanceTests/TestMaintenanceConfiguration.json
new file mode 100644
index 0000000000..c386308e72
--- /dev/null
+++ b/src/Maintenance/Maintenance.Test/SessionRecords/Microsoft.Azure.Commands.Maintenance.Test.ScenarioTests.MaintenanceTests/TestMaintenanceConfiguration.json
@@ -0,0 +1,601 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/providers/Microsoft.Maintenance?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFpbnRlbmFuY2U/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "1159501a-c606-423a-b532-0a7f88ddbca1"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-request-id": [
+ "bb02ecba-898c-4cb4-8639-a517ca0b5096"
+ ],
+ "x-ms-correlation-request-id": [
+ "bb02ecba-898c-4cb4-8639-a517ca0b5096"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T014152Z:bb02ecba-898c-4cb4-8639-a517ca0b5096"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 01:41:51 GMT"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "2826"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/providers/Microsoft.Maintenance\",\r\n \"namespace\": \"Microsoft.Maintenance\",\r\n \"authorization\": {\r\n \"applicationId\": \"f18474f2-a66a-4bb0-a3c9-9b8d892092fa\",\r\n \"roleDefinitionId\": \"2f1ef7b0-d5c4-4d3c-98fa-6a9fa8e74aa5\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"maintenanceConfigurations\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"West US 2\",\r\n \"West Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"France Central\",\r\n \"France South\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2018-10-01\",\r\n \"2018-06-01-preview\",\r\n \"2017-04-26\",\r\n \"2017-01-01\",\r\n \"2016-01-01\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"updates\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"West US 2\",\r\n \"West Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"France Central\",\r\n \"France South\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2018-10-01\",\r\n \"2018-06-01-preview\",\r\n \"2017-04-26\",\r\n \"2017-01-01\",\r\n \"2016-01-01\"\r\n ],\r\n \"capabilities\": \"SupportsExtension\"\r\n },\r\n {\r\n \"resourceType\": \"configurationAssignments\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"West US 2\",\r\n \"West Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"France Central\",\r\n \"France South\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2018-10-01\",\r\n \"2018-06-01-preview\",\r\n \"2017-04-26\",\r\n \"2017-01-01\",\r\n \"2016-01-01\"\r\n ],\r\n \"capabilities\": \"SupportsExtension\"\r\n },\r\n {\r\n \"resourceType\": \"applyUpdates\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"West US 2\",\r\n \"West Central US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\",\r\n \"South India\",\r\n \"Central India\",\r\n \"West India\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"France Central\",\r\n \"France South\",\r\n \"East US 2 EUAP\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2018-10-01\",\r\n \"2018-06-01-preview\",\r\n \"2017-04-26\",\r\n \"2017-01-01\",\r\n \"2016-01-01\"\r\n ],\r\n \"capabilities\": \"SupportsExtension\"\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps5178?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L3Jlc291cmNlZ3JvdXBzL3BzNTE3OD9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "470df0e0-12e4-49b4-8e94-1871fcdb9263"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "28"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "db17a3d6-692c-4864-a349-b983c6487813"
+ ],
+ "x-ms-correlation-request-id": [
+ "db17a3d6-692c-4864-a349-b983c6487813"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T014152Z:db17a3d6-692c-4864-a349-b983c6487813"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 01:41:51 GMT"
+ ],
+ "Content-Length": [
+ "165"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourceGroups/ps5178\",\r\n \"name\": \"ps5178\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps5178/providers/Microsoft.Maintenance/maintenanceConfigurations/ps2785?api-version=2018-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L3Jlc291cmNlZ3JvdXBzL3BzNTE3OC9wcm92aWRlcnMvTWljcm9zb2Z0Lk1haW50ZW5hbmNlL21haW50ZW5hbmNlQ29uZmlndXJhdGlvbnMvcHMyNzg1P2FwaS12ZXJzaW9uPTIwMTgtMDYtMDEtcHJldmlldw==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"maintenanceScope\": \"Host\"\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "dd1cc010-aa9c-418b-9e36-163f950e5a6c"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Maintenance.MaintenanceManagementClient/1.0.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "85"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "b1d8c687-9c67-4d8e-b8c4-256bf02fd4a9"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "b1d8c687-9c67-4d8e-b8c4-256bf02fd4a9"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T014153Z:b1d8c687-9c67-4d8e-b8c4-256bf02fd4a9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 01:41:52 GMT"
+ ],
+ "Content-Length": [
+ "395"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"extensionProperties\": {},\r\n \"maintenanceScope\": \"Host\"\r\n },\r\n \"maintenanceWindows\": [],\r\n \"id\": \"/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps5178/providers/Microsoft.Maintenance/maintenanceConfigurations/ps2785\",\r\n \"name\": \"ps2785\",\r\n \"type\": \"Microsoft.Maintenance/maintenanceConfigurations\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps5178/providers/Microsoft.Maintenance/maintenanceConfigurations/ps2785?api-version=2018-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L3Jlc291cmNlZ3JvdXBzL3BzNTE3OC9wcm92aWRlcnMvTWljcm9zb2Z0Lk1haW50ZW5hbmNlL21haW50ZW5hbmNlQ29uZmlndXJhdGlvbnMvcHMyNzg1P2FwaS12ZXJzaW9uPTIwMTgtMDYtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "9fce1738-dd29-4532-9c29-2b73fbc81a33"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Maintenance.MaintenanceManagementClient/1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "e49881a8-346e-4646-b681-c8b0e09499d8"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-correlation-request-id": [
+ "e49881a8-346e-4646-b681-c8b0e09499d8"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T014153Z:e49881a8-346e-4646-b681-c8b0e09499d8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 01:41:52 GMT"
+ ],
+ "Content-Length": [
+ "395"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"extensionProperties\": {},\r\n \"maintenanceScope\": \"Host\"\r\n },\r\n \"maintenanceWindows\": [],\r\n \"id\": \"/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps5178/providers/Microsoft.Maintenance/maintenanceConfigurations/ps2785\",\r\n \"name\": \"ps2785\",\r\n \"type\": \"Microsoft.Maintenance/maintenanceConfigurations\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps5178/providers/Microsoft.Maintenance/maintenanceConfigurations/ps2785?api-version=2018-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L3Jlc291cmNlZ3JvdXBzL3BzNTE3OC9wcm92aWRlcnMvTWljcm9zb2Z0Lk1haW50ZW5hbmNlL21haW50ZW5hbmNlQ29uZmlndXJhdGlvbnMvcHMyNzg1P2FwaS12ZXJzaW9uPTIwMTgtMDYtMDEtcHJldmlldw==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c3ef7594-ad59-431d-8ec0-7328d02d27ab"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Maintenance.MaintenanceManagementClient/1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "59a47535-bae8-43cd-af97-698ff1b3e626"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "59a47535-bae8-43cd-af97-698ff1b3e626"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T014153Z:59a47535-bae8-43cd-af97-698ff1b3e626"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 01:41:53 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps5178?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L3Jlc291cmNlZ3JvdXBzL3BzNTE3OD9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a83bd55a-fc9e-4730-8f0a-f4657259e394"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxNzgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-request-id": [
+ "f671e58c-3ff5-4a9c-abd1-ea2b4502747b"
+ ],
+ "x-ms-correlation-request-id": [
+ "f671e58c-3ff5-4a9c-abd1-ea2b4502747b"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T014154Z:f671e58c-3ff5-4a9c-abd1-ea2b4502747b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 01:41:53 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxNzgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVeE56Z3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxNzgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "89a76671-1679-42f3-9876-0822db78152e"
+ ],
+ "x-ms-correlation-request-id": [
+ "89a76671-1679-42f3-9876-0822db78152e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T014209Z:89a76671-1679-42f3-9876-0822db78152e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 01:42:09 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxNzgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVeE56Z3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxNzgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-request-id": [
+ "940bd845-385d-4158-98da-b18732f428aa"
+ ],
+ "x-ms-correlation-request-id": [
+ "940bd845-385d-4158-98da-b18732f428aa"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T014224Z:940bd845-385d-4158-98da-b18732f428aa"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 01:42:23 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxNzgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVeE56Z3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-request-id": [
+ "06f4cf31-bb94-4305-ab1f-0d85c4edf506"
+ ],
+ "x-ms-correlation-request-id": [
+ "06f4cf31-bb94-4305-ab1f-0d85c4edf506"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T014239Z:06f4cf31-bb94-4305-ab1f-0d85c4edf506"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 01:42:38 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxNzgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVeE56Z3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
+ ],
+ "x-ms-request-id": [
+ "7156e7cd-9043-4e5b-8117-adbaf6a730c6"
+ ],
+ "x-ms-correlation-request-id": [
+ "7156e7cd-9043-4e5b-8117-adbaf6a730c6"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T014239Z:7156e7cd-9043-4e5b-8117-adbaf6a730c6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 01:42:38 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-AzMaintenanceConfiguration": [
+ "ps5178",
+ "ps2785"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "42c974dd-2c03-4f1b-96ad-b07f050aaa74"
+ }
+}
\ No newline at end of file
diff --git a/src/Maintenance/Maintenance.Test/SessionRecords/Microsoft.Azure.Commands.Maintenance.Test.ScenarioTests.MaintenanceTests/TestMaintenanceUpdate.json b/src/Maintenance/Maintenance.Test/SessionRecords/Microsoft.Azure.Commands.Maintenance.Test.ScenarioTests.MaintenanceTests/TestMaintenanceUpdate.json
new file mode 100644
index 0000000000..c309262c36
--- /dev/null
+++ b/src/Maintenance/Maintenance.Test/SessionRecords/Microsoft.Azure.Commands.Maintenance.Test.ScenarioTests.MaintenanceTests/TestMaintenanceUpdate.json
@@ -0,0 +1,779 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps8227?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L3Jlc291cmNlZ3JvdXBzL3BzODIyNz9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus2\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "f557fbdf-5ea6-4d6e-be65-ef20f34822f1"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "e96c02bf-4175-437a-8b58-f7aba3fc2c92"
+ ],
+ "x-ms-correlation-request-id": [
+ "e96c02bf-4175-437a-8b58-f7aba3fc2c92"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T054411Z:e96c02bf-4175-437a-8b58-f7aba3fc2c92"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:44:11 GMT"
+ ],
+ "Content-Length": [
+ "166"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourceGroups/ps8227\",\r\n \"name\": \"ps8227\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps8227/providers/Microsoft.Maintenance/maintenanceConfigurations/ps7059?api-version=2018-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L3Jlc291cmNlZ3JvdXBzL3BzODIyNy9wcm92aWRlcnMvTWljcm9zb2Z0Lk1haW50ZW5hbmNlL21haW50ZW5hbmNlQ29uZmlndXJhdGlvbnMvcHM3MDU5P2FwaS12ZXJzaW9uPTIwMTgtMDYtMDEtcHJldmlldw==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"maintenanceScope\": \"Host\"\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "782c71ca-57a7-4797-bf29-8bd89ff473cd"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Maintenance.MaintenanceManagementClient/1.0.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "86"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "159d8fe5-89da-4f19-83f4-f948bd974dd3"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "159d8fe5-89da-4f19-83f4-f948bd974dd3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T054412Z:159d8fe5-89da-4f19-83f4-f948bd974dd3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:44:12 GMT"
+ ],
+ "Content-Length": [
+ "396"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"extensionProperties\": {},\r\n \"maintenanceScope\": \"Host\"\r\n },\r\n \"maintenanceWindows\": [],\r\n \"id\": \"/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps8227/providers/Microsoft.Maintenance/maintenanceConfigurations/ps7059\",\r\n \"name\": \"ps7059\",\r\n \"type\": \"Microsoft.Maintenance/maintenanceConfigurations\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/smdtestwestus2/providers/Microsoft.Compute/hostGroups/smddhgwestus2/hosts/smddhwestus2/providers/Microsoft.Maintenance/configurationAssignments/ps7059?api-version=2018-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L3Jlc291cmNlZ3JvdXBzL3NtZHRlc3R3ZXN0dXMyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9ob3N0R3JvdXBzL3NtZGRoZ3dlc3R1czIvaG9zdHMvc21kZGh3ZXN0dXMyL3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFpbnRlbmFuY2UvY29uZmlndXJhdGlvbkFzc2lnbm1lbnRzL3BzNzA1OT9hcGktdmVyc2lvbj0yMDE4LTA2LTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"maintenanceConfigurationId\": \"/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps8227/providers/Microsoft.Maintenance/maintenanceConfigurations/ps7059\"\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "85ca3d85-5349-4f4d-a9bb-49d12b5bf361"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Maintenance.MaintenanceManagementClient/1.0.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "230"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "d078d1c2-fd60-4fe4-84af-c957f4115cb5"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "d078d1c2-fd60-4fe4-84af-c957f4115cb5"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T054415Z:d078d1c2-fd60-4fe4-84af-c957f4115cb5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:44:15 GMT"
+ ],
+ "Content-Length": [
+ "601"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"maintenanceConfigurationId\": \"/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps8227/providers/Microsoft.Maintenance/maintenanceConfigurations/ps7059\",\r\n \"resourceId\": \"7b32ed22-dc7b-4a17-9c42-36c024f4c9f9\"\r\n },\r\n \"id\": \"/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/smdtestwestus2/providers/Microsoft.Compute/hostGroups/smddhgwestus2/hosts/smddhwestus2/providers/Microsoft.Maintenance/configurationAssignments/ps7059\",\r\n \"name\": \"ps7059\",\r\n \"type\": \"Microsoft.Maintenance/configurationAssignments\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/smdtestwestus2/providers/Microsoft.Compute/hostGroups/smddhgwestus2/hosts/smddhwestus2/providers/Microsoft.Maintenance/updates?api-version=2018-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L3Jlc291cmNlZ3JvdXBzL3NtZHRlc3R3ZXN0dXMyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9ob3N0R3JvdXBzL3NtZGRoZ3dlc3R1czIvaG9zdHMvc21kZGh3ZXN0dXMyL3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFpbnRlbmFuY2UvdXBkYXRlcz9hcGktdmVyc2lvbj0yMDE4LTA2LTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "d3e74d39-a7c9-427d-a1c2-0cbe611ed3d9"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Maintenance.MaintenanceManagementClient/1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "bbe799ea-d30e-41db-9fca-dd11c2bb6a1c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-correlation-request-id": [
+ "bbe799ea-d30e-41db-9fca-dd11c2bb6a1c"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T054415Z:bbe799ea-d30e-41db-9fca-dd11c2bb6a1c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:44:15 GMT"
+ ],
+ "Content-Length": [
+ "427"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"maintenanceScope\": \"Host\",\r\n \"impactType\": \"Freeze\",\r\n \"status\": \"Pending\",\r\n \"impactDurationInSec\": 9,\r\n \"notBefore\": \"2019-12-06T20:53:46.9891398Z\",\r\n \"properties\": {\r\n \"resourceId\": \"/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/smdtestwestus2/providers/Microsoft.Compute/hostGroups/smddhgwestus2/hosts/smddhwestus2\"\r\n }\r\n }\r\n ]\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/smdtestwestus2/providers/Microsoft.Compute/hostGroups/smddhgwestus2/hosts/smddhwestus2/providers/Microsoft.Maintenance/configurationAssignments/ps7059?api-version=2018-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L3Jlc291cmNlZ3JvdXBzL3NtZHRlc3R3ZXN0dXMyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9ob3N0R3JvdXBzL3NtZGRoZ3dlc3R1czIvaG9zdHMvc21kZGh3ZXN0dXMyL3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFpbnRlbmFuY2UvY29uZmlndXJhdGlvbkFzc2lnbm1lbnRzL3BzNzA1OT9hcGktdmVyc2lvbj0yMDE4LTA2LTAxLXByZXZpZXc=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "000cf29f-1d20-4c4a-9b10-8894c5b521d2"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Maintenance.MaintenanceManagementClient/1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "9ca6e93c-e530-412b-bbed-9adc98dabf15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "9ca6e93c-e530-412b-bbed-9adc98dabf15"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T054417Z:9ca6e93c-e530-412b-bbed-9adc98dabf15"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:44:16 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps8227/providers/Microsoft.Maintenance/maintenanceConfigurations/ps7059?api-version=2018-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L3Jlc291cmNlZ3JvdXBzL3BzODIyNy9wcm92aWRlcnMvTWljcm9zb2Z0Lk1haW50ZW5hbmNlL21haW50ZW5hbmNlQ29uZmlndXJhdGlvbnMvcHM3MDU5P2FwaS12ZXJzaW9uPTIwMTgtMDYtMDEtcHJldmlldw==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "4d9c4280-1a4b-49a1-b658-aa6af4e8d17e"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Maintenance.MaintenanceManagementClient/1.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "0d02c229-58c7-4df5-af40-be9ad69174ac"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14998"
+ ],
+ "x-ms-correlation-request-id": [
+ "0d02c229-58c7-4df5-af40-be9ad69174ac"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T054417Z:0d02c229-58c7-4df5-af40-be9ad69174ac"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:44:17 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/resourcegroups/ps8227?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L3Jlc291cmNlZ3JvdXBzL3BzODIyNz9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "cc20a8ff-3e1f-458b-8ac7-7dad9d693f69"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzgyMjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-request-id": [
+ "becf3033-ba5a-487b-81e7-db6a4b3521ff"
+ ],
+ "x-ms-correlation-request-id": [
+ "becf3033-ba5a-487b-81e7-db6a4b3521ff"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T054418Z:becf3033-ba5a-487b-81e7-db6a4b3521ff"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:44:17 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzgyMjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpneU1qY3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzgyMjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-request-id": [
+ "42985247-a92d-4e8a-bbe1-569b7681600d"
+ ],
+ "x-ms-correlation-request-id": [
+ "42985247-a92d-4e8a-bbe1-569b7681600d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T054433Z:42985247-a92d-4e8a-bbe1-569b7681600d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:44:32 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzgyMjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpneU1qY3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzgyMjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "30818836-d92e-4d8b-9ca0-b788bf68d075"
+ ],
+ "x-ms-correlation-request-id": [
+ "30818836-d92e-4d8b-9ca0-b788bf68d075"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T054448Z:30818836-d92e-4d8b-9ca0-b788bf68d075"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:44:47 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzgyMjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpneU1qY3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzgyMjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-request-id": [
+ "545b645b-750d-4e2f-9eed-141b0b578685"
+ ],
+ "x-ms-correlation-request-id": [
+ "545b645b-750d-4e2f-9eed-141b0b578685"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T054503Z:545b645b-750d-4e2f-9eed-141b0b578685"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:45:03 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzgyMjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpneU1qY3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzgyMjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-request-id": [
+ "17590fac-5c9c-4cf8-aa67-8690fdf28c8e"
+ ],
+ "x-ms-correlation-request-id": [
+ "17590fac-5c9c-4cf8-aa67-8690fdf28c8e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T054518Z:17590fac-5c9c-4cf8-aa67-8690fdf28c8e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:45:18 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzgyMjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpneU1qY3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
+ ],
+ "x-ms-request-id": [
+ "a1c44fc6-62c9-4faa-936a-711a63de2380"
+ ],
+ "x-ms-correlation-request-id": [
+ "a1c44fc6-62c9-4faa-936a-711a63de2380"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T054534Z:a1c44fc6-62c9-4faa-936a-711a63de2380"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:45:33 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/42c974dd-2c03-4f1b-96ad-b07f050aaa74/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzgyMjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDJjOTc0ZGQtMmMwMy00ZjFiLTk2YWQtYjA3ZjA1MGFhYTc0L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpneU1qY3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28008.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11994"
+ ],
+ "x-ms-request-id": [
+ "3cb4c769-21a0-4171-9407-7ee5c056ec18"
+ ],
+ "x-ms-correlation-request-id": [
+ "3cb4c769-21a0-4171-9407-7ee5c056ec18"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20191108T054534Z:3cb4c769-21a0-4171-9407-7ee5c056ec18"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Fri, 08 Nov 2019 05:45:33 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-AzMaintenanceUpdate": [
+ "ps8227",
+ "ps7059",
+ "ps8286"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "42c974dd-2c03-4f1b-96ad-b07f050aaa74"
+ }
+}
\ No newline at end of file
diff --git a/src/Maintenance/Maintenance.sln b/src/Maintenance/Maintenance.sln
new file mode 100644
index 0000000000..881e268bb4
--- /dev/null
+++ b/src/Maintenance/Maintenance.sln
@@ -0,0 +1,66 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+VisualStudioVersion = 15.0.27703.2042
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Maintenance", "Maintenance\Maintenance.csproj", "{0E11B67A-1257-40D0-BD33-8315759FDB01}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Test", "Test", "{254150A6-D7EB-4D1B-9EB1-15B836D6F493}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Maintenance.Test", "Maintenance.Test\Maintenance.Test.csproj", "{F5D771BE-9C6B-4AF9-AC41-B2D7F3267868}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{FF81DC73-B8EC-4082-8841-4FBF2B16E7CE}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{3E016018-D65D-4336-9F64-17DA97783AD0}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ScenarioTest.ResourceManager", "..\..\tools\ScenarioTest.ResourceManager\ScenarioTest.ResourceManager.csproj", "{F83FBA8D-732D-437C-A0E2-02E45B01E123}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestFx", "..\..\tools\TestFx\TestFx.csproj", "{BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {0E11B67A-1257-40D0-BD33-8315759FDB01}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0E11B67A-1257-40D0-BD33-8315759FDB01}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0E11B67A-1257-40D0-BD33-8315759FDB01}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0E11B67A-1257-40D0-BD33-8315759FDB01}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F5D771BE-9C6B-4AF9-AC41-B2D7F3267868}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F5D771BE-9C6B-4AF9-AC41-B2D7F3267868}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F5D771BE-9C6B-4AF9-AC41-B2D7F3267868}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F5D771BE-9C6B-4AF9-AC41-B2D7F3267868}.Release|Any CPU.Build.0 = Release|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {FF81DC73-B8EC-4082-8841-4FBF2B16E7CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FF81DC73-B8EC-4082-8841-4FBF2B16E7CE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FF81DC73-B8EC-4082-8841-4FBF2B16E7CE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FF81DC73-B8EC-4082-8841-4FBF2B16E7CE}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3E016018-D65D-4336-9F64-17DA97783AD0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3E016018-D65D-4336-9F64-17DA97783AD0}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3E016018-D65D-4336-9F64-17DA97783AD0}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3E016018-D65D-4336-9F64-17DA97783AD0}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F83FBA8D-732D-437C-A0E2-02E45B01E123}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F83FBA8D-732D-437C-A0E2-02E45B01E123}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F83FBA8D-732D-437C-A0E2-02E45B01E123}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F83FBA8D-732D-437C-A0E2-02E45B01E123}.Release|Any CPU.Build.0 = Release|Any CPU
+ {BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {F5D771BE-9C6B-4AF9-AC41-B2D7F3267868} = {254150A6-D7EB-4D1B-9EB1-15B836D6F493}
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {3555524E-A7CA-4A4B-B228-08B2ED034EC5}
+ EndGlobalSection
+EndGlobal
diff --git a/src/Maintenance/Maintenance/ApplyUpdate/ApplyUpdateCreateOrUpdateMethod.cs b/src/Maintenance/Maintenance/ApplyUpdate/ApplyUpdateCreateOrUpdateMethod.cs
new file mode 100644
index 0000000000..aeeda2e52b
--- /dev/null
+++ b/src/Maintenance/Maintenance/ApplyUpdate/ApplyUpdateCreateOrUpdateMethod.cs
@@ -0,0 +1,106 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Commands.Maintenance.Models;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Management.Maintenance;
+using Microsoft.Azure.Management.Maintenance.Models;
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+
+namespace Microsoft.Azure.Commands.Maintenance
+{
+ [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ApplyUpdate", DefaultParameterSetName = "DefaultParameter", SupportsShouldProcess = true)]
+ [OutputType(typeof(PSApplyUpdate))]
+ public partial class NewAzureRmApplyUpdate : MaintenanceAutomationBaseCmdlet
+ {
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+ ExecuteClientAction(() =>
+ {
+ if (ShouldProcess("default", VerbsCommon.New))
+ {
+ string resourceGroupName = this.ResourceGroupName;
+ string providerName = this.ProviderName;
+ string resourceParentType = this.ResourceParentType;
+ string resourceParentName = this.ResourceParentName;
+ string resourceType = this.ResourceType;
+ string resourceName = this.ResourceName;
+
+ var result = (!string.IsNullOrEmpty(resourceParentType) && !string.IsNullOrEmpty(resourceParentName)) ?
+ ApplyUpdatesClient.CreateOrUpdateParent(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName) :
+ ApplyUpdatesClient.CreateOrUpdate(resourceGroupName, providerName, resourceType, resourceName);
+
+ var psObject = new PSApplyUpdate();
+ MaintenanceAutomationAutoMapperProfile.Mapper.Map(result, psObject);
+ WriteObject(psObject);
+ }
+ });
+ }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 0,
+ Mandatory = true,
+ HelpMessage = "The resource Group Name.",
+ ValueFromPipelineByPropertyName = true)]
+ [ResourceGroupCompleter]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 1,
+ Mandatory = true,
+ HelpMessage = "The resource provider Name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ProviderName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Mandatory = false,
+ HelpMessage = "The parent resource type.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ResourceParentType { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Mandatory = false,
+ HelpMessage = "The parent resource name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ResourceParentName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 2,
+ Mandatory = true,
+ HelpMessage = "The resource type.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ResourceType { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 3,
+ Mandatory = true,
+ HelpMessage = "The resource name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ResourceName { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "Run cmdlet in the background")]
+ public SwitchParameter AsJob { get; set; }
+ }
+}
diff --git a/src/Maintenance/Maintenance/ApplyUpdate/ApplyUpdateGetMethod.cs b/src/Maintenance/Maintenance/ApplyUpdate/ApplyUpdateGetMethod.cs
new file mode 100644
index 0000000000..1d3a729cb8
--- /dev/null
+++ b/src/Maintenance/Maintenance/ApplyUpdate/ApplyUpdateGetMethod.cs
@@ -0,0 +1,108 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Commands.Maintenance.Models;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Management.Maintenance;
+using Microsoft.Azure.Management.Maintenance.Models;
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+
+namespace Microsoft.Azure.Commands.Maintenance
+{
+ [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ApplyUpdate", DefaultParameterSetName = "DefaultParameter")]
+ [OutputType(typeof(PSApplyUpdate))]
+ public partial class GetAzureRmApplyUpdate : MaintenanceAutomationBaseCmdlet
+ {
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+ ExecuteClientAction(() =>
+ {
+ string resourceGroupName = this.ResourceGroupName;
+ string resourceParentType = this.ResourceParentType;
+ string resourceParentName = this.ResourceParentName;
+ string providerName = this.ProviderName;
+ string resourceType = this.ResourceType;
+ string resourceName = this.ResourceName;
+ string applyUpdateName = this.ApplyUpdateName;
+
+ var result = (!string.IsNullOrEmpty(resourceParentType) && !string.IsNullOrEmpty(resourceParentName)) ?
+ ApplyUpdatesClient.GetParent(resourceGroupName, resourceParentType, resourceParentName, providerName, resourceType, resourceName, applyUpdateName) :
+ ApplyUpdatesClient.Get(resourceGroupName, providerName, resourceType, resourceName, applyUpdateName);
+
+ var psObject = new PSApplyUpdate();
+ MaintenanceAutomationAutoMapperProfile.Mapper.Map(result, psObject);
+ WriteObject(psObject);
+ });
+ }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 0,
+ Mandatory = true,
+ HelpMessage = "The resource Group Name.",
+ ValueFromPipelineByPropertyName = true)]
+ [ResourceGroupCompleter]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 1,
+ Mandatory = true,
+ HelpMessage = "The resource provider Name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ProviderName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Mandatory = false,
+ HelpMessage = "The parent resource type.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ResourceParentType { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Mandatory = false,
+ HelpMessage = "The parent resource name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ResourceParentName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 2,
+ Mandatory = true,
+ HelpMessage = "The resource type.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ResourceType { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 3,
+ Mandatory = true,
+ HelpMessage = "The resource name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ResourceName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Mandatory = true,
+ HelpMessage = "The apply update resource name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ApplyUpdateName { get; set; }
+ }
+}
diff --git a/src/Maintenance/Maintenance/Az.Maintenance.psd1 b/src/Maintenance/Maintenance/Az.Maintenance.psd1
new file mode 100644
index 0000000000..50711e4dd0
--- /dev/null
+++ b/src/Maintenance/Maintenance/Az.Maintenance.psd1
@@ -0,0 +1,138 @@
+#
+# Module manifest for module 'PSGet_Az.ContainerInstance'
+#
+# Generated by: Microsoft Corporation
+#
+# Generated on: 4/4/2019
+#
+
+@{
+
+# Script module or binary module file associated with this manifest.
+# RootModule = ''
+
+# Version number of this module.
+ModuleVersion = '0.1.0'
+
+# Supported PSEditions
+CompatiblePSEditions = 'Core', 'Desktop'
+
+# ID used to uniquely identify this module
+GUID = '4c06e8d3-d64f-4497-8574-16e0c9dfebb2'
+
+# Author of this module
+Author = 'Microsoft Corporation'
+
+# Company or vendor of this module
+CompanyName = 'Microsoft Corporation'
+
+# Copyright statement for this module
+Copyright = 'Microsoft Corporation. All rights reserved.'
+
+# Description of the functionality provided by this module
+Description = 'Microsoft Azure PowerShell - Maintenance cmdlets for Azure Resource Manager in Windows PowerShell and PowerShell Core.
+
+For more information on Maintenance, please visit the following: https://docs.microsoft.com/azure/maintenance/'
+
+# Minimum version of the PowerShell engine required by this module
+PowerShellVersion = '5.1'
+
+# Name of the PowerShell host required by this module
+# PowerShellHostName = ''
+
+# Minimum version of the PowerShell host required by this module
+# PowerShellHostVersion = ''
+
+# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
+DotNetFrameworkVersion = '4.7.2'
+
+# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
+# CLRVersion = ''
+
+# Processor architecture (None, X86, Amd64) required by this module
+# ProcessorArchitecture = ''
+
+# Modules that must be imported into the global environment prior to importing this module
+RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.6.4'; })
+
+# Assemblies that must be loaded prior to importing this module
+RequiredAssemblies = '.\AutoMapper.dll',
+ '.\Microsoft.Azure.Management.Maintenance.dll'
+
+# Script files (.ps1) that are run in the caller's environment prior to importing this module.
+# ScriptsToProcess = @()
+
+# Type files (.ps1xml) to be loaded when importing this module
+# TypesToProcess = @()
+
+# Format files (.ps1xml) to be loaded when importing this module
+FormatsToProcess = '.\Maintenance.format.ps1xml'
+
+# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
+NestedModules = @('.\Microsoft.Azure.PowerShell.Cmdlets.Maintenance.dll')
+
+# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
+FunctionsToExport = @()
+
+# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
+CmdletsToExport = 'Get-AzApplyUpdate','Get-AzConfigurationAssignment', 'Get-AzMaintenanceConfiguration', 'Get-AzMaintenanceUpdate',
+ 'New-AzApplyUpdate', 'New-AzConfigurationAssignment', 'New-AzMaintenanceConfiguration',
+ 'Remove-AzConfigurationAssignment', 'Remove-AzMaintenanceConfiguration',
+ 'Update-AzMaintenanceConfiguration'
+
+# Variables to export from this module
+# VariablesToExport = @()
+
+# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
+AliasesToExport = @()
+
+# DSC resources to export from this module
+# DscResourcesToExport = @()
+
+# List of all modules packaged with this module
+# ModuleList = @()
+
+# List of all files packaged with this module
+# FileList = @()
+
+# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
+PrivateData = @{
+
+ PSData = @{
+
+ # Tags applied to this module. These help with module discovery in online galleries.
+ Tags = 'Azure','ResourceManager','ARM','Maintenance'
+
+ # A URL to the license for this module.
+ LicenseUri = 'https://aka.ms/azps-license'
+
+ # A URL to the main website for this project.
+ ProjectUri = 'https://github.com/Azure/azure-powershell'
+
+ # A URL to an icon representing this module.
+ # IconUri = ''
+
+ # ReleaseNotes of this module
+ ReleaseNotes = '* Adding support for Azure Maintenance using powershell'
+
+ # Prerelease string of this module
+ Prerelease = 'preview'
+
+ # Flag to indicate whether the module requires explicit user acceptance for install/update
+ # RequireLicenseAcceptance = $false
+
+ # External dependent modules of this module
+ # ExternalModuleDependencies = @()
+
+ } # End of PSData hashtable
+
+ } # End of PrivateData hashtable
+
+# HelpInfo URI of this module
+# HelpInfoURI = ''
+
+# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
+# DefaultCommandPrefix = ''
+
+}
+
diff --git a/src/Maintenance/Maintenance/ChangeLog.md b/src/Maintenance/Maintenance/ChangeLog.md
new file mode 100644
index 0000000000..30f075282d
--- /dev/null
+++ b/src/Maintenance/Maintenance/ChangeLog.md
@@ -0,0 +1,25 @@
+
+
+## Upcoming Release
+* Preview release of `Az.Maintenance` module
+
+## Version 0.1.0
+
diff --git a/src/Maintenance/Maintenance/Common/HashTableExtensions.cs b/src/Maintenance/Maintenance/Common/HashTableExtensions.cs
new file mode 100644
index 0000000000..64a46796a4
--- /dev/null
+++ b/src/Maintenance/Maintenance/Common/HashTableExtensions.cs
@@ -0,0 +1,28 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Commands.ResourceManager.Common.Tags;
+using System.Collections;
+using System.Collections.Generic;
+
+namespace Microsoft.Azure.Commands.Maintenance.Common
+{
+ public static class HashTableExtensions
+ {
+ public static Dictionary ToDictionary(this Hashtable tags)
+ {
+ return TagsConversionHelper.CreateTagDictionary(tags, true);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/Maintenance/Maintenance/Common/MaintenanceClient.cs b/src/Maintenance/Maintenance/Common/MaintenanceClient.cs
new file mode 100644
index 0000000000..94cb743bc8
--- /dev/null
+++ b/src/Maintenance/Maintenance/Common/MaintenanceClient.cs
@@ -0,0 +1,42 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Commands.Common.Authentication;
+using Microsoft.Azure.Commands.Common.Authentication.Abstractions;
+using Microsoft.Azure.Commands.Common.Authentication.Models;
+using Microsoft.Azure.Management.Maintenance;
+using System;
+
+namespace Microsoft.Azure.Commands.Maintenance
+{
+ public class MaintenanceClient
+ {
+ public IMaintenanceManagementClient MaintenanceManagementClient { get; private set; }
+
+ public Action VerboseLogger { get; set; }
+
+ public Action ErrorLogger { get; set; }
+
+ public MaintenanceClient(IAzureContext context)
+ : this(AzureSession.Instance.ClientFactory.CreateArmClient(
+ context, AzureEnvironment.Endpoint.ResourceManager))
+ {
+ }
+
+ public MaintenanceClient(IMaintenanceManagementClient maintenancManagementClient)
+ {
+ MaintenanceManagementClient = maintenancManagementClient;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/Maintenance/Maintenance/Common/MaintenanceClientBaseCmdlet.cs b/src/Maintenance/Maintenance/Common/MaintenanceClientBaseCmdlet.cs
new file mode 100644
index 0000000000..8c0660f1dc
--- /dev/null
+++ b/src/Maintenance/Maintenance/Common/MaintenanceClientBaseCmdlet.cs
@@ -0,0 +1,102 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Globalization;
+using System.Management.Automation;
+using System.Text.RegularExpressions;
+using Microsoft.Azure.Commands.Maintenance.Common;
+using Microsoft.Azure.Commands.ResourceManager.Common;
+using Microsoft.Azure.Management.Maintenance.Models;
+
+namespace Microsoft.Azure.Commands.Maintenance
+{
+ public abstract class MaintenanceClientBaseCmdlet : AzureRMCmdlet
+ {
+ protected const string VirtualMachineExtensionType = "Microsoft.Maintenance/virtualMachines/extensions";
+
+ protected override bool IsUsageMetricEnabled => true;
+ protected DateTime StartTime;
+
+ private MaintenanceClient computeClient;
+
+ public MaintenanceClient MaintenanceClient
+ {
+ get
+ {
+ if (computeClient == null)
+ {
+ computeClient = new MaintenanceClient(DefaultProfile.DefaultContext);
+ }
+
+ this.computeClient.VerboseLogger = WriteVerboseWithTimestamp;
+ this.computeClient.ErrorLogger = WriteErrorWithTimestamp;
+ return computeClient;
+ }
+
+ set { computeClient = value; }
+ }
+
+ public override void ExecuteCmdlet()
+ {
+ StartTime = DateTime.Now;
+ base.ExecuteCmdlet();
+ }
+
+ protected void ExecuteClientAction(Action action)
+ {
+ try
+ {
+ action();
+ }
+ catch (Rest.Azure.CloudException ex)
+ {
+ try
+ {
+ base.EndProcessing();
+ }
+ catch
+ {
+ // Ignore exceptions during end processing
+ }
+
+ throw new MaintenanceCloudException(ex);
+ }
+ }
+
+ protected void ThrowInvalidArgumentError(string errorMessage, string arg)
+ {
+ ThrowTerminatingError
+ (new ErrorRecord(
+ new ArgumentException(string.Format(CultureInfo.InvariantCulture,
+ errorMessage, arg)),
+ "InvalidArgument",
+ ErrorCategory.InvalidArgument,
+ null));
+ }
+
+ protected string GetDiskNameFromId(string Id)
+ {
+ return Id.Substring(Id.LastIndexOf('/') + 1);
+ }
+
+ public static string GetOperationIdFromUrlString(string Url)
+ {
+ Regex r = new Regex(@"(.*?)operations/(?[a-f0-9]{8}[-]([a-f0-9]{4}[-]){3}[a-f0-9]{12})", RegexOptions.IgnoreCase);
+ Match m = r.Match(Url);
+ return m.Success ? m.Groups["id"].Value : null;
+ }
+ }
+}
+
diff --git a/src/Maintenance/Maintenance/Common/MaintenanceCloudException.cs b/src/Maintenance/Maintenance/Common/MaintenanceCloudException.cs
new file mode 100644
index 0000000000..814110fde1
--- /dev/null
+++ b/src/Maintenance/Maintenance/Common/MaintenanceCloudException.cs
@@ -0,0 +1,70 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+
+using Microsoft.Azure.Commands.Maintenance;
+using Newtonsoft.Json;
+using System.Net;
+using System.Text;
+
+namespace Microsoft.Azure.Commands.Maintenance.Common
+{
+ public class MaintenanceCloudException : Rest.Azure.CloudException
+ {
+ protected const string RequestIdHeaderInResponse = "x-ms-request-id";
+
+ public MaintenanceCloudException(Rest.Azure.CloudException ex)
+ : base(GetErrorMessageWithRequestIdInfo(ex), ex)
+ {
+ }
+
+ protected static string GetErrorMessageWithRequestIdInfo(Rest.Azure.CloudException cloudException)
+ {
+ if (cloudException == null)
+ {
+ return "No information in the cloud exception.";
+ }
+
+ var sb = new StringBuilder();
+
+ if (!string.IsNullOrEmpty(cloudException.Message))
+ {
+ sb.Append(cloudException.Message);
+ }
+
+ if (cloudException.Response == null)
+ {
+ return sb.ToString();
+ }
+
+ if (!cloudException.Response.StatusCode.Equals(HttpStatusCode.OK))
+ {
+ sb.AppendLine().AppendFormat("StatusCode: {0}", cloudException.Response.StatusCode.GetHashCode());
+ sb.AppendLine().AppendFormat("ReasonPhrase: {0}", cloudException.Response.ReasonPhrase);
+ if (cloudException.Response.Headers == null
+ || !cloudException.Response.Headers.ContainsKey(RequestIdHeaderInResponse))
+ {
+ return sb.ToString();
+ }
+
+ string operationId = cloudException.RequestId;
+
+ sb.AppendLine().AppendFormat(
+ "OperationID : {0}",
+ operationId);
+ }
+ return sb.ToString();
+ }
+ }
+}
diff --git a/src/Maintenance/Maintenance/ConfigurationAssignment/ConfigurationAssignmentCreateOrUpdateMethod.cs b/src/Maintenance/Maintenance/ConfigurationAssignment/ConfigurationAssignmentCreateOrUpdateMethod.cs
new file mode 100644
index 0000000000..c9f70d9690
--- /dev/null
+++ b/src/Maintenance/Maintenance/ConfigurationAssignment/ConfigurationAssignmentCreateOrUpdateMethod.cs
@@ -0,0 +1,137 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Commands.Maintenance.Models;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Management.Maintenance;
+using Microsoft.Azure.Management.Maintenance.Models;
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+
+namespace Microsoft.Azure.Commands.Maintenance
+{
+ [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ConfigurationAssignment", DefaultParameterSetName = "DefaultParameter", SupportsShouldProcess = true)]
+ [OutputType(typeof(PSConfigurationAssignment))]
+ public partial class NewAzureRmConfigurationAssignment : MaintenanceAutomationBaseCmdlet
+ {
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+ ExecuteClientAction(() =>
+ {
+ if (ShouldProcess(this.ConfigurationAssignmentName, VerbsCommon.New))
+ {
+ string resourceGroupName = this.ResourceGroupName;
+ string providerName = this.ProviderName;
+ string resourceParentType = this.ResourceParentType;
+ string resourceParentName = this.ResourceParentName;
+ string resourceType = this.ResourceType;
+ string resourceName = this.ResourceName;
+ string configurationAssignmentName = this.ConfigurationAssignmentName;
+ var configurationAssignment = new ConfigurationAssignment();
+ configurationAssignment.ResourceId = this.ResourceId;
+
+ configurationAssignment.Location = this.Location;
+ configurationAssignment.MaintenanceConfigurationId = this.MaintenanceConfigurationId;
+
+ var result = (!string.IsNullOrEmpty(resourceParentType) && !string.IsNullOrEmpty(resourceParentName)) ?
+ ConfigurationAssignmentsClient.CreateOrUpdateParent(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, configurationAssignmentName, configurationAssignment) :
+ ConfigurationAssignmentsClient.CreateOrUpdate(resourceGroupName, providerName, resourceType, resourceName, configurationAssignmentName, configurationAssignment);
+
+ var psObject = new PSConfigurationAssignment();
+ MaintenanceAutomationAutoMapperProfile.Mapper.Map(result, psObject);
+ WriteObject(psObject);
+ }
+ });
+ }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 0,
+ Mandatory = true,
+ HelpMessage = "The resource Group Name.",
+ ValueFromPipelineByPropertyName = true)]
+ [ResourceGroupCompleter]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 1,
+ Mandatory = true,
+ HelpMessage = "The resource provider Name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ProviderName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Mandatory = false,
+ HelpMessage = "The parent resource type.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ResourceParentType { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Mandatory = false,
+ HelpMessage = "The parent resource name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ResourceParentName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 2,
+ Mandatory = true,
+ HelpMessage = "The resource type.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ResourceType { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 3,
+ Mandatory = true,
+ HelpMessage = "The resource name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ResourceName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Mandatory = true,
+ HelpMessage = "The configuration assignment name, should match the MaintenanceConfigurationName.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ConfigurationAssignmentName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ HelpMessage = "The configuration assignment name, should match the MaintenanceConfigurationName.",
+ Mandatory = false)]
+ public string ResourceId { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ HelpMessage = "The location without spaces for the resource.",
+ Mandatory = true)]
+ public string Location { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ HelpMessage = "The fully qualified MaintenanceConfiguration.",
+ Mandatory = true)]
+ public string MaintenanceConfigurationId { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "Run cmdlet in the background")]
+ public SwitchParameter AsJob { get; set; }
+ }
+}
diff --git a/src/Maintenance/Maintenance/ConfigurationAssignment/ConfigurationAssignmentDeleteMethod.cs b/src/Maintenance/Maintenance/ConfigurationAssignment/ConfigurationAssignmentDeleteMethod.cs
new file mode 100644
index 0000000000..0c99a3aa25
--- /dev/null
+++ b/src/Maintenance/Maintenance/ConfigurationAssignment/ConfigurationAssignmentDeleteMethod.cs
@@ -0,0 +1,132 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Commands.Maintenance.Models;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Management.Maintenance;
+using Microsoft.Azure.Management.Maintenance.Models;
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+
+namespace Microsoft.Azure.Commands.Maintenance
+{
+ [Cmdlet(VerbsCommon.Remove, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ConfigurationAssignment", DefaultParameterSetName = "DefaultParameter", SupportsShouldProcess = true)]
+ [OutputType(typeof(bool))]
+ public partial class RemoveAzureRmConfigurationAssignment : MaintenanceAutomationBaseCmdlet
+ {
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+ ExecuteClientAction(() =>
+ {
+ if (ShouldProcess(this.ConfigurationAssignmentName, VerbsCommon.Remove)
+ && (this.Force.IsPresent ||
+ this.ShouldContinue(Properties.Resources.ResourceRemovalConfirmation,
+ "Remove-AzConfigurationAssignment operation")))
+ {
+ string resourceGroupName = this.ResourceGroupName;
+ string providerName = this.ProviderName;
+ string resourceParentType = this.ResourceParentType;
+ string resourceParentName = this.ResourceParentName;
+ string resourceType = this.ResourceType;
+ string resourceName = this.ResourceName;
+ string configurationAssignmentName = this.ConfigurationAssignmentName;
+
+ if (!string.IsNullOrEmpty(resourceParentType) && !string.IsNullOrEmpty(resourceParentName))
+ {
+ ConfigurationAssignmentsClient.DeleteParent(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, configurationAssignmentName);
+ }
+ else
+ {
+ ConfigurationAssignmentsClient.Delete(resourceGroupName, providerName, resourceType, resourceName, configurationAssignmentName);
+ }
+
+ if (this.PassThru.IsPresent)
+ {
+ this.WriteObject(true);
+ }
+ }
+ });
+ }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 0,
+ Mandatory = true,
+ HelpMessage = "The resource Group Name.",
+ ValueFromPipelineByPropertyName = true)]
+ [ResourceGroupCompleter]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 1,
+ Mandatory = true,
+ HelpMessage = "The resource provider Name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ProviderName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Mandatory = false,
+ HelpMessage = "The parent resource type.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ResourceParentType { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Mandatory = false,
+ HelpMessage = "The parent resource name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ResourceParentName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 2,
+ Mandatory = true,
+ HelpMessage = "The resource type.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ResourceType { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 3,
+ Mandatory = true,
+ HelpMessage = "The resource name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ResourceName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Mandatory = true,
+ HelpMessage = "The configuration assignment name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ConfigurationAssignmentName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ HelpMessage = "Force remove without confirmation.",
+ Mandatory = false)]
+ public SwitchParameter Force { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "Run cmdlet in the background")]
+ public SwitchParameter AsJob { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "Returns the status of the Remove operation. By default, this cmdlet does not generate any output.")]
+ public SwitchParameter PassThru { get; set; }
+ }
+}
diff --git a/src/Maintenance/Maintenance/ConfigurationAssignment/ConfigurationAssignmentGetMethod.cs b/src/Maintenance/Maintenance/ConfigurationAssignment/ConfigurationAssignmentGetMethod.cs
new file mode 100644
index 0000000000..a5790a8e6f
--- /dev/null
+++ b/src/Maintenance/Maintenance/ConfigurationAssignment/ConfigurationAssignmentGetMethod.cs
@@ -0,0 +1,107 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Commands.Maintenance.Models;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Management.Maintenance;
+using Microsoft.Azure.Management.Maintenance.Models;
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+
+namespace Microsoft.Azure.Commands.Maintenance
+{
+ [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ConfigurationAssignment", DefaultParameterSetName = "DefaultParameter")]
+ [OutputType(typeof(PSConfigurationAssignment))]
+ public partial class GetAzureRmConfigurationAssignment : MaintenanceAutomationBaseCmdlet
+ {
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+ ExecuteClientAction(() =>
+ {
+ string resourceGroupName = this.ResourceGroupName;
+ string providerName = this.ProviderName;
+ string resourceParentType = this.ResourceParentType;
+ string resourceParentName = this.ResourceParentName;
+ string resourceType = this.ResourceType;
+ string resourceName = this.ResourceName;
+
+ var result = (!string.IsNullOrEmpty(resourceParentType) && !string.IsNullOrEmpty(resourceParentName)) ?
+ ConfigurationAssignmentsClient.ListParent(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName) :
+ ConfigurationAssignmentsClient.List(resourceGroupName, providerName, resourceType, resourceName);
+
+ var psObject = new List();
+
+ foreach (var configurationAssignment in result)
+ {
+ PSConfigurationAssignment psConfigurationAssignment = new PSConfigurationAssignment();
+ MaintenanceAutomationAutoMapperProfile.Mapper.Map(configurationAssignment, psConfigurationAssignment);
+ psObject.Add(psConfigurationAssignment);
+ }
+
+ WriteObject(psObject);
+ });
+ }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 0,
+ Mandatory = true,
+ HelpMessage = "The resource Group Name.",
+ ValueFromPipelineByPropertyName = true)]
+ [ResourceGroupCompleter]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 1,
+ Mandatory = true,
+ HelpMessage = "The resource provider Name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ProviderName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Mandatory = false,
+ HelpMessage = "The parent resource type.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ResourceParentType { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Mandatory = false,
+ HelpMessage = "The parent resource name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ResourceParentName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 2,
+ Mandatory = true,
+ HelpMessage = "The resource type.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ResourceType { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 3,
+ Mandatory = true,
+ HelpMessage = "The resource name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string ResourceName { get; set; }
+ }
+}
diff --git a/src/Maintenance/Maintenance/Maintenance.csproj b/src/Maintenance/Maintenance/Maintenance.csproj
new file mode 100644
index 0000000000..0581313ec4
--- /dev/null
+++ b/src/Maintenance/Maintenance/Maintenance.csproj
@@ -0,0 +1,22 @@
+
+
+
+ Maintenance
+
+
+
+
+
+ $(LegacyAssemblyPrefix)$(PsModuleName)
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Maintenance/Maintenance/Maintenance.format.ps1xml b/src/Maintenance/Maintenance/Maintenance.format.ps1xml
new file mode 100644
index 0000000000..81bf2107b7
--- /dev/null
+++ b/src/Maintenance/Maintenance/Maintenance.format.ps1xml
@@ -0,0 +1,95 @@
+
+
+
+
+
+ Microsoft.Azure.Commands.Maintenance.Models.PSApplyUpdate
+
+ Microsoft.Azure.Commands.Maintenance.Models.PSApplyUpdate
+
+
+
+
+
+
+ [Microsoft.Azure.Commands.Maintenance.MaintenanceAutomationBaseCmdlet]::FormatObject($_)
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.Maintenance.Models.PSConfigurationAssignment
+
+ Microsoft.Azure.Commands.Maintenance.Models.PSConfigurationAssignment
+
+
+
+
+
+
+ [Microsoft.Azure.Commands.Maintenance.MaintenanceAutomationBaseCmdlet]::FormatObject($_)
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.Maintenance.Models.PSMaintenanceConfiguration
+
+ Microsoft.Azure.Commands.Maintenance.Models.PSMaintenanceConfiguration
+
+
+
+
+
+
+ [Microsoft.Azure.Commands.Maintenance.MaintenanceAutomationBaseCmdlet]::FormatObject($_)
+
+
+
+
+
+
+
+ Microsoft.Azure.Commands.Maintenance.Models.PSUpdate
+
+ Microsoft.Azure.Commands.Maintenance.Models.PSUpdate
+
+
+
+
+
+
+ [Microsoft.Azure.Commands.Maintenance.MaintenanceAutomationBaseCmdlet]::FormatObject($_)
+
+
+
+
+
+
+
+
diff --git a/src/Maintenance/Maintenance/MaintenanceAutomationBaseCmdlet.cs b/src/Maintenance/Maintenance/MaintenanceAutomationBaseCmdlet.cs
new file mode 100644
index 0000000000..cba33e1210
--- /dev/null
+++ b/src/Maintenance/Maintenance/MaintenanceAutomationBaseCmdlet.cs
@@ -0,0 +1,281 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Commands.Maintenance.Models;
+using Microsoft.Azure.Management.Maintenance;
+using Microsoft.Azure.Management.Maintenance.Models;
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+using System.Reflection;
+using System.Text;
+using System.Text.RegularExpressions;
+
+namespace Microsoft.Azure.Commands.Maintenance
+{
+ public abstract class MaintenanceAutomationBaseCmdlet : Microsoft.Azure.Commands.Maintenance.MaintenanceClientBaseCmdlet
+ {
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+ }
+
+ protected static PSArgument[] ConvertFromObjectsToArguments(string[] names, object[] objects)
+ {
+ var arguments = new PSArgument[objects.Length];
+
+ for (int index = 0; index < objects.Length; index++)
+ {
+ arguments[index] = new PSArgument
+ {
+ Name = names[index],
+ Type = objects[index].GetType(),
+ Value = objects[index]
+ };
+ }
+
+ return arguments;
+ }
+
+ protected static object[] ConvertFromArgumentsToObjects(object[] arguments)
+ {
+ if (arguments == null)
+ {
+ return null;
+ }
+
+ var objects = new object[arguments.Length];
+
+ for (int index = 0; index < arguments.Length; index++)
+ {
+ if (arguments[index] is PSArgument)
+ {
+ objects[index] = ((PSArgument)arguments[index]).Value;
+ }
+ else
+ {
+ objects[index] = arguments[index];
+ }
+ }
+
+ return objects;
+ }
+
+ public IApplyUpdatesOperations ApplyUpdatesClient
+ {
+ get
+ {
+ return MaintenanceClient.MaintenanceManagementClient.ApplyUpdates;
+ }
+ }
+
+ public IConfigurationAssignmentsOperations ConfigurationAssignmentsClient
+ {
+ get
+ {
+ return MaintenanceClient.MaintenanceManagementClient.ConfigurationAssignments;
+ }
+ }
+
+ public IMaintenanceConfigurationsOperations MaintenanceConfigurationsClient
+ {
+ get
+ {
+ return MaintenanceClient.MaintenanceManagementClient.MaintenanceConfigurations;
+ }
+ }
+
+ public IUpdatesOperations UpdatesClient
+ {
+ get
+ {
+ return MaintenanceClient.MaintenanceManagementClient.Updates;
+ }
+ }
+
+ public static string FormatObject(Object obj)
+ {
+ var objType = obj.GetType();
+
+ System.Reflection.PropertyInfo[] pros = objType.GetProperties();
+ string result = "\n";
+ var resultTuples = new List>();
+ var totalTab = GetTabLength(obj, 0, 0, resultTuples) + 1;
+ foreach (var t in resultTuples)
+ {
+ string preTab = new string(' ', t.Item3 * 2);
+ string postTab = new string(' ', totalTab - t.Item3 * 2 - t.Item1.Length);
+
+ result += preTab + t.Item1 + postTab + ": " + t.Item2 + "\n";
+ }
+ return result;
+ }
+
+ private static int GetTabLength(Object obj, int max, int depth, List> tupleList)
+ {
+ var objType = obj.GetType();
+ var propertySet = new List();
+ if (objType.BaseType != null)
+ {
+ foreach (var property in objType.BaseType.GetProperties())
+ {
+ propertySet.Add(property);
+ }
+ }
+ foreach (var property in objType.GetProperties(BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Public))
+ {
+ propertySet.Add(property);
+ }
+
+ foreach (var property in propertySet)
+ {
+ Object childObject = property.GetValue(obj, null);
+
+ var isJObject = childObject as Newtonsoft.Json.Linq.JObject;
+ if (isJObject != null)
+ {
+ var objStringValue = Newtonsoft.Json.JsonConvert.SerializeObject(childObject);
+
+ int i = objStringValue.IndexOf("xmlCfg");
+ if (i >= 0)
+ {
+ var xmlCfgString = objStringValue.Substring(i + 7);
+ int start = xmlCfgString.IndexOf('"');
+ int end = xmlCfgString.IndexOf('"', start + 1);
+ xmlCfgString = xmlCfgString.Substring(start + 1, end - start - 1);
+ objStringValue = objStringValue.Replace(xmlCfgString, "...");
+ }
+
+ tupleList.Add(MakeTuple(property.Name, objStringValue, depth));
+ max = Math.Max(max, depth * 2 + property.Name.Length);
+ }
+ else
+ {
+ var elem = childObject as IList;
+ if (elem != null)
+ {
+ if (elem.Count != 0)
+ {
+ max = Math.Max(max, depth * 2 + property.Name.Length + 4);
+ for (int i = 0; i < elem.Count; i++)
+ {
+ Type propType = elem[i].GetType();
+
+ if (propType.IsSerializable || propType.Equals(typeof(Newtonsoft.Json.Linq.JObject)))
+ {
+ tupleList.Add(MakeTuple(property.Name + "[" + i + "]", elem[i].ToString(), depth));
+ }
+ else
+ {
+ tupleList.Add(MakeTuple(property.Name + "[" + i + "]", "", depth));
+ max = Math.Max(max, GetTabLength((Object)elem[i], max, depth + 1, tupleList));
+ }
+ }
+ }
+ }
+ else
+ {
+ if (property.PropertyType.IsSerializable)
+ {
+ if (childObject != null)
+ {
+ tupleList.Add(MakeTuple(property.Name, childObject.ToString(), depth));
+ max = Math.Max(max, depth * 2 + property.Name.Length);
+ }
+ }
+ else
+ {
+ var isDictionary = childObject as IDictionary;
+ if (isDictionary != null)
+ {
+ tupleList.Add(MakeTuple(property.Name, Newtonsoft.Json.JsonConvert.SerializeObject(childObject), depth));
+ max = Math.Max(max, depth * 2 + property.Name.Length);
+ }
+ else if (childObject != null)
+ {
+ tupleList.Add(MakeTuple(property.Name, "", depth));
+ max = Math.Max(max, GetTabLength(childObject, max, depth + 1, tupleList));
+ }
+ }
+ }
+ }
+ }
+ return max;
+ }
+
+ private static Tuple MakeTuple(string key, string value, int depth)
+ {
+ return new Tuple(key, value, depth);
+ }
+
+ public static string GetResourceGroupName(string resourceId)
+ {
+ if (string.IsNullOrEmpty(resourceId)) { return null; }
+ Regex r = new Regex(@"(.*?)/resourcegroups/(?\S+)/providers/(.*?)", RegexOptions.IgnoreCase);
+ Match m = r.Match(resourceId);
+ return m.Success ? m.Groups["rgname"].Value : null;
+ }
+
+ public static string GetResourceName(string resourceId, string resourceName, string instanceName = null, string version = null)
+ {
+ if (string.IsNullOrEmpty(resourceId)) { return null; }
+ Regex r = (instanceName == null && version == null)
+ ? new Regex(@"(.*?)/" + resourceName + @"/(?\S+)", RegexOptions.IgnoreCase)
+ : new Regex(@"(.*?)/" + resourceName + @"/(?\S+)/" + instanceName + @"/(?\S+)", RegexOptions.IgnoreCase);
+ Match m = r.Match(resourceId);
+ return m.Success ? m.Groups["rgname"].Value : null;
+ }
+
+ public static string GetInstanceId(string resourceId, string resourceName, string instanceName, string version = null)
+ {
+ if (string.IsNullOrEmpty(resourceId)) { return null; }
+ Regex r = (version == null)
+ ? new Regex(@"(.*?)/" + resourceName + @"/(?\S+)/" + instanceName + @"/(?\S+)", RegexOptions.IgnoreCase)
+ : new Regex(@"(.*?)/" + resourceName + @"/(?\S+)/" + instanceName + @"/(?\S+)/" + version + @"/(?\S+)", RegexOptions.IgnoreCase);
+ Match m = r.Match(resourceId);
+ return m.Success ? m.Groups["instanceId"].Value : null;
+ }
+
+ public static string GetVersion(string resourceId, string resourceName, string instanceName, string version)
+ {
+ if (string.IsNullOrEmpty(resourceId)) { return null; }
+ Regex r = new Regex(@"(.*?)/" + resourceName + @"/(?\S+)/" + instanceName + @"/(?\S+)/" + version + @"/(?\S+)", RegexOptions.IgnoreCase);
+ Match m = r.Match(resourceId);
+ return m.Success ? m.Groups["version"].Value : null;
+ }
+ }
+ public static class LocationStringExtensions
+ {
+ public static string Canonicalize(this string location)
+ {
+ if (!string.IsNullOrEmpty(location))
+ {
+ StringBuilder sb = new StringBuilder();
+ foreach (char ch in location)
+ {
+ if (!char.IsWhiteSpace(ch))
+ {
+ sb.Append(ch);
+ }
+ }
+
+ location = sb.ToString().ToLower();
+ }
+
+ return location;
+ }
+ }
+}
diff --git a/src/Maintenance/Maintenance/MaintenanceConfiguration/MaintenanceConfigurationCreateOrUpdateMethod.cs b/src/Maintenance/Maintenance/MaintenanceConfiguration/MaintenanceConfigurationCreateOrUpdateMethod.cs
new file mode 100644
index 0000000000..fbc2e62c12
--- /dev/null
+++ b/src/Maintenance/Maintenance/MaintenanceConfiguration/MaintenanceConfigurationCreateOrUpdateMethod.cs
@@ -0,0 +1,110 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Commands.Maintenance.Models;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Management.Maintenance;
+using Microsoft.Azure.Management.Maintenance.Models;
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+
+namespace Microsoft.Azure.Commands.Maintenance
+{
+ [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "MaintenanceConfiguration", DefaultParameterSetName = "DefaultParameter", SupportsShouldProcess = true)]
+ [OutputType(typeof(PSMaintenanceConfiguration))]
+ public partial class NewAzureRmMaintenanceConfiguration : MaintenanceAutomationBaseCmdlet
+ {
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+ ExecuteClientAction(() =>
+ {
+ if (ShouldProcess(this.Name, VerbsCommon.New))
+ {
+ string resourceGroupName = this.ResourceGroupName;
+ string resourceName = this.Name;
+ MaintenanceConfiguration configuration = new MaintenanceConfiguration();
+ if (this.Location != null)
+ {
+ configuration.Location = this.Location;
+ }
+ if (this.Tag != null)
+ {
+ configuration.Tags = this.Tag.Cast().ToDictionary(ht => (string)ht.Key, ht => (string)ht.Value);
+ }
+
+ if (this.ExtensionProperty != null)
+ {
+ configuration.ExtensionProperties = this.ExtensionProperty.Cast().ToDictionary(ht => (string)ht.Key, ht => (string)ht.Value);
+ }
+ if (this.MaintenanceScope != null)
+ {
+ configuration.MaintenanceScope = this.MaintenanceScope;
+ }
+
+ var result = MaintenanceConfigurationsClient.CreateOrUpdate(resourceGroupName, resourceName, configuration);
+ var psObject = new PSMaintenanceConfiguration();
+ MaintenanceAutomationAutoMapperProfile.Mapper.Map(result, psObject);
+ WriteObject(psObject);
+ }
+ });
+ }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 0,
+ Mandatory = true,
+ HelpMessage = "The resource Group Name.",
+ ValueFromPipelineByPropertyName = true)]
+ [ResourceGroupCompleter]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 1,
+ Mandatory = true,
+ HelpMessage = "The maintenance configuration Name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string Name { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 2,
+ Mandatory = true,
+ HelpMessage = "The maintenance configuration location.",
+ ValueFromPipelineByPropertyName = true)]
+ public string Location { get; set; }
+
+ [Parameter(
+ Mandatory = false,
+ HelpMessage = "The ARM Tags.")]
+ public Hashtable Tag { get; set; }
+
+ [Parameter(
+ Mandatory = false,
+ HelpMessage = "The Extension properties per resource.")]
+ public Hashtable ExtensionProperty { get; set; }
+
+ [Parameter(
+ Mandatory = false,
+ HelpMessage = "The Maintenance Scope.")]
+ public string MaintenanceScope { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "Run cmdlet in the background")]
+ public SwitchParameter AsJob { get; set; }
+ }
+}
diff --git a/src/Maintenance/Maintenance/MaintenanceConfiguration/MaintenanceConfigurationDeleteMethod.cs b/src/Maintenance/Maintenance/MaintenanceConfiguration/MaintenanceConfigurationDeleteMethod.cs
new file mode 100644
index 0000000000..c207f3d1d6
--- /dev/null
+++ b/src/Maintenance/Maintenance/MaintenanceConfiguration/MaintenanceConfigurationDeleteMethod.cs
@@ -0,0 +1,83 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Commands.Maintenance.Models;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Management.Maintenance;
+using Microsoft.Azure.Management.Maintenance.Models;
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+
+namespace Microsoft.Azure.Commands.Maintenance
+{
+ [Cmdlet(VerbsCommon.Remove, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "MaintenanceConfiguration", DefaultParameterSetName = "DefaultParameter", SupportsShouldProcess = true)]
+ [OutputType(typeof(bool))]
+ public partial class RemoveAzureRmMaintenanceConfiguration : MaintenanceAutomationBaseCmdlet
+ {
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+ ExecuteClientAction(() =>
+ {
+ if (ShouldProcess(this.Name, VerbsCommon.Remove)
+ && (this.Force.IsPresent ||
+ this.ShouldContinue(Properties.Resources.ResourceRemovalConfirmation,
+ "Remove-AzMaintenanceConfiguration operation")))
+ {
+ string resourceGroupName = this.ResourceGroupName;
+ string name = this.Name;
+
+ MaintenanceConfigurationsClient.Delete(resourceGroupName, name);
+
+ if (this.PassThru.IsPresent)
+ {
+ this.WriteObject(true);
+ }
+ }
+ });
+ }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 0,
+ Mandatory = true,
+ HelpMessage = "The resource Group Name.",
+ ValueFromPipelineByPropertyName = true)]
+ [ResourceGroupCompleter]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 1,
+ Mandatory = true,
+ HelpMessage = "The maintenance configuration Name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string Name { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ HelpMessage = "Force remove without confirmation.",
+ Mandatory = false)]
+ public SwitchParameter Force { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "Run cmdlet in the background")]
+ public SwitchParameter AsJob { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "Returns the status of the Remove operation. By default, this cmdlet does not generate any output.")]
+ public SwitchParameter PassThru { get; set; }
+ }
+}
diff --git a/src/Maintenance/Maintenance/MaintenanceConfiguration/MaintenanceConfigurationGetMethod.cs b/src/Maintenance/Maintenance/MaintenanceConfiguration/MaintenanceConfigurationGetMethod.cs
new file mode 100644
index 0000000000..3031752de8
--- /dev/null
+++ b/src/Maintenance/Maintenance/MaintenanceConfiguration/MaintenanceConfigurationGetMethod.cs
@@ -0,0 +1,79 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Commands.Maintenance.Models;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Management.Maintenance;
+using Microsoft.Azure.Management.Maintenance.Models;
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+
+namespace Microsoft.Azure.Commands.Maintenance
+{
+ [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "MaintenanceConfiguration", DefaultParameterSetName = "DefaultParameter")]
+ [OutputType(typeof(PSMaintenanceConfiguration))]
+ public partial class GetAzureRmMaintenanceConfiguration : MaintenanceAutomationBaseCmdlet
+ {
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+ ExecuteClientAction(() =>
+ {
+ string resourceGroupName = this.ResourceGroupName;
+ string name = this.Name;
+
+ if (!string.IsNullOrEmpty(resourceGroupName) && !string.IsNullOrEmpty(name))
+ {
+ var result = MaintenanceConfigurationsClient.Get(resourceGroupName, name);
+ WriteObject(result);
+ }
+
+ else
+ {
+ var psObject = new List();
+ var result = MaintenanceConfigurationsClient.List();
+
+ foreach (var maintenanceConfiguration in result)
+ {
+ PSMaintenanceConfiguration psMaintenanceConfiguration = new PSMaintenanceConfiguration();
+ MaintenanceAutomationAutoMapperProfile.Mapper.Map(maintenanceConfiguration, psMaintenanceConfiguration);
+ psObject.Add(psMaintenanceConfiguration);
+ }
+
+ WriteObject(psObject);
+ }
+ });
+ }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 0,
+ Mandatory = false,
+ HelpMessage = "The resource Group Name.",
+ ValueFromPipelineByPropertyName = true)]
+ [ResourceGroupCompleter]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 1,
+ Mandatory = false,
+ HelpMessage = "The maintenance configuration Name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string Name { get; set; }
+ }
+}
diff --git a/src/Maintenance/Maintenance/MaintenanceConfiguration/MaintenanceConfigurationUpdateMethod.cs b/src/Maintenance/Maintenance/MaintenanceConfiguration/MaintenanceConfigurationUpdateMethod.cs
new file mode 100644
index 0000000000..a6559b5f25
--- /dev/null
+++ b/src/Maintenance/Maintenance/MaintenanceConfiguration/MaintenanceConfigurationUpdateMethod.cs
@@ -0,0 +1,79 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Commands.Maintenance.Models;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Management.Maintenance;
+using Microsoft.Azure.Management.Maintenance.Models;
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Management.Automation;
+
+namespace Microsoft.Azure.Commands.Maintenance
+{
+ [Cmdlet(VerbsData.Update, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "MaintenanceConfiguration", DefaultParameterSetName = "DefaultParameter", SupportsShouldProcess = true)]
+ [OutputType(typeof(PSMaintenanceConfiguration))]
+ public partial class UpdateAzureRmMaintenanceConfiguration : MaintenanceAutomationBaseCmdlet
+ {
+ public override void ExecuteCmdlet()
+ {
+ base.ExecuteCmdlet();
+ ExecuteClientAction(() =>
+ {
+ if (ShouldProcess(this.Name, VerbsData.Update))
+ {
+ string resourceGroupName = this.ResourceGroupName;
+ string name = this.Name;
+ MaintenanceConfiguration configuration = new MaintenanceConfiguration();
+ MaintenanceAutomationAutoMapperProfile.Mapper.Map(this.Configuration, configuration);
+
+ var result = MaintenanceConfigurationsClient.UpdateMethod(resourceGroupName, name, configuration);
+ var psObject = new PSMaintenanceConfiguration();
+ MaintenanceAutomationAutoMapperProfile.Mapper.Map(result, psObject);
+ WriteObject(psObject);
+ }
+ });
+ }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 0,
+ Mandatory = true,
+ HelpMessage = "The resource Group Name.",
+ ValueFromPipelineByPropertyName = true)]
+ [ResourceGroupCompleter]
+ public string ResourceGroupName { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 1,
+ Mandatory = true,
+ HelpMessage = "The maintenance configuration Name.",
+ ValueFromPipelineByPropertyName = true)]
+ public string Name { get; set; }
+
+ [Parameter(
+ ParameterSetName = "DefaultParameter",
+ Position = 2,
+ Mandatory = true,
+ HelpMessage = "The maintenance configuration to be updated.",
+ ValueFromPipeline = true)]
+ public PSMaintenanceConfiguration Configuration { get; set; }
+
+ [Parameter(Mandatory = false, HelpMessage = "Run cmdlet in the background")]
+ public SwitchParameter AsJob { get; set; }
+ }
+}
diff --git a/src/Maintenance/Maintenance/Models/MaintenanceAutoMapperProfile.cs b/src/Maintenance/Maintenance/Models/MaintenanceAutoMapperProfile.cs
new file mode 100644
index 0000000000..4a3b162994
--- /dev/null
+++ b/src/Maintenance/Maintenance/Models/MaintenanceAutoMapperProfile.cs
@@ -0,0 +1,65 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using AutoMapper;
+using FROM = Microsoft.Azure.Management.Maintenance.Models;
+using TO = Microsoft.Azure.Commands.Maintenance.Models;
+
+namespace Microsoft.Azure.Commands.Maintenance.Models
+{
+ public class MaintenanceAutomationAutoMapperProfile : AutoMapper.Profile
+ {
+ private static IMapper _mapper = null;
+
+ private static readonly object _lock = new object();
+
+ public static IMapper Mapper
+ {
+ get
+ {
+ lock(_lock)
+ {
+ if (_mapper == null)
+ {
+ Initialize();
+ }
+
+ return _mapper;
+ }
+ }
+ }
+
+ public override string ProfileName
+ {
+ get { return "MaintenanceAutomationAutoMapperProfile"; }
+ }
+
+ private static void Initialize()
+ {
+ var config = new MapperConfiguration(cfg =>
+ {
+ cfg.CreateMap();
+ cfg.CreateMap();
+ cfg.CreateMap();
+ cfg.CreateMap();
+ cfg.CreateMap();
+ cfg.CreateMap();
+ cfg.CreateMap();
+ cfg.CreateMap();
+
+ });
+ _mapper = config.CreateMapper();
+ }
+ }
+}
diff --git a/src/Maintenance/Maintenance/Models/PSApplyUpdate.cs b/src/Maintenance/Maintenance/Models/PSApplyUpdate.cs
new file mode 100644
index 0000000000..4026933942
--- /dev/null
+++ b/src/Maintenance/Maintenance/Models/PSApplyUpdate.cs
@@ -0,0 +1,31 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Collections.Generic;
+using Microsoft.Azure.Management.Maintenance.Models;
+
+namespace Microsoft.Azure.Commands.Maintenance.Models
+{
+ public partial class PSApplyUpdate
+ {
+ public string Status { get; set; }
+ public string ResourceId { get; set; }
+ public DateTime? LastUpdateTime { get; set; }
+ public string Id { get; set; }
+ public string Name { get; set; }
+ public string Type { get; set; }
+
+ }
+}
diff --git a/src/Maintenance/Maintenance/Models/PSArgument.cs b/src/Maintenance/Maintenance/Models/PSArgument.cs
new file mode 100644
index 0000000000..2df310da2c
--- /dev/null
+++ b/src/Maintenance/Maintenance/Models/PSArgument.cs
@@ -0,0 +1,26 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+using System;
+
+namespace Microsoft.Azure.Commands.Maintenance.Models
+{
+ public class PSArgument
+ {
+ public string Name { get; set; }
+
+ public Type Type { get; set; }
+
+ public object Value { get; set; }
+ }
+}
diff --git a/src/Maintenance/Maintenance/Models/PSConfigurationAssignment.cs b/src/Maintenance/Maintenance/Models/PSConfigurationAssignment.cs
new file mode 100644
index 0000000000..2b796a1927
--- /dev/null
+++ b/src/Maintenance/Maintenance/Models/PSConfigurationAssignment.cs
@@ -0,0 +1,31 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Collections.Generic;
+using Microsoft.Azure.Management.Maintenance.Models;
+
+namespace Microsoft.Azure.Commands.Maintenance.Models
+{
+ public partial class PSConfigurationAssignment
+ {
+ public string Location { get; set; }
+ public string MaintenanceConfigurationId { get; set; }
+ public string ResourceId { get; set; }
+ public string Id { get; set; }
+ public string Name { get; set; }
+ public string Type { get; set; }
+
+ }
+}
diff --git a/src/Maintenance/Maintenance/Models/PSMaintenanceConfiguration.cs b/src/Maintenance/Maintenance/Models/PSMaintenanceConfiguration.cs
new file mode 100644
index 0000000000..da7a0d146e
--- /dev/null
+++ b/src/Maintenance/Maintenance/Models/PSMaintenanceConfiguration.cs
@@ -0,0 +1,32 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+using System;
+using System.Collections.Generic;
+using Microsoft.Azure.Management.Maintenance.Models;
+
+namespace Microsoft.Azure.Commands.Maintenance.Models
+{
+ public partial class PSMaintenanceConfiguration
+ {
+ public string Location { get; set; }
+ public IDictionary Tags { get; set; }
+ public string NamespaceProperty { get; set; }
+ public IDictionary ExtensionProperties { get; set; }
+ public string MaintenanceScope { get; set; }
+ public string Id { get; set; }
+ public string Name { get; set; }
+ public string Type { get; set; }
+
+ }
+}
diff --git a/src/Maintenance/Maintenance/Models/PSUpdate.cs b/src/Maintenance/Maintenance/Models/PSUpdate.cs
new file mode 100644
index 0000000000..80a0a2ca4e
--- /dev/null
+++ b/src/Maintenance/Maintenance/Models/PSUpdate.cs
@@ -0,0 +1,31 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Collections.Generic;
+using Microsoft.Azure.Management.Maintenance.Models;
+
+namespace Microsoft.Azure.Commands.Maintenance.Models
+{
+ public partial class PSUpdate
+ {
+ public string MaintenanceScope { get; set; }
+ public string ImpactType { get; set; }
+ public string Status { get; set; }
+ public int? ImpactDurationInSec { get; set; }
+ public DateTime? NotBefore { get; set; }
+ public string ResourceId { get; set; }
+
+ }
+}
diff --git a/src/Maintenance/Maintenance/Properties/AssemblyInfo.cs b/src/Maintenance/Maintenance/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000000..cfe6671295
--- /dev/null
+++ b/src/Maintenance/Maintenance/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Commands.Maintenance")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Commands.Maintenance")]
+[assembly: AssemblyCopyright("Copyright © 2019")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("0e11b67a-1257-40d0-bd33-8315759fdb01")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.0")]
+[assembly: AssemblyVersion("1.0.0")]
+[assembly: AssemblyFileVersion("1.0.0")]
diff --git a/src/Maintenance/Maintenance/Properties/Resources.Designer.cs b/src/Maintenance/Maintenance/Properties/Resources.Designer.cs
new file mode 100644
index 0000000000..c199bcc814
--- /dev/null
+++ b/src/Maintenance/Maintenance/Properties/Resources.Designer.cs
@@ -0,0 +1,81 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace Microsoft.Azure.Commands.Maintenance.Properties {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Azure.Commands.Maintenance.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to This cmdlet will remove the specified resource. Do you want to continue?.
+ ///
+ internal static string ResourceRemovalConfirmation {
+ get {
+ return ResourceManager.GetString("ResourceRemovalConfirmation", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to This cmdlet will stop the specified resource. Do you want to continue?.
+ ///
+ internal static string ResourceStoppingConfirmation {
+ get {
+ return ResourceManager.GetString("ResourceStoppingConfirmation", resourceCulture);
+ }
+ }
+ }
+}
diff --git a/src/Maintenance/Maintenance/Properties/Resources.resx b/src/Maintenance/Maintenance/Properties/Resources.resx
new file mode 100644
index 0000000000..8a76ba0e04
--- /dev/null
+++ b/src/Maintenance/Maintenance/Properties/Resources.resx
@@ -0,0 +1,126 @@
+
+
+
+
+
+
+
+
+